

/* Start:/local/templates/new/components/bitrix/news.detail/news/style.css?17893700543432*/
.news-detail-gallery {
    position: relative;

    width: 100%;
    min-width: 0;

    background: transparent;
}

.news-detail-gallery__viewport {
    position: relative;

    width: 100%;

    overflow: hidden;
    background: transparent;
}

.news-detail-gallery__track {
    display: flex;

    width: 100%;

    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.news-detail-gallery__slide {
    flex: 0 0 100%;

    width: 100%;
    min-width: 0;
}

.news-detail-gallery__image {
    display: block;

    width: 100%;
    height: 330px;

    object-fit: cover;

    user-select: none;
    -webkit-user-drag: none;
}

.news-detail-gallery__counter {
    position: absolute;

    top: 14px;
    right: 14px;

    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 4px;

    min-width: 54px;
    height: 30px;

    padding: 0 11px;

    border-radius: 20px;

    background: rgba(29, 35, 37, 0.66);

    color: #fff;

    font-size: 13px;
    line-height: 1;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.news-detail-gallery__counter-total {
    color: rgba(255, 255, 255, 0.58);
}


.news-detail-gallery .swiper-buttons {
    position: absolute;

    left: 0;
    bottom: 0;

    z-index: 4;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 18px 18px 0 0;

    background-color: var(--gallery-bg);

    border-radius: 0 40px 0 0;
}


.news-detail-gallery .swiper-buttons::before {
    content: "";

    position: absolute;

    right: 100%;
    bottom: 0;

    width: 1000px;
    height: 100%;

    background-color: var(--gallery-bg);

    pointer-events: none;
}

.news-detail-gallery .swiper-buttons::after {
    content: "";

    position: absolute;

    left: 0;
    top: 100%;

    width: 100%;
    height: 1000px;

    background-color: var(--gallery-bg);

    pointer-events: none;
}


.news-detail-gallery .swiper-buttons svg {
    position: relative;

    z-index: 2;

    display: block;

    width: 40px;
    height: 40px;

    flex: none;

    cursor: pointer;

    outline: none;

    transition:
        opacity 0.18s ease,
        transform 0.18s ease;
}

.news-detail-gallery .swiper-buttons svg:hover {
    opacity: 0.82;
}

.news-detail-gallery .swiper-buttons svg:active {
    transform: scale(0.97);
}

.news-detail-gallery .swiper-buttons svg:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;

    border-radius: 50%;
}


.news-detail-gallery--single .swiper-buttons,
.news-detail-gallery--single .news-detail-gallery__counter {
    display: none;
}


@media (max-width: 1199px) {
    .news-detail-gallery__image {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .news-detail-gallery__image {
        height: 260px;
    }

    .news-detail-gallery .swiper-buttons {
        gap: 6px;

        padding: 12px 12px 0 0;

        border-radius: 0 32px 0 0;
    }

    .news-detail-gallery .swiper-buttons svg {
        width: 36px;
        height: 36px;
    }

    .news-detail-gallery__counter {
        top: 10px;
        right: 10px;

        min-width: 48px;
        height: 28px;

        padding: 0 9px;

        font-size: 12px;
    }
}
/* End */
/* /local/templates/new/components/bitrix/news.detail/news/style.css?17893700543432 */
