

/* ============================================================
   БАННЕР
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 150px 0 100px;
    color: var(--white);

    background:
        radial-gradient(120% 100% at 0% 40%, rgba(139, 0, 0, 0.65) 0%, transparent 60%),
        var(--gradient-red-dark);
}

/* Фотография ssc.webp — правая половина баннера, почти без красной вуали */
.hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 62%;
    /* Снимок задаётся в админке: «Настройки сайта» → «Баннер» → «Фоновое
       фото». Оттуда он приходит переменной --hero-photo прямо на секции;
       пока поле пустое, остаётся снимок из сборки. */
    background: var(--hero-photo, url('../ssc.webp')) center right / cover no-repeat;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 26%, #000 58%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.55) 26%, #000 58%);
    z-index: 0;
    pointer-events: none;
}

/* Лёгкое затемнение сверху — чтобы прозрачная шапка читалась на фото */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 1, 3, 0.55) 0%, rgba(14, 1, 3, 0.12) 18%, transparent 34%);
    z-index: 1;
    pointer-events: none;
}

#heroCanvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.35;
}

/* Контент баннера прижат влево — справа остаётся видимой фотография */
.hero__inner {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.hero__title, .hero__desc, .hero__actions, .hero__stats { max-width: 620px; }


.hero__title {
    font-size: clamp(32px, 5vw, 68px);
    font-weight: 700;
    line-height: 1.06;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    margin-bottom: 26px;
}
.hero__title span { display: block; }
.hero__title .l-outline {
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
}
.hero__title .l-accent {
    background: linear-gradient(100deg, #FF6B6B 0%, #FFFFFF 65%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
/* приписка вуза — тем же кеглем, что остальные строки заголовка */
.hero__title-org { color: #EB002D; }

.hero__desc {
    position: relative;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.88);
    max-width: 600px;
    margin-bottom: 38px;
    padding-top: 26px;
}
.hero__desc::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 180px;
    height: 2px;
    background: rgba(255, 255, 255, 0.42);
}

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 60px;
    width: 100%;
}
.hstat { text-align: left; }
.hstat b {
    display: block;
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}
.hstat span {
    display: block;
    margin-top: 8px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.72);
}

/* Подсказка «листайте вниз» */
.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    color: rgba(255, 255, 255, 0.55);
    font-size: 20px;
    text-decoration: none;
}
.scroll-hint i { display: block; animation: scrollBounce 2s ease-in-out infinite; }
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(7px); opacity: 0.9; }
}

@media (max-width: 1100px) {
    /* На узких экранах фото уходит на фон целиком и сильнее приглушается */
    .hero::after {
        width: 100%;
        opacity: 0.5;
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 45%, #000 100%);
        mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 45%, #000 100%);
    }
    .hero__inner { max-width: 100%; }
}

@media (max-width: 768px) {
    .hero { padding: 120px 0 76px; }
    .hero__actions { flex-direction: column; width: 100%; }
    .hero__actions .btn { width: 100%; }
    .hero__stats { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 46px; }
}

/* ============================================================
   О НАС
   ============================================================ */
/* Две равные колонки */
.about__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 54px;
    align-items: start;
}
.about__layout--second { margin-top: 70px; }

@media (max-width: 1000px) {
    .about__layout { grid-template-columns: 1fr; gap: 40px; }
    .about__layout--second { margin-top: 46px; }
}

/* Правая колонка — обычный текст, без плашек и карточек */
.about__intro { display: flex; flex-direction: column; justify-content: center; }

.about__intro p {
    font-size: 17px;
    line-height: 1.75;
    font-weight: 500;
    color: var(--text-dark);
}
.about__lead { margin-bottom: 18px; }
.about__lead b { color: var(--accent-red); }

.about__text { margin-top: 16px; }

/*
| Текст приходит из редактора админки одним куском: внутри свои абзацы,
| списки и подзаголовки. Отступ был только у контейнера, поэтому абзацы
| слипались в сплошную простыню. Жирный редактор ставит тегом strong —
| без него выделение выглядело обычным текстом.
*/
.about__text > * + * { margin-top: 16px; }

/* Редактор оставляет пустые строки как <div><br></div>: без этого правила
   они складывались с отступом абзаца и между абзацами зияли провалы */
.about__text > div:empty,
.about__text > p:empty { display: none; }
.about__text > div > br:only-child { display: none; }
/* Полужирный — только полужирный. Раньше он заодно красился в красный,
   и в редакторе кнопка «Ж» неожиданно меняла цвет. Цвет теперь отдельная
   кнопка, она ставит класс .t-red (см. css/rich.css). */
.about__text b,
.about__text strong { font-weight: 700; }

/* Крупный вступительный абзац раньше выбирался по месту — первый в блоке.
   Из-за этого размер нельзя было изменить в админке: правило срабатывало
   на что угодно, лишь бы стояло первым. Теперь его назначает редактор
   классом .t-lead (см. css/rich.css), и любой абзац можно сделать крупным
   или вернуть к обычному. */
.about__text > div,
.about__text > p { font-size: 17px; line-height: 1.75; }

.about__text h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 26px;
}
.about__text ul,
.about__text ol { padding-left: 22px; display: grid; gap: 8px; }
.about__text li { font-size: 17px; line-height: 1.7; color: var(--text-dark); }
.about__text a { color: var(--accent-red); }



/* «Что мы делаем» — плитки в две колонки */
.about__do { margin-top: 64px; }
.do-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 1000px) { .do-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .do-grid { grid-template-columns: 1fr; } }
.do-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--card-border);
    font-size: 14.5px;
    color: var(--text-light);
    line-height: 1.6;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.do-item:hover {
    transform: translateY(-4px);
    border-color: rgba(220, 20, 60, 0.35);
    box-shadow: 0 24px 44px -30px rgba(139, 0, 0, 0.55);
}
.do-item i {
    color: var(--accent-red);
    font-size: 15px;
    margin-top: 3px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}


/* Галерея */
.about__gallery { position: relative; padding: 14px 14px 0 0; }
.gallery__main { position: relative; cursor: pointer; }
.gallery__main::before {
    content: '';
    position: absolute;
    top: -14px; right: -14px;
    width: 100%; height: 100%;
    border: 2px solid var(--accent-red);
    border-radius: 16px;
    z-index: 0;
    pointer-events: none;
}
.gallery__main-inner {
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--card-border);
    aspect-ratio: 16/10;
    background: var(--background-soft);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
.gallery__main:hover img { transform: scale(1.06); }
.gallery__zoom {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    width: 58px; height: 58px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: rgba(196, 18, 48, 0.9);
    color: var(--white);
    font-size: 20px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 3;
    pointer-events: none;
}
.gallery__main:hover .gallery__zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.gallery__thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-top: 16px; }
.gthumb, .gthumb-more {
    position: relative;
    overflow: hidden;
    border-radius: 11px;
    border: 1px solid var(--card-border);
    aspect-ratio: 1;
    background: var(--background-soft);
    padding: 0;
    cursor: pointer;
}
.gthumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.gthumb:hover { border-color: var(--accent-red); }
.gthumb:hover img { transform: scale(1.08); }
.gthumb.is-active { border-color: var(--accent-red); }
.gthumb.is-active::after {
    content: '';
    position: absolute; inset: 0;
    border: 2px solid var(--accent-red);
    border-radius: 11px;
    pointer-events: none;
}
.gthumb-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    background: var(--gradient-red);
    border-color: transparent;
    color: var(--white);
    font-family: inherit;
    font-weight: 700;
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s ease;
}
.gthumb-more small { font-weight: 400; font-size: 11px; opacity: 0.9; }
.gthumb-more:hover { transform: translateY(-3px); }
.about__gallery a.hidden-photo { display: none; }

/* «Особая гордость» — светлые карточки с красным акцентом */
.about__pride { margin-top: 60px; }

.about__pride-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}
.about__pride-ico {
    width: 54px; height: 54px;
    border-radius: 16px;
    background: var(--gradient-red);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
    box-shadow: 0 14px 30px -14px rgba(220, 20, 60, 0.8);
}
.about__pride-head h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.about__pride-head p { font-size: 15px; color: var(--text-muted); }

.about__pride { margin-top: 60px; }
.about__pride-lead { font-size: 16px; color: var(--text-muted); margin: -14px 0 26px; }
.about__pride-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
@media (max-width: 900px) { .about__pride-grid { grid-template-columns: 1fr; } }
.pride-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px 30px;
    border-radius: 20px;
    background: var(--white);
    border: 1px solid var(--card-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.pride-card:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 20, 60, 0.35);
    box-shadow: 0 30px 56px -34px rgba(139, 0, 0, 0.55);
}
.pride-card__ico {
    width: 52px; height: 52px;
    flex-shrink: 0;
    border-radius: 16px;
    background: var(--gradient-red);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin: 0;
    box-shadow: 0 12px 26px -14px rgba(220, 20, 60, 0.85);
}
.pride-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.pride-card p { font-size: 15px; color: var(--text-light); line-height: 1.7; }

@media (max-width: 820px) { .about__pride-grid { grid-template-columns: 1fr; } }

/* Финальный акцент — тёмная плашка с кнопкой */
.about__final-text .btn { margin-top: 24px; }
.about__final-media {
    flex-shrink: 0;
    width: 260px;
    min-height: 150px;
}
@media (max-width: 900px) { .about__final-media { display: none; } }

.about__final {
    margin-top: 26px;
    padding: 34px 40px;
    border-radius: 22px;
    background: var(--gradient-red-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 32px 64px -38px rgba(90, 0, 0, 0.85);
}
.about__final::after {
    content: '';
    position: absolute;
    right: -60px; top: -80px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.45), transparent 65%);
    pointer-events: none;
}
.about__final-text { position: relative; z-index: 1; max-width: 780px; }
.about__final h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; margin-bottom: 12px; }
.about__final p { color: rgba(255, 255, 255, 0.8); line-height: 1.75; font-size: 15.5px; }
.about__final strong { color: var(--white); }
.about__final .btn { position: relative; z-index: 1; flex-shrink: 0; }

@media (max-width: 820px) {
    .about__final { padding: 28px 24px; }
    .about__final .btn { width: 100%; }
}

@media (max-width: 992px) {
    .about__grid { grid-template-columns: 1fr; gap: 40px; }
}


.about__team { margin-top: 70px; }

.leaders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
}

.leader {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--card-border);
    background: var(--white);
    border-radius: 20px;
    padding: 24px 26px;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.leader:hover {
    border-color: rgba(220, 20, 60, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 30px 56px -32px rgba(139, 0, 0, 0.55);
}

.leader__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.leader__id { min-width: 0; }
.leader__id h4 { font-size: 18px; font-weight: 700; line-height: 1.25; }
.leader__role {
    color: var(--accent-red);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 6px;
    font-weight: 700;
}

.leader__ava {
    width: 74px; height: 74px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--card-border);
    background: linear-gradient(150deg, #FBE9E9 0%, #F0CFCF 100%);
    transition: border-color 0.3s ease;
}
/* кадрируем по верхней трети — там лицо */
.leader__ava img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; display: block; }
.leader:hover .leader__ava { border-color: rgba(220, 20, 60, 0.5); }

.leader__desc { color: var(--text-muted); font-size: 14.5px; line-height: 1.7; margin-top: 18px; }

/* Контакты прижаты к низу — у карточек в ряду они на одной линии */
.leader__foot {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.leader__lines { display: flex; flex-direction: column; gap: 8px; }
.leader__contact {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.25s ease;
    max-width: 100%;
}
.leader__contact i { color: var(--accent-red); font-size: 18px; width: 22px; text-align: center; flex-shrink: 0; }
.leader__contact span { word-break: break-word; }
a.leader__contact:hover { color: var(--accent-red); }

.leader__soc { display: flex; gap: 15px; align-items: center; }
.leader__soc a { display: inline-flex; transition: transform 0.25s ease; }
.leader__soc a img {
    width: 24px; height: 24px;
    /* белую иконку красим в фирменный красный */
    filter: brightness(0) saturate(100%) invert(17%) sepia(88%) saturate(4661%) hue-rotate(340deg) brightness(93%) contrast(96%);
}
.leader__soc a:hover { transform: translateY(-3px); }

/* Иконка-картинка в строке контакта */
.contact-ico { width: 17px; height: 17px; filter: brightness(0); opacity: 0.65; flex-shrink: 0; }

/* Строка про капитана */
.captain-line {
    margin-top: 26px;
    padding: 16px 26px;
    background: var(--card-soft);
    border: 1px solid var(--card-border);
    border-radius: 30px;
    text-align: center;
    font-size: 15px;
    color: var(--text-muted);
}
.captain-line i { color: var(--accent-red); margin-right: 8px; }
.captain-line b { color: var(--text-dark); font-weight: 700; }


/*
| Вкладки выпусков листаются вбок, а не переносятся на вторую строку:
| на телефоне перенос съедал экран. Полосу прокрутки прячем, ряд держим
| в одну линию через min-width: max-content.
*/
.alumni-tabs { position: relative; margin-bottom: 30px; }
.alumni-tabs__scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px;
    margin: 0 -20px;
}
.alumni-tabs__scroll::-webkit-scrollbar { display: none; }
.alumni-tabs__row {
    display: flex;
    gap: 10px;
    padding: 4px 0;
    min-width: max-content;
}
.alumni-tab {
    padding: 12px 24px;
    border-radius: 12px;
    border: 1px solid var(--card-border);
    background: var(--white);
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-light);
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.25s ease;
}
.alumni-tab:hover { border-color: rgba(220, 20, 60, 0.45); color: var(--accent-red); }
.alumni-tab.active {
    background: var(--gradient-red);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 12px 28px -12px rgba(220, 20, 60, 0.65);
}

.alumni-year { display: none; }
.alumni-year.active { display: block; animation: fadeUp 0.4s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.alumni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 20px;
}
.alumnus {
    text-align: center;
    padding: 22px 14px 20px;
    border-radius: 18px;
    border: 1px solid var(--card-border);
    background: var(--white);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.alumnus:hover {
    transform: translateY(-5px);
    border-color: rgba(220, 20, 60, 0.4);
    box-shadow: 0 26px 46px -30px rgba(139, 0, 0, 0.6);
}
.alumnus b { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; }

.photo-slot {
    position: relative;
    width: 92px; height: 92px;
    margin: 0 auto 14px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(150deg, #FBE9E9 0%, #F3D3D3 100%);
    border: 2px solid var(--white);
    box-shadow: 0 6px 18px -8px rgba(139, 0, 0, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.photo-slot img {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 18%;
    display: block;
}
.photo-slot i { color: rgba(139, 0, 0, 0.3); }

/* Подпись под фамилией выпускника — направление или достижение */
.alumnus__note { display: block; margin-top: 4px; font-size: 12.5px; color: var(--text-muted); line-height: 1.4; }

.alumni-note {
    margin-top: 24px;
    font-size: 14.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}
.alumni-note i { color: var(--accent-red); }

/* ============================================================
   ОБУЧЕНИЕ — короткий блок на главной
   ============================================================ */
.edu__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

/* ============================================================
   НОВОСТИ — карусель на главной
   ============================================================ */
.section.news { overflow-x: clip; }
.news__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 44px;
}

.news-swiper { overflow: visible; cursor: grab; }
.news-swiper:active { cursor: grabbing; }
.news-swiper .swiper-slide { height: auto; }

.event-card {
    height: 100%;
    background: var(--white);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.event-card:hover {
    transform: translateY(-6px);
    border-color: rgba(220, 20, 60, 0.4);
    box-shadow: 0 34px 60px -34px rgba(139, 0, 0, 0.6);
}
.event-card__top {
    position: relative;
    height: 160px;
    background: var(--gradient-red);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.event-card__top::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, 0.10) 0 10px, transparent 10px 20px);
}
.event-card__top img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.event-card__top:has(img) { background: none; }
.event-card__top:has(img)::after { display: none; }
.event-card__top:has(img) > i { display: none; }
.event-card__top i { font-size: 46px; color: rgba(255, 255, 255, 0.92); position: relative; z-index: 1; }
.event-card__date {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    background: var(--white);
    color: var(--primary-red);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.6px;
    padding: 6px 13px;
    border-radius: 20px;
}
.event-card__body { padding: 24px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.event-card__tag {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--red-soft);
    border: 1px solid rgba(220, 20, 60, 0.28);
    font-size: 11px;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--accent-red);
    margin-bottom: 14px;
}
.event-card__body h4 { font-size: 18px; font-weight: 700; line-height: 1.3; }

.event-card__body h4 a { color: inherit; text-decoration: none; transition: color 0.25s ease; }
.event-card__body h4 a:hover { color: var(--accent-red); }
.event-card__body p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; margin-top: 11px; flex: 1; }
.event-card__meta {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}
.event-card__meta a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--primary-red);
    text-decoration: none;
    transition: gap 0.25s ease, color 0.25s ease;
}
.event-card__meta a:hover { gap: 14px; color: var(--accent-red); }

/* ============================================================
   ПРИЗЫВ
   ============================================================ */
.cta-banner {
    background: linear-gradient(120deg, #2c0207 0%, #6b0a17 55%, #a30f24 100%);
    color: var(--white);
    border-radius: 20px;
    padding: 38px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}
.cta-banner h3 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; margin-bottom: 8px; }
.cta-banner p { color: rgba(255, 255, 255, 0.85); font-size: 15px; }

@media (max-width: 700px) {
    .cta-banner { padding: 28px 24px; }
    .cta-banner .btn { width: 100%; }
}

/* ============================================================
   ЛАЙТБОКС
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 4, 8, 0.94);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
    max-width: min(92vw, 1180px);
    max-height: 84vh;
    object-fit: contain;
    border-radius: 12px;
}
.lightbox__btn {
    position: absolute;
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
    font-size: 17px;
    cursor: pointer;
    transition: background 0.25s ease;
    z-index: 2;
}
.lightbox__btn:hover { background: var(--accent-red); border-color: var(--accent-red); }
.lightbox__close { top: 22px; right: 22px; }
.lightbox__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 18px; top: 50%; transform: translateY(-50%); }
.lightbox__counter {
    position: absolute;
    bottom: 22px; left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
}


/* ============================================================
   КАПИТАН СХО (под карточками руководства)
   ============================================================ */
.captain-row {
    margin-top: 22px;
    padding: 24px 30px;
    border-radius: 20px;
    background: var(--gradient-red-dark);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -38px rgba(90, 0, 0, 0.85);
}
.captain-row::after {
    content: '';
    position: absolute;
    right: -60px; top: -70px;
    width: 220px; height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(220, 20, 60, 0.45), transparent 65%);
    pointer-events: none;
}

.captain-row__ava {
    width: 68px; height: 68px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.captain-row__ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.captain-row__info { flex: 1; min-width: 240px; position: relative; z-index: 1; }
.captain-row__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
}
.captain-row__info b { display: block; font-size: 19px; font-weight: 700; }
.captain-row__course { display: block; font-size: 14px; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }
.captain-row__links { display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 1; }
.captain-row__links .btn-soc { background: rgba(255, 255, 255, 0.16); }
.captain-row__links .btn-soc:hover { background: rgba(255, 255, 255, 0.28); }

@media (max-width: 700px) {
    .captain-row { padding: 22px 22px 24px; }
    .captain-row__links { width: 100%; }
    .captain-row__links .btn-soc { flex: 1; justify-content: center; }
}

/* ============================================================
   СТРАНИЦА ПОЛИТИКИ КОНФИДЕНЦИАЛЬНОСТИ
   ============================================================ */
.policy { max-width: 860px; }
.policy__intro {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-light);
    padding: 22px 26px;
    border-left: 3px solid var(--accent-red);
    background: var(--card-soft);
    border-radius: 0 16px 16px 0;
    margin-bottom: 38px;
}
.policy h2 {
    font-size: 20px;
    font-weight: 700;
    margin: 34px 0 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.policy h2::before {
    content: '';
    width: 22px; height: 3px;
    border-radius: 2px;
    background: var(--accent-red);
    flex-shrink: 0;
}
.policy p { font-size: 16px; color: var(--text-light); line-height: 1.8; }
.policy a { color: var(--accent-red); }
.policy ul { list-style: none; display: grid; gap: 10px; margin-top: 12px; }
.policy ul li {
    position: relative;
    padding-left: 26px;
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.7;
}
.policy ul li::before {
    content: '';
    position: absolute;
    left: 4px; top: 11px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--accent-red);
}
.policy__note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 40px;
    padding: 20px 24px;
    border-radius: 16px;
    background: var(--card-soft);
    border: 1px solid var(--card-border);
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}
.policy__note i { color: var(--accent-red); font-size: 17px; margin-top: 3px; }
