.news-carousel {
    margin-top: 2.5rem;
}

.news-carousel__frame {
    background: #f4f6f8;
    border-radius: 12px;
    overflow: hidden;
}

.news-carousel__zoom {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.news-carousel__zoom img {
    display: block;
    width: 100%;
    max-height: 520px;
    margin: 0 auto;
    object-fit: contain;
}

.news-carousel .carousel-control-prev,
.news-carousel .carousel-control-next {
    width: 3rem;
}

.news-carousel .carousel-indicators {
    margin-bottom: 0.75rem;
}

.news-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 3rem 4.5rem;
    background: rgba(0, 0, 0, 0.88);
}

.news-lightbox.is-open {
    display: flex;
}

.news-lightbox img {
    max-width: 100%;
    max-height: 88vh;
    object-fit: contain;
}

.news-lightbox__close,
.news-lightbox__nav {
    position: absolute;
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.news-lightbox__close {
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    font-size: 1.75rem;
    line-height: 1;
}

.news-lightbox__nav {
    top: 50%;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-size: 1.5rem;
    transform: translateY(-50%);
}

.news-lightbox__nav--prev {
    left: 1rem;
}

.news-lightbox__nav--next {
    right: 1rem;
}

.news-lightbox__close:hover,
.news-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.24);
}

@media (max-width: 767.98px) {
    .news-lightbox {
        padding: 3.5rem 1rem;
    }

    .news-carousel__zoom img {
        max-height: 320px;
    }
}
