.news-detail2025-viewable-image,
.news-detail2025-viewable-image-link {
    cursor: zoom-in;
}

.news-detail2025-lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 72px;
    background: rgba(11, 9, 10, 0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.news-detail2025-lightbox.is-open {
    opacity: 1;
    pointer-events: auto;
}

.news-detail2025-lightbox-close,
.news-detail2025-lightbox-nav {
    border: 0;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    cursor: pointer;
}

.news-detail2025-lightbox-close {
    position: absolute;
    top: 16px;
    right: 22px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    font-size: 34px;
    line-height: 1;
}

.news-detail2025-lightbox-nav {
    position: absolute;
    top: 50%;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    transform: translateY(-50%);
    font-size: 42px;
    line-height: 1;
}

.news-detail2025-lightbox-prev {
    left: 16px;
}

.news-detail2025-lightbox-next {
    right: 16px;
}

.news-detail2025-lightbox-close:hover,
.news-detail2025-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.28);
}

.news-detail2025-lightbox-close:disabled,
.news-detail2025-lightbox-nav:disabled {
    opacity: 0.35;
    cursor: default;
}

.news-detail2025-lightbox-stage {
    width: min(1120px, 100%);
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.news-detail2025-lightbox-image {
    display: block;
    max-width: 100%;
    max-height: calc(100vh - 180px);
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 20px 46px rgba(0, 0, 0, 0.5);
    background: #151516;
}

.news-detail2025-lightbox-caption {
    min-height: 1.3em;
    max-width: 920px;
    text-align: center;
    color: #f3ecee;
    font-size: 15px;
    line-height: 1.35;
}

.news-detail2025-lightbox-counter {
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    letter-spacing: 0.03em;
}


@media screen and (max-width:800px){
    .news-detail2025-lightbox {
        padding: 18px 12px 72px;
    }

    .news-detail2025-lightbox-nav {
        top: auto;
        bottom: 14px;
        transform: none;
        width: 44px;
        height: 44px;
        font-size: 34px;
    }

    .news-detail2025-lightbox-prev {
        left: calc(50% - 52px);
    }

    .news-detail2025-lightbox-next {
        right: calc(50% - 52px);
    }

    .news-detail2025-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .news-detail2025-lightbox-image {
        max-height: calc(100vh - 180px);
    }
}
/* Gallery page follows tmpl2025 typography, colors and rounded surfaces. */
#ecit-gallery{max-width:1300px;margin:28px auto 64px;padding:0 16px;font:16px/1.6 'Golos Text',Arial,sans-serif;color:var(--black,#0d0b0c)}
#ecit-gallery [hidden]{display:none!important}
#ecit-gallery h2,#ecit-gallery h3,#ecit-gallery p{margin:0}
#ecit-gallery .eg-intro{background:#f7f5f5;border-radius:20px;padding:48px;display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:32px}
#ecit-gallery h2{font-size:clamp(28px,3.6vw,48px);line-height:1.15;letter-spacing:-.025em;font-weight:650}
#ecit-gallery .eg-intro h2 span{color:var(--red,#c70012)}
#ecit-gallery .eg-intro p{max-width:570px;margin-top:24px;color:#5b5152}
#ecit-gallery .eg-eyebrow{display:block;color:#c70012;font-size:13px;font-weight:600;margin-bottom:18px}
#ecit-gallery .eg-doodle{width:220px;flex:none;color:#c70012;pointer-events:none}
#ecit-gallery .eg-toolbar{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:28px;align-items:center}
#ecit-gallery .eg-filters{display:flex;gap:8px;flex-wrap:wrap}
#ecit-gallery .eg-filters button{border:1px solid #e6dedf;border-radius:10px;background:white;color:#5b5152;padding:11px 18px;font:500 14px/1.4 'Golos Text',Arial,sans-serif;cursor:pointer}
#ecit-gallery .eg-filters .is-active{background:#c70012;border-color:#c70012;color:white}
#ecit-gallery .eg-search input{width:260px;max-width:100%;padding:12px 16px;border:1px solid #e6dedf;background:#f7f5f5;border-radius:10px;font:14px/1.4 'Golos Text',Arial,sans-serif;color:#0d0b0c}
#ecit-gallery .eg-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 20px}
#ecit-gallery .eg-cover{position:relative;background:#f7f5f5;border-radius:16px;overflow:hidden;aspect-ratio:1.3}
#ecit-gallery .eg-cover img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}
#ecit-gallery .eg-album:hover img{transform:scale(1.04)}
#ecit-gallery .eg-badge{position:absolute;top:16px;left:16px;background:white;border-radius:7px;padding:6px 10px;font-size:12px;color:#0d0b0c}
#ecit-gallery .eg-open{position:absolute;bottom:16px;right:16px;display:grid;place-items:center;background:white;border-radius:50%;height:38px;width:38px;color:#c70012;font-size:22px}
#ecit-gallery .eg-album-copy{padding:16px 4px}
#ecit-gallery .eg-meta{font-size:12px;color:#5b5152;display:block;margin-bottom:8px}
#ecit-gallery h3{font-size:20px;line-height:1.35;font-weight:600}
#ecit-gallery .eg-album:hover h3{color:#c70012}
#ecit-gallery .eg-empty,#ecit-gallery .eg-no-results{padding:48px 24px;text-align:center;background:#f7f5f5;border-radius:16px;color:#5b5152}
#ecit-gallery .eg-back{display:inline-flex;color:#c70012;margin:0 0 28px;font-size:14px}
#ecit-gallery .eg-album-heading{margin-bottom:32px;max-width:960px}
#ecit-gallery .eg-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#ecit-gallery .eg-photo{position:relative;display:block;aspect-ratio:1.15;overflow:hidden;border-radius:12px;background:#f7f5f5}
#ecit-gallery .eg-photo img{width:100%;height:100%;object-fit:cover;display:block}
#ecit-gallery .eg-photo>span{position:absolute;bottom:12px;right:12px;background:white;color:#c70012;border-radius:50%;width:32px;height:32px;text-align:center;line-height:32px}
#ecit-gallery .eg-video{background:#f7f5f5;border-radius:12px;padding:28px;display:flex;flex-direction:column;justify-content:center;gap:12px;min-height:240px}
#ecit-gallery .eg-play{font-size:44px;line-height:1;color:#c70012}
#ecit-gallery .eg-video>span:not(.eg-play),#ecit-gallery .eg-video small{font-size:13px;color:#5b5152}
#ecit-gallery .eg-video-placeholder{display:grid;place-items:center;font-size:70px;height:100%;color:#c70012}
#ecit-gallery .eg-pagination{display:flex;justify-content:center;gap:24px;align-items:center;margin:40px 0;font-size:14px}
#ecit-gallery .eg-pagination a{color:#c70012}
#ecit-gallery :focus-visible{outline:2px solid #c70012;outline-offset:4px}
#ecit-gallery .eg-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.eg-video-dialog{border:0;padding:0;width:min(1100px,94vw);background:#0d0b0c;border-radius:14px;overflow:visible;color:white}
.eg-video-dialog::backdrop{background:#0d0b0ce8}
.eg-video-dialog iframe,.eg-video-dialog video{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:14px}
.eg-video-dialog button{position:absolute;right:4px;top:-48px;background:#fff;color:#0d0b0c;border:0;border-radius:50%;width:38px;height:38px;font-size:28px;cursor:pointer}
@media(max-width:1000px){#ecit-gallery .eg-grid,#ecit-gallery .eg-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#ecit-gallery .eg-intro{padding:32px}#ecit-gallery .eg-doodle{width:150px}}
@media(max-width:600px){#ecit-gallery .eg-intro{padding:28px 24px;display:block}#ecit-gallery .eg-doodle{width:110px;margin-top:20px}#ecit-gallery .eg-search,#ecit-gallery .eg-search input{width:100%}#ecit-gallery .eg-grid{grid-template-columns:1fr}#ecit-gallery .eg-media-grid{gap:10px}#ecit-gallery .eg-filters button{padding:10px 12px;font-size:13px}#ecit-gallery .eg-video{padding:18px;min-height:200px}#ecit-gallery .eg-album-heading h2{font-size:28px}}
@media(prefers-reduced-motion:reduce){#ecit-gallery *{transition:none!important}}
