

/* Start:/bitrix/templates/dz-new/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17944239482034*/
.news-gallery {
    --news-gallery-height: 180px;
    position: relative;
    min-width: 0;
    margin: 16px 0 24px;
}

.news-gallery__track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 3px;
    scrollbar-width: thin;
    padding: 3px 3px 10px;
}

.news-gallery .news-gallery__item {
    flex: 0 0 auto;
    width: calc(var(--news-gallery-height) * var(--photo-ratio));
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
}

.news-gallery__link {
    display: block;
    height: var(--news-gallery-height);
    overflow: hidden;
    border-radius: 6px;
}

.news-gallery__link:hover,
.news-gallery__link:focus-visible {
    outline: 2px solid #204260;
    outline-offset: 2px;
}

.news-gallery .news-gallery__link img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: none;
    margin: 0;
    object-fit: contain;
}

.news-gallery__caption {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.news-gallery__arrow {
    position: absolute;
    top: calc(var(--news-gallery-height) / 2 - 20px);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #e5e8ec;
    border-radius: 50%;
    background: #fff;
    color: #204260;
    box-shadow: 0 2px 8px #0002;
    font: 32px/1 Arial, sans-serif;
    cursor: pointer;
}

.news-gallery__arrow[hidden] {
    display: none;
}

.news-gallery__arrow--prev {
    left: 8px;
}

.news-gallery__arrow--next {
    right: 8px;
}

.news-gallery__arrow:disabled {
    opacity: .4;
    cursor: default;
}

.news-gallery__arrow:focus-visible,
.news-gallery__track:focus-visible {
    outline: 2px solid #204260;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .news-gallery {
        --news-gallery-height: 140px;
    }

    .news-gallery__track {
        gap: 8px;
    }
}

/* End */
/* /bitrix/templates/dz-new/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17944239482034 */
