:root {
  /* === БРЕНД === */
  --c-burgundy: #7A1810;      /* основной бренд-цвет (заголовки, акценты, фокус) */
  --c-red: #DA291C;           /* красный акцент */
  --c-red-dark: #B81E13;
  --c-red-soft: #F9DAD6;
  --c-gold: #B89C5C;          /* декоративное золото (рамки, иконки, фоны) */
  --c-gold-dark: #9A7E3E;     /* тёмное золото для hover активных кнопок-фильтров */
  --c-gold-soft: #F5EFE0;
  --c-gold-text: #806000;     /* тёмное золото для ТЕКСТА (контраст AA) */
  /* === НЕЙТРАЛИ === */
  --c-text: #000000;
  --c-text-muted: #4A4A4A;
  --c-text-soft: #7A7A7A;
  --c-bg: #FFFFFF;
  --c-bg-soft: #ECEDEF;
  --c-line: #D9DBE0;
  --c-line-soft: #ECEDEF;
  /* === ФУТЕР === */
  --c-footer-bg: #1A1A1A;
  --c-footer-heading: #FFFFFF;
  --c-footer-text: #D9DBE0;
  --c-footer-text-muted: #A6A6A6;
  --c-footer-line: #2A2A2A;
  /* === ТИПОГРАФИКА === */
  --font-display: 'Philosopher', Georgia, serif;
  --font-body: 'Manrope', -apple-system, 'Segoe UI', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', Consolas, monospace;
  /* === ШКАЛА ОТСТУПОВ (стандарт для нового кода) === */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 24px; --space-6: 32px; --space-7: 48px;
  /* === РАДИУСЫ === */
  --radius-xs: 3px; --radius-sm: 6px; --radius: 8px; --radius-md: 10px; --radius-lg: 12px; --radius-xl: 16px; --radius-pill: 999px;
}

/* ===== SHARED CSS — common to all 16 pages ===== */
/* Reset body for standalone rendering — no presentation chrome */
body { background: white !important; padding: 0 !important; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--c-text); background: #EEF0F4; line-height: 1.5; padding: 32px 16px 64px; font-weight: 400; }
.pres-header { max-width: 1400px; margin: 0 auto 32px; padding: 0 8px; }
.pres-title { font-family: var(--font-display); font-size: 28px; font-weight: 700; }
.pres-sub { font-size: 13px; color: var(--c-text-muted); margin-top: 6px; max-width: 760px; line-height: 1.6; }
.pres-meta { font-size: 12px; color: var(--c-text-soft); margin-top: 14px; padding-top: 14px; border-top: 1px solid #d4d8e0; display: flex; gap: 20px; flex-wrap: wrap; }
.pres-meta b { color: var(--c-text); font-weight: 600; }
.pres-toc { max-width: 1400px; margin: 0 auto 32px; padding: 16px 20px; background: white; border-radius: 8px; display: flex; gap: 24px; flex-wrap: wrap; font-size: 13px; }
.pres-toc a { color: var(--c-red); text-decoration: none; }
.pres-section { max-width: 1400px; margin: 0 auto 56px; }
.pres-section-head { padding: 0 8px 16px; }
.pres-section-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.pres-section-note { font-size: 13px; color: var(--c-text-muted); margin-top: 4px; max-width: 800px; line-height: 1.6; }
.pres-pair { display: grid; grid-template-columns: 1fr 380px; gap: 20px; align-items: start; }
.pres-frame { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 8px rgba(20,30,60,0.06), 0 0 0 1px rgba(20,30,60,0.04); }
.pres-frame-label { background: var(--c-bg-soft); padding: 8px 16px; font-size: 11px; color: var(--c-text-muted); border-bottom: 1px solid var(--c-line); display: flex; justify-content: space-between; letter-spacing: 0.04em; }
.pres-frame-label b { color: var(--c-text); font-weight: 600; letter-spacing: 0; }
.pres-mobile { width: 380px; background: white; border-radius: 24px; padding: 8px; box-shadow: 0 6px 16px rgba(20,30,60,0.08), 0 0 0 1px rgba(20,30,60,0.04); }
.pres-mobile-screen { border-radius: 18px; overflow: hidden; background: white; border: 1px solid var(--c-line); }
.pres-mobile-notch { height: 22px; display: flex; align-items: center; justify-content: center; font-size: 10px; color: var(--c-text-soft); }
.site { font-family: var(--font-body); color: var(--c-text); background: white; }
.site a { color: inherit; text-decoration: none; }
.top-bar { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line); padding: 8px 32px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; }
.top-bar-links { display: flex; gap: 18px; color: var(--c-text-muted); }
.top-bar-links a.active { color: var(--c-red); font-weight: 600; }
.top-bar-tools { display: flex; gap: 14px; color: var(--c-text-muted); }
.access-link { color: var(--c-red); }
.main-header { padding: 18px 32px; display: flex; justify-content: space-between; align-items: center; gap: 24px; border-bottom: 1px solid var(--c-line); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-text { line-height: 1.2; }
.brand-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--c-gold-text); letter-spacing: 0.02em; }
.brand-sub { font-family: var(--font-display); font-size: 13px; color: var(--c-text-muted); margin-top: 3px; font-style: italic; }
.main-nav { display: flex; gap: 26px; font-size: 14px; }
.main-nav a { color: var(--c-text); position: relative; padding: 6px 0; font-weight: 500; }
.main-nav a.active { color: var(--c-red); }
.main-nav a.active::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-red); }
.header-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line); background: white; display: flex; align-items: center; justify-content: center; color: var(--c-text-muted); cursor: pointer; }
.btn-primary { background: var(--c-gold); color: #1A1A1A; padding: 10px 18px; border-radius: 4px; font-size: 13px; font-weight: 600; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); cursor: pointer; }
.btn-ghost { background: transparent; color: var(--c-text); padding: 10px 18px; border-radius: 4px; font-size: 13px; font-weight: 500; border: 1px solid var(--c-line); text-decoration: none; font-family: var(--font-body); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.btn-blue { background: var(--c-red); color: white; padding: 10px 18px; border-radius: 4px; font-size: 13px; font-weight: 600; border: none; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); cursor: pointer; }
.crumb { padding: 14px 32px; font-size: 12px; color: var(--c-text-soft); border-bottom: 1px solid var(--c-line); background: var(--c-bg-soft); }
.crumb a { color: var(--c-text-muted); }
.crumb span.sep { padding: 0 8px; color: #ccc; }
.section { padding: 48px 32px; }
.section-bg-soft { background: var(--c-bg-soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 24px; flex-wrap: wrap; gap: 24px; }
.section-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.section-link { font-size: 13px; color: var(--c-red); font-weight: 500; }
.site-footer { background: var(--c-burgundy); color: var(--c-footer-text); padding: 36px 32px 16px; border-top: 1px solid rgba(255,255,255,0.15); font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.footer-col-title { font-size: 12px; color: var(--c-text); font-weight: 600; margin-bottom: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.footer-col a { display: block; padding: 4px 0; }
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand-text { font-size: 12px; line-height: 1.6; }
.footer-brand-text b { color: var(--c-text); font-weight: 700; display: block; margin-bottom: 4px; font-family: var(--font-display); }
.footer-bottom { border-top: 1px solid var(--c-line); padding-top: 16px; display: flex; justify-content: space-between; flex-wrap: wrap; font-size: 11px; color: var(--c-text-soft); gap: 12px; }
.m-site { font-family: var(--font-body); color: var(--c-text); background: white; font-size: 14px; }
.m-site a { color: inherit; text-decoration: none; }
.m-top { background: var(--c-bg-soft); border-bottom: 1px solid var(--c-line); padding: 6px 14px; font-size: 11px; color: var(--c-text-muted); display: flex; justify-content: space-between; }
.m-header { padding: 12px 14px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--c-line); gap: 10px; }
.m-brand { display: flex; align-items: center; gap: 10px; }
.m-brand-text { font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--c-red); line-height: 1.2; }
.m-icon-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line); background: white; display: flex; align-items: center; justify-content: center; color: var(--c-text-muted); flex-shrink: 0; }
.m-section { padding: 28px 18px; }
.m-section.bg-soft { background: var(--c-bg-soft); }
.m-section-head { margin-bottom: 18px; display: flex; justify-content: space-between; align-items: end; }
.m-section-title { font-family: var(--font-display); font-size: 20px; font-weight: 700; }
.m-section-link { font-size: 12px; color: var(--c-red); font-weight: 500; }
.m-btn-primary { background: var(--c-gold); color: white; padding: 12px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; text-align: center; border: none; font-family: var(--font-body); display: block; }
.m-btn-ghost { background: white; color: var(--c-text); padding: 12px 16px; border-radius: 4px; font-size: 13px; font-weight: 500; border: 1px solid var(--c-line); text-align: center; font-family: var(--font-body); display: block; }
.m-btn-blue { background: var(--c-red); color: white; padding: 12px 16px; border-radius: 4px; font-size: 13px; font-weight: 600; text-align: center; border: none; font-family: var(--font-body); display: block; }
.m-footer { background: var(--c-bg-soft); padding: 24px 18px 16px; border-top: 1px solid var(--c-line); font-size: 12px; color: var(--c-text-muted); }
.m-footer-bottom { padding-top: 12px; border-top: 1px solid var(--c-line); font-size: 10px; color: var(--c-text-soft); }
.section-bg-soft { background: var(--c-bg-soft); }
.section-link { font-size: 13px; color: var(--c-red); font-weight: 500; }
/* ============================================================
   v6 PALETTE OVERRIDE
   ------------------------------------------------------------
   - Header: #FAFBFC (almost-white, replaces top-bar's dark grey)
   - Footer: #1A1A1A (deep navy, replaces light-grey footer)
   - Purple removed — split into:
       * Blue (#DA291C) for CTAs, active states, primary actions
       * Gold (#B89C5C) for decorative accents, stats, badges
   - Icons in tiles unified to gold
   ============================================================ */


/* === HEADER: now solid almost-white, no longer "soft grey" === */
/* The header sits on white page bg, so we need a slightly different shade
   to signal it's a region. A 1px bottom border does the heavy lifting. */
.top-bar {
  background: #FAFBFC;
  border-bottom: 1px solid var(--c-line);
}
.main-header {
  background: #FFFFFF;
  border-bottom: 1px solid var(--c-line);
}
.crumb {
  background: #FAFBFC;
}
/* === PRIMARY CTA: золото. Единственное авторитетное правило .btn-primary — ниже, в секции
   «CTA buttons — gold with dark text» (~стр. 480). Прежний красный override
   (.btn-primary,.m-btn-primary { background: var(--c-red) !important }) и красный :hover
   удалены как МЁРТВЫЕ: для .btn-primary перекрывались золотым !important ниже,
   а .m-btn-primary в разметке не используется. === */
/* === FOOTER: deep navy === */
.site-footer {
  background: var(--c-burgundy);
  color: var(--c-footer-text);
  border-top: 1px solid rgba(255,255,255,0.15);
}
.site-footer a { color: var(--c-footer-text); }
.site-footer a:hover { color: var(--c-footer-heading); }
.footer-col-title { color: var(--c-footer-heading) !important; }
.footer-brand-text b { color: var(--c-footer-heading) !important; }
.footer-bottom {
  border-top-color: var(--c-footer-line) !important;
  color: var(--c-footer-text-muted) !important;
}
.m-footer {
  background: var(--c-footer-bg);
  color: var(--c-footer-text-muted);
  border-top-color: var(--c-footer-bg);
}
.m-footer-bottom {
  border-top-color: var(--c-footer-line) !important;
  color: var(--c-footer-text-muted) !important;
}
/* === Active link in main navigation: keep blue (was already blue) === */
/* No change needed */

/* === Top-bar active link: was blue, stays blue === */
/* No change needed */

/* === Various color-coded elements that were purple-themed === */
/* The :root override of --c-purple already redirects them all to gold.
   This is intentional: since we removed purple as a role, every former
   "purple" usage (decorative numbers, badges, accents) becomes gold.    */

/* === Force all gradient backgrounds that were purple/blue mix === */
.cta-band {
  background: linear-gradient(120deg, white, var(--c-gold-soft) 80%) !important;
  border-color: var(--c-gold-soft) !important;
}
.m-cta {
  background: linear-gradient(120deg, white, var(--c-gold-soft)) !important;
  border-color: var(--c-gold-soft) !important;
}
/* === Status timeline: was purple-active. Keep system but tone it === */
.tl-active .tl-info {
  background: var(--c-gold-soft);
}
.tl-active .tl-dot {
  background: var(--c-gold);
  border-color: var(--c-gold);
  box-shadow: 0 0 0 4px rgba(184, 156, 92, 0.18);
}
.tl-active .tl-date {
  color: var(--c-gold);
}
.m-tl-active .m-tl-dot {
  background: var(--c-gold);
  border-color: var(--c-gold);
}
/* === Department director circle, course author photo, etc. === */
/* These were purple bg circles. They become gold via :root override
   automatically. But for big circles on hero area we want a subtle
   border to keep them legible on white. */
.dh-director-photo,
.m-dir-photo,
.staff-hero-photo,
.m-staff-hero-photo,
.dch-photo {
  background: linear-gradient(135deg, var(--c-gold) 0%, var(--c-gold-soft) 100%) !important;
  color: var(--c-text);
  border: 1px solid var(--c-gold);
}
/* === Trainer photos in DPO (originally blue circles) keep them blue === */
/* These already use blue, no change needed */

/* === Active states in tabs (program page) === */
/* Tabs were keyed by purple/blue/gold for three sections. Now we lose
   purple. Make priem section gold (was purple), keep blue for sveden,
   and use a darker tone for division. */
.tab-priem.active,
.tab-priem:hover {
  border-bottom-color: var(--c-gold) !important;
}
.tab-priem .tab-num {
  color: var(--c-gold) !important;
}
.prog-eye-priem {
  color: var(--c-gold) !important;
}
/* division was gold — make it a more distinct shade (deeper navy) */
.tab-division.active,
.tab-division:hover {
  border-bottom-color: var(--c-text) !important;
}
.tab-division .tab-num {
  color: var(--c-text) !important;
}
.prog-eye-division {
  color: var(--c-text-muted) !important;
}
/* === Scientific block colors (science page) === */
/* They were rotating purple/blue/gold. Override to gold-based */
.sci-block-purple .sb-num,
.sci-block-gold .sb-num {
  color: var(--c-gold) !important;
}
.sci-block-blue .sb-num {
  color: var(--c-red) !important;
}
.sci-block-active {
  background: linear-gradient(135deg, var(--c-gold-soft) 0%, white 100%) !important;
  border-color: var(--c-gold) !important;
}
.sci-block-active .sb-meta {
  color: var(--c-gold) !important;
}
/* === Patent tag colors === */
.patent-tag-bio { background: rgba(184,156,92,0.16); color: var(--c-gold-text); }
.patent-tag-it { background: var(--c-red-soft); color: var(--c-red); }
.patent-tag-med { background: var(--c-gold-soft); color: var(--c-gold); }
.patent-tag-engin { background: var(--c-gold-soft); color: var(--c-gold); }
/* === TTC band: subtler === */
.ttc-band {
  background: linear-gradient(135deg, var(--c-gold-soft) 0%, white 60%) !important;
}
.m-ttc-band {
  background: linear-gradient(135deg, var(--c-gold-soft) 0%, white 80%) !important;
}
/* === Reg band on staff page (was blue) — make it more neutral === */
.reg-band {
  background: linear-gradient(120deg, var(--c-bg-soft), white) !important;
  border-color: var(--c-line) !important;
}
.reg-band-eye {
  color: var(--c-text-muted) !important;
}
/* === Mobile adjustments === */
.m-prog-tabs a.active {
  color: var(--c-gold) !important;
  border-bottom-color: var(--c-gold) !important;
}
.m-staff-tabs a.active {
  color: var(--c-gold) !important;
  border-bottom-color: var(--c-gold) !important;
}
.m-staff-pos {
  color: var(--c-text) !important;
}
.staff-hero-title {
  color: var(--c-text) !important;
}
.m-eyebrow,
.dpo-pill {
  background: var(--c-gold) !important;
  color: var(--c-text) !important;
}
.m-dpo-pill {
  background: var(--c-gold) !important;
  color: var(--c-text) !important;
}
.dpo-pill {
  /* dpo-pill is already in flow */
  background: var(--c-gold);
  color: var(--c-text);
}
/* hero eyebrow was purple — stays gold */
.hero-eyebrow,
.dept-hero-eyebrow,
.staff-hero-eye,
.dpo-hero-eye,
.prog-hero-eye {
  color: var(--c-text-muted) !important;
}
.hero-eyebrow::before {
  background: var(--c-gold) !important;
}
/* Section titles, decorative numbers in stats */
.hero-meta b,
.phs-val,
.dh-stat-num,
.shq-num,
.shs-num,
.tbs-num,
.ps-num,
.ah-num,
.rc-num,
.li-num,
.mod-num,
.mip-name,
.dhs-amount,
.dsa-price,
.psc-amount,
.psc-contact,
.dhs-amount {
  color: var(--c-gold) !important;
}
/* Decorative tags */
.aud-eyebrow,
.cert-info-list li::before {
  color: var(--c-gold) !important;
}
/* Status pills in events */
.ev-tag {
  background: var(--c-gold-soft);
  color: var(--c-gold);
}
/* === News tags: tag-purple becomes gold === */
.news-tag.tag-purple,
.m-news-tag.tag-purple {
  background: var(--c-gold) !important;
  color: var(--c-text) !important;
}
.news-tag.tag-gold,
.m-news-tag.tag-gold {
  background: var(--c-gold) !important;
  color: var(--c-text) !important;
}
/* News card featured overlay: was blue+purple gradient */
.news-card.featured .news-image::after {
  background: linear-gradient(135deg, rgba(0,108,171,0.7), rgba(184,156,92,0.5)) !important;
}
/* === Mobile event date pill === */
.m-ev-date,
.ev-date {
  background: var(--c-gold-soft) !important;
  color: var(--c-gold) !important;
}
/* === Staff aspirant/disc cards === */
.asp-photo,
.staff-photo {
  background: var(--c-gold-soft);
  color: var(--c-gold);
}
/* === Project active status — keep blue (it's a "live" state) === */
/* No change */

/* === Source labels in publications: was purple === */
.pub-meta {
  color: var(--c-gold) !important;
}
.pub-year {
  color: var(--c-gold) !important;
}
.bio-year,
.m-bio-year {
  color: var(--c-gold) !important;
}
.m-pub-year {
  color: var(--c-gold) !important;
}
.proj-budget {
  color: var(--c-gold) !important;
}
.asp-year {
  color: var(--c-gold) !important;
}
/* === Faculty marker, struct marker etc. — were purple === */
/* All inherit from --c-purple → now gold automatically */

/* === Code pill in program hero === */
.prog-code-pill {
  color: var(--c-gold) !important;
  background: var(--c-gold-soft) !important;
}
/* === Misc text accents that were purple === */
.staff-disc {
  color: var(--c-gold) !important;
}
.dch-eye {
  color: var(--c-gold) !important;
}
.review-stars {
  color: var(--c-gold) !important;
}
.dsa-eye,
.dsa-payment-title,
.dsa-contacts-title,
.dsa-dept-title {
  color: var(--c-text-muted);
}
.dsa-dept-link {
  color: var(--c-red);
}
/* === Rank tag === */
.rank-tag {
  color: var(--c-gold) !important;
}
.rank-row {
  background: var(--c-gold-soft) !important;
}
/* === Edu card degree label === */
.edu-card-degree {
  color: var(--c-gold) !important;
}
/* === Patent status pill === */
.patent-status {
  color: var(--c-gold) !important;
}
/* === MIP tag === */
.mip-tag {
  background: var(--c-gold-soft);
  color: var(--c-gold);
}
/* === Hero meta status dot === */
.hero-meta b[style*="purple"] {
  color: var(--c-gold) !important;
}
/* Stage 1 minimum mobile sanity: prevent horizontal overflow on small screens */
@media (max-width: 800px) {
  body { min-width: 1280px; }
}
/* === HERALDIC REPAINT — gold / red / white / black / silver === */

/* end heraldic repaint */

/* === STYLE-2 OVERRIDE: red footer, gold buttons, red translucent banners === */

/* 1. Footer — red */
.site-footer {
  background: var(--c-burgundy) !important;
  color: #FFFFFF !important;
}
.site-footer * { color: inherit; }
.site-footer .footer-col-title,
.site-footer .footer-brand b {
  color: #FFFFFF !important;
}
.site-footer a {
  color: #F5EFE0 !important;  /* cream-gold links on red, readable */
}
.site-footer a:hover { color: #FFFFFF !important; text-decoration: underline; }
.site-footer .footer-bottom { border-top-color: rgba(255,255,255,0.18) !important; color: rgba(255,255,255,0.78) !important; }
.site-footer .footer-grid { border-bottom-color: rgba(255,255,255,0.18) !important; }
/* 2. CTA buttons — ★ ЕДИНСТВЕННОЕ авторитетное правило .btn-primary: золото #B89C5C (=var(--c-gold)) + тёмный текст #1A1A1A (контраст 6.59:1).
   !important — чтобы бить дубли .btn-primary в page-CSS (pages/*.css грузятся поверх shared). Геометрия (padding/radius/min-height) — в responsive.css (последний слой).
   НЕ удалять и НЕ дублировать конкурирующими цветами выше. */
.btn-primary {
  background: #B89C5C !important;
  color: #1A1A1A !important;
  border-color: #B89C5C !important;
}
.btn-primary:hover {
  background: #A08648 !important;
  border-color: #A08648 !important;
  color: #000000 !important;
}
.btn-blue {
  background: #B89C5C !important;
  color: #1A1A1A !important;
  border-color: #B89C5C !important;
}
.btn-blue:hover {
  background: #A08648 !important;
  border-color: #A08648 !important;
  color: #000000 !important;
}
/* Login button on students page sits on a dark panel — keep gold styling */
.shl-btn { background: #B89C5C !important; color: #1A1A1A !important; }
.shl-btn:hover { background: #A08648 !important; }
/* Endowment "Сделать пожертвование" button should also be gold */
.eb-actions .btn-blue,
.eb-actions .btn-ghost { color: #1A1A1A !important; }
/* In-text links: pure black with underline, not red */
.crumb a,
.rc-link, .me-link, .ben-link, .cb-link, .sup-link, .gd-link,
.section-link,
.nfb-link, .hha-link,
.fb-card .fb-name, .fb-card .fb-meta,
.dcb-actions .btn-blue,
.acb-info a, .gcb-info a,
.lcb-social {
  color: #000000;
}
.section-link, .rc-link, .me-link, .ben-link, .cb-link, .sup-link, .gd-link, .nfb-link, .hha-link {
  text-decoration: underline;
  text-decoration-color: #B89C5C;
  text-underline-offset: 3px;
}
/* But keep main nav and top bar nav clear — they live on white header, stay black */
.main-nav a, .top-bar-links a, .top-bar-tools a {
  color: #000000 !important;
}
.main-nav a.active, .top-bar-links a.active {
  color: #DA291C !important;
}
/* 3. Pre-footer dark CTA bands — red with 80% alpha */
.about-cta-band,
.grad-cta-band,
.life-cta-band,
.endow-band {
  background: rgba(218, 41, 28, 0.85) !important;
  color: #FFFFFF !important;
}
.about-cta-band *, .grad-cta-band *, .life-cta-band *, .endow-band * { color: inherit; }
.about-cta-band .section-title, .grad-cta-band .gcb-title, .life-cta-band .lcb-title, .endow-band .section-title { color: #FFFFFF !important; }
.about-cta-band .section-eye, .grad-cta-band .section-eye, .life-cta-band .section-eye, .endow-band .section-eye {
  color: #F5EFE0 !important;
}
.about-cta-band a, .grad-cta-band a, .life-cta-band a, .endow-band a {
  color: #F5EFE0 !important;
}
.acb-row, .gcb-row {
  border-bottom-color: rgba(255,255,255,0.25) !important;
}
.acb-lbl, .gcb-lbl, .ebs-lbl { color: rgba(255,255,255,0.75) !important; }
.ebs-num, .lcb-soc-name { color: #F5EFE0 !important; }
.lcb-social {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.25) !important;
}
.lcb-social:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: rgba(255,255,255,0.4) !important;
}
.eb-stats {
  border-top-color: rgba(255,255,255,0.25) !important;
  border-bottom-color: rgba(255,255,255,0.25) !important;
}
.endow-band::before { background: radial-gradient(circle, #B89C5C 0%, transparent 70%) !important; opacity: 0.18 !important; }
/* In dark bands keep buttons gold-on-dark with white text for readability */
.about-cta-band .btn-blue, .grad-cta-band .btn-blue, .life-cta-band .btn-blue, .endow-band .btn-blue {
  background: #B89C5C !important;
  color: #1A1A1A !important;
  border-color: #B89C5C !important;
}
.about-cta-band .btn-ghost, .grad-cta-band .btn-ghost, .life-cta-band .btn-ghost, .endow-band .btn-ghost {
  color: #FFFFFF !important;
  border-color: rgba(255,255,255,0.4) !important;
}
.site-footer .footer-bottom { border-top-color: rgba(255,255,255,0.22) !important; }
.site-footer .footer-grid { border-bottom-color: rgba(255,255,255,0.22) !important; }
/* end style-3 override */

/* === STYLE-4 OVERRIDE: unify dark panels — burgundy + gold border === */

/* Pre-footer banners — solid burgundy with gold border */
.about-cta-band,
.grad-cta-band,
.life-cta-band,
.endow-band {
  background: var(--c-burgundy) !important;
  border: 1px solid #B89C5C !important;
  color: #FFFFFF !important;
  position: relative;
}
.about-cta-band *, .grad-cta-band *, .life-cta-band *, .endow-band * { color: inherit; }
/* Headings on burgundy panels — white */
.about-cta-band .section-title,
.grad-cta-band .gcb-title,
.life-cta-band .lcb-title,
.endow-band .section-title {
  color: #FFFFFF !important;
}
/* Eyebrow labels — cream gold */
.about-cta-band .section-eye,
.grad-cta-band .section-eye,
.life-cta-band .section-eye,
.endow-band .section-eye {
  color: #F5EFE0 !important;
}
/* Body text on burgundy — slightly lighter than pure white for readability */
.about-cta-band p, .grad-cta-band p, .life-cta-band p, .endow-band p,
.eb-text, .acb-text, .gcb-text, .lcb-text {
  color: rgba(255,255,255,0.92) !important;
}
/* Links on burgundy — cream gold */
.about-cta-band a, .grad-cta-band a, .life-cta-band a, .endow-band a {
  color: #F5EFE0 !important;
}
/* Internal dividers on burgundy — semi-transparent white */
.acb-row, .gcb-row { border-bottom-color: rgba(255,255,255,0.2) !important; }
.acb-lbl, .gcb-lbl, .ebs-lbl { color: rgba(255,255,255,0.75) !important; }
/* Numbers in stats on burgundy — gold */
.ebs-num, .lcb-soc-name { color: #F5EFE0 !important; }
/* Endowment stats divider lines */
.eb-stats {
  border-top-color: rgba(255,255,255,0.25) !important;
  border-bottom-color: rgba(255,255,255,0.25) !important;
}
/* The radial gold glow inside endow-band — make it more visible on burgundy */
.endow-band::before {
  background: radial-gradient(circle, #B89C5C 0%, transparent 70%) !important;
  opacity: 0.22 !important;
}
/* Social cards inside life-cta-band — light translucent on burgundy */
.lcb-social {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.30) !important;
}
.lcb-social:hover {
  background: rgba(255,255,255,0.18) !important;
  border-color: #B89C5C !important;
}
/* Buttons inside burgundy panels — gold */
.about-cta-band .btn-blue, .about-cta-band .btn-primary,
.grad-cta-band .btn-blue, .grad-cta-band .btn-primary,
.life-cta-band .btn-blue, .life-cta-band .btn-primary,
.endow-band .btn-blue, .endow-band .btn-primary {
  background: #B89C5C !important;
  color: #1A1A1A !important;
  border-color: #B89C5C !important;
}
.about-cta-band .btn-ghost,
.grad-cta-band .btn-ghost,
.life-cta-band .btn-ghost,
.endow-band .btn-ghost {
  background: transparent !important;
  color: #FFFFFF !important;
  border: 1px solid rgba(255,255,255,0.4) !important;
}
.about-cta-band .btn-ghost:hover,
.grad-cta-band .btn-ghost:hover,
.life-cta-band .btn-ghost:hover,
.endow-band .btn-ghost:hover {
  border-color: #B89C5C !important;
  color: #F5EFE0 !important;
}
/* Login widget on students page — same burgundy family */
.stu-hero-login {
  background: var(--c-burgundy) !important;
  border: 1px solid #B89C5C !important;
  color: #FFFFFF !important;
}
.shl-eye { color: #F5EFE0 !important; }
.shl-title { color: #FFFFFF !important; }
.shl-text { color: rgba(255,255,255,0.92) !important; }
.shl-help { color: rgba(255,255,255,0.78) !important; border-top-color: rgba(255,255,255,0.22) !important; }
.shl-help a { color: #F5EFE0 !important; }
/* The login button itself is already gold from style-2, just ensure it stays gold here */
.shl-btn {
  background: #B89C5C !important;
  color: #1A1A1A !important;
  border-color: #B89C5C !important;
}
.shl-btn:hover {
  background: #A08648 !important;
  color: #000000 !important;
}
/* end style-4 override */

/* === STYLE-5 OVERRIDE: extend burgundy family to remaining hero-aside widgets === */

/* Staff personal cabinet on rabotnikam.html */
.rab-hero-login {
  background: var(--c-burgundy) !important;
  border: 1px solid #B89C5C !important;
  color: #FFFFFF !important;
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 4px 24px rgba(122, 24, 16, 0.18);
}
.rab-login-title {
  color: #FFFFFF !important;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.rab-login-meta {
  color: rgba(255,255,255,0.85) !important;
  font-size: 13px;
  margin-bottom: 18px;
  line-height: 1.55;
}
.rab-hero-login .btn-primary {
  background: #B89C5C !important;
  color: #1A1A1A !important;
  border-color: #B89C5C !important;
}
.rab-hero-login .btn-primary:hover {
  background: #A08648 !important;
  color: #000000 !important;
}
.rab-login-help {
  font-size: 12px;
  color: rgba(255,255,255,0.78) !important;
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.22);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.rab-login-help a {
  color: #F5EFE0 !important;
  text-decoration: none;
}
.rab-login-help a:hover { text-decoration: underline; }
.rab-login-help span { color: rgba(255,255,255,0.4) !important; }
/* Alumni association registration card on graduates.html */
.gha-card {
  background: var(--c-burgundy) !important;
  border: 1px solid #B89C5C !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 24px rgba(122, 24, 16, 0.18);
}
.gha-eye { color: #F5EFE0 !important; }
.gha-title { color: #FFFFFF !important; }
.gha-text { color: rgba(255,255,255,0.92) !important; }
.gha-help {
  color: rgba(255,255,255,0.78) !important;
  border-top-color: rgba(255,255,255,0.22) !important;
}
.gha-help a { color: #F5EFE0 !important; }
.gha-card .btn-primary,
.gha-btn {
  background: #B89C5C !important;
  color: #1A1A1A !important;
  border-color: #B89C5C !important;
}
.gha-card .btn-primary:hover,
.gha-btn:hover {
  background: #A08648 !important;
  color: #000000 !important;
}
/* Main helpline card on contacts.html */
.contacts-hero-main {
  background: var(--c-burgundy) !important;
  border: 1px solid #B89C5C !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 24px rgba(122, 24, 16, 0.18);
}
.ch-main-eye { color: #F5EFE0 !important; }
.ch-main-phone { color: #FFFFFF !important; }
.ch-main-meta { color: rgba(255,255,255,0.78) !important; }
.ch-main-email a { color: #F5EFE0 !important; }
.ch-main-email a:hover { color: #FFFFFF !important; text-decoration: underline; }
/* end style-5 override */

/* === STYLE-6 OVERRIDE: adjust emblem sizing === */
/* Header brand image — coat of arms slot (1.2.34: new герб полноцветно) */
.brand img { height: 64px !important; width: auto !important; object-fit: contain; }
.brand-coat { display: block; }
/* Footer brand image */
.footer-brand img { height: 72px !important; width: auto !important; }
/* Hero watermark on home and about pages — keep size but ensure aspect ratio */
.hero-watermark, .about-hero-watermark {
  width: 880px !important;
  height: 500px !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}
/* end style-6 override */

/* === STYLE-7 OVERRIDE: tune watermark for new emblem === */
.hero-watermark, .about-hero-watermark {
  opacity: 0.30 !important;
}
/* end style-7 override */
/* === Footer: бургунд на всех страницах (в т.ч. обычные page.php) === */

/* === Расписание: карточки-блоки, 2 колонки, цвет по форме обучения === */
.sched-grid { columns: 2; column-gap: 22px; }
@media (max-width: 900px) { .sched-grid { columns: 1; } }
.sched-block, .sched-hub-block { break-inside: avoid; -webkit-column-break-inside: avoid; background: #fff; border: 1px solid var(--c-line); border-left: 4px solid var(--c-line); border-radius: 10px; padding: 15px 18px; margin: 0 0 20px; }
.sched-block .sched-form, .sched-hub-block .sched-form { font-size: 18px; font-weight: 700; margin: 0 0 6px; line-height: 1.25; }
.sched-block .sched-level { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--c-text-muted); margin: 13px 0 5px; }
.sched-table { width: 100%; border-collapse: collapse; margin: 0; }
.sched-table td { padding: 8px 0; border-bottom: 1px solid var(--c-line); vertical-align: middle; }
.sched-table tr:last-child td { border-bottom: 0; }
.sched-table td:first-child { font-size: 14px; color: var(--c-text); padding-right: 10px; }
.sched-table td:last-child { text-align: right; white-space: nowrap; width: 112px; }
.sched-open { display: inline-block; padding: 5px 13px; border-radius: 6px; background: var(--c-burgundy); color: #fff !important; font-size: 13px; font-weight: 500; text-decoration: none; }
.sched-open:hover { background: #C1121F; color: #fff !important; }
.sched-hub-list { margin: 4px 0 0; } .sched-hub-list li { padding: 3px 0; }
/* фирменная палитра: золото / бургунд / серебро / красный акцент (без синего и зелёного) */
.sched-ochnaya   { border-left-color:var(--c-burgundy); background:#FBF1EF; } .sched-ochnaya .sched-form   { color:var(--c-burgundy); }
.sched-zaochnaya { border-left-color:#6B6F76; background:#F5F5F4; } .sched-zaochnaya .sched-form { color:#54585F; }
.sched-fakultativ{ border-left-color:#B8860B; background:#FBF6E9; } .sched-fakultativ .sched-form{ color:#8A6608; }
.sched-aspirant  { border-left-color:#9A6E08; background:#FAF3E0; } .sched-aspirant .sched-form  { color:#7A5606; }
.sched-session   { border-left-color:#C1121F; background:#FBEDEC; } .sched-session .sched-form   { color:#A8101B; }
.sched-other     { border-left-color:#B89C5C; background:#FAF8F2; } .sched-other .sched-form     { color:var(--c-text); }
.sched-session-box { margin-top: 4px; }

/* === Приёмная комиссия === */
.priem-stats { display: flex; flex-wrap: wrap; gap: 32px; margin: 16px 0 26px; }
.priem-stat { display: flex; flex-direction: column; }
.priem-stat-num { font-size: 34px; font-weight: 700; color: var(--c-burgundy); line-height: 1; }
.priem-stat-lbl { font-size: 13px; color: var(--c-text-muted); margin-top: 6px; max-width: 170px; }
.priem-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 8px 0 22px; }
@media (max-width: 760px) { .priem-grid { grid-template-columns: 1fr; } }
.priem-card { display: block; padding: 17px 20px; border: 1px solid var(--c-line); border-left: 4px solid #B8860B; border-radius: 10px; background: #fff; text-decoration: none; transition: border-left-color .15s; }
.priem-card:hover { border-left-color: var(--c-burgundy); }
.priem-card-title { display: block; font-size: 16px; font-weight: 600; color: var(--c-burgundy); }
.priem-card-desc { display: block; font-size: 13px; color: var(--c-text-muted); margin-top: 4px; }

/* priem (приёмная) — статический каталог 1.2.16 */
.priem-lead { font-size: 16px; line-height: 1.55; color: var(--c-text); margin: 0 0 18px; }
.priem-card[target="_blank"] .priem-card-title::after { content: " ↗"; color: #B8860B; font-weight: 700; }
.priem-docs { list-style: none; padding: 0; margin: 8px 0 18px; }
.priem-docs li { padding: 12px 16px; border: 1px solid var(--c-line); border-left: 4px solid #B8860B; border-radius: 8px; background: #fff; margin-bottom: 8px; }
.priem-docs li a { color: var(--c-burgundy); font-weight: 600; text-decoration: none; }
.priem-docs li a:hover { text-decoration: underline; }
.priem-contact { border: 1px solid var(--c-line); border-left: 4px solid var(--c-burgundy); border-radius: 12px; background: #fff; padding: 22px 26px; max-width: 640px; }
.priem-contact p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.priem-contact p:last-child { margin-bottom: 0; }
.priem-contact a { color: var(--c-burgundy); }

/* типографика импортированных текстовых страниц (приёмка и пр.) 1.2.18 */
.page-content > h2, .page-content > h3, .page-content > h4,
.page-content > p, .page-content > ul, .page-content > ol,
.page-content > table, .page-content > blockquote { max-width: 900px; }
.page-content > h2 { font-size: 22px; color: var(--c-burgundy); margin: 26px 0 10px; line-height: 1.3; }
.page-content > h3 { font-size: 18px; color: var(--c-burgundy); margin: 20px 0 8px; line-height: 1.35; }
.page-content > h4 { font-size: 16px; margin: 16px 0 6px; }
.page-content > p { line-height: 1.6; margin: 0 0 12px; }
.page-content > ul, .page-content > ol { margin: 0 0 14px 22px; line-height: 1.55; }
.page-content li { margin-bottom: 6px; }
.page-content a { color: var(--c-burgundy); }
.page-content table { border-collapse: collapse; width: 100%; max-width: 900px; margin: 14px 0; font-size: 14px; }
.page-content th, .page-content td { border: 1px solid var(--c-line); padding: 8px 10px; text-align: left; vertical-align: top; }
.page-content th { background: #FBF6EC; }
.priem-card.is-ext .priem-card-title::after { content: " ↗"; color: #B8860B; font-weight: 700; }

/* приёмка: аккордеон «Правил приёма» + подсветка дат 1.2.19 */
details.priem-acc { max-width: 900px; border: 1px solid var(--c-line); border-radius: 8px; margin: 0 0 8px; background: #fff; overflow: hidden; }
details.priem-acc > summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: var(--c-burgundy); list-style: none; position: relative; padding-right: 42px; }
details.priem-acc > summary::-webkit-details-marker { display: none; }
details.priem-acc > summary::after { content: "+"; position: absolute; right: 18px; top: 11px; font-size: 20px; color: #B8860B; font-weight: 700; }
details.priem-acc[open] > summary::after { content: "\2013"; }
details.priem-acc[open] > summary { border-bottom: 1px solid var(--c-line); }
.priem-acc-body { padding: 8px 18px 16px; }
.priem-acc-body p { line-height: 1.6; margin: 0 0 10px; }
.priem-acc-body ul, .priem-acc-body ol { margin: 0 0 12px 20px; line-height: 1.55; }
.priem-acc-body li { margin-bottom: 5px; }
.priem-acc-body h5 { font-size: 15px; color: var(--c-burgundy); margin: 12px 0 6px; }
mark.kd { background: #FBE9C7; color: var(--c-burgundy); padding: 0 3px; border-radius: 3px; font-weight: 600; }

/* пометка ссылок на архивные файлы priem (1.2.22) */
.priem-archive::after { content: " (архив ↗)"; font-size: 0.82em; color: var(--c-text-muted); white-space: nowrap; }

/* ===== a11y пакет 1.2.24 ===== */
 /* тёмное золото для ТЕКСТА (контраст ≥4.5:1 на белом) */
/* eyebrow-надписи */
.home-hero-eye, .section-eye, .science-banner .section-eye, .hha-eye, .m-eye,
/* крупные цифры */
.hhs-num, .et-num, .sbs-num, .pbs-num, .m-stat-num, .m-edu-num, .m-sci-num,
/* акцентные даты/числа */
.adm-date-row b, .adm-prog-stats b, .m-prog-stats b, .hha-tl-active .hha-tl-date {
  color: var(--c-gold-text) !important;
}
/* видимый фокус с клавиатуры */
:focus-visible { outline: 2px solid var(--c-burgundy); outline-offset: 2px; border-radius: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible,
[tabindex]:focus-visible, .priem-card:focus-visible, .adm-level:focus-visible { outline: 2px solid var(--c-burgundy); outline-offset: 2px; }
/* ссылка «к содержимому» (видна при фокусе) */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--c-burgundy); color: #fff;
  padding: 10px 18px; border-radius: 0 0 6px 0; font-weight: 600; text-decoration: none; }
.skip-link:focus { left: 0; }
/* тач-таргеты верхней панели (было 18px) */
.top-bar-links a, .top-bar-tools a { display: inline-block; padding-top: 7px; padding-bottom: 7px; }


/* === Watermark герба в футере (1.2.32 → 1.2.34: в шапке убран, герб теперь полноцветно в .brand слева) === */
.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 4%;
  transform: translateY(-50%);
  width: 520px;
  height: 296px;
  background: url("../coat-of-arms.png") no-repeat center/contain;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.site-footer > * { position: relative; z-index: 1; }

/* === Sveden hub & sections (1.2.36) === */
.sveden-hub { max-width: 1200px; margin: 0 auto; padding: 24px 32px 48px; }
.sveden-hub-lead { color: var(--c-muted); font-size: 14px; margin: 0 0 24px; }
.sveden-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.sveden-card { display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  padding: 18px 18px 16px; border: 1px solid var(--c-line); border-radius: 10px;
  background: #fff; color: var(--c-text); text-decoration: none;
  transition: border-color 120ms, transform 120ms, box-shadow 120ms; min-height: 110px; }
.sveden-card:hover { border-color: var(--c-burgundy); transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(122,24,16,0.06); }
.sveden-card-title { font-family: var(--font-display); font-size: 15px; line-height: 1.35;
  font-weight: 600; color: var(--c-burgundy); }
.sveden-card-go { font-size: 13px; color: var(--c-muted); }
.sveden-section { max-width: 1200px; margin: 0 auto; padding: 0 32px 48px; }
.sveden-hint { color: var(--c-muted); font-size: 14px; margin: 0 0 16px; }
.sveden-note { color: var(--c-muted); font-size: 13px; margin-top: 16px; padding: 10px 14px;
  background: #fbf6ed; border-left: 3px solid var(--c-gold); border-radius: 0 6px 6px 0; }
.sveden-table { width: 100%; border-collapse: collapse; margin: 8px 0 20px; font-size: 14px; }
.sveden-table th, .sveden-table td { padding: 10px 12px; text-align: left; vertical-align: top;
  border: 1px solid var(--c-line); }
.sveden-table th { background: #faf6ee; font-weight: 600; color: var(--c-text); }
.sveden-table tr:nth-child(even) td { background: #fcfbf7; }
/* /end sveden */

/* === Sveden vertical sidebar layout (1.2.37) === */
.sveden-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px;
  max-width: 1800px; margin: 0 auto; padding: 24px 48px 64px; align-items: start; }
.sveden-side { position: sticky; top: 90px; padding: 16px 0;
  border-right: 1px solid var(--c-line); align-self: start; }
.sveden-side-title { font-size: 11px; letter-spacing: 0.1em; color: var(--c-text-muted);
  text-transform: uppercase; padding: 0 18px 14px; font-weight: 600; }
.sveden-side-nav { display: flex; flex-direction: column; gap: 2px; padding-right: 12px; }
.sveden-side-link { display: block; padding: 10px 16px; font-size: 14px; line-height: 1.35;
  color: var(--c-text); text-decoration: none; border-radius: 6px; transition: background 120ms, color 120ms; }
.sveden-side-link:hover { background: #fbf6ed; color: var(--c-burgundy); }
.sveden-side-link.is-active { background: var(--c-red-soft); color: var(--c-burgundy); font-weight: 600; }
.sveden-main { min-width: 0; padding-top: 4px; }
.sveden-crumb { font-size: 13px; color: var(--c-text-muted); margin-bottom: 28px; }
.sveden-crumb a { color: var(--c-text-muted); text-decoration: none; }
.sveden-crumb a:hover { color: var(--c-burgundy); }
.sveden-crumb .sep { color: #bbb; padding: 0 6px; }
.sveden-crumb .current { color: var(--c-text); }
.sveden-title { font-family: var(--font-display); font-size: 38px; font-weight: 700; line-height: 1.15;
  color: var(--c-text); margin: 0 0 10px; }
.sveden-meta { font-size: 13px; color: var(--c-text-muted); margin: 0 0 28px;
  padding-bottom: 18px; border-bottom: 1px solid var(--c-line); }
.sveden-meta code { background: #faf6ee; padding: 2px 6px; border-radius: 3px;
  font-family: var(--font-mono); font-size: 12px; color: var(--c-burgundy); }
.sveden-hub-content { margin-bottom: 28px; }
/* old .sveden-hub padded wrapper больше не нужен в child-страницах */
.sveden-section { padding: 0; max-width: none; margin: 0; }
.sveden-hint { color: var(--c-text-muted); font-size: 14px; margin: 0 0 16px; line-height: 1.55; }
.sveden-note { color: var(--c-text-muted); font-size: 13px; margin-top: 16px; padding: 12px 14px;
  background: #fbf6ed; border-left: 3px solid var(--c-gold); border-radius: 0 6px 6px 0; }
@media (max-width: 900px) {
  .sveden-layout { grid-template-columns: 1fr; gap: 20px; padding: 16px 14px 48px; }
  .sveden-side { position: static; border-right: 0; border-bottom: 1px solid var(--c-line); padding: 0 0 16px; }
  .sveden-side-nav { display: grid; grid-template-columns: 1fr 1fr; padding-right: 0; }
  .sveden-side-title { padding: 0 0 10px; }
  .sveden-title { font-size: 26px; }
}
/* /end sveden sidebar */

/* === Sveden sidebar — force visible link affordance (1.2.39) === */
/* кто-то ниже выкручивал цвет ссылок в бургунд — перебиваем специфичнее */
.sveden-side .sveden-side-link { color: var(--c-text) !important; font-weight: 400 !important;
  position: relative; padding-right: 28px !important; }
.sveden-side .sveden-side-link:hover { background: #fbf6ed !important; color: var(--c-burgundy) !important; }
.sveden-side .sveden-side-link:hover::after { content: "→"; position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%); color: var(--c-burgundy); font-size: 13px; }
.sveden-side span.sveden-side-link.is-active { color: var(--c-burgundy) !important;
  background: var(--c-red-soft) !important; font-weight: 600 !important; cursor: default; }
.sveden-side span.sveden-side-link.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 3px; background: var(--c-burgundy); border-radius: 0 2px 2px 0; }
/* /end */
/* === Sveden / Education showcase (1.2.45) === */
.edu-lead { font-size: 16px; line-height: 1.55; color: var(--c-text); margin: 0 0 24px; }
.edu-lead b { color: var(--c-burgundy); font-weight: 700; }
.edu-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 0 0 28px; }
.edu-stat { padding: 16px; background: #fbf6ed; border: 1px solid var(--c-line); border-radius: 10px; }
.edu-stat-num { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--c-burgundy); line-height: 1; }
.edu-stat-lab { font-size: 13px; color: var(--c-text-muted); margin-top: 6px; }

.edu-filters { background: #fcfbf7; border: 1px solid var(--c-line); border-radius: 10px; padding: 16px 18px; margin: 0 0 24px; }
.edu-filter-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; flex-wrap: wrap; }
.edu-filter-row:last-child { margin-bottom: 0; }
.edu-filter-label { font-size: 13px; color: var(--c-text-muted); padding-top: 6px; min-width: 120px; font-weight: 600; }
.edu-filter-ugsn { align-items: flex-start; }
.edu-ugsn-chips { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }

.edu-filters .chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border: 1px solid var(--c-line); background: white; border-radius: var(--radius-pill);
  font-size: 13px; color: var(--c-text); cursor: pointer; transition: all 120ms; }
.edu-filters .chip:hover { border-color: var(--c-gold); color: var(--c-gold-text); }
.edu-filters .chip.is-active { background: var(--c-gold); color: white; border-color: var(--c-gold); }
.chip-count { font-size: 11px; opacity: 0.7; background: rgba(255,255,255,0.2); padding: 1px 6px; border-radius: var(--radius-pill); }
.edu-filters .chip:not(.is-active) .chip-count { background: var(--c-bg-soft); color: var(--c-text-muted); opacity: 1; }

.edu-search { flex: 1; min-width: 280px; padding: 10px 14px; border: 1px solid var(--c-line); border-radius: 6px; font: inherit; font-size: 14px; }
.edu-search:focus { outline: none; border-color: var(--c-burgundy); }
.edu-counter { color: var(--c-text-muted); font-size: 13px; align-self: center; }
.edu-counter b { color: var(--c-text); font-weight: 700; }

.edu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin-bottom: 36px; }
.edu-card { padding: 14px 16px; background: white; border: 1px solid var(--c-line); border-radius: 8px;
  display: flex; flex-direction: column; gap: 4px; transition: border-color 120ms, transform 120ms, box-shadow 120ms; }
.edu-card:hover { border-color: var(--c-burgundy); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(122,24,16,0.06); }
.edu-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.edu-code { font-family: var(--font-mono); font-size: 13px; color: var(--c-burgundy); font-weight: 700; }
.edu-lvl { font-size: 11px; padding: 2px 8px; background: var(--c-gold-soft); color: var(--c-gold-text); border-radius: var(--radius-pill); font-weight: 600; letter-spacing: 0.02em; }
.edu-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--c-text); line-height: 1.25; }
.edu-profile { font-size: 13px; color: var(--c-text-muted); line-height: 1.4; }
.edu-forms { font-size: 12px; color: var(--c-text-soft); margin-top: 4px; }
.edu-forms span { display: inline-block; }
.edu-forms span + span:before { content: " · "; opacity: 0.5; }

.edu-reg { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--c-line); }
.edu-reg h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--c-text); margin: 0 0 16px; }

@media (max-width: 900px) {
  .edu-stats { grid-template-columns: repeat(2, 1fr); }
  .edu-filter-label { min-width: 100%; padding-top: 0; }
  .edu-grid { grid-template-columns: 1fr; }
}
/* /end edu */

/* === Education card v2 with eduOP microdata (1.2.46) === */
.edu-meta { font-size: 12px; color: var(--c-text-soft); margin-top: 6px; line-height: 1.45; }
.edu-meta-label { color: var(--c-text-muted); font-weight: 600; }
.edu-meta > span + span:before { content: " "; }
.edu-meta .edu-forms, .edu-meta .edu-norm { display: inline; }
.edu-docs { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px; }
.edu-doc-stub { display: inline-block; font-size: 10px; padding: 2px 6px; background: var(--c-bg-soft); color: var(--c-text-muted);
  border-radius: 3px; text-decoration: none; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
  border: 1px solid var(--c-line); transition: all 120ms; }
.edu-doc-stub:hover { background: var(--c-gold-soft); color: var(--c-gold-text); border-color: var(--c-gold); }
.edu-card meta[itemprop] { display: none; }
/* /end edu v2 */

/* === ОПОП-когорты на карточке (приказ о закреплении, по годам набора) === */
.edu-cohort { margin-top: 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--c-text-soft); }
.edu-cohort b { color: var(--c-text); font-weight: 700; }
.edu-cohort-badge { font-size: 10px; padding: 2px 8px; border-radius: var(--radius-pill); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.edu-cohort-adm { background: var(--c-gold-soft); color: var(--c-gold-text); border: 1px solid var(--c-gold); }
.edu-cohort-teach { background: var(--c-bg-soft); color: var(--c-text-muted); border: 1px solid var(--c-line); }
.edu-opop-code { font-family: var(--font-mono); font-size: 11px; color: var(--c-text-muted); background: var(--c-bg-soft);
  padding: 1px 6px; border-radius: 3px; border: 1px solid var(--c-line); margin-left: auto; }
/* /end ОПОП-когорты */

/* === Education students contingent (1.2.47) === */
.edu-students { margin-top: 36px; padding-top: 28px; border-top: 2px solid var(--c-burgundy); }
.edu-students h2 { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--c-burgundy); margin: 0 0 10px; }
.edu-students h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--c-text); margin: 28px 0 12px; }
.edu-students-meta { font-size: 13px; color: var(--c-text-muted); margin: 0 0 20px; padding: 10px 14px; background: #fbf6ed; border-left: 3px solid var(--c-gold); border-radius: 0 6px 6px 0; }
.edu-students-meta b { color: var(--c-text); }

.edu-students-download { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 24px; padding: 16px 18px; background: white; border: 1px solid var(--c-line); border-radius: 10px; }
.edu-pdf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; background: var(--c-burgundy); color: white !important; text-decoration: none; border-radius: 6px; font-weight: 600; font-size: 14px; }
.edu-pdf-btn:hover { background: #5e1308; }
.edu-pdf-meta { font-size: 12px; color: var(--c-text-muted); flex: 1; min-width: 200px; }

.es-summary { font-size: 14px; }
.es-summary th { background: var(--c-burgundy); color: white; padding: 10px 12px; text-align: left; }
.es-summary td { padding: 10px 12px; }
.es-summary tr.es-total td { background: #fbf6ed; border-top: 2px solid var(--c-burgundy); font-weight: 700; }

.edu-students-details { margin: 24px 0; border: 1px solid var(--c-line); border-radius: 8px; padding: 0; }
.edu-students-details summary { padding: 14px 18px; cursor: pointer; background: var(--c-bg-soft); border-radius: 8px 8px 0 0; font-weight: 600; color: var(--c-burgundy); }
.edu-students-details[open] summary { border-bottom: 1px solid var(--c-line); }
.edu-students-table-wrap { overflow-x: auto; max-height: 600px; overflow-y: auto; }
.es-full { font-size: 12px; width: 100%; border-collapse: collapse; }
.es-full thead th { position: sticky; top: 0; background: var(--c-burgundy); color: white; padding: 8px 10px; text-align: left; z-index: 1; white-space: nowrap; }
.es-full td { padding: 8px 10px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.es-full tr:hover td { background: #fbf6ed; }
.es-code { font-family: var(--font-mono); font-weight: 700; color: var(--c-burgundy); white-space: nowrap; }
.es-name { font-weight: 600; color: var(--c-text); }
.es-prof { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; line-height: 1.35; }
.es-meta { font-size: 10px; color: var(--c-text-soft); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.04em; }
.es-num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.es-num b { color: var(--c-burgundy); }

.edu-students-archive { margin: 20px 0; padding: 0; }
.edu-students-archive summary { padding: 12px 14px; cursor: pointer; background: var(--c-bg-soft); border-radius: 6px; font-size: 13px; color: var(--c-text-muted); }
.archive-empty { padding: 12px 14px; font-size: 13px; color: var(--c-text-soft); font-style: italic; }

.edu-students-note { font-size: 12px; color: var(--c-text-soft); margin-top: 24px; padding: 12px 14px; border-top: 1px dashed var(--c-line); line-height: 1.55; }
/* /end edu-students */

/* === Education extra blocks (adapted/practice/eor) (1.2.49) === */
.edu-block { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--c-line); }
.edu-block h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--c-text); margin: 0 0 12px; }
.edu-block > p { font-size: 14px; color: var(--c-text); line-height: 1.55; margin: 0 0 16px; }
.edu-block > p b { color: var(--c-burgundy); }
.edu-block-note { font-size: 12px; color: var(--c-text-soft); margin-top: 14px; padding: 10px 14px; background: #fcfbf7; border-left: 3px solid var(--c-gold); border-radius: 0 6px 6px 0; }
.edu-eor-list a[target=_blank]:after { content: " ↗"; opacity: 0.6; font-size: 11px; }
/* /end */

/* === Education stats 5-column + contingent subpage (1.2.50) === */
.edu-stats-5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .edu-stats-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .edu-stats-5 { grid-template-columns: repeat(2, 1fr); } }

/* Tabs для двух снапшотов */
.edu-students-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.es-tab { padding: 8px 14px; border: 1px solid var(--c-line); background: white; border-radius: 6px 6px 0 0; font-size: 13px; color: var(--c-text); cursor: pointer; }
.es-tab.is-active { background: var(--c-burgundy); color: white; border-color: var(--c-burgundy); font-weight: 600; }
.es-tab:disabled { opacity: 0.5; cursor: not-allowed; }

.es-compact td .es-meta { display: block; }
.edu-students-note-info { background: #f6f0fb; border-left-color: var(--c-burgundy); }
.edu-students-cta { margin-top: 16px; }
.edu-cta-link { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; background: var(--c-burgundy); color: white !important; text-decoration: none; border-radius: 6px; font-size: 14px; font-weight: 600; }
.edu-cta-link:hover { background: #5e1308; }

/* Подстраница /contingent/ */
.contingent-page { max-width: none; }
.cont-snapshots { display: flex; gap: 6px; margin: 0 0 16px; flex-wrap: wrap; }
.cont-snap { padding: 10px 16px; border: 1px solid var(--c-line); background: white; border-radius: 6px; font-size: 14px; cursor: pointer; }
.cont-snap.is-active { background: var(--c-burgundy); color: white; border-color: var(--c-burgundy); }
.cont-snap:disabled { opacity: 0.5; cursor: not-allowed; }
.cont-snap b { font-weight: 600; }

.cont-pdf-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; padding: 14px 16px; background: white; border: 1px solid var(--c-line); border-radius: 8px; }
.cont-meta { display: flex; gap: 20px; flex-wrap: wrap; padding: 12px 14px; background: #fbf6ed; border-radius: 6px; margin: 0 0 18px; font-size: 13px; }
.cont-meta b { color: var(--c-burgundy); }

.cont-filters { background: white; border: 1px solid var(--c-line); border-radius: 8px; padding: 14px 16px; margin: 0 0 20px; }
.cont-filter-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; flex-wrap: wrap; }
.cont-filter-row:last-child { margin-bottom: 0; }
.cont-filter-label { font-size: 13px; color: var(--c-text-muted); min-width: 100px; font-weight: 600; }
.cont-filters .chip { padding: 6px 12px; border: 1px solid var(--c-line); background: white; border-radius: var(--radius-pill); font-size: 13px; cursor: pointer; }
.cont-filters .chip:hover { border-color: var(--c-gold); color: var(--c-gold-text); }
.cont-filters .chip.is-active { background: var(--c-gold); color: white; border-color: var(--c-gold); }
.cont-search { flex: 1; min-width: 260px; padding: 9px 13px; border: 1px solid var(--c-line); border-radius: 6px; font-size: 14px; }
.cont-search:focus { outline: none; border-color: var(--c-burgundy); }
.cont-counter { color: var(--c-text-muted); font-size: 13px; align-self: center; }
.cont-counter b { color: var(--c-text); }
.cont-table-wrap { max-height: none; }
.cont-archive { margin: 24px 0; padding: 0; border: 1px solid var(--c-line); border-radius: 6px; }
.cont-archive summary { padding: 12px 16px; cursor: pointer; background: var(--c-bg-soft); border-radius: 6px; font-size: 14px; color: var(--c-text-muted); }

/* === 1.2.52: лицензия и государственная аккредитация на /sveden/education/ === */
.edu-accred { margin: 28px 0 36px; padding: 26px 22px 22px; background: linear-gradient(180deg, #FBF1EF 0%, #FFFFFF 100%); border: 1px solid var(--c-line); border-radius: 12px; }
.edu-accred-title { font-size: 22px; color: var(--c-burgundy); margin: 0 0 18px; line-height: 1.25; }
.edu-accred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 980px) { .edu-accred-grid { grid-template-columns: 1fr; } }
.acc-card { background: white; border: 1px solid var(--c-line); border-radius: 10px; padding: 18px 18px 14px; display: flex; flex-direction: column; }
.acc-card-head { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.acc-card-head h3 { font-size: 15px; color: var(--c-burgundy); margin: 0; line-height: 1.3; flex: 1; }
.acc-card-icon { flex: 0 0 28px; color: var(--c-burgundy); }
.acc-card-meta { display: grid; grid-template-columns: max-content 1fr; column-gap: 12px; row-gap: 6px; font-size: 13px; margin: 0 0 12px; }
.acc-card-meta dt { color: var(--c-text-muted); font-weight: 500; }
.acc-card-meta dd { margin: 0; color: var(--c-text); }
.acc-card-meta dd b { color: var(--c-burgundy); }
.acc-note { display: block; font-size: 11px; color: var(--c-text-muted); margin-top: 3px; }
.acc-card-body { font-size: 13px; line-height: 1.55; color: var(--c-text); margin: 0 0 8px; }
.acc-card-body code { background: #F3EAE7; padding: 1px 5px; border-radius: 3px; font-size: 12px; color: var(--c-burgundy); }
.acc-card-actions { margin: auto 0 0; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; }
.acc-btn { display: inline-block; padding: 7px 12px; border: 1px solid var(--c-burgundy); color: var(--c-burgundy); background: white; border-radius: 6px; text-decoration: none; font-size: 12px; line-height: 1.2; transition: background .15s; }
.acc-btn:hover { background: #FBF1EF; }
.acc-btn-primary { background: var(--c-burgundy); color: white !important; }
.acc-btn-primary:hover { background: #5d1209; }
.acc-ugsn { margin-top: 18px; border: 1px solid var(--c-line); border-radius: 8px; background: white; }
.acc-ugsn > summary { padding: 12px 16px; cursor: pointer; color: var(--c-burgundy); list-style: none; position: relative; padding-right: 36px; font-size: 14px; }
.acc-ugsn > summary::-webkit-details-marker { display: none; }
.acc-ugsn > summary::after { content: "▾"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--c-burgundy); font-size: 12px; transition: transform .2s; }
.acc-ugsn[open] > summary::after { transform: translateY(-50%) rotate(180deg); }
.acc-ugsn-body { padding: 8px 18px 18px; border-top: 1px solid var(--c-line); }
.acc-ugsn-lead { font-size: 13px; color: var(--c-text); margin: 12px 0 14px; }
.acc-ugsn-cols { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; }
@media (max-width: 980px) { .acc-ugsn-cols { grid-template-columns: 1fr; } }
.acc-ugsn-cols h4 { font-size: 13px; color: var(--c-text-muted); text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 8px; font-weight: 600; }
.acc-ugsn-list { list-style: none; margin: 0; padding: 0; font-size: 13px; line-height: 1.55; }
.acc-ugsn-list li { padding: 2px 0; color: var(--c-text); }
.acc-ugsn-list li b { display: inline-block; min-width: 60px; color: var(--c-burgundy); font-family: 'Courier New', monospace; font-size: 12px; }
.acc-ugsn-foot { margin: 14px 0 0; font-size: 12px; color: var(--c-text-muted); line-height: 1.5; }
.acc-ugsn-foot a { color: var(--c-burgundy); }

/* === 1.2.54: cfu_edu_stats shortcode (single-source numbers) === */
.cfu-edu-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 22px 0 8px; }
@media (max-width: 980px) { .cfu-edu-stats { grid-template-columns: repeat(2, 1fr); } }
.ces-item { background: linear-gradient(180deg, #FBF1EF 0%, #FFFFFF 100%); border: 1px solid var(--c-line); border-radius: 10px; padding: 18px 14px; text-align: center; }
.ces-num { font-size: 28px; font-weight: 700; color: var(--c-burgundy); line-height: 1; }
.ces-lab { font-size: 12px; color: var(--c-text-muted); margin-top: 6px; line-height: 1.35; }
.cfu-edu-stats-meta { font-size: 12px; color: var(--c-text-muted); margin: 4px 0 0; }
.cfu-edu-stats-meta a { color: var(--c-burgundy); }
/* /end */


/* TASK-06 стадия 3 — обложки-ссылки карточек образовательных программ (stretched link) */
.edu-card.has-cover { position: relative; cursor: pointer; }
.edu-card-cover { position: absolute; inset: 0; z-index: 2; border-radius: 8px; font-size: 0; }
.edu-card-cover:focus-visible { outline: 2px solid var(--c-burgundy); outline-offset: 2px; }


/* п.3 — динамическая витрина /sveden/education/ (608 программ) */
.edu-grid a.edu-name { text-decoration: none; color: var(--c-text); display: block; }
.edu-grid a.edu-name:hover { color: var(--c-burgundy); }
.edu-counter { color: var(--c-text-muted); font-size: 13px; margin: 6px 0 14px; }
.edu-stats.edu-stats-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.edu-doc { display: inline-block; font-size: 10px; padding: 2px 6px; background: var(--c-bg-soft); color: var(--c-burgundy); border: 1px solid var(--c-line); border-radius: 3px; text-decoration: none; margin-right: 4px; }
.edu-doc:hover { background: var(--c-red-soft); border-color: var(--c-burgundy); }
@media (max-width: 900px){ .edu-stats.edu-stats-6 { grid-template-columns: repeat(3, 1fr); } }

.edu-card-division { font-size: 11px; color: var(--c-text-muted); margin-top: 2px; }
.prog-card-cat .pc-div { font-size: 12px; color: var(--c-burgundy); margin-top: 2px; font-weight: 600; }
/* КЦП приёма-2026 на карточке каталога */
.pc-kcp { margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--c-line); display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--c-text-soft); }
.pc-kcp-lab { width: 100%; font-size: 10px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--c-text-muted); font-weight: 700; }
.pc-kcp-row { white-space: nowrap; }
.pc-kcp-form { color: var(--c-text-muted); }
.pc-kcp b { color: var(--c-gold-text); font-weight: 700; }


/* Фильтры/чипы — глобально (нужны и на /sveden/education/, не только на /programs/) */
.cat-counter { font-size: 13px; color: var(--c-text-muted); }
.cat-counter b { color: var(--c-gold); font-family: var(--font-display); font-size: 18px; font-weight: 700; }
.filters { background: white; border: 1px solid var(--c-line); border-radius: 10px; padding: 18px 22px; margin-bottom: 24px; display: flex; flex-direction: column; gap: 14px; }
.filter-group { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.filter-label { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--c-text-soft); font-weight: 600; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip { padding: 6px 14px; font-size: 12px; font-weight: 500; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: 16px; color: var(--c-text); text-decoration: none; white-space: nowrap; transition: border-color 0.2s, background 0.2s; cursor: pointer; }
.chip:hover { border-color: var(--c-gold); }
.chip-active { background: var(--c-gold); color: white; border-color: var(--c-gold); }
.chip-active:hover { background: var(--c-gold-dark); border-color: var(--c-gold-dark); }
.filter-group-search { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: baseline; }
.prog-search { width: 100%; max-width: 420px; padding: 9px 12px; border: 1px solid var(--c-line); border-radius: 8px; font-size: 14px; font-family: inherit; }
.prog-search:focus-visible { outline: 2px solid var(--c-burgundy); outline-offset: 1px; border-color: var(--c-burgundy); }
@media (max-width: 720px){ .filter-group, .filter-group-search { grid-template-columns: 1fr; gap: 6px; } }

/* ===== /sveden/edustandarts/ — образовательные стандарты и требования (1.2.79) ===== */
.estd-page .estd-filters { margin: 14px 0 18px; }
.estd-shown-wrap { margin-top: 8px; }
.estd-level { margin: 26px 0 8px; }
.estd-h2 { font-size: 1.15rem; margin: 0 0 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.estd-badge { font-size: .72rem; font-weight: 700; padding: 2px 8px; border-radius: 10px; color: #fff; letter-spacing: .02em; }
.estd-badge-фгос, .estd-badge-fgos { background: var(--c-gold-dark); }
.estd-badge-суос, .estd-badge-suos { background: var(--c-burgundy); }
.estd-badge-фгт, .estd-badge-fgt { background: var(--c-text-muted); }
.estd-count { font-size: .85rem; color: var(--c-text-soft); font-weight: 600; }
.estd-orders { background: var(--c-gold-soft); border: 1px solid var(--c-gold); border-radius: 8px; padding: 10px 12px; margin: 0 0 12px; font-size: .92rem; }
.estd-orders-label { font-weight: 700; color: var(--c-gold-text); }
.estd-table-wrap { overflow-x: auto; }
.estd-table { width: 100%; }
.estd-table .estd-c-code { width: 12%; white-space: nowrap; }
.estd-table .estd-c-name { width: 48%; }
.estd-table .estd-c-doc { width: 40%; }
.estd-code { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; }
.estd-docs { line-height: 1.7; }
.estd-doc { color: var(--c-burgundy); font-weight: 600; text-decoration: none; border-bottom: 1px solid transparent; }
.estd-doc:hover { border-bottom-color: var(--c-burgundy); }
.estd-doc + .estd-doc { margin-left: 0; }
.estd-docs .estd-doc { display: inline; }
.estd-docs .estd-doc::after { content: ""; }
.estd-sig { font-size: .8rem; color: var(--c-text-soft); text-decoration: none; margin-left: 2px; }
.estd-sig:hover { color: var(--c-gold-dark); }
.estd-sig-legend { color: var(--c-text-soft); }
.estd-tbd { color: var(--c-text-soft); font-style: italic; }
.estd-source { margin-top: 18px; font-size: .88rem; color: var(--c-text-muted); }
.estd-table .estd-docs .estd-doc { margin-right: 4px; }

/* ===== /sveden/managers/ — Руководство (1.2.81) ===== */
.mgr-searchbar { display:flex; align-items:center; gap:14px; flex-wrap:wrap; margin:14px 0 18px; }
.mgr-search { flex:1 1 320px; max-width:520px; padding:9px 12px; border:1px solid var(--c-line); border-radius:8px; font-size:.95rem; }
.mgr-section { margin:24px 0 8px; }
.mgr-h2 { font-size:1.12rem; margin:0 0 10px; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.mgr-count { font-size:.85rem; color:var(--c-text-soft); font-weight:600; }
.mgr-empty { color:var(--c-text-soft); font-style:italic; }
.mgr-table-wrap { overflow-x:auto; }
.mgr-table { width:100%; }
.mgr-table .mgr-c-unit { width:24%; }
.mgr-table .mgr-c-fio { width:20%; }
.mgr-table .mgr-c-post { width:25%; }
.mgr-table .mgr-c-tel { width:15%; }
.mgr-table .mgr-c-email { width:16%; }
.mgr-fio { font-weight:600; }
.mgr-tel, .mgr-email { vertical-align:top; }
.mgr-phone { display:block; white-space:nowrap; font-variant-numeric:tabular-nums; }
.mgr-phone + .mgr-phone { margin-top:3px; }
.mgr-emaddr { display:block; color:var(--c-burgundy); text-decoration:none; border-bottom:1px solid transparent; word-break:break-all; }
.mgr-emaddr + .mgr-emaddr { margin-top:3px; }
.mgr-emaddr:hover { border-bottom-color:var(--c-burgundy); }
.mgr-tbd { color:var(--c-text-soft); }
.mgr-unit { color:var(--c-text-muted); }
.mgr-fio-link { color:var(--c-burgundy); text-decoration:none; border-bottom:1px solid transparent; }
.mgr-fio-link:hover { border-bottom-color:var(--c-burgundy); }

/* ===== /sveden/document/ — Документы (1.2.87) ===== */
.doc-toc { background:var(--c-gold-soft); border:1px solid var(--c-gold); border-radius:8px; padding:10px 14px; margin:14px 0 20px; font-size:.92rem; line-height:1.9; }
.doc-toc a { color:var(--c-burgundy); text-decoration:none; }
.doc-toc a:hover { text-decoration:underline; }
.doc-section { margin:22px 0 6px; }
.doc-h3 { font-size:1.08rem; color:var(--c-burgundy); margin:0 0 8px; padding-bottom:5px; border-bottom:2px solid var(--c-gold-soft); }
.doc-count { font-size:.8rem; color:var(--c-text-soft); font-weight:600; background:var(--c-gold-soft); border-radius:10px; padding:1px 8px; }
.doc-list { list-style:none; margin:0; padding:0; }
.doc-item { padding:6px 0 6px 26px; position:relative; border-bottom:1px solid var(--c-line-soft); line-height:1.5; }
.doc-item::before { content:"📄"; position:absolute; left:0; top:6px; font-size:.95rem; }
.doc-link { color:var(--c-burgundy); text-decoration:none; font-weight:500; }
.doc-link:hover { text-decoration:underline; }
.doc-sig { font-size:.8rem; color:var(--c-text-soft); text-decoration:none; margin-left:4px; }
.doc-sig:hover { color:var(--c-gold-dark); }
.doc-foot { margin-top:18px; font-size:.9rem; color:var(--c-text-muted); }

/* ===== /sveden/catering/ — Организация питания (1.2.93) ===== */
.cat-summary { background:var(--c-gold-soft); border:1px solid var(--c-gold); border-radius:8px; padding:9px 13px; margin:12px 0 16px; font-size:.95rem; }
.cat-table-wrap { overflow-x:auto; }
.cat-table { width:100%; }
.cat-table th:first-child, .cat-table td:first-child { width:40px; text-align:center; color:var(--c-text-soft); }
.cat-table td[itemprop="objSq"], .cat-table td[itemprop="objCnt"] { text-align:center; white-space:nowrap; font-variant-numeric:tabular-nums; }
.cat-table td[itemprop="objName"] { font-weight:600; }
.cat-foot { margin-top:14px; font-size:.9rem; color:var(--c-text-muted); }

/* ===== /sveden/inter/ — Международное сотрудничество (1.2.94) ===== */
.inter-table th:first-child, .inter-table td:first-child { width:46px; text-align:center; color:var(--c-text-soft); }
.inter-table td:nth-child(2) { white-space:nowrap; }

/* ===== /sveden/inter/ callout + migraciya подстраница (1.2.95) ===== */
.inter-callout { margin:14px 0 20px; }
.inter-callout-link { display:block; background:var(--c-burgundy); color:#fff; text-decoration:none; padding:13px 18px; border-radius:10px; font-weight:600; font-size:1rem; transition:.15s; }
.inter-callout-link:hover { background:var(--c-red); color:#fff; }
.sveden-inter .sveden-section h3, .sveden-main h3 { color:var(--c-burgundy); margin-top:22px; }

/* ===== /sveden/budget/ — Финансово-хозяйственная деятельность (1.2.96) ===== */
.sveden-budget table { width:100%; margin:10px 0 18px; }
.sveden-budget td[itemprop="finYear"] { text-align:center; font-weight:600; white-space:nowrap; }
.sveden-budget td[itemprop^="fin"][itemprop$="Volume"] { text-align:center; font-variant-numeric:tabular-nums; white-space:nowrap; }
.sveden-budget a { color:var(--c-burgundy); }
.sveden-budget table th { background:var(--c-gold-soft); color:var(--c-burgundy); text-align:center; vertical-align:middle; padding:8px 10px; border:1px solid var(--c-line); font-size:.9rem; }
.sveden-budget table td { border:1px solid var(--c-line); padding:7px 10px; }

/* ===== /sveden/objects/ — МТО и доступная среда (1.2.99) ===== */
.sveden-objects table { width:100%; margin:8px 0 16px; font-size:.9rem; }
.sveden-objects table th { background:var(--c-gold-soft); color:var(--c-burgundy); text-align:center; vertical-align:middle; padding:7px 9px; border:1px solid var(--c-line); }
.sveden-objects table td { border:1px solid var(--c-line); padding:6px 9px; vertical-align:top; }
.sveden-objects h3 { color:var(--c-burgundy); margin-top:26px; border-bottom:2px solid var(--c-gold-soft); padding-bottom:5px; }
.sveden-objects h4 { color:var(--c-gold-text); margin-top:18px; }
.sveden-objects a { color:var(--c-burgundy); }


/* ===== Раздел «Сотрудникам» /rabotnikam/ ===== */
.rab-section .rab-block { margin: 0 0 26px; }
.rab-section h2 { font-size: 21px; color: var(--c-burgundy); margin: 22px 0 10px; }
.rab-section h3 { font-size: 17px; margin: 16px 0 8px; }
.rab-docs { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; }
.rab-docs li { position: relative; padding-left: 22px; line-height: 1.5; }
.rab-docs li:before { content: "📄"; position: absolute; left: 0; top: 0; font-size: 13px; opacity: .8; }
.rab-docs a { color: var(--c-text); text-decoration: none; border-bottom: 1px solid var(--c-gold-soft); }
.rab-docs a:hover { color: var(--c-burgundy); border-bottom-color: var(--c-gold); }
.doc-ext { font-size: 10px; font-weight: 700; color: var(--c-gold-dark); background: var(--c-gold-soft);
  border-radius: 4px; padding: 1px 5px; margin-left: 6px; vertical-align: middle; letter-spacing: .03em; }
.rab-steps { list-style: none; counter-reset: none; padding: 0; margin: 10px 0; display: grid; gap: 10px; }
.rab-steps li { display: flex; gap: 12px; align-items: flex-start; }
.rab-step-n { flex: 0 0 28px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-burgundy);
  color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.rab-checklist { columns: 2; column-gap: 28px; margin: 8px 0; padding-left: 18px; }
.rab-checklist li { margin: 0 0 5px; line-height: 1.45; }
@media (max-width: 680px) { .rab-checklist { columns: 1; } }
.rab-callout { background: var(--c-gold-soft); border-left: 4px solid var(--c-gold); border-radius: 8px;
  padding: 14px 18px; margin: 16px 0; line-height: 1.6; }
.rab-table-wrap { overflow-x: auto; margin: 10px 0; }
.rab-kadry td { vertical-align: top; font-size: 14px; }
.rab-kadry-post { color: var(--c-text-muted); font-size: 12.5px; margin-top: 3px; }
.rab-kadry-units { color: var(--c-text-muted); font-size: 13px; }
/* Сервисы */
.rab-srv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin: 14px 0; }
.rab-srv-card { display: block; background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  padding: 18px; text-decoration: none; transition: box-shadow .15s, border-color .15s, transform .15s; }
a.rab-srv-card:hover { border-color: var(--c-gold); box-shadow: 0 6px 20px rgba(122,24,16,.08); transform: translateY(-2px); }
.rab-srv-title { font-weight: 700; color: var(--c-burgundy); font-size: 16px; margin-bottom: 6px; }
.rab-srv-desc { color: var(--c-text-muted); font-size: 13.5px; line-height: 1.45; min-height: 38px; }
.rab-srv-go { display: inline-block; margin-top: 10px; color: var(--c-gold-dark); font-weight: 600; font-size: 14px; }
.rab-srv-soon { display: inline-block; margin-top: 10px; color: var(--c-text-muted); font-size: 12px;
  background: var(--c-bg-soft); border-radius: 6px; padding: 2px 8px; }
.rab-srv-card.is-stub { opacity: .75; }


/* ===== /rabotnikam/ — посадочная (геро + карточки) ===== */
.rab-hub { max-width: 1180px; margin: 0 auto; }
.rab-hero { background: linear-gradient(135deg, var(--c-burgundy) 0%, #5a1109 100%);
  border-radius: 16px; padding: 48px 44px; color: #fff; margin: 12px 0 28px; position: relative; overflow: hidden; }
.rab-hero:after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(184,156,92,.35), transparent 70%); }
.rab-hero-inner { position: relative; z-index: 1; max-width: 760px; }
.rab-hero-eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: 13px; color: var(--c-gold); font-weight: 600; }
.rab-hero-title { font-size: 38px; line-height: 1.1; margin: 10px 0 14px; color: #fff; }
.rab-hero-sub { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.86); margin: 0 0 22px; }
.rab-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.rab-hero-btn { display: inline-block; background: var(--c-gold); color: #2b2b2b !important; font-weight: 700;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; transition: background .15s, transform .15s; }
.rab-hero-btn:hover { background: #cdb069; transform: translateY(-1px); }
.rab-hero-btn.ghost { background: transparent; color: #fff !important; border: 1.5px solid rgba(255,255,255,.5); }
.rab-hero-btn.ghost:hover { border-color: var(--c-gold); background: rgba(255,255,255,.08); }
.rab-h2 { font-size: 22px; color: var(--c-burgundy); margin: 30px 0 16px; }
.rab-nav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; margin-bottom: 10px; }
.rab-nav-card { display: block; background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  padding: 20px; text-decoration: none; border-left: 4px solid var(--c-gold); transition: box-shadow .15s, transform .15s; }
.rab-nav-card:hover { box-shadow: 0 8px 24px rgba(122,24,16,.1); transform: translateY(-2px); }
.rab-nav-title { font-weight: 700; font-size: 17px; color: var(--c-burgundy); margin-bottom: 5px; }
.rab-nav-desc { color: var(--c-text-muted); font-size: 13.5px; line-height: 1.45; }
.rab-nav-go { margin-top: 10px; color: var(--c-gold-dark); font-weight: 600; font-size: 14px; }
@media (max-width: 640px) { .rab-hero { padding: 32px 24px; } .rab-hero-title { font-size: 30px; } }


/* ===== Двойной сайдбар антикоррупции: одна колонка ===== */
.rab-aside { position: sticky; top: 90px; align-self: start; border-right: 1px solid var(--c-line); }
.rab-aside .sveden-side { position: static; border-right: 0; }
.rab-aside .sveden-side + .sveden-side { margin-top: 6px !important; border-top: 1px solid var(--c-line-soft); padding-top: 14px; }
@media (max-width: 980px) {
  .rab-aside { position: static; border-right: 0; border-bottom: 1px solid var(--c-line); padding-bottom: 12px; }
}

/* ====== ПРЕСС-СЛУЖБА · Фаза 1: новости (рубрикатор, архив-сетка, галерея, RuTube) ====== */
/* Табы по темам */
.news-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.news-tab { font-size: 13px; padding: 6px 14px; border-radius: var(--radius-pill); border: 1px solid var(--c-line);
  color: var(--c-text-soft); text-decoration: none; transition: all 120ms; white-space: nowrap; }
.news-tab:hover { border-color: var(--c-gold); color: var(--c-gold-text); }
.news-tab.is-active { background: var(--c-gold); border-color: var(--c-gold); color: #fff; font-weight: 600; }
/* Архив-сетка карточек */
.news-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-bottom: 28px; }
.na-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; transition: transform 120ms, box-shadow 120ms, border-color 120ms; }
.na-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(122,24,16,0.08); border-color: var(--c-burgundy); }
.na-img { position: relative; aspect-ratio: 16/9; background: var(--c-bg-soft) center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.na-img-ph { font-family: var(--font-display); font-size: 28px; color: var(--c-line); font-weight: 700; letter-spacing: .1em; }
.na-cat { position: absolute; left: 10px; bottom: 10px; font-size: 11px; font-weight: 700; padding: 3px 10px;
  background: var(--c-gold); color: #fff; border-radius: var(--radius-pill); letter-spacing: .02em; }
.na-body { padding: 14px 16px 18px; }
.na-date { font-size: 12px; color: var(--c-text-muted); margin-bottom: 6px; }
.na-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--c-text); margin: 0; }
.na-card:hover .na-title { color: var(--c-burgundy); }
/* Страница новости */
.single-article { max-width: 860px; margin: 0 auto; }
.single-title { margin: 8px 0 18px; }
.single-content { font-size: 16px; line-height: 1.7; }
.single-content img { max-width: 100%; height: auto; border-radius: 8px; }
/* Галерея-карусель */
.news-gallery { position: relative; margin: 0 0 22px; border-radius: 12px; overflow: hidden; background: #000; }
.news-gallery-single img { width: 100%; height: auto; max-height: 380px; object-fit: contain; display: block; }
.news-gallery .ng-track { position: relative; aspect-ratio: 16/9; max-height: 380px; }
/* фолбэк для старых мобильных браузеров без aspect-ratio (АРМ): иначе 16/9-контейнер схлопывается и фото «режется кусками» */
@supports not (aspect-ratio: 1 / 1) { .news-gallery .ng-track, .nfb-img { height: 0; padding-bottom: 56.25%; } }
.ng-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 280ms; margin: 0; }
.ng-slide.is-active { opacity: 1; }
.ng-slide img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ng-slide figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 16px 10px; color: #fff;
  font-size: 13px; background: linear-gradient(transparent, rgba(0,0,0,0.65)); }
.ng-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(0,0,0,0.45); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; transition: background 120ms; }
.ng-nav:hover { background: var(--c-burgundy); }
.ng-prev { left: 12px; } .ng-next { right: 12px; }
.ng-dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 6px; }
.ng-dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.5); cursor: pointer; padding: 0; }
.ng-dot.is-active { background: #fff; width: 22px; border-radius: 4px; }
.ng-count { position: absolute; top: 12px; right: 12px; font-size: 12px; color: #fff; background: rgba(0,0,0,0.5); padding: 3px 10px; border-radius: var(--radius-pill); }
/* Кнопка RuTube */
.news-rutube { margin-top: 26px; }
.btn-rutube { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 8px;
  background: var(--c-burgundy); color: #fff; text-decoration: none; font-weight: 600; transition: background 120ms; }
.btn-rutube:hover { background: var(--c-red, #C1121F); }
@media (max-width: 680px) { .news-archive-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .na-title { font-size: 14px; } }
@media (max-width: 460px) { .news-archive-grid { grid-template-columns: 1fr; } }
/* /end пресс Фаза 1 */

/* ====== ПРЕСС-СЛУЖБА · Фаза 3: события (CPT cfu_event) ====== */
/* список событий (для архива-афиши; на /life/ дублируется из life.css) */
.events-cal-list { display: flex; flex-direction: column; gap: 10px; }
.events-cal-list .ec-item { display: grid; grid-template-columns: 80px 1fr; gap: 20px; padding: 20px 22px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px; text-decoration: none; color: inherit; transition: border-color 120ms, box-shadow 120ms; }
.events-cal-list .ec-item:hover { border-color: var(--c-burgundy); box-shadow: 0 6px 18px rgba(122,24,16,0.07); }
.events-cal-list .ec-date-block { display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 12px; background: var(--c-gold-soft); color: var(--c-gold-text); border-radius: 10px; height: fit-content; }
.events-cal-list .ec-day { font-family: var(--font-display); font-size: 28px; font-weight: 700; line-height: 1; }
.events-cal-list .ec-mon { font-size: 11px; margin-top: 4px; text-transform: lowercase; letter-spacing: .04em; }
.events-cal-list .ec-tag { display: inline-block; font-size: 10px; padding: 3px 9px; background: var(--c-bg-soft);
  border: 1px solid var(--c-line); border-radius: var(--radius-pill); text-transform: uppercase; letter-spacing: .03em; color: var(--c-text-muted); font-weight: 700; margin-bottom: 7px; }
.events-cal-list .ec-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; color: var(--c-text); }
.events-cal-list .ec-item:hover .ec-title { color: var(--c-burgundy); }
.events-cal-list .ec-meta { font-size: 12px; color: var(--c-text-muted); margin-bottom: 8px; }
.events-cal-list .ec-text { font-size: 13px; color: var(--c-text); line-height: 1.6; }
/* страница события: контент + правый баннер */
.event-single { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; }
.event-main { min-width: 0; }
.event-photo { width: 100%; max-height: 380px; object-fit: cover; object-position: center; border-radius: 10px; margin: 4px 0 18px; }
.event-banner { position: sticky; top: 90px; background: var(--c-burgundy); color: #fff; border-radius: 14px; padding: 22px 22px 24px; }
.eb-date { display: flex; align-items: baseline; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.18); margin-bottom: 12px; }
.eb-day { font-family: var(--font-display); font-size: 44px; font-weight: 700; line-height: 1; }
.eb-mon { font-size: 15px; opacity: .9; }
.eb-count { font-size: 13px; color: var(--c-gold); font-weight: 700; margin-bottom: 14px; }
.eb-count.eb-today { color: #fff; background: var(--c-gold); display: inline-block; padding: 2px 10px; border-radius: var(--radius-pill); }
.eb-row { font-size: 14px; margin-bottom: 8px; line-height: 1.4; }
.eb-lab { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; opacity: .7; }
.eb-reg { display: block; text-align: center; margin: 16px 0 4px; background: var(--c-gold); color: #fff; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 700; }
.eb-reg:hover { background: var(--c-gold-dark, #9A7E3E); }
.eb-cal { display: block; text-align: center; margin: 8px 0 4px; border: 1px solid rgba(255,255,255,0.35); color: #fff; padding: 10px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 13px; }
.eb-cal:hover { border-color: var(--c-gold); color: var(--c-gold); }
.eb-soc-label { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; opacity: .7; margin: 18px 0 8px; }
.eb-socials .life-soc { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.eb-socials .life-soc:hover { border-color: var(--c-gold); color: var(--c-gold); }
@media (max-width: 860px) { .event-single { grid-template-columns: 1fr; } .event-banner { position: static; } .events-cal-list .ec-item { grid-template-columns: 64px 1fr; gap: 14px; } }
/* /end пресс Фаза 3 */

/* ====== ПРЕСС-СЛУЖБА · Фаза 4: сообщества (CPT cfu_community) ====== */
.clubs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.clubs-grid .club-card { padding: 20px 22px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  text-decoration: none; color: var(--c-text); display: flex; flex-direction: column; gap: 7px; transition: border-color 120ms, box-shadow 120ms, transform 120ms; }
.clubs-grid .club-card:hover { border-color: var(--c-burgundy); box-shadow: 0 6px 18px rgba(122,24,16,0.07); transform: translateY(-2px); }
.clubs-grid .cc-dir { align-self: flex-start; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em;
  padding: 3px 10px; border-radius: var(--radius-pill); background: var(--c-gold-soft); color: var(--c-gold-text); }
.clubs-grid .cc-name { font-family: var(--font-display); font-size: 17px; font-weight: 700; line-height: 1.25; color: var(--c-text); }
.clubs-grid .club-card:hover .cc-name { color: var(--c-burgundy); }
.clubs-grid .cc-text { font-size: 13px; color: var(--c-text-muted); line-height: 1.55; }
/* страница сообщества — правый блок контактов/соцсетей */
.community-aside { position: sticky; top: 90px; background: var(--c-bg-soft); border: 1px solid var(--c-line); border-radius: 14px; padding: 20px 22px; }
.community-aside .ca-block + .ca-block { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--c-line); }
.community-aside .ca-title { font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-text-muted); font-weight: 700; margin-bottom: 8px; }
.community-aside .ca-contacts { font-size: 14px; line-height: 1.6; color: var(--c-text); }
@media (max-width: 860px) { .community-aside { position: static; } }
@media (max-width: 740px) { .clubs-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .clubs-grid { grid-template-columns: 1fr; } }
/* /end пресс Фаза 4 */

/* ====== ПРЕСС-СЛУЖБА · Фаза 5: СМИ о нас (CPT cfu_smi) ====== */
.culture-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.culture-grid .cult-card { padding: 22px 24px; background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--c-text); transition: border-color 120ms, box-shadow 120ms, transform 120ms; }
.culture-grid a.cult-card:hover { border-color: var(--c-burgundy); box-shadow: 0 6px 18px rgba(122,24,16,0.07); transform: translateY(-2px); }
.culture-grid .ct-eye { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-gold-text); font-weight: 700; }
.culture-grid .smi-play { color: var(--c-red, #C1121F); letter-spacing: 0; }
.culture-grid .ct-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--c-text); }
.culture-grid a.cult-card:hover .ct-title { color: var(--c-burgundy); }
.culture-grid .ct-text { font-size: 13px; color: var(--c-text-muted); line-height: 1.6; }
.culture-grid .ct-meta { font-size: 12px; color: var(--c-text-soft); margin-top: auto; padding-top: 8px; border-top: 1px solid var(--c-line-soft, var(--c-line)); font-weight: 600; }
@media (max-width: 640px) { .culture-grid { grid-template-columns: 1fr; } }
/* /end пресс Фаза 5 */

/* ====== ПРЕСС-СЛУЖБА · Фаза 6: медиапроекты (CPT cfu_media) ====== */
.media-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.media-grid-archive { grid-template-columns: repeat(3, 1fr); }
.media-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: 12px;
  overflow: hidden; text-decoration: none; color: inherit; transition: transform 120ms, box-shadow 120ms, border-color 120ms; }
.media-card:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(122,24,16,0.08); border-color: var(--c-burgundy); }
.media-card .md-img { aspect-ratio: 16/9; background: var(--c-bg-soft) center/cover no-repeat; display: flex; align-items: center; justify-content: center; }
.media-card .md-img-ph { font-family: var(--font-display); font-size: 16px; color: var(--c-line); font-weight: 700; letter-spacing: .08em; }
.media-card .md-body { padding: 12px 14px 16px; }
.media-card .md-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; line-height: 1.25; color: var(--c-text); }
.media-card:hover .md-name { color: var(--c-burgundy); }
.media-card .md-desc { font-size: 13px; color: var(--c-text-muted); line-height: 1.5; margin-top: 6px; }
/* выпуски на странице проекта */
.media-episodes { margin-top: 30px; padding-top: 24px; border-top: 2px solid var(--c-burgundy); }
.mep-item { display: flex; align-items: center; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.mep-body { flex: 1; min-width: 0; }
.mep-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--c-text); }
.mep-desc { font-size: 13px; color: var(--c-text-muted); line-height: 1.55; margin-top: 4px; }
.mep-go { flex: 0 0 auto; white-space: nowrap; }
@media (max-width: 900px) { .media-grid { grid-template-columns: repeat(2, 1fr); } .media-grid-archive { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .media-grid, .media-grid-archive { grid-template-columns: 1fr; } .mep-item { flex-direction: column; align-items: flex-start; gap: 10px; } }
/* /end пресс Фаза 6 */

/* ====== Соцссылки (глобально — событие/сообщество/герой) с лого вместо точек ====== */
.life-socials { display: flex; flex-direction: column; gap: 8px; }
.life-hero-socials { min-width: 200px; }
.life-soc { display: flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 10px; background: #fff;
  border: 1px solid var(--c-line); color: var(--c-text); text-decoration: none; font-weight: 600; font-size: 14px; transition: all 120ms; }
.life-soc:hover { border-color: var(--c-gold); color: var(--c-gold-text); transform: translateX(2px); }
.life-soc .soc-ic { width: 19px; height: 19px; flex: 0 0 auto; }
.life-soc-vk .soc-ic { color: #0077FF; }
.life-soc-max .soc-ic { color: #6A39E0; }
.life-soc-telegram .soc-ic { color: #2AABEE; }
.life-soc-rutube .soc-ic { color: var(--c-red, #C1121F); }
/* Правый баннер события: лаконичный РЯД иконок с пробелами (без названий, без громоздких пилюль) */
.eb-socials { flex-direction: row; flex-wrap: wrap; gap: 10px; }
.eb-socials .life-soc { padding: 8px; border-radius: 10px; background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.18); }
.eb-socials .life-soc:hover { background: rgba(255,255,255,0.22); transform: none; }
.eb-socials .life-soc-name { display: none; }
.eb-socials .soc-ic { width: 22px; height: 22px; }
/* /end соцссылки */


/* ====== Кампус/общежития + спорт (перенесено из life в «Студентам», Фаза 7) ====== */
.dorms-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: start;
}
.dorms-content { max-width: 600px; }
.dorms-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.ds-tile {
  padding: 24px 20px;
  background: white;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ds-num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--c-gold);
  line-height: 1;
}
.ds-lbl {
  font-size: 12px;
  color: var(--c-text-muted);
  line-height: 1.4;
}
.sport-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.sp-block {
  padding: 24px 26px;
  background: white;
  border: 1px solid var(--c-line);
  border-radius: 10px;
}
.sp-block-title {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-line);
}
.sp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sp-list li {
  font-size: 13px;
  color: var(--c-text);
  line-height: 1.5;
  padding-left: 16px;
  position: relative;
}
.sp-list li::before {
  content: '·';
  position: absolute;
  left: 4px;
  color: var(--c-gold);
  font-weight: 700;
}
/* /end кампус+спорт */
@media (max-width: 860px) {
  .dorms-grid { grid-template-columns: 1fr; gap: 28px; }
  .sport-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .dorms-stats { grid-template-columns: 1fr; } }

/* ====== СТОРИС-ВИТРИНА /programs/ (Фаза 2): кружки + плеер + вау-карточки + сравнение ====== */
.edu-stories-wrap { margin: 4px 0 10px; }
.edu-stories-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.edu-stories-title span { font-size: 12px; font-weight: 400; color: var(--c-text-muted); margin-left: 8px; }
.edu-stories { display: flex; gap: 18px; overflow-x: auto; padding: 6px 2px 16px; scroll-snap-type: x mandatory; }
.edu-stories::-webkit-scrollbar { height: 6px; } .edu-stories::-webkit-scrollbar-thumb { background: var(--c-line); border-radius: 3px; }
.est { flex: 0 0 auto; width: 86px; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; cursor: pointer; scroll-snap-align: start; padding: 0; }
.est-ring { position: relative; width: 72px; height: 72px; border-radius: 50%; padding: 3px; border: 3px solid var(--c-gold); display: flex; transition: transform 120ms; }
.est:hover .est-ring { transform: scale(1.06); }
.est.seen .est-ring { border-color: var(--c-line); }
.est-ava { flex: 1; border-radius: 50%; background: var(--c-gold-soft) center/cover no-repeat; }
.est-ava-mono { display: flex; align-items: center; justify-content: center; color: var(--c-gold-text); font-weight: 800; font-size: 16px; }
.est-play { position: absolute; right: -2px; bottom: -2px; width: 24px; height: 24px; border-radius: 50%; background: var(--c-burgundy); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; border: 2px solid var(--c-bg, #fff); }
.est-label { font-size: 11.5px; color: var(--c-text-muted); text-align: center; line-height: 1.2; max-width: 86px; max-height: 2.4em; overflow: hidden; }
.estov { position: fixed; inset: 0; background: rgba(20,12,10,.88); display: none; align-items: center; justify-content: center; z-index: 90; padding: 20px; }
.estov.show { display: flex; }
.est-player { position: relative; width: 360px; max-width: 94vw; aspect-ratio: 9/16; max-height: 88vh; border-radius: 18px; overflow: hidden; background: #1c1310; display: flex; flex-direction: column; }
.est-media { flex: 1; min-height: 0; background: #000; }
.est-media iframe, .est-media video { width: 100%; height: 100%; display: block; border: 0; object-fit: cover; }
.est-extlink { display: flex; align-items: center; justify-content: center; height: 100%; color: #fff; font-weight: 700; text-decoration: none; }
.est-close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 34px; height: 34px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; border: 0; font-size: 20px; cursor: pointer; }
.est-foot { padding: 12px 14px 14px; background: #241612; }
.est-name { color: #fff; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.est-cta { display: block; width: 100%; text-align: center; background: var(--c-gold); color: #3a2410; font-weight: 800; padding: 11px; border-radius: 9px; border: 0; cursor: pointer; font-size: 13px; }
/* вау-карточка каталога */
.prog-card-cat.pcc-v2 { cursor: pointer; position: relative; }
.prog-card-cat.pcc-v2.inCmp { border-color: var(--c-gold); box-shadow: 0 0 0 2px var(--c-gold-soft); }
.pc-row1 { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2px; }
.pc-emoji { font-size: 24px; line-height: 1; }
.pc-inst { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--c-gold); background: var(--c-gold-soft); color: var(--c-gold-text); font-size: 9px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.pc-npline { font-family: var(--font-mono); font-size: 10.5px; color: var(--c-text-soft); }
.prog-card-cat.pcc-v2 .pc-name { font-size: 17px; font-weight: 800; line-height: 1.22; }
.pc-profs { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; }
.pc-profs span { font-size: 10.5px; color: var(--c-gold-text); background: var(--c-gold-soft); padding: 3px 9px; border-radius: 11px; }
.pc-bdg { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; padding: 3px 8px; border-radius: 11px; margin-left: 6px; }
.pc-bdg-hot { background: #FBE7E5; color: var(--c-red, #C1121F); }
.pc-bdg-big { background: var(--c-gold-soft); color: var(--c-gold-text); }
.pc-bdg-paid { background: var(--c-bg-soft); color: var(--c-text-muted); }
.pc-sharebar { position: relative; height: 17px; border-radius: 9px; background: var(--c-bg-soft); overflow: hidden; margin-top: 7px; }
.pc-sharebar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--c-gold); opacity: .5; }
.pc-sharebar span { position: relative; font-size: 10px; font-weight: 700; color: var(--c-gold-text); display: flex; align-items: center; justify-content: center; height: 100%; }
.pc-stud { font-size: 12px; color: var(--c-text-muted); margin-top: 6px; }
.pc-stud b { color: var(--c-text); }
.pc-foot2 { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--c-line); }
.pc-more { font-size: 12.5px; font-weight: 700; color: var(--c-burgundy); text-decoration: none; }
.pc-cmp { font-size: 12px; color: var(--c-text-muted); background: none; border: 0; cursor: pointer; padding: 0; margin-left: auto; }
.pc-cmp:hover { color: var(--c-burgundy); }
.prog-card-cat.inCmp .pc-cmp { color: var(--c-gold-text); font-weight: 700; }
.pc-tg { font-size: 12px; color: var(--c-text-soft); text-decoration: none; }
.pc-tg:hover { color: var(--c-burgundy); }
/* сравнение */
.cfu-cmpbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 80; display: none; align-items: center; gap: 14px; background: var(--c-burgundy); color: #fff; padding: 12px 20px; border-radius: 30px; box-shadow: 0 12px 32px rgba(40,10,5,.35); }
.cfu-cmpbar.show { display: flex; }
.cfu-cmpbar button { background: var(--c-gold); border: 0; color: #3a2410; font-weight: 800; padding: 9px 18px; border-radius: 18px; cursor: pointer; font-size: 13px; }
.cfu-cmpbar .cmpclear { background: none; color: rgba(255,255,255,.75); font-weight: 400; padding: 0; font-size: 12px; }
.cfu-cmpov { position: fixed; inset: 0; background: rgba(20,12,10,.7); display: none; align-items: center; justify-content: center; z-index: 95; padding: 20px; }
.cfu-cmpov.show { display: flex; }
.cfu-cmpbox { background: #fff; border-radius: 16px; max-width: 880px; width: 100%; max-height: 86vh; overflow: auto; padding: 26px 28px; position: relative; }
.cfu-cmpbox h2 { margin: 0 0 14px; font-size: 20px; color: var(--c-burgundy); font-family: var(--font-display); }
.cfu-cmptable { width: 100%; border-collapse: collapse; font-size: 13px; }
.cfu-cmptable th, .cfu-cmptable td { padding: 9px 12px; border-bottom: 1px solid var(--c-line); text-align: left; vertical-align: top; }
.cfu-cmptable th { font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--c-text-soft); font-weight: 700; width: 130px; }
.cfu-cmptable td b { color: var(--c-gold-text); font-size: 16px; }
.cmp-t { font-size: 14px; color: var(--c-text); }
.cmp-go { color: var(--c-burgundy); font-weight: 700; text-decoration: none; }
.cfu-cmpx { position: absolute; top: 14px; right: 16px; border: 0; background: none; font-size: 22px; cursor: pointer; color: var(--c-text-muted); }
@media (max-width: 560px) { .est-player { width: 94vw; } }
/* /end сторис-витрина Фаза 2 */

/* компактные фильтры каталога (Фаза 2c) */
.filter-selects { display: flex; flex-wrap: wrap; gap: 10px; flex: 1; }
.filter-select { padding: 9px 12px; border: 1px solid var(--c-line); border-radius: 8px; font: inherit; font-size: 13.5px;
  color: var(--c-text); background: #fff; max-width: 320px; min-width: 200px; }
.filter-select:focus { outline: none; border-color: var(--c-gold); }
.filter-group-selects .prog-search { flex: 1; min-width: 220px; }

/* ====== Продающие блоки страницы программы (Чему учат / Кем работать) ====== */
.program-sell-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.program-sell-card { background: var(--c-gold-soft); border-radius: 12px; padding: 18px 20px; }
.program-sell-card h2 { margin: 0 0 8px; color: var(--c-gold-text); }
.program-sell-card p { margin: 0; font-size: 14px; line-height: 1.65; color: var(--c-text); }
@media (max-width: 700px) { .program-sell-grid { grid-template-columns: 1fr; } }

/* ====== Структура из 1С (/sveden/struct/) — дерево .su-* ====== */
.su-wrap { margin-top: 10px; }
.su-bar { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0; }
.su-bar .su-search, .su-bar .emp-search { flex: 1; min-width: 220px; padding: 7px 12px; border: 1px solid var(--c-line, #e4e0d8); border-radius: 7px; font-size: 14px; }
.su-bar button { font-size: 12px; border: 1px solid var(--c-line, #e4e0d8); background: #fff; border-radius: 6px; padding: 5px 12px; cursor: pointer; }
.su-bar button:hover { background: var(--c-gold-soft, #F5EFE0); border-color: var(--c-gold, #B89C5C); }
.su-h2 { font-size: 16px; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--c-burgundy, #7A1810); padding: 8px 14px; border-radius: 7px; margin: 28px 0 14px; }
.su-cnt { background: rgba(255,255,255,.25); border-radius: 20px; padding: 1px 9px; font-size: 12px; margin-left: 6px; }
.emp-h2 .su-cnt { background: var(--c-gold-soft, #F5EFE0); color: var(--c-gold-text, #806000); }
.su-tree { display: flex; flex-direction: column; gap: 9px; }
.su-children { margin: 8px 0 4px 24px; padding-left: 16px; border-left: 2px solid var(--c-gold-soft, #F5EFE0); display: flex; flex-direction: column; gap: 8px; }
.su-card { background: #fff; border: 1px solid var(--c-line, #e4e0d8); border-radius: 10px; padding: 11px 15px; transition: .15s; }
.su-card:hover { border-color: var(--c-gold, #B89C5C); box-shadow: 0 2px 10px rgba(122,24,16,.06); }
.su-top { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.su-badge { font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 4px; color: #fff; }
.su-badge.b-edu, .dot.b-edu { background: var(--c-gold, #B89C5C); }
.su-badge.b-adm, .dot.b-adm { background: #6b6358; }
.su-badge.b-gov, .dot.b-gov { background: var(--c-burgundy, #7A1810); }
.su-badge.b-fil, .dot.b-fil { background: var(--c-red, #DA291C); }
.su-badge.b-sci, .dot.b-sci { background: #8a7340; }
.su-toggle { margin-left: auto; background: var(--c-gold-soft, #F5EFE0); border: 1px solid #e9e0c8; color: var(--c-gold-text, #806000); border-radius: 20px; font-size: 11px; font-weight: 600; padding: 2px 10px; cursor: pointer; }
.su-toggle:hover { background: var(--c-gold, #B89C5C); color: #fff; }
.su-name { display: inline-block; font-weight: 600; font-size: 15px; color: var(--c-burgundy, #7A1810); text-decoration: none; margin-bottom: 3px; }
.su-name:hover { color: var(--c-red, #DA291C); }
.su-meta { font-size: 13px; margin-bottom: 5px; }
.su-head a { color: var(--c-gold-text, #806000); text-decoration: none; font-weight: 600; }
.su-head a:hover { text-decoration: underline; }
.su-contacts { display: flex; flex-wrap: wrap; gap: 5px 14px; font-size: 12.5px; margin-bottom: 4px; }
.su-c { color: #55503f; text-decoration: none; }
a.su-c:hover { color: var(--c-burgundy, #7A1810); }
.su-pol { color: var(--c-burgundy, #7A1810); font-weight: 600; }
.su-node.collapsed > .su-children { display: none; }
.su-row { display: flex; align-items: center; gap: 8px; padding: 6px 10px; background: #fff; border: 1px solid #eee7db; border-radius: 7px; font-size: 13.5px; }
.su-row:hover { border-color: var(--c-gold, #B89C5C); }
.su-row .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 auto; }
.r-name { color: var(--c-burgundy, #7A1810); text-decoration: none; font-weight: 600; }
.r-name:hover { color: var(--c-red, #DA291C); }
.r-head { color: var(--c-muted, #8a8276); }
.r-head a { color: var(--c-gold-text, #806000); text-decoration: none; }
.r-head a:hover { text-decoration: underline; }
.su-empty { color: var(--c-muted, #8a8276); font-style: italic; }

/* ====== Сотрудники из 1С (/sveden/employees/) — .emp-* ====== */
.emp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 16px 0; }
.emp-stat { background: var(--c-gold-soft, #F5EFE0); border-radius: 10px; padding: 14px 16px; text-align: center; }
.emp-stat b { display: block; font-size: 26px; color: var(--c-burgundy, #7A1810); }
.emp-stat span { font-size: 12.5px; color: var(--c-gold-text, #806000); }
.emp-note { font-size: 12.5px; color: var(--c-muted, #8a8276); }
.emp-h2 { font-size: 15px; color: var(--c-burgundy, #7A1810); margin: 24px 0 10px; border-bottom: 2px solid var(--c-gold, #B89C5C); padding-bottom: 5px; }
.emp-tablewrap { overflow-x: auto; }
.emp-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.emp-table th { text-align: left; background: var(--c-gold-soft, #F5EFE0); color: var(--c-gold-text, #806000); padding: 7px 10px; }
.emp-table td { padding: 6px 10px; border-bottom: 1px solid #f0ece3; vertical-align: top; }
.emp-table a { color: var(--c-burgundy, #7A1810); text-decoration: none; font-weight: 600; }
.emp-table a:hover { color: var(--c-red, #DA291C); }
@media (max-width: 700px) { .su-children { margin-left: 10px; padding-left: 8px; } }

/* педсостав по программам (перенос cfuv) */
.emp-h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-gold-text, #806000); margin: 18px 0 8px; }
.emp-year { font-size: 11.5px; color: var(--c-muted, #8a8276); }

/* callout-ссылки на крупные разделы (международная/инклюзивное) */
.extra-callout { margin: 0 0 18px; }
.extra-callout a { display: inline-block; background: var(--c-gold-soft, #F5EFE0); border: 1px solid var(--c-gold, #B89C5C); border-radius: 10px; padding: 12px 18px; color: var(--c-burgundy, #7A1810); font-weight: 600; text-decoration: none; }
.extra-callout a:hover { background: var(--c-gold, #B89C5C); color: #fff; }
/* таблица общежитий в /sveden/grants/ (приказ № 920) */
.sv-dorm-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 12px 0; }
.sv-dorm-table td { border: 1px solid var(--c-line, #e4e0d8); padding: 8px 12px; vertical-align: top; }
.sv-dorm-table td:first-child { background: var(--c-gold-soft, #F5EFE0); width: 55%; }

/* «Раздел в разработке» — заглушка (выпускники/партнёры) */
.dev-stub { max-width: 640px; margin: 40px auto; text-align: center; padding: 40px 24px; background: var(--c-gold-soft, #F5EFE0); border: 1px solid var(--c-line, #e4e0d8); border-radius: 16px; }
.dev-stub-ic { font-size: 54px; line-height: 1; margin-bottom: 12px; }
.dev-stub-title { font-size: 28px; color: var(--c-burgundy, #7A1810); margin: 6px 0 14px; }
.dev-stub-text { font-size: 15px; line-height: 1.7; color: var(--c-text, #1a1a1a); margin: 0 auto 22px; max-width: 520px; }
.dev-stub-btn { display: inline-block; }

/* ====== Витрина программ ДПО (интернет-магазин) ====== */
.dpo-store { }
.dpo-filters { margin-bottom: 18px; }
.dpo-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.dpo-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line, #e4e0d8); border-radius: 14px; padding: 16px 18px; transition: .15s; }
.dpo-card:hover { border-color: var(--c-gold, #B89C5C); box-shadow: 0 4px 16px rgba(122,24,16,.07); transform: translateY(-2px); }
.dpoc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.dpoc-emoji { font-size: 26px; line-height: 1; }
.dpoc-type { font-size: 11px; font-weight: 700; letter-spacing: .03em; padding: 3px 9px; border-radius: 20px; }
.dpoc-type-pp { background: var(--c-burgundy, #7A1810); color: #fff; }
.dpoc-type-pk { background: var(--c-gold-soft, #F5EFE0); color: var(--c-gold-text, #806000); }
.dpoc-name { font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--c-burgundy, #7A1810); margin-bottom: 6px; }
.dpoc-dir { font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: var(--c-gold-text, #806000); margin-bottom: 8px; }
.dpoc-aud { font-size: 13px; line-height: 1.55; color: var(--c-text, #1a1a1a); margin-bottom: 10px; }
.dpoc-aud b { color: var(--c-burgundy, #7A1810); }
.dpoc-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 12.5px; color: #55503f; margin-bottom: 8px; }
.dpoc-unit { font-size: 12px; color: var(--c-muted, #8a8276); margin-bottom: 12px; }
.dpoc-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid #f0ece3; }
.dpoc-btn { flex: 1; text-align: center; background: var(--c-gold, #B89C5C); color: #fff; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 8px; text-decoration: none; }
.dpoc-btn:hover { background: var(--c-gold-dark, #9A7E3E); }
.dpoc-cmp { background: none; border: 1px solid var(--c-line, #e4e0d8); border-radius: 8px; font-size: 12px; color: var(--c-muted, #8a8276); padding: 7px 10px; cursor: pointer; white-space: nowrap; }
.dpoc-cmp:hover, .dpoc-cmp.on { border-color: var(--c-gold, #B89C5C); color: var(--c-burgundy, #7A1810); }
.dpo-empty { color: var(--c-muted, #8a8276); font-style: italic; }
@media (max-width: 600px) { .dpo-cards-grid { grid-template-columns: 1fr; } }
.dpoc-desc { font-size: 13px; line-height: 1.6; color: var(--c-text, #1a1a1a); margin-bottom: 10px; }
