

/* Start:/bitrix/templates/sezenovo_2026/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17917917253484*/
.news-gallery {
    width: 100%;
    min-width: 0;
    margin: 36px 0;
}
.news-gallery-stage {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #f3f9fd;
    touch-action: pan-y;
}
.news-gallery-slide {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
.news-gallery-slide[hidden],
.news-gallery button[hidden] {
    display: none;
}
.news-gallery-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.news-gallery-prev,
.news-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    color: var(--brand);
    font: 24px/1 var(--sans);
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(27, 66, 103, 0.08);
}
.news-gallery-prev {
    left: 16px;
}
.news-gallery-next {
    right: 16px;
}
.news-gallery-meta {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin: 14px 0 12px;
    color: var(--muted);
    font: 13px/1.5 var(--sans);
}
.news-gallery-meta [data-gallery-count] {
    color: var(--brand);
    font-variant-numeric: tabular-nums;
}
.news-gallery-thumbs {
    position: relative;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #a7c8e0 #edf5fa;
    padding: 3px 2px 12px;
}
.news-gallery-thumbs button {
    flex: 0 0 88px;
    height: 64px;
    padding: 3px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    scroll-snap-align: center;
}
.news-gallery-thumbs button[aria-current='true'] {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}
.news-gallery-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: cover;
}
.news-gallery button:hover {
    border-color: var(--accent);
}
.news-gallery:focus-visible,
.news-gallery button:focus-visible,
.news-back-link:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}
.news-back {
    margin: 32px 0;
}
.news-back-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #f3f9fd;
    color: var(--brand);
    text-decoration: none;
    font: 14px/1.5 var(--sans);
    transition:
        background 0.2s,
        border-color 0.2s;
}
.news-back-link svg {
    width: 22px;
    height: 22px;
}
.news-back-link:hover {
    background: #e8f4fc;
    border-color: var(--accent);
}
@media (max-width: 520px) {
    .news-gallery {
        margin: 26px 0;
    }
    .news-gallery-prev {
        left: 8px;
    }
    .news-gallery-next {
        right: 8px;
    }
    .news-gallery-prev,
    .news-gallery-next {
        width: 38px;
        height: 38px;
    }
    .news-gallery-thumbs {
        gap: 8px;
    }
    .news-gallery-thumbs button {
        flex-basis: 76px;
        height: 56px;
    }
}
@media print {
    .news-gallery-prev,
    .news-gallery-next,
    .news-gallery-thumbs,
    .news-back {
        display: none;
    }
}

/* End */
/* /bitrix/templates/sezenovo_2026/components/bitrix/news/news/bitrix/news.detail/.default/style.css?17917917253484 */
