/* ============================================================
   SPIMUN v2 — Design System (v3 refresh: depth & polish)
   Палитра: navy + gold, Merriweather (заголовки) / Inter (текст)
   Единый стиль для ПК и мобайла. Больше объёма: слоистые тени,
   мягкие градиенты, акценты и аккуратные ховеры.
   ============================================================ */

:root {
    --primary-navy: #1a365d;
    --primary-light: #2c5282;
    --navy-deep: #122a47;
    --accent-gold: #d69e2e;
    --accent-gold-bright: #e9b949;
    --accent-gold-soft: rgba(214, 158, 46, 0.12);
    --bg-light: #f4f7fb;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;

    /* Слоистые тени дают глубину вместо плоских карточек */
    --shadow-sm: 0 1px 2px rgba(16,42,67,.06), 0 1px 3px rgba(16,42,67,.10);
    --shadow-md: 0 6px 14px -6px rgba(16,42,67,.18), 0 2px 6px -2px rgba(16,42,67,.10);
    --shadow-lg: 0 22px 45px -14px rgba(16,42,67,.28), 0 10px 18px -10px rgba(16,42,67,.16);
    --shadow-gold: 0 10px 26px -8px rgba(214,158,46,.45);

    --grad-navy: linear-gradient(135deg, #234d80 0%, #1a365d 52%, #122a47 100%);
    --grad-gold: linear-gradient(135deg, var(--accent-gold-bright) 0%, var(--accent-gold) 100%);
    --grad-surface: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);

    --radius: 14px;
    --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.65;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4 { font-family: 'Merriweather', serif; color: var(--primary-navy); line-height: 1.3; }
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; cursor: pointer; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; width: 100%; }
.container-narrow { max-width: 1000px; margin: 0 auto; padding: 0 2rem; width: 100%; }

:focus-visible { outline: 3px solid var(--accent-gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- Анимации появления ---------- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease-out, transform 0.7s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
    .fade-in { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Кнопки ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 0.8rem 1.7rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem;
    cursor: pointer; transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
    text-align: center; border: 1px solid transparent; letter-spacing: 0.2px;
}
.btn-primary { background: var(--grad-navy); color: var(--bg-white); border-color: transparent; box-shadow: 0 8px 18px -8px rgba(26,54,93,.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(26,54,93,.6); }
.btn-outline { background-color: rgba(255,255,255,0.6); color: var(--primary-navy); border-color: var(--primary-navy); }
.btn-outline:hover { background-color: var(--primary-navy); color: var(--bg-white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--grad-gold); color: #3b2a06; border-color: transparent; box-shadow: var(--shadow-gold); }
.btn-gold:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(214,158,46,.55); }

/* ---------- Шапка ---------- */
header.site-header {
    background-color: rgba(255,255,255,0.82);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid rgba(226,232,240,0.9);
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, var(--shadow-sm);
    transition: box-shadow 0.3s, background 0.3s;
}
header.site-header.scrolled { box-shadow: var(--shadow-md); background-color: rgba(255,255,255,0.92); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 76px; }
.logo-container { display: flex; align-items: center; gap: 0.9rem; }
.logo-container img { height: 56px; width: auto; object-fit: contain; transition: transform .25s ease; }
.logo-container:hover img { transform: scale(1.04); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text strong { font-family: 'Merriweather', serif; color: var(--primary-navy); font-size: 1.15rem; letter-spacing: 0.5px; }
.logo-text span { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

nav.desktop-nav { display: flex; gap: 1.6rem; align-items: center; }
nav.desktop-nav > a { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); position: relative; padding: 0.25rem 0; }
nav.desktop-nav > a:not(.btn)::after {
    content: ''; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px;
    background: var(--grad-gold); border-radius: 2px; transition: width 0.25s ease;
}
nav.desktop-nav > a:not(.btn):hover { color: var(--primary-light); }
nav.desktop-nav > a:not(.btn):hover::after, nav.desktop-nav > a.active::after { width: 100%; }
nav.desktop-nav > a.active { color: var(--primary-navy); font-weight: 600; }
nav.desktop-nav .btn { margin-left: 0.75rem; padding: 0.6rem 1.2rem; }

/* Мобильное меню */
.mobile-menu-toggle { display: none; background: none; border: none; color: var(--primary-navy); padding: 10px; margin-right: -10px; }
.mobile-nav {
    position: fixed; top: 0; right: -340px; width: 320px; max-width: 100%; height: 100vh; height: 100dvh;
    background: var(--grad-surface); z-index: 9999; box-shadow: -8px 0 30px rgba(15,23,42,0.18);
    transition: right 0.32s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column; padding: 2rem; overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-menu-close { align-self: flex-end; font-size: 2.4rem; background: none; border: none; color: var(--text-dark); margin-bottom: 1.25rem; line-height: 1; padding: 0; }
.mobile-nav-links { display: flex; flex-direction: column; gap: 0.35rem; }
.mobile-nav-links a:not(.btn) {
    font-size: 1.08rem; font-weight: 500; color: var(--text-dark); display: block;
    padding: 0.7rem 0.6rem; border-radius: 8px; border-left: 3px solid transparent; transition: all .2s;
}
.mobile-nav-links a:not(.btn):hover, .mobile-nav-links a.active { color: var(--primary-navy); background: var(--accent-gold-soft); border-left-color: var(--accent-gold); }
.mobile-nav-links .btn { margin-top: 1.25rem; width: 100%; }
.mobile-menu-overlay {
    position: fixed; inset: 0; background: rgba(15, 23, 42, 0.55); z-index: 9998;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; backdrop-filter: blur(3px);
}
.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

@media (max-width: 992px) {
    nav.desktop-nav { display: none !important; }
    .mobile-menu-toggle { display: block; }
    .header-inner { min-height: 64px; }
    .logo-container img { height: 46px; }
    .logo-text { display: none; }
}

/* ---------- Page hero (внутренние страницы) ---------- */
.page-header {
    background: var(--grad-navy);
    color: var(--bg-white); padding: 4.75rem 0; text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 26px 26px;
}
.page-header::after {
    content: ''; position: absolute; left: 50%; top: -40%; width: 680px; height: 680px; transform: translateX(-50%);
    background: radial-gradient(circle, rgba(214,158,46,0.18), transparent 62%); pointer-events: none;
}
.page-header .container { position: relative; }
.page-header h1 { color: var(--bg-white); font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.page-header p { color: #cbd5e1; font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.page-header .crumb { display: inline-block; margin-bottom: 1rem; font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--accent-gold-bright); font-weight: 600; }

/* ---------- Карточки ---------- */
.card {
    background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-5px); border-color: rgba(44,82,130,0.35); }

/* Новости */
.news-item {
    padding: 2.25rem 2.5rem; margin-bottom: 1.75rem; position: relative; overflow: hidden;
}
.news-item::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-gold); opacity: 0; transition: opacity .25s;
}
.news-item:hover::before { opacity: 1; }
.news-date {
    display: inline-block; font-size: 0.82rem; color: var(--primary-light); font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.6rem;
    border-left: 3px solid var(--accent-gold); padding-left: 0.6rem;
}
.news-item h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.news-content { color: var(--text-dark); font-size: 1.02rem; overflow-wrap: anywhere; }
.news-content p { margin-bottom: 0.9rem; }
.news-content a { color: var(--primary-light); text-decoration: underline; }
.news-content a:hover { color: var(--accent-gold); }
.news-content img { border-radius: 8px; margin: 0.75rem 0; }

/* ---------- Скелетоны загрузки ---------- */
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.skeleton {
    background: linear-gradient(90deg, #eef2f7 25%, #e2e8f0 37%, #eef2f7 63%);
    background-size: 800px 100%; animation: shimmer 1.4s infinite linear; border-radius: 8px;
}
.skeleton-line { height: 14px; margin-bottom: 10px; }
.skeleton-line.w60 { width: 60%; } .skeleton-line.w40 { width: 40%; } .skeleton-line.w80 { width: 80%; }
.skeleton-title { height: 26px; width: 50%; margin-bottom: 16px; }
.skeleton-thumb { aspect-ratio: 4/3; width: 100%; }

/* Сообщение об ошибке моста */
.bridge-error {
    text-align: center; padding: 3rem 2rem; background: var(--bg-white);
    border: 1px dashed var(--border-color); border-radius: var(--radius); color: var(--text-muted);
}
.bridge-error strong { display: block; color: var(--primary-navy); font-size: 1.1rem; margin-bottom: 0.5rem; }

/* ---------- Галерея ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
    background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 50px;
    padding: 0.5rem 1.25rem; font-size: 0.9rem; font-weight: 500; color: var(--text-muted); transition: all 0.25s; box-shadow: var(--shadow-sm);
}
.filter-btn:hover { border-color: var(--primary-light); color: var(--primary-navy); transform: translateY(-1px); }
.filter-btn.active { background: var(--grad-navy); border-color: transparent; color: #fff; box-shadow: var(--shadow-md); }

.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
.photo-tile {
    position: relative; border-radius: var(--radius); overflow: hidden; cursor: zoom-in;
    aspect-ratio: 4/3; background: #e2e8f0; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
}
.photo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.photo-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.photo-tile:hover img { transform: scale(1.06); }
.photo-tile .tile-cat {
    position: absolute; left: 10px; bottom: 10px; background: rgba(26,54,93,0.85); color: #fff;
    font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 50px;
    opacity: 0; transform: translateY(6px); transition: all 0.3s;
}
.photo-tile:hover .tile-cat { opacity: 1; transform: translateY(0); }

/* Лайтбокс */
.lightbox {
    position: fixed; inset: 0; background: rgba(10, 18, 32, 0.93); z-index: 10000;
    display: none; align-items: center; justify-content: center; flex-direction: column; padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 8px; box-shadow: 0 25px 60px rgba(0,0,0,0.5); }
.lightbox-caption { color: #cbd5e1; margin-top: 1rem; font-size: 0.9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; border-radius: 50%; width: 48px; height: 48px; font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center; transition: background 0.25s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.5rem; top: 50%; transform: translateY(-50%); }

/* ---------- Подготовка (articles) ---------- */
.prep-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.prep-toc {
    position: sticky; top: 110px; background: var(--bg-white); border: 1px solid var(--border-color);
    border-radius: var(--radius); padding: 1.5rem; max-height: calc(100vh - 140px); overflow-y: auto; box-shadow: var(--shadow-sm);
}
.prep-toc h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-muted); margin-bottom: 1rem; font-family: 'Inter', sans-serif; }
.prep-toc a {
    display: block; padding: 0.55rem 0.75rem; border-radius: 6px; font-size: 0.92rem;
    color: var(--text-dark); border-left: 3px solid transparent; margin-bottom: 2px;
}
.prep-toc a:hover { background: var(--bg-light); color: var(--primary-navy); }
.prep-toc a.active { border-left-color: var(--accent-gold); background: var(--accent-gold-soft); color: var(--primary-navy); font-weight: 600; }
.article-block { padding: 2.5rem; margin-bottom: 2rem; }
.article-block h2 { font-size: 1.65rem; margin-bottom: 1.25rem; padding-bottom: 0.9rem; border-bottom: 2px solid var(--accent-gold-soft); }
.article-body { color: var(--text-dark); font-size: 1.02rem; overflow-wrap: anywhere; }
.article-body p { margin-bottom: 0.9rem; }
.article-body ul, .article-body ol { margin: 0.5rem 0 1rem 1.5rem; }
.article-body a { color: var(--primary-light); text-decoration: underline; }
.article-body a:hover { color: var(--accent-gold); }
.article-body table { border-collapse: collapse; width: 100%; margin: 1rem 0; }
.article-body td, .article-body th { border: 1px solid var(--border-color); padding: 0.5rem 0.75rem; }
@media (max-width: 992px) {
    .prep-layout { grid-template-columns: 1fr; }
    .prep-toc { position: static; max-height: none; }
}

/* ---------- Футер ---------- */
footer.site-footer { background: var(--grad-navy); color: var(--bg-white); padding: 4.5rem 0 2rem; margin-top: auto; position: relative; }
footer.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad-gold); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 3rem; margin-bottom: 3.5rem; }
.footer-brand img { height: 84px; margin-bottom: 1.25rem; object-fit: contain; }
.footer-brand p { opacity: 0.8; font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer-col h4 { color: var(--bg-white); font-size: 0.95rem; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 1px; font-family: 'Inter', sans-serif; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a { opacity: 0.8; font-size: 0.9rem; }
.footer-col ul a:hover { opacity: 1; color: var(--accent-gold-bright); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 2rem; text-align: center; font-size: 0.85rem; opacity: 0.65; }

/* ---------- Наверх ---------- */
.back-to-top {
    position: fixed; bottom: 1.75rem; right: 1.75rem; width: 48px; height: 48px; border-radius: 50%;
    background: var(--grad-navy); color: #fff; border: none; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s; z-index: 900;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { filter: brightness(1.12); transform: translateY(-2px); }

/* ---------- Секции главной ---------- */
.hero {
    padding: 6.5rem 0 7rem; text-align: center;
    border-bottom: 1px solid var(--border-color); position: relative;
    background:
        radial-gradient(1200px 520px at 50% -8%, rgba(44,82,130,0.12), transparent 60%),
        radial-gradient(760px 420px at 88% 18%, rgba(214,158,46,0.10), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--bg-light) 100%);
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: radial-gradient(rgba(26,54,93,0.06) 1px, transparent 1px);
    background-size: 38px 38px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 88%); mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
}
.hero .container { position: relative; }
.hero-badge {
    display: inline-block; background: linear-gradient(135deg, rgba(214,158,46,0.18), rgba(214,158,46,0.10));
    color: #a9761a; padding: 0.5rem 1.15rem; border-radius: 50px; font-size: 0.85rem; font-weight: 700;
    margin-bottom: 1.5rem; letter-spacing: 1.5px; text-transform: uppercase; border: 1px solid rgba(214,158,46,0.35);
    box-shadow: 0 4px 14px -6px rgba(214,158,46,0.4);
}
.hero h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); margin-bottom: 1.5rem; overflow-wrap: anywhere; }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 760px; margin: 0 auto 2.5rem; }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 4rem; }

.timer-wrapper {
    display: inline-flex; justify-content: center; flex-wrap: wrap;
    background: var(--grad-surface); padding: 2rem 3rem; border-radius: 16px;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(226,232,240,0.9); gap: 3rem; max-width: 100%;
    position: relative;
}
.timer-wrapper::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 16px 16px 0 0; background: var(--grad-gold); }
.timer-box { text-align: center; min-width: 76px; }
.timer-box span { display: block; font-family: 'Merriweather', serif; font-size: 3.2rem; color: var(--primary-navy); font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; }
.timer-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; margin-top: 0.5rem; font-weight: 600; }

.section { padding: 5.5rem 0; }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1rem; }
.section-title::after { content: ''; display: block; width: 64px; height: 4px; margin: 1rem auto 0; border-radius: 4px; background: var(--grad-gold); }
.committees-section .section-title::after { background: var(--grad-gold); }
.section-subtitle { text-align: center; color: var(--text-muted); max-width: 640px; margin: 0 auto 3.5rem; }

/* Таймлайн истории */
.timeline { position: relative; max-width: 1000px; margin: 0 auto; }
.timeline::after { content: ''; position: absolute; width: 4px; background: linear-gradient(180deg, var(--accent-gold) 0%, rgba(214,158,46,0.25) 100%); top: 0; bottom: 0; left: 50%; margin-left: -2px; border-radius: 4px; }
.timeline-item { padding: 10px 40px; position: relative; width: 50%; margin-bottom: 2rem; }
.timeline-item.left { left: 0; }
.timeline-item.right { left: 50%; }
.timeline-item::after {
    content: ''; position: absolute; width: 18px; height: 18px; background: var(--bg-white);
    border: 4px solid var(--accent-gold); border-radius: 50%; top: 30px; z-index: 1;
    box-shadow: 0 0 0 6px rgba(214,158,46,0.15), var(--shadow-sm);
}
.timeline-item.left::after { right: -9px; }
.timeline-item.right::after { left: -9px; }
.timeline-content { border-radius: 14px; overflow: hidden; text-align: left; }
.timeline-img { width: 100%; height: 220px; object-fit: cover; border-bottom: 1px solid var(--border-color); display: block; }
.timeline-text { padding: 1.9rem; }
.timeline-badge { display: inline-block; background: var(--grad-navy); color: #fff; padding: 0.32rem 0.9rem; border-radius: 50px; font-size: 0.78rem; font-weight: 600; margin-bottom: 0.9rem; box-shadow: var(--shadow-sm); }
.timeline-text h3 { font-size: 1.35rem; margin-bottom: 0.7rem; }

/* Комитеты */
.committees-section { background: var(--grad-navy); color: var(--bg-white); position: relative; overflow: hidden; }
.committees-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(700px 380px at 85% 0%, rgba(214,158,46,0.16), transparent 60%);
}
.committees-section .container { position: relative; }
.committees-section .section-title, .committees-section h2 { color: var(--bg-white); }
.committees-section .section-subtitle { color: #cbd5e1; }
.committees-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.committee-card {
    background: linear-gradient(180deg, rgba(255,255,255,0.09), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.14);
    padding: 2rem; border-radius: var(--radius); text-align: center; transition: all 0.3s; cursor: pointer;
    backdrop-filter: blur(2px); position: relative;
}
.committee-card:hover { background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.06)); transform: translateY(-6px); border-color: var(--accent-gold); box-shadow: 0 20px 40px -16px rgba(0,0,0,0.45); }
.committee-card h4 { color: var(--accent-gold-bright); font-size: 1.1rem; margin-bottom: 0.5rem; }
.committee-card p { font-size: 0.9rem; color: #cbd5e1; }

/* Venues */
.venues-images { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-top: 3rem; }
.venue-box { background: var(--grad-surface); padding: 2.5rem; border-radius: var(--radius); border: 1px solid var(--border-color); transition: all 0.3s; text-align: left; box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.venue-box::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--grad-gold); opacity: 0; transition: opacity .25s; }
.venue-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(44,82,130,0.35); }
.venue-box:hover::before { opacity: 1; }
.venue-box p { font-size: 0.95rem; color: var(--text-muted); }
.venue-box h3 { margin-bottom: 0.6rem; }

/* Новости на главной */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.news-card { padding: 2.25rem; display: flex; flex-direction: column; }
.news-card .news-date { margin-bottom: 1rem; }
.news-card h3 { font-size: 1.3rem; margin-bottom: 0.9rem; }
.news-card .news-excerpt { color: var(--text-muted); margin-bottom: 1.5rem; flex-grow: 1; font-size: 0.97rem; }
.read-more { font-weight: 600; color: var(--primary-navy); display: inline-flex; align-items: center; gap: 0.4rem; }
.read-more:hover { color: var(--accent-gold); gap: 0.7rem; }

/* ---------- Мобильная адаптация ---------- */
@media (max-width: 768px) {
    .container, .container-narrow { padding: 0 1.25rem; }
    .hero { padding: 4.25rem 0 5rem; }
    .hero h1 { font-size: clamp(1.9rem, 8.5vw, 2.6rem); }
    .timer-wrapper { padding: 1.5rem 1.25rem; gap: 1.25rem; width: 100%; }
    .timer-box { min-width: 0; flex: 1 1 22%; }
    .timer-box span { font-size: 2.1rem; }
    .section { padding: 3.75rem 0; }
    .timeline::after { left: 22px; }
    .timeline-item { width: 100%; padding-left: 56px; padding-right: 0; }
    .timeline-item.left, .timeline-item.right { left: 0; }
    .timeline-item.left::after, .timeline-item.right::after { left: 13px; right: auto; }
    .timeline-img { height: 180px; }
    .news-item { padding: 1.6rem 1.4rem; }
    .article-block { padding: 1.6rem 1.4rem; }
    .photo-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.75rem; }
    .lightbox-prev { left: 0.5rem; } .lightbox-next { right: 0.5rem; }
}
