* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --brand-navy: #1c2a50;
  /* Единые горизонтальные поля: шапка, герой, лист, футер */
  --page-inline-pad: clamp(16px, 4vw, 180px);
  --sheet-inset: var(--page-inline-pad);
  /* Горизонтальные поля как у футера и листа (единый отступ) */
  --sheet-pad-x: var(--sheet-inset);
  /* Ширина текстовой колонки листа (#floating-bio, секции, подвал) */
  --sheet-content-max: 1100px;
  /* Вертикальные отступы секций внутри #floating-sheet — единые для всех блоков */
  --sheet-section-pad-y: clamp(40px, 5vw, 56px);

  /* Тема листа (светлая по умолчанию в CSS; активная тема — через data-sheet-theme в JS) */
  --sheet-shell-bg: #f7f7f5;
  --sheet-shell-shadow: 0 -24px 80px rgba(0, 0, 0, 0.22);
  --sheet-title-color: #1a1a1a;
  --sheet-intro-color: #404040;
  --sheet-link-color: #1a1a1a;
  --footer-bg: #1c2a50;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background-color: #000;
  overflow-x: hidden;
  font-family: 'Raleway', sans-serif;
}

/* ——— Шапка как на слайде PDF ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: clamp(16px, 2.5vw, 28px) var(--sheet-pad-x);
  pointer-events: none;
  isolation: isolate;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 3vw, 32px);
  width: 100%;
  max-width: var(--sheet-content-max);
  margin-inline: auto;
  pointer-events: none;
}

/* Подложка под меню: появляется вместе с тёмным текстом на светлом листе */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: none;
  transition:
    background-color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header--on-light::before {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(28, 42, 80, 0.1);
  box-shadow: 0 8px 24px rgba(28, 42, 80, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before {
    transition-duration: 0.05s;
  }
}

.site-header__inner > * {
  position: relative;
  z-index: 1;
}

.site-header a,
.site-header button {
  pointer-events: auto;
}

.site-logo {
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-navy);
  text-decoration: none;
  text-shadow: none;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.8vw, 28px);
}

.site-nav a {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  color: var(--brand-navy);
  text-decoration: none;
  text-shadow: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover {
  color: #0f182e;
}

.site-nav__item--dropdown {
  position: relative;
}

.site-nav__item--dropdown > a {
  display: inline-block;
}

.site-nav__submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  min-width: 220px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: rgba(9, 18, 34, 0.9);
  border: 1px solid rgba(158, 197, 255, 0.28);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(2, 8, 18, 0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease;
}

.site-nav__item--dropdown:hover .site-nav__submenu,
.site-nav__item--dropdown:focus-within .site-nav__submenu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-nav__submenu a {
  display: block;
  padding: 10px 18px;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  color: rgba(236, 244, 255, 0.96);
  text-shadow: none;
  white-space: nowrap;
}

.site-nav__submenu a:hover {
  color: #fff;
  background: rgba(158, 197, 255, 0.18);
}

.site-nav__submenu a[aria-current="page"] {
  font-weight: 700;
  background: rgba(158, 197, 255, 0.26);
}

.site-header--on-light .site-nav__submenu {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(28, 42, 80, 0.16);
  box-shadow: 0 12px 36px rgba(28, 42, 80, 0.12);
}

.site-header--on-light .site-nav__submenu a {
  color: var(--brand-navy);
}

.site-header--on-light .site-nav__submenu a:hover {
  color: #0f182e;
  background: rgba(28, 42, 80, 0.08);
}

.site-header--on-light .site-nav__submenu a[aria-current="page"] {
  background: rgba(28, 42, 80, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .activity-section__subnav a::after {
    transition: none;
  }

  .site-nav__submenu {
    transition: none;
  }
}

.site-header__end {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(10px, 1.4vw, 16px);
  flex-shrink: 0;
}

.site-header__social {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
  transition: opacity 0.2s ease;
}

.site-header__social:hover {
  opacity: 0.88;
}

.site-header__social:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 3px;
}

.site-header__social-icon {
  display: block;
  width: clamp(20px, 2.2vw, 24px);
  height: clamp(20px, 2.2vw, 24px);
  object-fit: contain;
  filter: none;
  opacity: 1;
}

.site-header__social:hover .site-header__social-icon {
  opacity: 1;
}

.site-lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.site-lang,
.site-lang-switcher__toggle {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 600;
  color: var(--brand-navy);
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  text-shadow: none;
  flex-shrink: 0;
}

.site-lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px 6px 10px;
  max-width: min(12rem, 42vw);
}

.site-lang-switcher__flag {
  display: block;
  width: 20px;
  height: 14px;
  flex-shrink: 0;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(28, 42, 80, 0.12);
}

.site-lang-switcher__name {
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 6.5em;
}

.site-lang-switcher__chevron {
  flex-shrink: 0;
  margin-inline-start: 2px;
  transition: transform 0.2s ease;
}

.site-lang-switcher.is-open .site-lang-switcher__chevron {
  transform: rotate(180deg);
}

.site-lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  z-index: 120;
  min-width: 12.5rem;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 12px 36px rgba(28, 42, 80, 0.14);
  border: 1px solid rgba(28, 42, 80, 0.08);
}

.site-lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 1.05vw, 15px);
  font-weight: 500;
  color: var(--brand-navy);
  text-align: start;
}

.site-lang-switcher__option-name {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
}

.site-lang-switcher__option:hover {
  background: rgba(28, 42, 80, 0.08);
  color: #0f182e;
}

.site-lang-switcher__option.is-active {
  background: rgba(28, 42, 80, 0.12);
  font-weight: 600;
}

.site-lang-switcher__option:focus-visible,
.site-lang-switcher__toggle:focus-visible,
.site-lang:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 3px;
}

.site-lang:hover,
.site-lang-switcher__toggle:hover {
  color: #0f182e;
}

.site-theme {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 600;
  line-height: 1;
  color: var(--brand-navy);
  background: transparent;
  border: none;
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 2.25em;
  cursor: pointer;
  text-shadow: none;
  flex-shrink: 0;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-theme:hover {
  color: #0f182e;
}

.site-theme:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 3px;
}

.site-menu-toggle {
  display: none;
  width: 32px;
  height: 26px;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--brand-navy);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.site-menu-toggle__line {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

/* Шапка на светлом листе — тот же фирменный синий */
.site-header--on-light .site-logo,
.site-header--on-light .site-nav a {
  color: var(--brand-navy);
  text-shadow: none;
}

.site-header--on-light .site-nav a:hover {
  color: #0f182e;
}

.site-header--on-light .site-lang,
.site-header--on-light .site-lang-switcher__toggle {
  color: var(--brand-navy);
  border: none;
  background: transparent;
  text-shadow: none;
}

.site-header--on-light .site-lang:hover,
.site-header--on-light .site-lang-switcher__toggle:hover {
  color: #0f182e;
}

.site-header--on-light .site-lang-switcher__menu {
  background: #fff;
  border-color: rgba(28, 42, 80, 0.1);
}

.site-header--on-light .site-lang-switcher__option {
  color: var(--brand-navy);
}

.site-header--on-light .site-theme {
  color: var(--brand-navy);
  border: none;
  text-shadow: none;
  background: transparent;
}

.site-header--on-light .site-theme:hover {
  color: #0f182e;
}

.site-header--on-light .site-theme:focus-visible {
  outline-color: #1c2a50;
}

.site-header--on-light .site-header__social:focus-visible {
  outline-color: #1c2a50;
}

.site-header--on-light .site-header__social-icon {
  filter: none;
  opacity: 1;
}

.site-header--on-light .site-header__social:hover {
  opacity: 0.78;
}

@media (max-width: 720px) {
  .site-nav {
    display: none;
  }

  .site-header__social {
    display: none;
  }

  .site-menu-toggle {
    display: inline-flex;
  }

  .site-header.site-header--menu-open .site-nav {
    position: absolute;
    top: calc(100% + 8px);
    left: var(--sheet-pad-x);
    right: var(--sheet-pad-x);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(28, 42, 80, 0.12);
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(28, 42, 80, 0.18);
  }

  .site-header.site-header--menu-open .site-nav > a,
  .site-header.site-header--menu-open .site-nav > .site-nav__item > a {
    display: block;
    width: 100%;
    padding: 10px 6px;
  }

  .site-header.site-header--menu-open .site-nav__item--dropdown {
    width: 100%;
  }

  .site-header.site-header--menu-open .site-nav__item--dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-header.site-header--menu-open .site-nav__item--dropdown > a::after {
    content: "▾";
    font-size: 12px;
    opacity: 0.72;
  }

  .site-header.site-header--menu-open .site-nav__item--dropdown .site-nav__submenu {
    position: static;
    top: auto;
    left: auto;
    transform: none;
    min-width: 0;
    width: 100%;
    margin: 2px 0 6px;
    padding: 0 0 0 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none;
  }

  .site-header.site-header--menu-open .site-nav__item--dropdown.is-open .site-nav__submenu {
    display: block;
  }

  .site-header.site-header--menu-open .site-nav__item--dropdown .site-nav__submenu a {
    padding: 8px 6px;
    font-size: 13px;
    color: var(--brand-navy);
    white-space: normal;
  }

  .site-header {
    justify-content: space-between;
  }

  body.bio-page .site-header--bio-hero:not(.site-header--on-light) {
    padding-top: calc(env(safe-area-inset-top, 0px) + clamp(14px, 3vw, 24px));
  }
}

/* ——— Выезжающий слайд поверх видео ——— */
.floating-sheet {
  --sheet-pad-x: var(--sheet-inset);
  --sheet-pad-y: var(--sheet-section-pad-y);

  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 6;
  max-height: none;
  height: auto;
  background: var(--sheet-shell-bg);
  border-radius: clamp(16px, 2vw, 28px) clamp(16px, 2vw, 28px) 0 0;
  box-shadow: var(--sheet-shell-shadow);
  overflow: visible;
  pointer-events: auto;
  will-change: auto;
  margin-top: clamp(28px, 5vw, 56px);
}

.floating-sheet--interactive {
  pointer-events: auto;
}

.sheet-section__inner {
  max-width: var(--sheet-content-max);
  margin: 0 auto;
  width: 100%;
}

.floating-sheet__bio-region {
  position: relative;
  padding: var(--sheet-pad-y) var(--sheet-pad-x);
}

/* Якоря внутри листа: отступ под фиксированный site-header при scrollIntoView */
#floating-sheet #floating-bio,
#floating-sheet #activity-heading,
#floating-sheet #activity-charity,
#floating-sheet #activity-sport,
#floating-sheet #activity-business,
#floating-sheet #activity-public,
#floating-sheet #news,
#floating-sheet #media,
#floating-sheet #smi {
  scroll-margin-top: clamp(56px, 10vw, 88px);
}

/* Больше воздуха у блока биографии в листе */
#floating-sheet #floating-bio {
  padding-top: clamp(18px, 2.8vw, 34px);
  padding-bottom: clamp(18px, 2.8vw, 34px);
}

.sheet-block__title {
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 clamp(20px, 3vw, 32px);
}

.sheet-block__title--dark {
  color: var(--sheet-title-color);
}

.sheet-block__intro {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.35vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  max-width: min(36rem, 100%);
  margin: 0 0 clamp(24px, 4vw, 36px);
}

.sheet-block__intro--dark {
  color: var(--sheet-intro-color);
}

.sheet-block__intro--bio-first {
  margin-bottom: clamp(12px, 2vw, 20px);
}

/* Текст биографии на всю ширину колонки (без max-width 36rem) */
.floating-sheet__bio .sheet-block__intro {
  max-width: none;
  width: 100%;
}

/* Биография: синие оттенки */
.floating-sheet__bio {
  --bio-blue-title: #1c2a50;
  --bio-blue-body: #4a5a78;
  --bio-blue-link: #2a3f6e;
  --bio-link-hover: #1c2a50;
}

.floating-sheet__bio .sheet-block__title--dark {
  color: var(--bio-blue-title);
}

.floating-sheet__bio .sheet-block__intro--dark {
  color: var(--bio-blue-body);
}

.floating-sheet__bio .sheet-block__link--dark {
  color: var(--bio-blue-link);
}

.floating-sheet__bio .sheet-block__link--dark:hover {
  opacity: 1;
  color: var(--bio-link-hover, #1c2a50);
}

.sheet-block__intro--accent {
  color: var(--activity-accent);
}

.sheet-block__link {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.15vw, 15px);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: opacity 0.2s ease;
}

.sheet-block__link--dark {
  color: var(--sheet-link-color);
}

.sheet-block__link--dark:hover {
  opacity: 0.7;
}

#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#preloader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader-text {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 24px;
  font-weight: 600;
}

/* Задаёт длину скролла для ScrollTrigger; горизонтальные поля = сетка листа (как у секций) */
.scroll-container {
  display: none;
}

#hero-canvas,
#hero-video {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  z-index: 0;
}

#hero-static-background {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  background: no-repeat center / cover url("assets/backgrounds/backgroundmain.webp");
}

#hero-video {
  object-fit: cover;
  object-position: center top;
  pointer-events: none;
}

.hero-overlay {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  padding: clamp(72px, 12vh, 120px) var(--sheet-pad-x) clamp(24px, 4vh, 48px);
  box-sizing: border-box;
  text-align: start;
  z-index: 5;
  pointer-events: none;
  isolation: isolate;
}

.hero-overlay__inner {
  width: 100%;
  max-width: var(--sheet-content-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
}

.hero-overlay__inner > * {
  position: relative;
  z-index: 1;
}

.hero-mobile-module {
  display: none;
}

@media (max-width: 760px) and (orientation: portrait) {
  :root {
    --hero-mobile-lift: 280px;
  }

  #hero-static-background {
    /* Фиксированное положение для мобильной книжной ориентации */
    background-position: calc(50% - 250px) center;
  }

  .hero-overlay {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0;
  }

  .hero-overlay__inner {
    display: none;
  }

  .hero-mobile-module {
    display: block;
    margin: 0 0 clamp(14px, 4vw, 18px);
    position: relative;
    z-index: 2;
  }

  .hero-mobile-module__inner {
    max-width: min(440px, 100%);
  }

  .hero-mobile-module__title {
    margin: 0 0 10px;
    font-family: 'Alumni Sans', sans-serif;
    font-size: clamp(56px, 14vw, 84px);
    font-weight: 500;
    line-height: 0.9;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #ffffff;
  }

  .hero-mobile-module__subtitle {
    margin: 0 0 16px;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(14px, 3.6vw, 16px);
    line-height: 1.45;
    color: #ffffff;
  }

  .hero-mobile-module__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.48rem 1.2rem;
    border: 2px solid #ffffff;
    border-radius: 999px;
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    font-family: 'Raleway', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  html[data-sheet-theme="light"] .hero-mobile-module__title {
    color: #1c2a50;
  }

  html[data-sheet-theme="light"] .hero-mobile-module__subtitle {
    color: #1c2a50;
  }

  html[data-sheet-theme="light"] .hero-mobile-module__btn {
    color: #1c2a50;
    border-color: #1c2a50;
    background: rgba(255, 255, 255, 0.55);
  }

  .floating-sheet__bio-region {
    margin-top: calc(-1 * var(--hero-mobile-lift));
  }
}

.hero-title {
  font-family: 'Alumni Sans', sans-serif;
  /* Плавно от телефона до десктопа: vw + vh, без слишком большого минимума на узких экранах */
  font-size: clamp(2.75rem, 4.5vw + 4.5vh, 13.5rem);
  font-weight: 500;
  color: var(--brand-navy);
  text-align: start;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.9;
  margin: 0 0 clamp(12px, 2.2vmin, 28px);
  width: 100%;
  max-width: none;
  text-shadow: none;
}

.hero-subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.875rem, 2.1vw + 0.45vh, 1.28rem);
  font-weight: 400;
  color: var(--brand-navy);
  text-align: start;
  line-height: 1.45;
  width: 100%;
  max-width: min(36rem, 100%);
  margin: 0 0 clamp(1rem, 3.5vh, 2.5rem);
  opacity: 1;
  text-shadow: none;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  align-self: start;
  margin-inline: 0;
  min-height: 44px;
  padding: 0.5rem clamp(1.1rem, 3.5vw + 0.5rem, 1.85rem);
  border: 2px solid var(--brand-navy);
  color: var(--brand-navy);
  text-decoration: none;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(0.68rem, 0.85vw + 0.28vh, 0.84rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: clamp(0.07em, 0.35vw, 0.14em);
  border-radius: 999px;
  cursor: pointer;
  pointer-events: all;
  background-color: transparent;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease;
  text-shadow: none;
  box-shadow: none;
}

.hero-btn:hover {
  background-color: rgba(28, 42, 80, 0.08);
  color: #0f182e;
  border-color: #0f182e;
}

.hero-btn:active {
  background-color: rgba(28, 42, 80, 0.14);
  transform: translateY(1px);
}

.hero-btn:focus-visible {
  outline: 2px solid var(--brand-navy);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-btn {
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  }

  .hero-btn:active {
    transform: none;
  }
}

/* ——— Деятельность (внутри листа, сразу под биографией) ——— */
.activity-section {
  --activity-accent: #1c2a50;
  --activity-bg: #0e1a3d;
  --activity-muted: #4a5a78;
  --activity-inline-pad: 0px;

  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 14%, rgba(110, 154, 255, 0.16), transparent 32%),
    radial-gradient(circle at 85% 18%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, #122451 0%, #0e1a3d 45%, #0a1330 100%);
  color: var(--activity-accent);
  --sheet-pad-x: var(--sheet-inset);
  padding: var(--sheet-pad-y) var(--sheet-pad-x);
  margin: 0;
}

.activity-section__bg {
  display: none;
}

.activity-section__bg-overlay {
  display: none;
}

.activity-section__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--sheet-content-max);
  margin: 0 auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.activity-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(28, 42, 80, 0.18) 15%,
    rgba(28, 42, 80, 0.18) 85%,
    transparent
  );
  pointer-events: none;
}

.activity-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: clamp(18px, 3vw, 40px);
  margin-bottom: clamp(22px, 3vw, 34px);
  padding-inline: 0;
}

.activity-section__heading-copy {
  display: grid;
  gap: 14px;
}

.activity-section__title {
  margin: 0;
  color: var(--sheet-title-color);
  letter-spacing: 0.03em;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
}

#activity-heading {
  scroll-margin-top: 96px;
}

.activity-section__all {
  flex-shrink: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  text-decoration: none;
  color: var(--activity-accent);
  padding: 12px 28px;
  border: 1px solid var(--activity-accent);
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.activity-section__all:hover {
  background-color: var(--activity-accent);
  color: #fff;
}

.activity-section__subnav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(12px, 1.4vw, 18px);
  width: 100%;
  padding-bottom: 0;
  border-bottom: none;
}

.activity-section__subnav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(46px, 5vw, 56px);
  padding: clamp(12px, 1.2vw, 14px) clamp(20px, 2.8vw, 30px);
  margin-bottom: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.15vw, 16px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.56);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.activity-section__subnav a::after {
  content: none;
  display: none;
}

.activity-section__subnav a:hover,
.activity-section__subnav a:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-1px);
}

.activity-section__intro {
  margin: 0;
  max-width: min(44rem, 100%);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  color: rgba(228, 236, 255, 0.94);
  font-weight: 400;
}

.activity-section__hint {
  display: none;
}

.activity-universe {
  display: grid;
  gap: clamp(18px, 2.6vw, 28px);
}

.activity-universe__controls {
  display: none;
}

.activity-universe__control {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(240, 234, 225, 0.9);
  border-radius: 999px;
  padding: 12px 18px;
  min-height: 48px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.activity-universe__control:hover,
.activity-universe__control:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(212, 189, 150, 0.26);
  background: rgba(212, 189, 150, 0.08);
}

.activity-universe__control:focus-visible {
  outline: 2px solid rgba(212, 189, 150, 0.42);
  outline-offset: 3px;
}

.activity-universe__control.is-active {
  color: #1d1712;
  background: linear-gradient(135deg, #e2caa4, #c5a06d);
  border-color: transparent;
  box-shadow: 0 14px 28px rgba(197, 160, 109, 0.24);
}

.activity-universe__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2vw, 26px);
  align-items: stretch;
  padding-inline: 0;
}

.activity-universe__viewport {
  position: relative;
  min-height: clamp(460px, 64vh, 720px);
  overflow: hidden;
  border-radius: clamp(28px, 3vw, 36px);
  background:
    radial-gradient(circle at 20% 18%, rgba(212, 189, 150, 0.11), transparent 30%),
    radial-gradient(circle at 78% 78%, rgba(127, 166, 255, 0.12), transparent 28%),
    linear-gradient(140deg, rgba(20, 37, 78, 0.98), rgba(13, 25, 57, 0.98) 48%, rgba(10, 19, 43, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -1px 0 rgba(255, 255, 255, 0.02),
    0 26px 56px rgba(0, 0, 0, 0.24);
}

.activity-universe__viewport::before,
.activity-universe__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.activity-universe__viewport::before {
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(255, 255, 255, 0.03) 28.5%, transparent 29.5%),
    linear-gradient(145deg, transparent 0 58%, rgba(255, 255, 255, 0.025) 58.5%, transparent 59.2%),
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.06), transparent 34%),
    radial-gradient(circle at 76% 64%, rgba(255, 255, 255, 0.04), transparent 30%);
  opacity: 1;
}

.activity-universe__viewport::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.16)),
    radial-gradient(circle at center, transparent 40%, rgba(5, 8, 12, 0.2) 100%);
}

.activity-universe__editorial {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 18px);
  width: 100%;
  min-height: inherit;
  padding: clamp(16px, 2vw, 24px);
}

.activity-direction-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 0fr;
  overflow: hidden;
  border-radius: clamp(18px, 2vw, 24px);
  background:
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(16, 31, 69, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 14px 30px rgba(0, 0, 0, 0.16);
  transition:
    transform 0.35s ease,
    grid-template-rows 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background-color 0.35s ease;
}

.activity-direction-card.is-active {
  grid-column: span 2;
  grid-template-rows: auto minmax(0, 1fr);
  align-self: stretch;
  min-height: 0;
  border-color: rgba(212, 189, 150, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 44px rgba(0, 0, 0, 0.24);
  background:
    linear-gradient(150deg, rgba(212, 189, 150, 0.12), rgba(255, 255, 255, 0.03) 42%),
    rgba(255, 255, 255, 0.04);
  overflow-x: hidden;
  overflow-y: auto;
}

.activity-universe:not([data-state="overview"]) .activity-universe__editorial {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  align-items: stretch;
}

.activity-universe:not([data-state="overview"]) .activity-direction-card.is-dimmed {
  display: none;
}

.activity-universe:not([data-state="overview"]) .activity-direction-card.is-active {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: 100%;
  max-height: none;
}

.activity-direction-card.is-active .activity-direction-card__summary {
  flex-shrink: 0;
}

.activity-direction-card.is-active .activity-direction-card__description {
  overflow: visible;
  text-overflow: unset;
  white-space: normal;
}

.activity-direction-card.is-dimmed {
  opacity: 0.56;
}

.activity-direction-card__summary {
  width: 100%;
  border: 1px solid transparent;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  text-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(18px, 2vw, 24px);
  cursor: pointer;
  transition:
    background-color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.activity-direction-card__summary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.activity-direction-card.is-active .activity-direction-card__summary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.activity-direction-card__summary:focus-visible {
  outline: 2px solid rgba(212, 189, 150, 0.5);
  outline-offset: -2px;
}

.activity-direction-card__title {
  margin: 0;
  width: 100%;
  font-family: 'Alumni Sans', sans-serif;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: inherit;
  color: #f5efe5;
}

.activity-direction-card__description {
  margin: 10px 0 0;
  width: 100%;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 0.95vw, 15px);
  line-height: 1.6;
  text-align: inherit;
  color: rgba(255, 255, 255, 0.94);
}

.activity-direction-card__body {
  min-height: 0;
  overflow: hidden;
}

.activity-direction-card__body-inner {
  padding: 0 clamp(18px, 2vw, 24px) clamp(18px, 2vw, 22px);
  display: grid;
  gap: 14px;
}

.activity-direction-card.is-active .activity-direction-card__body-inner {
  padding-top: clamp(10px, 1.6vw, 18px);
}

.activity-direction-card__logos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}

.activity-direction-card__logo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
  border: none;
  border-radius: 0;
  padding: clamp(6px, 0.8vw, 10px) 2px clamp(4px, 0.6vw, 8px);
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  overflow: visible;
  gap: 0;
  transition: outline-color 0.2s ease;
}

.activity-direction-card__logo:hover,
.activity-direction-card__logo:focus-visible {
  background: transparent;
  box-shadow: none;
}

.activity-direction-card__logo:focus-visible {
  outline: 2px solid rgba(212, 189, 150, 0.62);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Стеклянная плашка под логотипом: главная «Деятельность» + внутренние страницы */
.activity-direction-card__logo-media,
.activity-charity-premium__logo-link,
.activity-sport-premium__logo-link,
.activity-business-premium__logo-link,
.activity-public-premium__logo-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(14px, 1.6vw, 20px) clamp(18px, 2vw, 28px);
  border-radius: clamp(16px, 1.6vw, 22px);
  border: 1px solid transparent;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-decoration: none;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    backdrop-filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-origin: center center;
}

.activity-direction-card__logo-media {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.activity-direction-card__logo-media::before,
.activity-charity-premium__logo-link::before,
.activity-sport-premium__logo-link::before,
.activity-business-premium__logo-link::before,
.activity-public-premium__logo-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.08) 38%,
    transparent 58%
  );
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-direction-card__logo:hover .activity-direction-card__logo-media,
.activity-direction-card__logo:focus-visible .activity-direction-card__logo-media,
.activity-charity-premium__logo-link:hover,
.activity-charity-premium__logo-link:focus-visible,
.activity-sport-premium__logo-link:hover,
.activity-sport-premium__logo-link:focus-visible,
.activity-business-premium__logo-link:hover,
.activity-business-premium__logo-link:focus-visible,
.activity-public-premium__logo-link:hover,
.activity-public-premium__logo-link:focus-visible {
  transform: scale(1.06);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 255, 255, 0.1) 42%,
    rgba(255, 255, 255, 0.06) 100%
  );
  border-color: rgba(255, 255, 255, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 12px 32px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px) saturate(1.25);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
}

.activity-direction-card__logo:hover .activity-direction-card__logo-media::before,
.activity-direction-card__logo:focus-visible .activity-direction-card__logo-media::before,
.activity-charity-premium__logo-link:hover::before,
.activity-charity-premium__logo-link:focus-visible::before,
.activity-sport-premium__logo-link:hover::before,
.activity-sport-premium__logo-link:focus-visible::before,
.activity-business-premium__logo-link:hover::before,
.activity-business-premium__logo-link:focus-visible::before,
.activity-public-premium__logo-link:hover::before,
.activity-public-premium__logo-link:focus-visible::before {
  opacity: 1;
}

.activity-charity-premium__logo-link img,
.activity-sport-premium__logo-link img,
.activity-business-premium__logo-link img,
.activity-public-premium__logo-link img {
  position: relative;
  z-index: 1;
  display: block;
  height: auto;
  object-fit: contain;
}

.activity-direction-card__logo-caption {
  display: block;
  font-size: clamp(12px, 0.9vw, 14px);
  line-height: 1.5;
  color: rgba(224, 234, 255, 0.86);
  text-align: center;
  max-height: 0;
  margin-top: 0;
  padding-inline: 4px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 0.32s ease,
    opacity 0.26s ease,
    margin-top 0.26s ease;
}

.activity-direction-card__logo:hover .activity-direction-card__logo-caption,
.activity-direction-card__logo:focus-visible .activity-direction-card__logo-caption {
  max-height: 12em;
  margin-top: 10px;
  opacity: 1;
}

.activity-direction-card__logo img {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: 100%;
  max-height: clamp(68px, 8vw, 96px);
  object-fit: contain;
  transition: filter 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.activity-direction-card__logo:hover img,
.activity-direction-card__logo:focus-visible img {
  filter: brightness(1.03);
}

.activity-direction-card__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.activity-direction-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: 999px;
  padding: 8px 14px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(233, 240, 255, 0.94);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.activity-direction-card__link:hover,
.activity-direction-card__link:focus-visible {
  background: rgba(212, 189, 150, 0.14);
  border-color: rgba(212, 189, 150, 0.28);
}

.activity-direction-card__link:focus-visible {
  outline: 2px solid rgba(212, 189, 150, 0.45);
  outline-offset: 2px;
}

.activity-universe[data-state="overview"] .activity-direction-card {
  grid-template-rows: auto 0fr;
}

.activity-universe[data-state="overview"] .activity-direction-card.is-dimmed {
  opacity: 1;
}

@media (max-width: 1120px) {
  .activity-section__head {
    grid-template-columns: 1fr;
  }

  .activity-universe__layout {
    grid-template-columns: 1fr;
  }

  .activity-direction-card.is-active {
    grid-column: span 1;
  }
}

@media (max-width: 900px) {
  .activity-universe__viewport {
    min-height: clamp(420px, 56vh, 560px);
  }

  .activity-universe__editorial {
    grid-template-columns: 1fr;
  }

  .activity-direction-card__logos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .activity-section__head,
  .activity-universe__layout {
    padding-inline: 0;
  }

  .activity-universe__viewport {
    min-height: 390px;
    border-radius: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .activity-direction-card,
  .activity-universe__control,
  .activity-direction-card__logo,
  .activity-direction-card__logo-media,
  .activity-charity-premium__logo-link,
  .activity-sport-premium__logo-link,
  .activity-business-premium__logo-link,
  .activity-public-premium__logo-link,
  .activity-direction-card__logo-caption,
  .activity-direction-card__logo img {
    transition: none;
  }

  .activity-direction-card__logo:hover .activity-direction-card__logo-media,
  .activity-direction-card__logo:focus-visible .activity-direction-card__logo-media,
  .activity-charity-premium__logo-link:hover,
  .activity-charity-premium__logo-link:focus-visible,
  .activity-sport-premium__logo-link:hover,
  .activity-sport-premium__logo-link:focus-visible,
  .activity-business-premium__logo-link:hover,
  .activity-business-premium__logo-link:focus-visible,
  .activity-public-premium__logo-link:hover,
  .activity-public-premium__logo-link:focus-visible {
    transform: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

}

/* Базовая плитка (article) */
.activity-card {
  display: flex;
  font-family: 'Raleway', sans-serif;
  color: var(--activity-accent);
  background: #fff;
  border: 1px solid rgba(28, 42, 80, 0.1);
  border-left: 4px solid var(--brand-navy);
  border-radius: clamp(14px, 1.6vw, 20px);
  box-shadow: none;
  transition:
    box-shadow 0.28s ease,
    transform 0.28s ease,
    border-color 0.28s ease;
}

.activity-card--peek {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  outline: none;
}

.activity-card--peek:focus-visible {
  outline: 2px solid var(--activity-accent);
  outline-offset: 2px;
}

.activity-card--peek:hover,
.activity-card--peek:focus-within {
  box-shadow: 0 12px 40px rgba(28, 42, 80, 0.1);
  transform: translateY(-2px);
  z-index: 2;
}

/* Карточки деятельности: всегда раскрыты (2×2), логотипы и текст видны без hover */
.activity-card--static {
  position: relative;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}

.activity-card--static .activity-card__surface {
  min-height: 0;
  padding: clamp(18px, 2.4vw, 24px) clamp(18px, 2.4vw, 24px) clamp(8px, 1.2vw, 12px);
  justify-content: flex-start;
}

.activity-card--static .activity-card__surface .activity-card__title {
  margin: 0 0 clamp(4px, 0.8vw, 8px);
}

.activity-card__desc {
  margin: 0;
  max-width: none;
  font-size: clamp(12px, 1vw, 14px);
  font-weight: 500;
  line-height: 1.5;
  color: var(--activity-muted, #4a5a78);
  opacity: 1;
}

.activity-card--static .activity-card__reveal {
  display: block;
}

.activity-card--static .activity-card__reveal-inner {
  overflow: visible;
  min-height: 0;
}

.activity-card--static:hover {
  box-shadow: 0 12px 40px rgba(28, 42, 80, 0.1);
  transform: translateY(-2px);
  border-color: rgba(28, 42, 80, 0.14);
  z-index: 2;
}

.activity-card--static:focus-within {
  outline: 2px solid var(--activity-accent);
  outline-offset: 2px;
}

.activity-card--static .activity-card__text {
  margin: 0;
  padding: clamp(12px, 2vw, 16px) clamp(14px, 2.2vw, 20px) 0;
  text-align: left;
}

.activity-card__logo-link--text {
  text-decoration: none;
  min-height: clamp(48px, 8vw, 72px);
}

.activity-card__logo-fallback {
  display: block;
  text-align: center;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--activity-accent);
  line-height: 1.35;
  padding-inline: 8px;
}

.activity-card__logo-link--text:hover .activity-card__logo-fallback {
  text-decoration: underline;
}

/* Видимая «крышка» — только заголовок (+ подсказка) */
.activity-card__surface {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: clamp(128px, 18vw, 168px);
  padding: clamp(18px, 3vw, 28px) clamp(14px, 2.2vw, 20px);
  text-align: center;
}

.activity-card--detailed .activity-card__surface {
  align-items: flex-start;
  text-align: left;
}

.activity-card__surface .activity-card__title {
  margin: 0;
}

.activity-card__hint {
  margin: 0;
  max-width: 16rem;
  font-size: clamp(10px, 0.9vw, 12px);
  font-weight: 500;
  line-height: 1.35;
  color: var(--activity-accent);
  opacity: 0.5;
}

/* Раскрытие: логотипы + текст + кнопка */
.activity-card__reveal {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.activity-card__reveal-inner {
  overflow: hidden;
  min-height: 0;
}

@media (hover: hover) and (pointer: fine) {
  .activity-card--peek:hover .activity-card__reveal,
  .activity-card--peek:focus-within .activity-card__reveal {
    grid-template-rows: 1fr;
  }
}

@media (hover: none), (pointer: coarse) {
  .activity-card--peek .activity-card__reveal {
    grid-template-rows: 1fr;
  }

  .activity-card__hint {
    display: none;
  }
}

/* Вертикальный столбец логотипов (друг под другом), высота по контенту — без внутреннего скролла */
.activity-card__logo-bar {
  width: 100%;
  background: rgba(28, 42, 80, 0.04);
  border-top: none;
  border-bottom: none;
  padding: clamp(10px, 1.5vw, 14px) clamp(12px, 2vw, 18px);
  overflow: hidden;
}

.activity-card__logo-bar--empty {
  display: none;
}

.activity-card__logo-track {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
  gap: clamp(8px, 1.2vw, 10px);
}

.activity-card__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;
  min-height: clamp(56px, 10vw, 88px);
  padding: clamp(10px, 1.8vw, 16px) clamp(12px, 2vw, 18px);
  background: #fff;
  text-decoration: none;
  border: 1px solid rgba(28, 42, 80, 0.08);
  border-radius: clamp(10px, 1.2vw, 14px);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.activity-card__logo-link:hover {
  background: #f7f8fc;
  border-color: rgba(28, 42, 80, 0.12);
}

.activity-card__logo-link:focus-visible {
  outline: 2px solid var(--activity-accent);
  outline-offset: -2px;
  z-index: 1;
}

.activity-card__logo-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: clamp(48px, 11vw, 76px);
  object-fit: contain;
  object-position: center;
}

.activity-card--peek .activity-card__text {
  margin: 0;
  padding: clamp(12px, 2vw, 16px) clamp(14px, 2.2vw, 20px) 0;
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--activity-accent);
  opacity: 0.9;
  text-align: left;
}

.activity-card--peek.activity-card--detailed .activity-card__text {
  text-align: left;
}

.activity-card--peek:not(.activity-card--detailed) .activity-card__text {
  text-align: center;
}

.activity-card__more {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  justify-content: center;
  margin: clamp(12px, 2vw, 16px) clamp(18px, 2.4vw, 24px) clamp(20px, 3vw, 28px);
  padding: 9px 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--activity-accent);
  text-decoration: none;
  border: none;
  border-bottom: 2px solid var(--activity-accent);
  border-radius: 0;
  background: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.activity-card--peek:not(.activity-card--detailed) .activity-card__more {
  align-self: center;
}

.activity-card__more:hover {
  color: #0f182e;
  border-bottom-color: #0f182e;
  opacity: 1;
}

.activity-card__more:focus-visible {
  outline: 2px solid var(--activity-accent);
  outline-offset: 2px;
}

.activity-card__title {
  display: block;
  font-family: 'Alumni Sans', sans-serif;
  font-size: clamp(1.1rem, 1.25vw + 0.45rem, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.activity-card__text {
  display: block;
  font-size: clamp(12px, 1.05vw, 14px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--activity-muted, #4a5a78);
  opacity: 1;
}

/* «Спорт» / «Бизнес»: те же белые карточки и полоса логотипов, что у «Благотворительности» */
.activity-card--sport,
.activity-card--business {
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.activity-card--sport.activity-card--peek:focus-visible,
.activity-card--sport.activity-card--static:focus-visible {
  outline-color: #6cb4ff;
}

.activity-card--business.activity-card--peek:focus-visible,
.activity-card--business.activity-card--static:focus-visible {
  outline-color: #ff8a80;
}

/* Единый крупный слот под логотип на раскрытых карточках (все направления) */
.activity-card--static .activity-card__logo-link {
  min-height: clamp(92px, 16vw, 118px);
  padding: clamp(16px, 2.5vw, 24px) clamp(16px, 2.5vw, 24px);
}

.activity-card--static .activity-card__logo-img {
  display: block;
  width: 100%;
  max-width: min(100%, 360px);
  height: clamp(72px, 14vw, 96px);
  max-height: 96px;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
}

/* ——— Новости (статичная заглушка, позже — вывод из CMS) ——— */
.news-section {
  --news-accent: #1c2a50;
  --news-muted: #6b6a76;
  --news-date: #9a98a8;

  background: #fff;
  padding: var(--sheet-pad-y) var(--sheet-pad-x);
  color: var(--news-accent);
}

.news-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.news-section__title {
  margin-bottom: 0;
  color: var(--news-accent);
}

.news-section__all {
  flex-shrink: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  text-decoration: none;
  color: var(--news-accent);
  padding: 12px 28px;
  border: 1px solid var(--news-accent);
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.news-section__all:hover {
  background-color: var(--news-accent);
  color: #fff;
}

.news-section__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.news-section__list > li {
  min-width: 0;
}

.news-card {
  display: grid;
  grid-template-columns: 30% minmax(0, 1fr);
  gap: clamp(12px, 1.8vw, 18px);
  align-items: center;
  height: 100%;
}

.news-card__thumb {
  display: block;
  border-radius: clamp(12px, 1.5vw, 20px);
  overflow: hidden;
  aspect-ratio: 1;
  background: #eceef3;
  flex-shrink: 0;
  width: 100%;
  align-self: center;
}

.news-card__thumb:focus-visible {
  outline: 2px solid var(--news-accent);
  outline-offset: 3px;
}

.news-card__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: clamp(10px, 1.4vw, 14px);
  min-width: 0;
  padding: 0;
  height: 100%;
}

#news .news-card__excerpt,
#news .news-card__rule {
  display: none;
}

.news-card__title {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 600;
  line-height: 1.35;
}

.news-card__title a {
  color: var(--news-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-card__title a:hover {
  opacity: 0.82;
}

.news-card__title a:focus-visible {
  outline: 2px solid var(--news-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

.news-card__excerpt {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--news-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__rule {
  border: none;
  height: 1px;
  margin: clamp(6px, 1vw, 10px) 0 clamp(8px, 1.2vw, 12px);
  background: rgba(28, 42, 80, 0.22);
}

.news-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: auto;
}

.news-card__date {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 500;
  color: var(--news-date);
}

.news-card__read {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 600;
  color: var(--news-accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.news-card__read:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.news-card__read:focus-visible {
  outline: 2px solid var(--news-accent);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 760px) {
  .news-section {
    padding-top: clamp(28px, 8vw, 36px);
    padding-bottom: clamp(30px, 9vw, 40px);
  }

  .news-section__head {
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
  }

  .news-section__title {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.92;
  }

  .news-section__all {
    padding: 9px 14px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .news-section__list {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #news .news-card__excerpt,
  #news .news-card__rule {
    display: block;
  }

  #news .news-card__excerpt {
    display: -webkit-box;
  }

  .news-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(28, 42, 80, 0.12);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 26px rgba(20, 32, 60, 0.08);
    align-items: start;
    height: auto;
  }

  .news-card__thumb {
    max-width: none;
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 16 / 9;
    align-self: start;
  }

  .news-card__main {
    gap: 8px;
    padding-top: 0;
    justify-content: flex-start;
    height: auto;
  }

  .news-card__foot {
    margin-top: 0;
  }

  .news-card__title {
    font-size: clamp(15px, 4.6vw, 18px);
    line-height: 1.32;
  }

  .news-card__excerpt {
    font-size: clamp(13px, 3.8vw, 15px);
    line-height: 1.5;
  }

  .news-card__rule {
    margin: 2px 0 4px;
    opacity: 0.75;
  }

  .news-card__foot {
    justify-content: flex-start;
    gap: 8px 12px;
  }

  .news-card__date {
    font-size: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(28, 42, 80, 0.08);
  }

  .news-card__read {
    font-size: 12px;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid rgba(28, 42, 80, 0.24);
    text-decoration: none;
  }
}

/* ——— Медиа: слайдер последних видео (заглушка, позже — динамика) ——— */
.media-section {
  --media-accent: #1c2a50;
  --media-muted: #6b6a76;

  background: #fff;
  border-top: 1px solid rgba(28, 42, 80, 0.08);
  padding: var(--sheet-pad-y) var(--sheet-pad-x);
  color: var(--media-accent);
}

.media-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 24px;
  margin-bottom: clamp(24px, 3.5vw, 36px);
}

.media-section__title {
  margin-bottom: 0;
  color: var(--media-accent);
}

.media-section__all {
  flex-shrink: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.1vw, 15px);
  font-weight: 600;
  text-decoration: none;
  color: var(--media-accent);
  padding: 12px 28px;
  border: 1px solid var(--media-accent);
  border-radius: 999px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.media-section__all:hover {
  background-color: var(--media-accent);
  color: #fff;
}

.media-slider {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(6px, 1.2vw, 14px);
}

.media-slider__btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(40px, 5vw, 48px);
  height: clamp(40px, 5vw, 48px);
  padding: 0;
  border: 1px solid rgba(28, 42, 80, 0.35);
  border-radius: 50%;
  background: #fff;
  color: var(--media-accent);
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.media-slider__btn:hover:not(:disabled) {
  background: var(--media-accent);
  color: #fff;
  border-color: var(--media-accent);
}

.media-slider__btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
}

.media-slider__btn:focus-visible {
  outline: 2px solid var(--media-accent);
  outline-offset: 3px;
}

.media-slider__btn-icon {
  display: block;
  width: 10px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.media-slider__btn--prev .media-slider__btn-icon {
  margin-left: 3px;
  transform: rotate(45deg);
}

.media-slider__btn--next .media-slider__btn-icon {
  margin-right: 3px;
  transform: rotate(-135deg);
}

.media-slider__viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.media-slider__viewport::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

@media (prefers-reduced-motion: reduce) {
  .media-slider__viewport {
    scroll-behavior: auto;
  }
}

.media-slider__track {
  list-style: none;
  margin: 0;
  padding: 4px 2px 8px;
  display: flex;
  flex-direction: row;
  gap: clamp(16px, 2.2vw, 24px);
}

.media-slider__slide {
  flex: 0 0 clamp(240px, 72vw, 320px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.media-card {
  margin: 0;
}

.media-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: clamp(14px, 2vw, 22px);
}

.media-card__link:focus-visible {
  outline: 2px solid var(--media-accent);
  outline-offset: 4px;
}

.media-card__thumb-wrap {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  border-radius: clamp(12px, 1.6vw, 18px);
  overflow: hidden;
  background: #151d38;
}

.media-card__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card__duration {
  position: absolute;
  bottom: clamp(8px, 1.2vw, 12px);
  right: clamp(8px, 1.2vw, 12px);
  padding: 4px 8px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(11px, 0.9vw, 12px);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 6px;
}

.media-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  transition: transform 0.25s ease;
}

.media-card__link:hover .media-card__play,
.media-card__link:focus-visible .media-card__play {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .media-card__link:hover .media-card__play,
  .media-card__link:focus-visible .media-card__play {
    transform: none;
  }
}

.media-card__title {
  margin: clamp(12px, 1.8vw, 16px) 0 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 600;
  line-height: 1.4;
  color: var(--media-accent);
  transition: opacity 0.2s ease;
}

.media-card__link:hover .media-card__title {
  opacity: 0.88;
}

.media-card__meta {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.media-card__meta-item {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(11px, 0.95vw, 13px);
  font-weight: 500;
  line-height: 1.35;
  color: rgba(17, 19, 33, 0.72);
}

.media-card__meta-item--date {
  font-weight: 600;
}

@media (max-width: 520px) {
  .media-slider {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px 16px;
  }

  .media-slider__viewport {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .media-slider__btn--prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: start;
  }

  .media-slider__btn--next {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
  }
}

/* ——— Для СМИ: форма обратной связи (отправка — заглушка до бэкенда) ——— */
.smi-section {
  --smi-accent: #1c2a50;
  --smi-border: rgba(28, 42, 80, 0.18);

  background: #fff;
  border-top: 1px solid rgba(28, 42, 80, 0.08);
  padding: var(--sheet-pad-y) var(--sheet-pad-x);
  color: var(--smi-accent);
}

.smi-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.smi-section__head {
  margin-bottom: 0;
}

.smi-section__title {
  margin-bottom: clamp(12px, 2vw, 16px);
  color: var(--smi-accent);
}

.smi-section__lead {
  margin: 0;
  max-width: 42ch;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 400;
  line-height: 1.6;
  color: #5a5668;
}

.smi-form {
  max-width: none;
  width: 100%;
  min-width: 0;
}

@media (max-width: 900px) {
  .smi-section__layout {
    grid-template-columns: 1fr;
    gap: clamp(24px, 4vw, 36px);
  }

  .smi-section__head {
    margin-bottom: 0;
  }

  .smi-section__lead {
    max-width: min(40rem, 100%);
  }
}

.smi-form__row {
  display: grid;
  gap: clamp(16px, 2vw, 20px);
}

.smi-form__row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smi-form__field {
  margin-bottom: clamp(16px, 2.2vw, 20px);
}

.smi-form__field--check {
  margin-bottom: clamp(10px, 1.5vw, 14px);
}

.smi-form__label {
  display: block;
  margin-bottom: 6px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 0.95vw, 14px);
  font-weight: 600;
  color: var(--smi-accent);
}

.smi-form__req {
  color: #b4232a;
}

.smi-form__input,
.smi-form__textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.05vw, 15px);
  color: #1a1a1a;
  background: #fff;
  border: 1px solid var(--smi-border);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.smi-form__textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.smi-form__input:hover,
.smi-form__textarea:hover {
  border-color: rgba(28, 42, 80, 0.28);
}

.smi-form__input:focus,
.smi-form__textarea:focus {
  outline: none;
  border-color: var(--smi-accent);
  box-shadow: 0 0 0 3px rgba(28, 42, 80, 0.15);
}

.smi-form__check-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 0.95vw, 14px);
  line-height: 1.45;
  color: #4a4658;
  cursor: pointer;
}

.smi-form__checkbox {
  margin-top: 3px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--smi-accent);
}

.smi-form__note {
  margin: 0 0 clamp(14px, 2vw, 18px);
  font-size: clamp(11px, 0.9vw, 13px);
  color: #7a7688;
}

.smi-form__actions {
  margin-top: clamp(4px, 1vw, 8px);
}

.smi-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  color: #fff;
  background: var(--smi-accent);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.smi-form__submit:hover {
  background: #1c2548;
}

.smi-form__submit:focus-visible {
  outline: 2px solid var(--smi-accent);
  outline-offset: 3px;
}

.smi-form__error {
  margin: clamp(12px, 1.5vw, 16px) 0 0;
  padding: 12px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.5;
  color: #7f151b;
  background: #fce8e9;
  border-radius: 10px;
  border: 1px solid rgba(180, 35, 42, 0.25);
}

.smi-form__error[hidden] {
  display: none;
}

.smi-form__success {
  margin: clamp(16px, 2vw, 20px) 0 0;
  padding: 14px 16px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1vw, 14px);
  line-height: 1.5;
  color: #1a4d2e;
  background: #e8f5ec;
  border-radius: 10px;
  border: 1px solid rgba(26, 77, 46, 0.2);
}

.smi-form__success[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .smi-form__row--2 {
    grid-template-columns: 1fr;
  }
}

/* ——— Подвал ——— */
.site-footer {
  --footer-bg: #1c2a50;
  --footer-text: #fff;
  /* Вертикальные поля заметнее, чем у секций листа; горизонталь — как у листа или из :root */
  --footer-pad-y: clamp(48px, 6.5vw, 72px);

  background: var(--footer-bg);
  color: var(--footer-text);
  padding-block: var(--footer-pad-y);
  padding-inline: var(--sheet-pad-x, var(--sheet-inset));
}

.site-footer__inner {
  max-width: var(--sheet-content-max);
  margin: 0 auto;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: stretch;
}

.site-footer__col--brand,
.site-footer__col--info {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.site-footer__brand-top {
  flex: 0 0 auto;
}

.site-footer__name {
  margin: 0 0 8px;
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 28px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--footer-text);
}

.site-footer__tagline {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}

.site-footer__copy {
  margin: auto 0 0;
  padding-top: clamp(24px, 4vw, 40px);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer__heading {
  margin: 0 0 clamp(14px, 2vw, 18px);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 600;
  color: var(--footer-text);
}

.site-footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(10px, 1.2vw, 12px);
}

.site-footer__link {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 400;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-footer__link:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  border-radius: 2px;
}

.site-footer__social-block {
  margin-top: auto;
  padding-top: clamp(20px, 3vw, 28px);
}

.site-footer__heading--social {
  margin-bottom: 10px;
}

.site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: transparent;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.site-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.site-footer__social-link:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.site-footer__social-icon {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.92;
  filter: brightness(0) invert(1);
  transition: opacity 0.2s ease;
}

.site-footer__social-link:hover .site-footer__social-icon {
  opacity: 1;
}

@media (max-width: 820px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Копирайт внизу после навигации и «Информации» */
  .site-footer__col--brand {
    display: contents;
  }

  .site-footer__brand-top {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .site-footer__grid > .site-footer__col:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer__col--info {
    grid-column: 2;
    grid-row: 2;
    min-height: 0;
  }

  .site-footer__copy {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: clamp(24px, 5vw, 36px) 0 0;
    padding-top: clamp(16px, 3vw, 24px);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .site-footer__grid > .site-footer__col:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
  }

  .site-footer__col--info {
    grid-column: 1;
    grid-row: 3;
  }

  .site-footer__copy {
    grid-row: 4;
  }
}

/* ——— Светлая тема листа: блок «Деятельность» читается как светлая плоскость ——— */
html[data-sheet-theme="light"] .activity-section {
  --activity-accent: #1c2a50;
  --activity-muted: #4a5a78;
  --activity-bg: transparent;
  background:
    radial-gradient(circle at 14% 16%, rgba(28, 42, 80, 0.05), transparent 40%),
    radial-gradient(circle at 86% 10%, rgba(28, 42, 80, 0.035), transparent 34%),
    linear-gradient(180deg, #fafaf8 0%, var(--sheet-shell-bg) 42%, #f0f0ec 100%);
  color: var(--activity-accent);
}

html[data-sheet-theme="light"] .activity-section::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(28, 42, 80, 0.12) 15%,
    rgba(28, 42, 80, 0.12) 85%,
    transparent
  );
}

html[data-sheet-theme="light"] .activity-section__title {
  color: var(--sheet-title-color);
}

html[data-sheet-theme="light"] .activity-section__intro {
  color: var(--sheet-intro-color);
}

html[data-sheet-theme="light"] .activity-section__subnav a {
  color: var(--brand-navy);
  border-color: rgba(28, 42, 80, 0.32);
  background: rgba(255, 255, 255, 0.82);
}

html[data-sheet-theme="light"] .activity-section__subnav a:hover,
html[data-sheet-theme="light"] .activity-section__subnav a:focus-visible {
  color: #0f182e;
  background: rgba(28, 42, 80, 0.06);
  border-color: rgba(28, 42, 80, 0.5);
}

html[data-sheet-theme="light"] .activity-universe__viewport {
  background:
    radial-gradient(circle at 20% 16%, rgba(28, 42, 80, 0.05), transparent 36%),
    radial-gradient(circle at 82% 78%, rgba(28, 42, 80, 0.04), transparent 30%),
    linear-gradient(165deg, #ffffff 0%, #f6f6f3 48%, #eceae6 100%);
  border: 1px solid rgba(28, 42, 80, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    0 20px 48px rgba(28, 42, 80, 0.08);
}

html[data-sheet-theme="light"] .activity-universe__viewport::before {
  background:
    linear-gradient(115deg, transparent 0 28%, rgba(28, 42, 80, 0.03) 28.5%, transparent 29.5%),
    linear-gradient(145deg, transparent 0 58%, rgba(28, 42, 80, 0.025) 58.5%, transparent 59.2%),
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.5), transparent 38%),
    radial-gradient(circle at 76% 64%, rgba(255, 255, 255, 0.25), transparent 32%);
}

html[data-sheet-theme="light"] .activity-universe__viewport::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent 26%, transparent 74%, rgba(28, 42, 80, 0.04)),
    radial-gradient(circle at center, transparent 42%, rgba(28, 42, 80, 0.06) 100%);
}

html[data-sheet-theme="light"] .activity-direction-card {
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(247, 247, 245, 0.92));
  border: 1px solid rgba(28, 42, 80, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 32px rgba(28, 42, 80, 0.07);
}

html[data-sheet-theme="light"] .activity-direction-card.is-active {
  border-color: rgba(28, 42, 80, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 22px 44px rgba(28, 42, 80, 0.1);
  background:
    linear-gradient(150deg, rgba(28, 42, 80, 0.04), rgba(255, 255, 255, 0.5) 46%),
    rgba(255, 255, 255, 0.88);
}

html[data-sheet-theme="light"] .activity-direction-card__title {
  color: var(--brand-navy);
}

html[data-sheet-theme="light"] .activity-direction-card__description {
  color: #3d3d3d;
}

html[data-sheet-theme="light"] .activity-direction-card__link {
  color: var(--brand-navy);
  background: rgba(28, 42, 80, 0.05);
  border: 1px solid rgba(28, 42, 80, 0.14);
}

html[data-sheet-theme="light"] .activity-direction-card__link:hover,
html[data-sheet-theme="light"] .activity-direction-card__link:focus-visible {
  background: rgba(28, 42, 80, 0.09);
  border-color: rgba(28, 42, 80, 0.24);
}

html[data-sheet-theme="light"] .activity-direction-card__logo {
  background: transparent;
  box-shadow: none;
}

html[data-sheet-theme="light"] .activity-direction-card__logo:hover,
html[data-sheet-theme="light"] .activity-direction-card__logo:focus-visible {
  background: transparent;
  box-shadow: none;
}

html[data-sheet-theme="light"] .activity-direction-card__logo:hover .activity-direction-card__logo-media,
html[data-sheet-theme="light"] .activity-direction-card__logo:focus-visible .activity-direction-card__logo-media,
html[data-sheet-theme="light"] .activity-charity-premium__logo-link:hover,
html[data-sheet-theme="light"] .activity-charity-premium__logo-link:focus-visible,
html[data-sheet-theme="light"] .activity-sport-premium__logo-link:hover,
html[data-sheet-theme="light"] .activity-sport-premium__logo-link:focus-visible,
html[data-sheet-theme="light"] .activity-business-premium__logo-link:hover,
html[data-sheet-theme="light"] .activity-business-premium__logo-link:focus-visible,
html[data-sheet-theme="light"] .activity-public-premium__logo-link:hover,
html[data-sheet-theme="light"] .activity-public-premium__logo-link:focus-visible {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.78) 0%,
    rgba(255, 255, 255, 0.42) 45%,
    rgba(255, 255, 255, 0.28) 100%
  );
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.35),
    0 10px 26px rgba(28, 42, 80, 0.12);
}

html[data-sheet-theme="light"] .activity-direction-card__logo:hover .activity-direction-card__logo-media::before,
html[data-sheet-theme="light"] .activity-direction-card__logo:focus-visible .activity-direction-card__logo-media::before,
html[data-sheet-theme="light"] .activity-charity-premium__logo-link:hover::before,
html[data-sheet-theme="light"] .activity-charity-premium__logo-link:focus-visible::before,
html[data-sheet-theme="light"] .activity-sport-premium__logo-link:hover::before,
html[data-sheet-theme="light"] .activity-sport-premium__logo-link:focus-visible::before,
html[data-sheet-theme="light"] .activity-business-premium__logo-link:hover::before,
html[data-sheet-theme="light"] .activity-business-premium__logo-link:focus-visible::before,
html[data-sheet-theme="light"] .activity-public-premium__logo-link:hover::before,
html[data-sheet-theme="light"] .activity-public-premium__logo-link:focus-visible::before {
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.25) 40%,
    transparent 60%
  );
}

html[data-sheet-theme="light"] .activity-direction-card__logo-caption {
  color: rgba(28, 42, 80, 0.78);
}

html[data-sheet-theme="light"] .activity-direction-card__summary:focus-visible {
  outline-color: rgba(28, 42, 80, 0.45);
}

html[data-sheet-theme="light"] .activity-direction-card__summary:hover {
  background: rgba(28, 42, 80, 0.05);
  border-color: rgba(28, 42, 80, 0.16);
}

html[data-sheet-theme="light"] .activity-direction-card__link:focus-visible {
  outline-color: rgba(28, 42, 80, 0.4);
}

html[data-sheet-theme="light"] .activity-direction-card__logo:focus-visible {
  outline-color: rgba(28, 42, 80, 0.45);
}

/* ——— Премиум-тёмная тема листа (data-sheet-theme="dark" на <html>) ——— */
html[data-sheet-theme="dark"] {
  --sheet-shell-bg: linear-gradient(
    168deg,
    #070f1c 0%,
    #0b1629 18%,
    #0f1f38 42%,
    #132845 68%,
    #173055 100%
  );
  --sheet-shell-shadow: 0 -40px 120px rgba(0, 0, 0, 0.55);
  --sheet-title-color: #f4f7ff;
  --sheet-intro-color: rgba(225, 234, 255, 0.9);
  --sheet-link-color: #b9d9ff;
  --footer-bg: linear-gradient(145deg, #050a14 0%, #0c182c 38%, #122440 72%, #162d4d 100%);
}

html[data-sheet-theme="dark"] .floating-sheet__bio-region {
  background: radial-gradient(ellipse 130% 90% at 50% -30%, rgba(80, 140, 220, 0.2) 0%, transparent 58%);
}

html[data-sheet-theme="dark"] .floating-sheet__bio {
  --bio-blue-title: #f6f9ff;
  --bio-blue-body: rgba(218, 228, 255, 0.9);
  --bio-blue-link: #a8d4ff;
  --bio-link-hover: #ffffff;
}

html[data-sheet-theme="dark"] .site-header--on-light::before {
  background: rgba(6, 12, 24, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.45);
}

html[data-sheet-theme="dark"] .site-header--on-light .site-logo,
html[data-sheet-theme="dark"] .site-header--on-light .site-nav a {
  color: rgba(244, 247, 255, 0.96);
  text-shadow: none;
}

html[data-sheet-theme="dark"] .site-header--on-light .site-nav a:hover {
  color: #fff;
}

html[data-sheet-theme="dark"] .site-header--on-light .site-nav__submenu {
  background: rgba(9, 18, 34, 0.9);
  border-color: rgba(158, 197, 255, 0.28);
  box-shadow: 0 12px 40px rgba(2, 8, 18, 0.34);
}

html[data-sheet-theme="dark"] .site-header--on-light .site-nav__submenu a {
  color: rgba(236, 244, 255, 0.96);
}

html[data-sheet-theme="dark"] .site-header--on-light .site-nav__submenu a:hover {
  color: #fff;
  background: rgba(158, 197, 255, 0.18);
}

html[data-sheet-theme="dark"] .site-header--on-light .site-nav__submenu a[aria-current="page"] {
  background: rgba(158, 197, 255, 0.26);
}

html[data-sheet-theme="dark"] .site-header--on-light .site-lang,
html[data-sheet-theme="dark"] .site-header--on-light .site-lang-switcher__toggle,
html[data-sheet-theme="dark"] .site-header--on-light .site-theme {
  color: rgba(244, 247, 255, 0.96);
  border: none;
  text-shadow: none;
}

html[data-sheet-theme="dark"] .site-header--on-light .site-lang:hover,
html[data-sheet-theme="dark"] .site-header--on-light .site-lang-switcher__toggle:hover,
html[data-sheet-theme="dark"] .site-header--on-light .site-theme:hover {
  color: #fff;
}

html[data-sheet-theme="dark"] .site-header--on-light .site-lang-switcher__menu {
  background: #1e2d4d;
  border-color: rgba(158, 197, 255, 0.2);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

html[data-sheet-theme="dark"] .site-header--on-light .site-lang-switcher__option {
  color: rgba(244, 247, 255, 0.96);
}

html[data-sheet-theme="dark"] .site-header--on-light .site-lang-switcher__option:hover {
  background: rgba(158, 197, 255, 0.14);
  color: #fff;
}

html[data-sheet-theme="dark"] .site-header--on-light .site-lang-switcher__option.is-active {
  background: rgba(158, 197, 255, 0.22);
}

html[data-sheet-theme="dark"] .site-header--on-light .site-header__social-icon {
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

html[data-sheet-theme="dark"] .site-header--on-light .site-header__social:focus-visible {
  outline-color: #9ec5ff;
}

html[data-sheet-theme="dark"] .site-header--on-light .site-header__social:hover {
  opacity: 0.88;
}

html[data-sheet-theme="dark"] .site-header--on-light .site-theme:focus-visible {
  outline-color: #9ec5ff;
}

html[data-sheet-theme="dark"] .activity-section {
  --activity-accent: #eef3ff;
  --activity-muted: rgba(225, 234, 255, 0.82);
  --activity-bg: transparent;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.35) 0%, rgba(10, 18, 34, 0.75) 100%);
  color: var(--activity-accent);
}

html[data-sheet-theme="dark"] .activity-section::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.14) 18%,
    rgba(255, 255, 255, 0.14) 82%,
    transparent
  );
}

html[data-sheet-theme="dark"] .activity-section__intro {
  color: var(--activity-muted);
}

html[data-sheet-theme="dark"] .activity-direction-card__title,
html[data-sheet-theme="dark"] .activity-direction-card__description {
  color: #fff;
}

html[data-sheet-theme="dark"] .activity-section__all {
  border-color: rgba(255, 255, 255, 0.38);
}

html[data-sheet-theme="dark"] .activity-section__all:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

html[data-sheet-theme="dark"] .activity-section__subnav {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

html[data-sheet-theme="dark"] .activity-section__subnav a {
  color: rgba(238, 243, 255, 0.55);
  border: none;
}

html[data-sheet-theme="dark"] .activity-section__subnav a:hover,
html[data-sheet-theme="dark"] .activity-section__subnav a:focus-visible {
  color: #fff;
}

html[data-sheet-theme="dark"] .activity-section__subnav a::after {
  content: none;
  display: none;
}

html[data-sheet-theme="dark"] .news-section__all {
  border-color: rgba(255, 255, 255, 0.38);
}

html[data-sheet-theme="dark"] .news-section__all:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

html[data-sheet-theme="dark"] .media-section__all {
  border-color: rgba(255, 255, 255, 0.38);
}

html[data-sheet-theme="dark"] .media-section__all:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

/* Лист на тёмной теме: карточки «Деятельность» — как в светлой теме (белая плитка, тёмный текст) */
html[data-sheet-theme="dark"] #floating-sheet .activity-card {
  --activity-accent: #1c2a50;
  --activity-muted: #4a5a78;
  background: #fff;
  background-image: none;
  color: #1c2a50;
  border: 1px solid rgba(28, 42, 80, 0.1);
  border-left: 4px solid var(--brand-navy);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--peek:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--peek:focus-within {
  box-shadow: 0 12px 40px rgba(28, 42, 80, 0.12);
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card__hint {
  color: var(--activity-accent);
  opacity: 0.5;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card__more:hover {
  background-color: transparent;
  color: #0f182e;
  border-bottom-color: #0f182e;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card__logo-bar {
  background: rgba(28, 42, 80, 0.04);
  border-top: none;
  border-bottom: none;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card__logo-link {
  background: #fff;
  border: 1px solid rgba(28, 42, 80, 0.08);
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card__logo-link:hover {
  background: #f7f8fc;
  border-color: rgba(28, 42, 80, 0.12);
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__logo-bar,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__logo-bar {
  background: rgba(28, 42, 80, 0.04);
  border-top: none;
  border-bottom: none;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__logo-link,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__logo-link {
  background: #fff;
  border: 1px solid rgba(28, 42, 80, 0.08);
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__logo-link:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__logo-link:hover {
  background: #f7f8fc;
  border-color: rgba(28, 42, 80, 0.12);
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within {
  background: #fff;
  background-image: none;
  color: #1c2a50;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__surface .activity-card__title,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__surface .activity-card__title,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__surface .activity-card__title,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__surface .activity-card__title {
  color: #1c2a50;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__surface .activity-card__desc,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__surface .activity-card__desc,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__surface .activity-card__desc,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__surface .activity-card__desc {
  color: #1c2a50;
  opacity: 0.88;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__hint,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__hint,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__hint,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__hint {
  color: #1c2a50;
  opacity: 0.5;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__text,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__text,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__text,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__text {
  color: #1c2a50;
  opacity: 0.9;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__more,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__more,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__more,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__more {
  color: #1c2a50;
  border-bottom-color: #1c2a50;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__more:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__more:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__more:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__more:hover {
  background-color: transparent;
  color: #0f182e;
  border-bottom-color: #0f182e;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__logo-bar,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__logo-bar,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__logo-bar,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__logo-bar {
  background: rgba(28, 42, 80, 0.04);
  border-top: none;
  border-bottom: none;
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__logo-link,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__logo-link,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__logo-link,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__logo-link {
  background: #fff;
  border: 1px solid rgba(28, 42, 80, 0.08);
}

html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:hover .activity-card__logo-link:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport:focus-within .activity-card__logo-link:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:hover .activity-card__logo-link:hover,
html[data-sheet-theme="dark"] #floating-sheet .activity-card--business:focus-within .activity-card__logo-link:hover {
  background: #f7f8fc;
  border-color: rgba(28, 42, 80, 0.12);
}

@media (hover: none), (pointer: coarse) {
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport,
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--business {
    background: #fff;
    background-image: none;
    color: #1c2a50;
  }

  html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__surface .activity-card__title,
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__surface .activity-card__title {
    color: #1c2a50;
  }

  html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__surface .activity-card__desc,
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__surface .activity-card__desc {
    color: #1c2a50;
    opacity: 0.88;
  }

  html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__hint,
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__hint {
    color: #1c2a50;
    opacity: 0.5;
  }

  html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__text,
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__text {
    color: #1c2a50;
    opacity: 0.9;
  }

  html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__more,
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__more {
    color: #1c2a50;
    border-bottom-color: #1c2a50;
  }

  html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__more:hover,
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__more:hover {
    background-color: transparent;
    color: #0f182e;
    border-bottom-color: #0f182e;
  }

  html[data-sheet-theme="dark"] #floating-sheet .activity-card--sport .activity-card__logo-bar,
  html[data-sheet-theme="dark"] #floating-sheet .activity-card--business .activity-card__logo-bar {
    background: rgba(28, 42, 80, 0.04);
    border-top: none;
    border-bottom: none;
  }
}

html[data-sheet-theme="dark"] .news-section {
  --news-accent: #eef3ff;
  --news-muted: rgba(210, 220, 245, 0.78);
  --news-date: rgba(170, 190, 230, 0.65);
  background: rgba(4, 10, 22, 0.45);
}

html[data-sheet-theme="dark"] .news-card__thumb {
  background: rgba(255, 255, 255, 0.08);
}

html[data-sheet-theme="dark"] .news-card__rule {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 760px) {
  html[data-sheet-theme="dark"] .news-card {
    background: linear-gradient(160deg, rgba(8, 14, 28, 0.95) 0%, rgba(12, 22, 40, 0.96) 100%);
    border-color: rgba(155, 188, 236, 0.24);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.34);
  }

  html[data-sheet-theme="dark"] .news-card__date {
    background: rgba(158, 197, 255, 0.12);
    color: rgba(220, 233, 255, 0.9);
  }

  html[data-sheet-theme="dark"] .news-card__read {
    border-color: rgba(158, 197, 255, 0.34);
    color: #9ec5ff;
  }
}

html[data-sheet-theme="dark"] .media-section {
  --media-accent: #eef3ff;
  --media-muted: rgba(210, 220, 245, 0.78);
  background: rgba(4, 10, 22, 0.35);
  border-top-color: rgba(255, 255, 255, 0.1);
}

html[data-sheet-theme="dark"] .media-slider__btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--media-accent);
}

html[data-sheet-theme="dark"] .media-slider__btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
}

html[data-sheet-theme="dark"] .media-card__meta-item {
  color: rgba(245, 247, 255, 0.72);
}

html[data-sheet-theme="dark"] .smi-section {
  --smi-accent: #9ed0ff;
  --smi-border: rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(5, 10, 20, 0.92) 0%, rgba(8, 16, 30, 0.96) 100%);
  border-top-color: rgba(255, 255, 255, 0.1);
  color: #eef3ff;
}

html[data-sheet-theme="dark"] .smi-section__title,
html[data-sheet-theme="dark"] .smi-form__label {
  color: #f2f6ff;
}

html[data-sheet-theme="dark"] .smi-section__lead {
  color: rgba(210, 222, 250, 0.82);
}

html[data-sheet-theme="dark"] .smi-form__input,
html[data-sheet-theme="dark"] .smi-form__textarea {
  color: #f4f6fb;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--smi-border);
}

html[data-sheet-theme="dark"] .smi-form__input:hover,
html[data-sheet-theme="dark"] .smi-form__textarea:hover {
  border-color: rgba(255, 255, 255, 0.32);
}

html[data-sheet-theme="dark"] .smi-form__input:focus,
html[data-sheet-theme="dark"] .smi-form__textarea:focus {
  border-color: var(--smi-accent);
  box-shadow: 0 0 0 3px rgba(158, 208, 255, 0.2);
}

html[data-sheet-theme="dark"] .smi-form__check-label {
  color: rgba(215, 225, 250, 0.9);
}

html[data-sheet-theme="dark"] .smi-form__note {
  color: rgba(170, 188, 220, 0.75);
}

html[data-sheet-theme="dark"] .smi-form__submit {
  background: linear-gradient(135deg, #2a5080 0%, #1c2a50 100%);
  color: #fff;
}

html[data-sheet-theme="dark"] .smi-form__submit:hover {
  background: linear-gradient(135deg, #3a64a0 0%, #243a68 100%);
}

html[data-sheet-theme="dark"] .smi-form__submit:focus-visible {
  outline-color: var(--smi-accent);
}

/* ——— Biography page dark theme ——— */
html[data-sheet-theme="dark"] body.bio-page {
  background: #060d1a;
}

html[data-sheet-theme="dark"] .bio-page__main--full-bleed-top .bio-page__article.floating-sheet__bio {
  background: linear-gradient(165deg, rgba(10, 18, 34, 0.98) 0%, rgba(14, 25, 45, 0.98) 100%);
  box-shadow: 0 -28px 72px rgba(0, 0, 0, 0.45);
}

html[data-sheet-theme="dark"] .bio-page__main--full-bleed-top .bio-page__article.floating-sheet__bio::before {
  background: linear-gradient(180deg, rgba(10, 18, 34, 0.06) 0%, rgba(10, 18, 34, 0.52) 100%);
}

html[data-sheet-theme="dark"] .bio-page__primary,
html[data-sheet-theme="dark"] .bio-page__aside-inner {
  background: rgba(12, 22, 40, 0.95);
  border-color: rgba(170, 196, 240, 0.22);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

html[data-sheet-theme="dark"] .bio-page__eyebrow,
html[data-sheet-theme="dark"] .bio-page__toc-label,
html[data-sheet-theme="dark"] .bio-page__figure-cap,
html[data-sheet-theme="dark"] .bio-page__placeholder-cap,
html[data-sheet-theme="dark"] .bio-page__branch-hint {
  color: rgba(180, 200, 235, 0.78);
}

html[data-sheet-theme="dark"] .bio-page__title,
html[data-sheet-theme="dark"] .bio-page__h2,
html[data-sheet-theme="dark"] .bio-page__branch-title,
html[data-sheet-theme="dark"] .bio-page__awards-year,
html[data-sheet-theme="dark"] .bio-page__branch-date {
  color: #f3f7ff;
}

html[data-sheet-theme="dark"] .bio-page__lead,
html[data-sheet-theme="dark"] .bio-page__prose p,
html[data-sheet-theme="dark"] .bio-page__awards li,
html[data-sheet-theme="dark"] .bio-page__branch-text {
  color: rgba(222, 232, 252, 0.9);
}

html[data-sheet-theme="dark"] .bio-page__section,
html[data-sheet-theme="dark"] .bio-page__toc,
html[data-sheet-theme="dark"] .bio-page__back-wrap {
  border-color: rgba(170, 196, 240, 0.2);
}

html[data-sheet-theme="dark"] .bio-page__toc-list a {
  color: #e9f1ff;
  background: rgba(140, 176, 236, 0.16);
  border-color: rgba(170, 196, 240, 0.22);
}

html[data-sheet-theme="dark"] .bio-page__toc-list a:hover {
  background: rgba(140, 176, 236, 0.24);
  border-color: rgba(190, 212, 245, 0.32);
}

html[data-sheet-theme="dark"] .bio-page__quote {
  border-left-color: #b8d4ff;
  background: rgba(140, 176, 236, 0.14);
}

html[data-sheet-theme="dark"] .bio-page__quote p {
  color: #eaf2ff;
}

html[data-sheet-theme="dark"] .bio-page__branch {
  border-left-color: rgba(184, 212, 255, 0.38);
}

html[data-sheet-theme="dark"] .bio-page__branch-item::before {
  background: #b8d4ff;
  box-shadow: 0 0 0 3px rgba(12, 22, 40, 0.96);
}

html[data-sheet-theme="dark"] .bio-page__branch-jump {
  color: #d4e6ff;
  border-bottom-color: rgba(184, 212, 255, 0.34);
}

html[data-sheet-theme="dark"] .bio-page__branch-jump:hover {
  border-bottom-color: #d4e6ff;
}

/* ——— Страница полной биографии (biography.html) ——— */
body.bio-page {
  background: #060d1a;
  overflow-x: hidden;
}

/* Только biography.html (site-header--bio-hero): имя в герое — дублирующий логотип в шапке не показываем */
.site-header--bio-hero .site-logo {
  display: inline-flex;
}

/* Биография: стабильная 3-колоночная шапка без "плавания" fixed-контейнера */
.site-header--bio-hero .site-header__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  column-gap: clamp(14px, 2.4vw, 28px);
  align-items: center;
}

.site-header--bio-hero .site-logo {
  justify-self: start;
}

.site-header--bio-hero .site-nav {
  justify-self: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
  gap: clamp(8px, 1.2vw, 18px);
}

.site-header--bio-hero .site-header__end {
  justify-self: end;
}

.site-header--bio-redesign .site-logo {
  color: #eef4ff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
}

.site-header--bio-redesign .site-nav a {
  color: rgba(238, 244, 255, 0.9);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.24);
}

.site-header--bio-redesign .site-header__social-icon {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.site-header__bio-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(184, 212, 255, 0.42);
  border-radius: 999px;
  color: #e6f1ff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header__bio-cta:hover {
  background: rgba(184, 212, 255, 0.14);
  border-color: rgba(184, 212, 255, 0.64);
}

/* Биография над героем: прозрачная шапка (без подложки/размытия), контент опущен к зоне героя; после прокрутки — site-header--on-light */
body.bio-page .site-header--bio-hero:not(.site-header--on-light) {
  background-color: rgba(255, 255, 255, 0);
  align-items: center;
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(16px, 2.5vw, 24px));
  padding-bottom: clamp(12px, 2vw, 18px);
  transition:
    padding-top 0.35s ease,
    padding-bottom 0.35s ease;
}

body.bio-page .site-header--bio-hero:not(.site-header--on-light)::before {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.bio-page .site-header--bio-hero.site-header--on-light {
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(16px, 2.5vw, 24px));
  padding-bottom: clamp(12px, 2vw, 18px);
  transition:
    padding-top 0.35s ease,
    padding-bottom 0.35s ease;
}

@media (max-width: 1180px) {
  .site-header--bio-hero .site-header__inner {
    grid-template-columns: auto 1fr auto;
    row-gap: 10px;
  }

  .site-header--bio-hero .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    overflow-x: auto;
    scrollbar-width: thin;
    width: 100%;
    padding-bottom: 2px;
  }

  .site-header--bio-hero .site-nav::-webkit-scrollbar {
    height: 5px;
  }
}

@media (max-width: 760px) {
  .site-header--bio-hero .site-header__inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-header--bio-hero .site-logo {
    font-size: clamp(16px, 4.6vw, 20px);
    letter-spacing: 0.09em;
  }

  .site-header--bio-hero .site-header__end {
    gap: 10px;
  }

  .site-header--bio-hero .site-header__social {
    display: none;
  }

  .site-header__bio-cta {
    min-height: 32px;
    padding: 0.28rem 0.72rem;
    font-size: 11px;
  }

  .site-header--bio-hero .site-nav {
    gap: 12px;
  }
}

.bio-page__main {
  padding: clamp(88px, 11vw, 112px) var(--page-inline-pad) clamp(48px, 7vw, 80px);
}

/* Только biography.html: баннер к верху main, без двойного отступа под шапку */
.bio-page__main--full-bleed-top {
  padding-top: 0;
}

.bio-page__hero-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
}

#bio-static-background {
  background: no-repeat center / cover url("assets/backgrounds/backgroundbio.webp");
}

/* Герой биографии: фон на всю высоту окна + текст поверх */
.bio-page__hero-viewport {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: transparent;
  z-index: 1;
}

.bio-page__hero-viewport::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 12, 24, 0.2) 0%, rgba(7, 14, 27, 0.5) 52%, rgba(8, 16, 30, 0.82) 100%);
}

/* Нижние 10%: плавный уход в фон блока статьи (#fff) */
.bio-page__hero-viewport::after {
  content: "";
  display: none;
}

.bio-page__top-banner {
  display: none;
}

.bio-page__top-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  object-fit: cover;
  /* Горизонталь: от центра −20px; по Y: −20px к якорю */
  object-position: calc(50% - 20px) calc(18% - 20px);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .bio-page__top-banner-img {
    will-change: auto;
  }
}

.bio-page__hero--overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  padding-top: clamp(88px, 10vw, 128px);
  padding-right: clamp(16px, 4vw, 42px);
  padding-bottom: clamp(40px, 6vh, 72px);
  padding-left: clamp(16px, 4vw, 42px);
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.bio-page__hero--overlay .bio-page__hero-copy {
  text-align: left;
  max-width: min(1120px, 100%);
  width: 100%;
  margin-inline: auto;
}

.bio-page__hero--overlay .bio-page__eyebrow {
  color: rgba(226, 238, 255, 0.96);
  font-size: clamp(12px, 0.95vw, 15px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: clamp(8px, 1vw, 12px);
}

.bio-page__hero--overlay .bio-page__title {
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 1px 4px rgba(0, 0, 0, 0.35);
  font-size: clamp(42px, 6.2vw, 92px);
  line-height: 0.9;
  letter-spacing: 0.028em;
  max-width: 14ch;
}

.bio-page__hero--overlay .bio-page__lead {
  margin-left: 0;
  margin-top: clamp(10px, 1.6vw, 18px);
  color: rgba(238, 244, 255, 0.96);
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
  max-width: 62ch;
  font-size: clamp(16px, 1.3vw, 21px);
  line-height: 1.58;
}

.bio-page__hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(18px, 2.6vw, 30px);
}

.bio-page__hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.62rem 1.35rem;
  border-radius: 999px;
  border: 2px solid rgba(184, 212, 255, 0.64);
  color: #f3f8ff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.bio-page__hero-btn:hover {
  background: rgba(184, 212, 255, 0.16);
  border-color: rgba(184, 212, 255, 0.88);
}

.bio-page__hero-link {
  color: rgba(222, 236, 255, 0.94);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 212, 255, 0.4);
}

.bio-page__hero-link:hover {
  border-bottom-color: rgba(184, 212, 255, 0.82);
}

.bio-mobile-module {
  display: none;
}

.bio-page__shell {
  max-width: 1120px;
  margin: 0 auto;
}

/* Контент идёт после hero и перекрывает его только при скролле */
.bio-page__main--full-bleed-top .bio-page__shell {
  position: relative;
  z-index: 3;
  margin-top: clamp(-112px, -7vh, -72px);
}

.bio-page__main--full-bleed-top .bio-page__article.floating-sheet__bio {
  position: relative;
  background: #fff;
  border-radius: clamp(18px, 2.2vw, 26px) clamp(18px, 2.2vw, 26px) 0 0;
  box-shadow: 0 -32px 84px rgba(28, 42, 80, 0.24);
  padding: clamp(40px, 5vw, 56px) clamp(20px, 3vw, 32px) clamp(48px, 7vw, 80px);
}

.bio-page__main--full-bleed-top .bio-page__article.floating-sheet__bio::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: clamp(28px, 4.5vw, 52px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.48) 100%);
}

@media (max-width: 1024px) {
  .bio-page__hero--overlay {
    padding-top: clamp(102px, 14vw, 134px);
    padding-bottom: clamp(48px, 7vw, 72px);
  }

  .bio-page__hero--overlay .bio-page__title {
    font-size: clamp(38px, 7vw, 72px);
    max-width: 13ch;
  }

  .bio-page__hero--overlay .bio-page__lead {
    max-width: 58ch;
    font-size: clamp(15px, 2vw, 18px);
  }
}

.bio-page__article {
  --bio-blue-title: #1c2a50;
  --bio-blue-body: #4a5a78;
  --bio-blue-muted: #6b7a94;
  --bio-line: rgba(28, 42, 80, 0.12);
  --bio-card: #fff;
  --bio-placeholder: linear-gradient(145deg, #e2e8f2 0%, #d4dce8 48%, #c8d4e4 100%);
}

.bio-page__hero:not(.bio-page__hero--overlay) {
  display: block;
  padding: clamp(20px, 3vw, 28px) clamp(20px, 3vw, 28px);
  margin-bottom: clamp(28px, 4vw, 40px);
  background: none;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.bio-page__figure {
  margin: 0;
}

.bio-page__figure--thumb {
  flex-shrink: 0;
  width: min(100%, 200px);
}

.bio-page__figure--thumb-lg {
  width: min(100%, clamp(280px, 38vw, 420px));
}

.bio-page__figure--thumb .bio-page__placeholder--wide {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
}

.bio-page__thumb-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 3 / 2;
  box-shadow: 0 10px 32px rgba(28, 42, 80, 0.12);
}

.bio-page__figure-cap {
  margin: 10px 0 0;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bio-blue-muted);
}

.bio-page__placeholder {
  background: var(--bio-placeholder);
  border: 1px dashed rgba(28, 42, 80, 0.22);
  box-sizing: border-box;
  min-height: 80px;
  position: relative;
}

.bio-page__placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 36px;
  height: 36px;
  opacity: 0.35;
  background: no-repeat center / contain;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c2a50' stroke-width='1.5'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Ccircle cx='8.5' cy='10' r='1.5' fill='%231c2a50' stroke='none'/%3E%3Cpath d='M21 17l-5-5-4 4-2-2-4 4'/%3E%3C/svg%3E");
}

.bio-page__placeholder-cap {
  margin: 8px 0 0;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bio-blue-muted);
}

.bio-page__hero-copy {
  min-width: 0;
}

.bio-page__eyebrow {
  margin: 0 0 6px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bio-blue-muted);
}

.bio-page__title {
  margin: 0 0 clamp(12px, 2vw, 16px);
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--bio-blue-title);
}

.bio-page__lead {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.55;
  color: var(--bio-blue-body);
  max-width: 52ch;
}

.bio-page__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.bio-page__primary {
  position: relative;
  min-width: 0;
  background: var(--bio-card);
  border-radius: clamp(16px, 2vw, 22px);
  padding: clamp(28px, 4vw, 38px) clamp(24px, 3.5vw, 36px) clamp(34px, 5vw, 48px);
  border: 1px solid var(--bio-line);
  box-shadow: 0 12px 34px rgba(28, 42, 80, 0.08);
}

.bio-page__toc {
  margin-bottom: clamp(24px, 3.5vw, 32px);
  padding-bottom: clamp(20px, 3vw, 24px);
  border-bottom: 1px solid var(--bio-line);
}

.bio-page__toc-label {
  display: block;
  margin-bottom: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bio-blue-muted);
}

.bio-page__toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.bio-page__toc-list a {
  display: inline-block;
  padding: 6px 12px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(12px, 1vw, 13px);
  font-weight: 500;
  color: var(--bio-blue-title);
  text-decoration: none;
  background: rgba(28, 42, 80, 0.06);
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.bio-page__toc-list a:hover {
  background: rgba(28, 42, 80, 0.1);
  border-color: rgba(28, 42, 80, 0.12);
}

.bio-page__section {
  scroll-margin-top: 96px;
  padding-top: clamp(22px, 3vw, 28px);
  margin-top: clamp(8px, 1.5vw, 12px);
  border-top: 1px solid var(--bio-line);
}

.bio-page__section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.bio-page__section-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px 20px;
  margin-bottom: clamp(14px, 2vw, 18px);
}

.bio-page__h2 {
  margin: 0;
  flex: 1 1 auto;
  min-width: min(100%, 200px);
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--bio-blue-title);
}

.bio-page__section > .bio-page__h2 {
  margin-bottom: clamp(14px, 2vw, 18px);
}

.bio-page__section-top .bio-page__h2 {
  margin-bottom: 0;
}

.bio-page__prose p {
  margin: 0 0 clamp(14px, 2vw, 18px);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.62;
  color: var(--bio-blue-body);
  max-width: 65ch;
}

.bio-page__prose p:last-child {
  margin-bottom: 0;
}

.bio-page__awards {
  list-style: none;
  margin: 0 0 clamp(20px, 3vw, 28px);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px 0;
}

.bio-page__awards li {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px 14px;
  align-items: baseline;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.5;
  color: var(--bio-blue-body);
}

.bio-page__awards-year {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--bio-blue-title);
}

.bio-page__quote {
  margin: 0;
  padding: clamp(16px, 2.5vw, 20px) clamp(18px, 2.5vw, 22px);
  border-left: 4px solid var(--bio-blue-title);
  background: rgba(28, 42, 80, 0.04);
  border-radius: 0 12px 12px 0;
}

.bio-page__quote p {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-style: italic;
  line-height: 1.55;
  color: var(--bio-blue-title);
}

.bio-page__faq-list {
  display: grid;
  gap: 12px;
}

.bio-page__faq-item {
  padding: 14px 16px;
  border: 1px solid var(--bio-line);
  border-radius: 12px;
  background: rgba(28, 42, 80, 0.03);
}

.bio-page__faq-q {
  margin: 0 0 8px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 700;
  line-height: 1.4;
  color: var(--bio-blue-title);
}

.bio-page__faq-a {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  line-height: 1.58;
  color: var(--bio-blue-body);
}

/* Скрыто для пользователей (mobile + desktop), остаётся в DOM для SEO и AI-парсеров */
.seo-machine-content,
#bio-faq.seo-machine-content {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  scroll-margin: 0;
}

.seo-machine-content__subtitle {
  margin: 0 0 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.seo-machine-content__entity,
.seo-machine-content__sitemap {
  margin: 0 0 16px;
}

.seo-machine-content__facts {
  margin: 0;
  display: grid;
  gap: 6px 12px;
  grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
}

.seo-machine-content__facts dt {
  margin: 0;
  font-weight: 600;
}

.seo-machine-content__facts dd {
  margin: 0;
}

.seo-machine-content__sitemap-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.seo-machine-content__sitemap-list a {
  font-weight: 600;
}

.bio-page__back-wrap {
  margin: clamp(32px, 4vw, 44px) 0 0;
  padding-top: clamp(20px, 3vw, 24px);
  border-top: 1px solid var(--bio-line);
}

.bio-page__aside-inner {
  position: relative;
  padding: 14px 12px 14px;
  background: var(--bio-card);
  border-radius: 14px;
  border: 1px solid var(--bio-line);
  box-shadow: 0 10px 30px rgba(28, 42, 80, 0.14);
}

.bio-page__timeline-float {
  position: fixed;
  top: clamp(96px, 10vh, 124px);
  left: calc(50% + 487px + 20px);
  width: min(184px, calc(100vw - 20px));
  z-index: 35;
}

.bio-page__aside-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.bio-page__aside-toggle {
  display: inline-grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  margin: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  color: var(--bio-blue-title);
  background: rgba(28, 42, 80, 0.08);
  border: 1px solid var(--bio-line);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.25s ease;
}

.bio-page__aside-toggle:hover {
  background: rgba(28, 42, 80, 0.14);
  border-color: rgba(28, 42, 80, 0.2);
}

.bio-page__aside-toggle:focus-visible {
  outline: 2px solid var(--bio-blue-title);
  outline-offset: 2px;
}

.bio-page__aside-toggle.is-collapsed {
  transform: rotate(180deg);
}

html[data-sheet-theme="dark"] .bio-page__aside-toggle {
  color: #f3f7ff;
  background: rgba(140, 176, 236, 0.2);
  border-color: rgba(170, 196, 240, 0.34);
}

html[data-sheet-theme="dark"] .bio-page__aside-toggle:hover {
  background: rgba(140, 176, 236, 0.3);
  border-color: rgba(190, 212, 245, 0.44);
}

.bio-page__aside-content {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  overflow: hidden;
  transition: grid-template-rows 0.3s ease, opacity 0.25s ease;
}

.bio-page__aside-content > * {
  min-height: 0;
}

.bio-page__aside-content.is-collapsed {
  grid-template-rows: 0fr;
  opacity: 0;
}

.bio-page__branch-title {
  margin: 0;
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(17px, 1.6vw, 20px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bio-blue-title);
}

.bio-page__branch-hint {
  margin: 0 0 16px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  color: var(--bio-blue-muted);
}

.bio-page__branch {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 14px;
  border-left: 2px solid rgba(28, 42, 80, 0.18);
}

.bio-page__branch-item {
  position: relative;
  padding: 0 0 10px 3px;
}

.bio-page__branch-link {
  display: block;
  margin: 0;
  color: inherit;
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 7px;
  transition: background-color 0.2s ease;
}

.bio-page__branch-link.is-active {
  background: rgba(28, 42, 80, 0.1);
}

.bio-page__branch-link:hover .bio-page__branch-date,
.bio-page__branch-link:hover .bio-page__branch-text {
  color: var(--bio-blue-title);
}

.bio-page__branch-link:focus-visible {
  outline: 2px solid var(--bio-blue-title);
  outline-offset: 3px;
  border-radius: 4px;
}

.bio-page__branch-item:last-child {
  padding-bottom: 0;
}

.bio-page__branch-item::before {
  content: "";
  position: absolute;
  left: calc(-14px - 4px);
  top: 5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bio-blue-title);
  box-shadow: 0 0 0 3px #fff;
}

.bio-page__branch-date {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--bio-blue-title);
  margin-bottom: 1px;
}

.bio-page__branch-text {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  line-height: 1.35;
  color: var(--bio-blue-body);
  opacity: 0.95;
}

.bio-page__branch-jump {
  display: inline-block;
  margin-top: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--bio-blue-title);
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 42, 80, 0.25);
}

.bio-page__branch-jump:hover {
  border-bottom-color: var(--bio-blue-title);
}

/* ——— Modern biography layout refresh ——— */
body.bio-page .bio-page__primary {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(28, 42, 80, 0.08);
}

body.bio-page .bio-page__section {
  padding: clamp(20px, 2.8vw, 28px) 0 0;
  margin-top: clamp(14px, 2vw, 20px);
  border: none;
  border-radius: 0;
  background: transparent;
}

body.bio-page .bio-page__section:first-of-type {
  margin-top: 0;
}

body.bio-page .bio-page__section-top {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-bottom: 14px;
}

body.bio-page .bio-page__h2 {
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1.02;
  letter-spacing: 0.05em;
}

/* Компактная premium-навигация по разделам */
body.bio-page .bio-page__toc {
  margin-bottom: clamp(18px, 2.8vw, 24px);
  padding-bottom: clamp(14px, 2vw, 18px);
  border-bottom: 1px solid rgba(28, 42, 80, 0.12);
}

body.bio-page .bio-page__toc-label {
  margin-bottom: 8px;
  font-size: 10px;
  letter-spacing: 0.11em;
  color: rgba(74, 90, 120, 0.82);
}

body.bio-page .bio-page__toc-list {
  gap: 6px 8px;
}

body.bio-page .bio-page__toc-list a {
  padding: 5px 10px;
  font-size: clamp(11px, 0.85vw, 12px);
  font-weight: 600;
  color: #1e2f53;
  background: rgba(28, 42, 80, 0.06);
  border: 1px solid rgba(28, 42, 80, 0.12);
  border-radius: 999px;
}

body.bio-page .bio-page__toc-list a:hover {
  background: rgba(28, 42, 80, 0.11);
  border-color: rgba(28, 42, 80, 0.22);
}

body.bio-page .bio-page__figure--thumb,
body.bio-page .bio-page__figure--thumb-lg {
  width: 100%;
  max-width: none;
}

body.bio-page .bio-page__thumb-img {
  width: 100%;
  height: 150%;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  box-shadow: 0 16px 32px rgba(21, 36, 67, 0.14);
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

body.bio-page .bio-page__figure--thumb,
body.bio-page .bio-page__figure--thumb-lg {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 16 / 9;
  min-height: clamp(240px, 28vw, 420px);
  background: #cfd9ea;
}

body.bio-page .bio-page__placeholder--wide {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  border: 1px dashed rgba(28, 42, 80, 0.24);
  background: linear-gradient(135deg, #dce6f5 0%, #cddbee 50%, #c0d2ea 100%);
}

body.bio-page .bio-page__prose p {
  max-width: 72ch;
}

html[data-sheet-theme="dark"] body.bio-page .bio-page__primary {
  background: linear-gradient(180deg, rgba(11, 20, 37, 0.97) 0%, rgba(14, 26, 48, 0.96) 100%);
  border-color: rgba(170, 196, 240, 0.24);
}

html[data-sheet-theme="dark"] body.bio-page .bio-page__section {
  background: transparent;
  border: none;
}

html[data-sheet-theme="dark"] body.bio-page .bio-page__thumb-img {
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

html[data-sheet-theme="dark"] body.bio-page .bio-page__toc {
  border-bottom-color: rgba(170, 196, 240, 0.2);
}

html[data-sheet-theme="dark"] body.bio-page .bio-page__toc-label {
  color: rgba(180, 200, 235, 0.78);
}

html[data-sheet-theme="dark"] body.bio-page .bio-page__toc-list a {
  color: #eaf2ff;
  background: rgba(140, 176, 236, 0.15);
  border-color: rgba(170, 196, 240, 0.24);
}

html[data-sheet-theme="dark"] body.bio-page .bio-page__toc-list a:hover {
  background: rgba(140, 176, 236, 0.24);
  border-color: rgba(190, 212, 245, 0.36);
}

html[data-sheet-theme="dark"] body.bio-page .bio-page__placeholder--wide {
  border-color: rgba(170, 196, 240, 0.34);
  background: linear-gradient(135deg, #1a2b49 0%, #1f355c 50%, #27416f 100%);
}

@media (max-width: 900px) {
  .bio-page__grid {
    grid-template-columns: 1fr;
  }

  .bio-page__timeline-float {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: clamp(20px, 3vw, 28px);
  }

  body.bio-page .bio-page__section-top {
    gap: 12px;
  }

  body.bio-page .bio-page__figure--thumb,
  body.bio-page .bio-page__figure--thumb-lg {
    width: 100%;
  }

  .bio-page__branch {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px 16px;
    padding: 0;
    border-left: none;
  }

  .bio-page__branch-item {
    padding: 12px 14px;
    background: rgba(28, 42, 80, 0.04);
    border-radius: 10px;
    border: 1px solid var(--bio-line);
  }

  .bio-page__branch-link {
    margin: -12px -14px;
    padding: 12px 14px;
  }

  .bio-page__branch-item::before {
    display: none;
  }

  .bio-page__branch-date {
    margin-bottom: 4px;
  }
}

@media (max-width: 640px) {
  .bio-page__main--full-bleed-top .bio-page__shell {
    margin-top: clamp(-82px, -6vh, -52px);
  }

  .bio-page__main--full-bleed-top .bio-page__article.floating-sheet__bio {
    padding-left: clamp(16px, 4vw, 24px);
    padding-right: clamp(16px, 4vw, 24px);
  }

  .bio-page__hero-copy {
    text-align: left;
  }

  .bio-page__hero--overlay {
    align-items: flex-start;
    min-height: clamp(520px, 88vh, 760px);
    padding-top: clamp(76px, 14vw, 96px);
    padding-right: var(--page-inline-pad);
    padding-bottom: clamp(28px, 8vw, 44px);
  }

  .bio-page__hero--overlay .bio-page__hero-copy {
    text-align: left;
    max-width: 100%;
  }

  .bio-page__lead {
    max-width: none;
  }

  .bio-page__hero--overlay .bio-page__lead {
    max-width: 42ch;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.5;
  }

  .bio-page__hero-actions {
    flex-wrap: wrap;
    gap: 10px;
  }

  .bio-page__hero-btn {
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 11px;
  }

  .bio-page__hero-link {
    font-size: 14px;
  }

  .bio-page__section-top {
    flex-direction: column;
  }

  .bio-page__figure--thumb {
    width: 100%;
    max-width: 280px;
  }

  .bio-page__figure--thumb-lg {
    max-width: min(100%, 420px);
    width: 100%;
  }

  .bio-page__awards li {
    grid-template-columns: 48px minmax(0, 1fr);
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  #bio-static-background {
    /* Мобильная версия биографии: отдельная фиксация кадра, как на главной */
    background-position: calc(50% - 200px) center;
  }

  .bio-page__hero--overlay .bio-page__hero-copy {
    display: none;
  }

  .bio-mobile-module {
    display: block;
    position: relative;
    margin: 0 0 clamp(18px, 4vw, 24px);
    z-index: 2;
    pointer-events: auto;
  }

  .bio-mobile-module__inner {
    max-width: min(520px, 100%);
    padding: clamp(14px, 4vw, 20px) clamp(14px, 4.5vw, 22px) clamp(16px, 5vw, 24px);
  }

  .bio-mobile-module__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.94);
  }

  .bio-mobile-module__title {
    margin: 0;
    font-family: 'Alumni Sans', sans-serif;
    font-size: clamp(40px, 12vw, 58px);
    font-weight: 400;
    line-height: 0.9;
    letter-spacing: 0.02em;
    color: #ffffff;
  }

  .bio-mobile-module__lead {
    margin: 12px 0 0;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.5;
    color: rgba(245, 248, 255, 0.96);
  }

  .bio-mobile-module__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    min-height: 42px;
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  body.bio-page.bio-page--clean .bio-page__shell {
    position: relative;
    z-index: 4;
    margin-top: -30vh !important;
  }

  html[data-sheet-theme="light"] .bio-mobile-module__eyebrow,
  html[data-sheet-theme="light"] .bio-mobile-module__title,
  html[data-sheet-theme="light"] .bio-mobile-module__lead {
    color: #1c2a50;
  }

  html[data-sheet-theme="light"] .bio-mobile-module__btn {
    color: #1c2a50;
    border-color: #1c2a50;
    background: rgba(255, 255, 255, 0.55);
  }
}

/* ——— Отдельные страницы направлений деятельности ——— */
.activity-subpage__card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  background: #fff;
  border: 1px solid rgba(28, 42, 80, 0.1);
  border-radius: clamp(16px, 2vw, 22px);
  box-shadow: 0 4px 28px rgba(28, 42, 80, 0.07);
  box-sizing: border-box;
}

/* Направления: поля как у биографии + белый фон полосы main, колонка по центру */
body.bio-page.activity-subpage .bio-page__main {
  padding: clamp(88px, 11vw, 112px) var(--page-inline-pad) clamp(48px, 7vw, 80px);
  box-sizing: border-box;
  max-width: 100%;
  background: #fff;
  overflow-x: clip;
}

body.activity-subpage .bio-page__shell {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
}

body.activity-subpage article.activity-subpage__card {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: clamp(24px, 4vw, 40px) clamp(20px, 3vw, 32px);
  border-radius: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(28, 42, 80, 0.1);
  box-shadow: 0 4px 28px rgba(28, 42, 80, 0.07);
  box-sizing: border-box;
  flex-shrink: 0;
  align-self: stretch;
}

.activity-subpage__eyebrow {
  margin: 0 0 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7a94;
}

.activity-subpage__title {
  margin: 0 0 clamp(12px, 2vw, 18px);
  font-family: 'Alumni Sans', sans-serif;
  font-weight: 500;
  font-size: clamp(32px, 4.2vw, 44px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.08;
  color: #1c2a50;
}

.activity-subpage__lead {
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: #4a5a78;
  max-width: 58ch;
}

/* Страницы направлений с логотипами: контент + правая колонка логотипов */
.activity-subpage__card:has(.activity-subpage__logos) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
  grid-template-areas:
    "eyebrow logos"
    "title logos"
    "lead logos"
    "prose logos"
    "siblings siblings"
    "back back";
  column-gap: clamp(24px, 3.5vw, 40px);
  row-gap: clamp(12px, 1.8vw, 18px);
  align-items: start;
}

.activity-subpage__card:has(.activity-subpage__logos) .activity-subpage__eyebrow {
  grid-area: eyebrow;
}

.activity-subpage__card:has(.activity-subpage__logos) .activity-subpage__title {
  grid-area: title;
}

.activity-subpage__card:has(.activity-subpage__logos) .activity-subpage__lead {
  grid-area: lead;
  margin-bottom: 0;
}

.activity-subpage__card:has(.activity-subpage__logos) .activity-subpage__logos {
  grid-area: logos;
  align-self: start;
}

.activity-subpage__card:has(.activity-subpage__logos) .activity-subpage__prose {
  grid-area: prose;
  max-width: none;
}

.activity-subpage__card:has(.activity-subpage__logos) .activity-subpage__siblings {
  grid-area: siblings;
}

.activity-subpage__card:has(.activity-subpage__logos) .activity-subpage__back {
  grid-area: back;
}

/* Фон как у подвала (.site-footer --footer-bg); на странице «Бизнес» — красный как .activity-card--business */
.activity-subpage__logos {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(12px, 1.5vw, 16px);
  padding: clamp(16px, 2.5vw, 22px);
  margin: 0 0 clamp(22px, 3vw, 28px);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: #1c2a50;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(28, 42, 80, 0.25);
}

body.activity-subpage--business .activity-subpage__logos {
  background: linear-gradient(180deg, #b4232a 0%, #7f151b 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(127, 21, 27, 0.38);
}

body.activity-subpage--business .activity-subpage__logos img {
  height: auto;
  max-height: clamp(32px, 4.8vw, 44px);
  max-width: 132px;
  width: auto;
}

/* Только «Благотворительность»: полоса логотипов на белом */
body.activity-subpage--charity .activity-subpage__logos {
  background: #fff;
  border-color: rgba(28, 42, 80, 0.12);
  box-shadow: 0 4px 24px rgba(28, 42, 80, 0.08);
}

body.activity-subpage--charity .activity-subpage__logos a:focus-visible {
  outline-color: rgba(28, 42, 80, 0.45);
}

body.activity-subpage--public .activity-subpage__logos {
  background: linear-gradient(135deg, #0e223f 0%, #16325a 50%, #1c3d6e 100%);
  border-color: rgba(255, 255, 255, 0.14);
}

.activity-subpage__logo-fallback {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  transition: background-color 0.2s ease;
}

.activity-subpage__logos a:hover .activity-subpage__logo-fallback {
  background: rgba(255, 255, 255, 0.1);
}

.activity-subpage__logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  min-height: clamp(88px, 12vw, 116px);
  width: 100%;
  padding: clamp(14px, 2vw, 20px);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  opacity: 0.94;
  transition: opacity 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.activity-subpage__logos a:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: none;
}

.activity-subpage__logos a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 4px;
  border-radius: 4px;
  background: transparent;
}

.activity-subpage__logos img {
  display: block;
  height: clamp(62px, 8vw, 88px);
  width: auto;
  max-width: min(100%, 280px);
  object-fit: contain;
}

@media (max-width: 900px) {
  .activity-subpage__card:has(.activity-subpage__logos) {
    grid-template-columns: 1fr;
    grid-template-areas:
      "eyebrow"
      "title"
      "lead"
      "logos"
      "prose"
      "siblings"
      "back";
  }

  .activity-subpage__card:has(.activity-subpage__logos) .activity-subpage__lead {
    margin-bottom: clamp(12px, 2vw, 18px);
  }

  .activity-subpage__logos {
    margin-bottom: clamp(14px, 2.5vw, 20px);
  }
}

.activity-subpage__prose p {
  margin: 0 0 clamp(14px, 2vw, 18px);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.62;
  color: #4a5a78;
  max-width: 62ch;
}

.activity-subpage__prose p:last-child {
  margin-bottom: 0;
}

.activity-subpage__siblings {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: clamp(28px, 4vw, 36px);
  padding-top: clamp(20px, 3vw, 24px);
  border-top: 1px solid rgba(28, 42, 80, 0.1);
}

.activity-subpage__siblings a {
  display: inline-block;
  padding: 8px 14px;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #1c2a50;
  text-decoration: none;
  border: 1px solid rgba(28, 42, 80, 0.2);
  border-radius: 999px;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.activity-subpage__siblings a:hover {
  background: #1c2a50;
  color: #fff;
  border-color: #1c2a50;
}

.activity-subpage__siblings a[aria-current="page"] {
  background: rgba(28, 42, 80, 0.1);
  border-color: #1c2a50;
  pointer-events: none;
}

.activity-subpage__back {
  margin-top: clamp(20px, 3vw, 28px);
}

.activity-subpage__back .sheet-block__link--dark {
  color: #2a3f6e;
}

/* ——— Премиальная вёрстка: Благотворительность ——— */
body.activity-subpage--charity .activity-charity-premium {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid rgba(28, 42, 80, 0.14);
  border-radius: clamp(18px, 2.4vw, 28px);
  background: linear-gradient(145deg, #ffffff 0%, #ffffff 55%, #f4f8ff 100%);
  box-shadow:
    0 16px 44px rgba(20, 37, 78, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

body.activity-subpage--charity .activity-charity-premium::after {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.activity-charity-premium__hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 320px);
  gap: clamp(18px, 2.8vw, 34px);
  align-items: start;
}

.activity-charity-premium__intro .activity-subpage__lead {
  margin-bottom: 0;
  max-width: 62ch;
}

.activity-charity-premium__logo-link {
  justify-self: end;
  width: 100%;
  max-width: 400px;
  min-height: clamp(128px, 14.5vw, 174px);
}

.activity-charity-premium__logo-link:focus-visible {
  outline: 2px solid rgba(28, 42, 80, 0.45);
  outline-offset: 3px;
}

.activity-charity-premium__logo-link img {
  width: min(100%, 360px);
}

.activity-charity-premium__gallery {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 18px);
  margin-top: clamp(10px, 1.6vw, 16px);
}

.activity-charity-premium__photo {
  margin: 0;
  border-radius: clamp(14px, 1.6vw, 18px);
  overflow: hidden;
  border: 1px solid rgba(28, 42, 80, 0.1);
  box-shadow: 0 12px 26px rgba(18, 34, 66, 0.14);
  background: #dfe6f2;
}

.activity-charity-premium__photo--large {
  grid-row: span 2;
  min-height: clamp(260px, 36vw, 460px);
}

.activity-charity-premium__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.activity-charity-premium__prose {
  position: relative;
  z-index: 1;
  margin-top: clamp(22px, 3.1vw, 34px);
  margin-bottom: clamp(18px, 2.6vw, 28px);
  padding-bottom: clamp(16px, 2vw, 22px);
  border-bottom: 1px solid rgba(28, 42, 80, 0.14);
  background: transparent;
}

.activity-charity-premium__prose p {
  max-width: none;
}

@media (max-width: 980px) {
  .activity-charity-premium__hero {
    grid-template-columns: 1fr;
  }

  .activity-charity-premium__logo-link {
    justify-self: start;
    max-width: min(100%, 400px);
  }
}

@media (max-width: 760px) {
  body.activity-subpage--charity .activity-charity-premium {
    padding: clamp(18px, 6vw, 24px);
  }

  .activity-charity-premium__gallery {
    grid-template-columns: 1fr;
  }

  .activity-charity-premium__photo--large {
    grid-row: auto;
    min-height: clamp(220px, 62vw, 320px);
  }

  .activity-charity-premium__photo {
    min-height: clamp(180px, 52vw, 280px);
  }
}

@media (max-width: 480px) {
  .activity-charity-premium__logo-link:hover,
  .activity-charity-premium__logo-link:focus-visible {
    transform: none;
  }
}

html[data-sheet-theme="dark"] body.activity-subpage--charity .bio-page__main {
  background: linear-gradient(180deg, #070f1c 0%, #0d1a30 52%, #122440 100%);
}

html[data-sheet-theme="dark"] body.activity-subpage--charity .activity-charity-premium {
  border-color: rgba(170, 201, 255, 0.22);
  background: linear-gradient(148deg, rgba(10, 20, 40, 0.96) 0%, rgba(14, 28, 52, 0.96) 54%, rgba(18, 36, 66, 0.96) 100%);
  box-shadow:
    0 20px 50px rgba(2, 8, 20, 0.44),
    inset 0 1px 0 rgba(208, 226, 255, 0.1);
}

html[data-sheet-theme="dark"] body.activity-subpage--charity .activity-subpage__eyebrow {
  color: rgba(183, 208, 255, 0.84);
}

html[data-sheet-theme="dark"] body.activity-subpage--charity .activity-subpage__title {
  color: #f4f8ff;
}

html[data-sheet-theme="dark"] body.activity-subpage--charity .activity-subpage__lead,
html[data-sheet-theme="dark"] body.activity-subpage--charity .activity-charity-premium__prose p {
  color: rgba(222, 234, 255, 0.92);
}

html[data-sheet-theme="dark"] body.activity-subpage--charity .activity-charity-premium__prose {
  border-bottom-color: rgba(183, 208, 255, 0.24);
}

html[data-sheet-theme="dark"] body.activity-subpage--charity .activity-charity-premium__photo {
  border-color: rgba(183, 208, 255, 0.2);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.36);
}

/* ——— Премиальная вёрстка: Общественная деятельность ——— */
body.activity-subpage--public .activity-public-premium {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid rgba(28, 42, 80, 0.14);
  border-radius: clamp(18px, 2.4vw, 28px);
  background:
    radial-gradient(circle at 18% 12%, rgba(108, 154, 230, 0.14), transparent 36%),
    radial-gradient(circle at 84% 10%, rgba(42, 95, 182, 0.1), transparent 32%),
    linear-gradient(145deg, #ffffff 0%, #ffffff 55%, #f4f8ff 100%);
  box-shadow:
    0 16px 44px rgba(20, 37, 78, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.activity-public-premium__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 24px);
  align-items: start;
}

.activity-public-premium__intro .activity-subpage__lead {
  margin-bottom: 0;
  max-width: 64ch;
}

.activity-public-premium__logo-link {
  min-height: clamp(94px, 10vw, 118px);
}

.activity-public-premium__logo-link:focus-visible {
  outline: 2px solid rgba(28, 42, 80, 0.45);
  outline-offset: 3px;
}

.activity-public-premium__logo-link img {
  width: min(100%, 280px);
}

.activity-public-premium__prose {
  margin-top: clamp(22px, 3vw, 30px);
  padding-top: clamp(18px, 2.2vw, 24px);
  border-top: 1px solid rgba(28, 42, 80, 0.14);
}

.activity-public-premium__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}

.activity-public-premium__item + .activity-public-premium__item {
  margin-top: clamp(28px, 3.2vw, 36px);
  padding-top: clamp(24px, 2.8vw, 30px);
  border-top: 1px solid rgba(28, 42, 80, 0.12);
}

.activity-public-premium__item-main p:last-child {
  margin-bottom: 0;
}

.activity-public-premium__section-title {
  margin: 0 0 clamp(10px, 1.6vw, 14px);
  font-family: 'Alumni Sans', sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #1c2a50;
}

@media (max-width: 980px) {
  .activity-public-premium__hero {
    grid-template-columns: 1fr;
  }

  .activity-public-premium__item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.activity-subpage--public .activity-public-premium {
    padding: clamp(18px, 6vw, 24px);
  }

  .activity-public-premium__item {
    gap: 12px;
  }
}

html[data-sheet-theme="dark"] body.activity-subpage--public .bio-page__main {
  background: linear-gradient(180deg, #070f1c 0%, #0d1a30 52%, #122440 100%);
}

html[data-sheet-theme="dark"] body.activity-subpage--public .activity-public-premium {
  border-color: rgba(170, 201, 255, 0.22);
  background: linear-gradient(148deg, rgba(10, 20, 40, 0.96) 0%, rgba(14, 28, 52, 0.96) 54%, rgba(18, 36, 66, 0.96) 100%);
  box-shadow:
    0 20px 50px rgba(2, 8, 20, 0.44),
    inset 0 1px 0 rgba(208, 226, 255, 0.1);
}

html[data-sheet-theme="dark"] body.activity-subpage--public .activity-subpage__eyebrow {
  color: rgba(183, 208, 255, 0.84);
}

html[data-sheet-theme="dark"] body.activity-subpage--public .activity-subpage__title,
html[data-sheet-theme="dark"] body.activity-subpage--public .activity-public-premium__section-title {
  color: #f4f8ff;
}

html[data-sheet-theme="dark"] body.activity-subpage--public .activity-subpage__lead,
html[data-sheet-theme="dark"] body.activity-subpage--public .activity-public-premium__prose p {
  color: rgba(222, 234, 255, 0.92);
}

html[data-sheet-theme="dark"] body.activity-subpage--public .activity-public-premium__prose {
  border-top-color: rgba(183, 208, 255, 0.24);
}

html[data-sheet-theme="dark"] body.activity-subpage--public .activity-public-premium__item + .activity-public-premium__item {
  border-top-color: rgba(183, 208, 255, 0.2);
}


/* ——— Премиальная вёрстка: Спорт ——— */
body.activity-subpage--sport .activity-sport-premium {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid rgba(28, 42, 80, 0.14);
  border-radius: clamp(18px, 2.4vw, 28px);
  background:
    radial-gradient(circle at 18% 12%, rgba(103, 147, 229, 0.14), transparent 38%),
    radial-gradient(circle at 86% 10%, rgba(60, 115, 210, 0.11), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #ffffff 55%, #f4f8ff 100%);
  box-shadow:
    0 16px 44px rgba(20, 37, 78, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.activity-sport-premium__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 24px);
}

.activity-sport-premium__intro .activity-subpage__lead {
  margin-bottom: 0;
  max-width: 64ch;
}

.activity-sport-premium__prose {
  margin-top: clamp(22px, 3vw, 30px);
  padding-top: clamp(18px, 2.2vw, 24px);
  border-top: 1px solid rgba(28, 42, 80, 0.14);
}

.activity-sport-premium__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}

.activity-sport-premium__item + .activity-sport-premium__item {
  margin-top: clamp(28px, 3.2vw, 36px);
  padding-top: clamp(24px, 2.8vw, 30px);
  border-top: 1px solid rgba(28, 42, 80, 0.12);
}

.activity-sport-premium__section-title {
  margin: 0 0 clamp(10px, 1.6vw, 14px);
  font-family: 'Alumni Sans', sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #1c2a50;
}

.activity-sport-premium__logo-link {
  min-height: clamp(90px, 10vw, 116px);
}

.activity-sport-premium__logo-link:focus-visible {
  outline: 2px solid rgba(28, 42, 80, 0.45);
  outline-offset: 3px;
}

.activity-sport-premium__logo-link img {
  width: min(100%, 300px);
}

@media (max-width: 980px) {
  .activity-sport-premium__item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.activity-subpage--sport .activity-sport-premium {
    padding: clamp(18px, 6vw, 24px);
  }

  .activity-sport-premium__item {
    gap: 12px;
  }
}

html[data-sheet-theme="dark"] body.activity-subpage--sport .bio-page__main {
  background: linear-gradient(180deg, #070f1c 0%, #0d1a30 52%, #122440 100%);
}

html[data-sheet-theme="dark"] body.activity-subpage--sport .activity-sport-premium {
  border-color: rgba(170, 201, 255, 0.22);
  background: linear-gradient(148deg, rgba(10, 20, 40, 0.96) 0%, rgba(14, 28, 52, 0.96) 54%, rgba(18, 36, 66, 0.96) 100%);
  box-shadow:
    0 20px 50px rgba(2, 8, 20, 0.44),
    inset 0 1px 0 rgba(208, 226, 255, 0.1);
}

html[data-sheet-theme="dark"] body.activity-subpage--sport .activity-subpage__eyebrow {
  color: rgba(183, 208, 255, 0.84);
}

html[data-sheet-theme="dark"] body.activity-subpage--sport .activity-subpage__title,
html[data-sheet-theme="dark"] body.activity-subpage--sport .activity-sport-premium__section-title {
  color: #f4f8ff;
}

html[data-sheet-theme="dark"] body.activity-subpage--sport .activity-subpage__lead,
html[data-sheet-theme="dark"] body.activity-subpage--sport .activity-sport-premium__prose p {
  color: rgba(222, 234, 255, 0.92);
}

html[data-sheet-theme="dark"] body.activity-subpage--sport .activity-sport-premium__prose {
  border-top-color: rgba(183, 208, 255, 0.24);
}

html[data-sheet-theme="dark"] body.activity-subpage--sport .activity-sport-premium__item + .activity-sport-premium__item {
  border-top-color: rgba(183, 208, 255, 0.2);
}

/* ——— Премиальная вёрстка: Бизнес ——— */
body.activity-subpage--business .activity-business-premium {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3.4vw, 42px);
  border: 1px solid rgba(28, 42, 80, 0.14);
  border-radius: clamp(18px, 2.4vw, 28px);
  background:
    radial-gradient(circle at 18% 12%, rgba(103, 147, 229, 0.14), transparent 38%),
    radial-gradient(circle at 86% 10%, rgba(60, 115, 210, 0.11), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #ffffff 55%, #f4f8ff 100%);
  box-shadow:
    0 16px 44px rgba(20, 37, 78, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.activity-business-premium__hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 2.2vw, 24px);
}

.activity-business-premium__intro .activity-subpage__lead {
  margin-bottom: 0;
  max-width: 64ch;
}

.activity-business-premium__prose {
  margin-top: clamp(22px, 3vw, 30px);
  padding-top: clamp(18px, 2.2vw, 24px);
  border-top: 1px solid rgba(28, 42, 80, 0.14);
}

.activity-business-premium__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
  gap: clamp(16px, 2.4vw, 28px);
  align-items: start;
}

.activity-business-premium__item + .activity-business-premium__item {
  margin-top: clamp(28px, 3.2vw, 36px);
  padding-top: clamp(24px, 2.8vw, 30px);
  border-top: 1px solid rgba(28, 42, 80, 0.12);
}

.activity-business-premium__section-title {
  margin: 0 0 clamp(10px, 1.6vw, 14px);
  font-family: 'Alumni Sans', sans-serif;
  font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.05;
  color: #1c2a50;
}

.activity-business-premium__logo-link {
  min-height: clamp(90px, 10vw, 116px);
}

.activity-business-premium__logo-link:focus-visible {
  outline: 2px solid rgba(28, 42, 80, 0.45);
  outline-offset: 3px;
}

.activity-business-premium__logo-link img {
  width: min(100%, 300px);
}

@media (max-width: 980px) {
  .activity-business-premium__item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  body.activity-subpage--business .activity-business-premium {
    padding: clamp(18px, 6vw, 24px);
  }

  .activity-business-premium__item {
    gap: 12px;
  }
}

html[data-sheet-theme="dark"] body.activity-subpage--business .bio-page__main {
  background: linear-gradient(180deg, #070f1c 0%, #0d1a30 52%, #122440 100%);
}

html[data-sheet-theme="dark"] body.activity-subpage--business .activity-business-premium {
  border-color: rgba(170, 201, 255, 0.22);
  background: linear-gradient(148deg, rgba(10, 20, 40, 0.96) 0%, rgba(14, 28, 52, 0.96) 54%, rgba(18, 36, 66, 0.96) 100%);
  box-shadow:
    0 20px 50px rgba(2, 8, 20, 0.44),
    inset 0 1px 0 rgba(208, 226, 255, 0.1);
}

html[data-sheet-theme="dark"] body.activity-subpage--business .activity-subpage__eyebrow {
  color: rgba(183, 208, 255, 0.84);
}

html[data-sheet-theme="dark"] body.activity-subpage--business .activity-subpage__title,
html[data-sheet-theme="dark"] body.activity-subpage--business .activity-business-premium__section-title {
  color: #f4f8ff;
}

html[data-sheet-theme="dark"] body.activity-subpage--business .activity-subpage__lead,
html[data-sheet-theme="dark"] body.activity-subpage--business .activity-business-premium__prose p {
  color: rgba(222, 234, 255, 0.92);
}

html[data-sheet-theme="dark"] body.activity-subpage--business .activity-business-premium__prose {
  border-top-color: rgba(183, 208, 255, 0.24);
}

html[data-sheet-theme="dark"] body.activity-subpage--business .activity-business-premium__item + .activity-business-premium__item {
  border-top-color: rgba(183, 208, 255, 0.2);
}

/* ——— Страница «Все новости» ——— */
body.news-archive-page article.news-archive__card {
  max-width: min(1120px, 100%);
}

body.news-archive-page article.activity-subpage__card.news-archive__card {
  background: transparent;
  border: none;
  box-shadow: none;
}

.news-archive__layout {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 40px);
  margin-top: clamp(20px, 3vw, 28px);
  align-items: start;
}

@media (max-width: 900px) {
  .news-archive__layout {
    grid-template-columns: 1fr;
  }
}

.news-archive__aside {
  position: sticky;
  top: 96px;
  padding: 0 20px 0 0;
  border-radius: 0;
  border: none;
  background: transparent;
}

@media (max-width: 900px) {
  .news-archive__aside {
    position: static;
    padding: 0;
  }
}

.news-archive__aside-title {
  font-family: 'Alumni Sans', sans-serif;
  font-size: 22px;
  font-weight: 500;
  color: #1c2a50;
  margin: 0 0 14px;
}

.news-archive__calendar {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news-archive__cal-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.news-archive__cal-row--head {
  margin-bottom: 2px;
}

.news-archive__cal-wd {
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 600;
  text-align: center;
  color: #6b6a76;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.news-archive__cal-cell {
  aspect-ratio: 1;
  min-height: 0;
}

.news-archive__cal-cell--empty {
  pointer-events: none;
}

.news-archive__cal-day {
  width: 100%;
  height: 100%;
  min-height: 36px;
  border: 1px solid rgba(28, 42, 80, 0.12);
  border-radius: 10px;
  background: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #1c2a50;
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.news-archive__cal-day:hover:not(:disabled) {
  border-color: #1c2a50;
  box-shadow: 0 2px 10px rgba(28, 42, 80, 0.12);
}

.news-archive__cal-day.is-selected {
  background: #1c2a50;
  color: #fff;
  border-color: #1c2a50;
}

.news-archive__cal-day--muted {
  opacity: 0.35;
  cursor: not-allowed;
}

.news-archive__cal-day-mark {
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 999px;
  background: rgba(28, 42, 80, 0.12);
  color: #1c2a50;
}

.news-archive__cal-day.is-selected .news-archive__cal-day-mark {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.news-archive__aside-actions {
  margin-top: 14px;
}

.news-archive__toolbar {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}

.news-archive__search-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-archive__search-label {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b6a76;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-archive__search {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1px solid rgba(28, 42, 80, 0.18);
  border-radius: 12px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  color: #1c2a50;
  background: #fff;
}

.news-archive__search:focus {
  outline: 2px solid #1c2a50;
  outline-offset: 2px;
}

.news-archive__toolbar-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-archive__count {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #6b6a76;
  margin: 0;
}

.news-archive__btn {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid #1c2a50;
  background: #1c2a50;
  color: #fff;
  transition: opacity 0.2s ease;
}

.news-archive__btn:hover {
  opacity: 0.92;
}

.news-archive__btn--ghost {
  background: transparent;
  color: #1c2a50;
}

.news-archive__btn--ghost:hover {
  background: rgba(28, 42, 80, 0.06);
  opacity: 1;
}

.news-archive__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: clamp(16px, 2.5vw, 22px);
}

.news-archive-card {
  position: relative;
  scroll-margin-top: 100px;
  border-radius: clamp(14px, 2vw, 18px);
  border: 1px solid rgba(28, 42, 80, 0.1);
  background: #fff;
  box-shadow: 0 4px 20px rgba(28, 42, 80, 0.06);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.news-archive-card:hover {
  box-shadow: 0 10px 32px rgba(28, 42, 80, 0.12);
  transform: translateY(-2px);
}

.news-archive-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.news-archive-card__link:focus-visible {
  outline: 2px solid #1c2a50;
  outline-offset: 3px;
}

.news-archive-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #e8eaf2;
  overflow: hidden;
}

.news-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-archive-card__badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #1c2a50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.news-archive-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-archive-card__date {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b6a76;
  letter-spacing: 0.03em;
}

.news-archive-card__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: #1c2a50;
}

.news-archive-card__excerpt {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #3d3c47;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-archive-card__cta-list {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-archive-card__cta {
  display: inline-flex;
  align-items: center;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2a4a8a;
  text-decoration: none;
  border: 1px solid rgba(42, 74, 138, 0.28);
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(42, 74, 138, 0.06);
}

.news-archive-card__cta:hover {
  text-decoration: underline;
}

.news-archive-card__gallery-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  color: #1c2a50;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 14px rgba(28, 42, 80, 0.15);
  transition: background 0.2s ease, transform 0.15s ease;
}

.news-archive-card__gallery-btn:hover {
  background: #fff;
  transform: scale(1.02);
}

.news-archive-card__gallery-btn:focus-visible {
  outline: 2px solid #1c2a50;
  outline-offset: 2px;
}

.news-archive-preview {
  max-width: min(96vw, 900px);
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 14px;
  background: #f6f7fb;
  color: #1c2a50;
  box-shadow: 0 24px 64px rgba(15, 20, 32, 0.2);
}

.news-archive-preview::backdrop {
  background: rgba(15, 20, 32, 0.55);
}

.news-archive-preview__inner {
  position: relative;
  padding: clamp(16px, 3vw, 24px);
}

.news-archive-preview__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(28, 42, 80, 0.1);
  color: #1c2a50;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.news-archive-preview__close:hover {
  background: rgba(28, 42, 80, 0.16);
}

.news-archive-preview__head {
  padding-right: 48px;
  margin-bottom: 12px;
}

.news-archive-preview__h2 {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  margin: 0 0 6px;
  line-height: 1.3;
  color: #1c2a50;
}

.news-archive-preview__meta {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #6b6a76;
}

.news-archive-preview__empty {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #3d3c47;
  margin: 0 0 16px;
}

.news-archive-preview__viewer {
  position: relative;
  background: #0f1420;
  border-radius: 10px;
  padding: 12px 48px 16px;
  min-height: 200px;
}

.news-archive-preview__counter {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  z-index: 1;
}

.news-archive-preview__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.news-archive-preview__nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.28);
}

.news-archive-preview__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-archive-preview__nav--prev {
  left: 8px;
}

.news-archive-preview__nav--next {
  right: 8px;
}

.news-archive-preview__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(72vh, 720px);
  object-fit: contain;
  margin: 0 auto;
}

.news-archive-preview__caption {
  margin: 10px 0 0;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
}

.news-archive-preview__foot {
  margin: 16px 0 0;
  text-align: center;
}

.news-archive-preview__full-link {
  font-size: 14px;
}

.news-archive__empty {
  font-family: 'Raleway', sans-serif;
  color: #6b6a76;
  grid-column: 1 / -1;
  padding: 24px;
  text-align: center;
  border: 1px dashed rgba(28, 42, 80, 0.2);
  border-radius: 14px;
}

/* ——— Страница «Все видео» ——— */
body.media-archive-page article.media-archive__card {
  max-width: min(1120px, 100%);
}

body.media-archive-page article.activity-subpage__card.media-archive__card {
  background: transparent;
  border: none;
  box-shadow: none;
}

/* ——— Тёмная тема: архив новостей / медиа ——— */
html[data-sheet-theme="dark"] body.news-archive-page,
html[data-sheet-theme="dark"] body.media-archive-page {
  background: #050b16;
}

html[data-sheet-theme="dark"] body.news-archive-page .bio-page__main,
html[data-sheet-theme="dark"] body.media-archive-page .bio-page__main {
  background: linear-gradient(180deg, #060d1a 0%, #081326 100%);
}

html[data-sheet-theme="dark"] body.news-archive-page .activity-subpage__eyebrow,
html[data-sheet-theme="dark"] body.media-archive-page .activity-subpage__eyebrow {
  color: rgba(180, 200, 235, 0.82);
}

html[data-sheet-theme="dark"] body.news-archive-page .activity-subpage__title,
html[data-sheet-theme="dark"] body.media-archive-page .activity-subpage__title {
  color: #f2f6ff;
}

html[data-sheet-theme="dark"] body.news-archive-page .activity-subpage__lead,
html[data-sheet-theme="dark"] body.media-archive-page .activity-subpage__lead {
  color: rgba(218, 228, 250, 0.9);
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive__aside-title,
html[data-sheet-theme="dark"] body.media-archive-page .news-archive__aside-title,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive__platforms-label,
html[data-sheet-theme="dark"] body.news-archive-page .news-archive__search-label,
html[data-sheet-theme="dark"] body.media-archive-page .news-archive__search-label,
html[data-sheet-theme="dark"] body.news-archive-page .news-archive__count,
html[data-sheet-theme="dark"] body.media-archive-page .news-archive__count {
  color: rgba(210, 224, 250, 0.86);
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive__search,
html[data-sheet-theme="dark"] body.media-archive-page .news-archive__search {
  color: #eef4ff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(170, 196, 240, 0.28);
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive__search::placeholder,
html[data-sheet-theme="dark"] body.media-archive-page .news-archive__search::placeholder {
  color: rgba(190, 208, 238, 0.7);
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive__search:focus,
html[data-sheet-theme="dark"] body.media-archive-page .news-archive__search:focus {
  outline-color: #9ec5ff;
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive__btn,
html[data-sheet-theme="dark"] body.media-archive-page .news-archive__btn,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive__chip,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive__cal-nav {
  color: #e8f1ff;
  background: rgba(140, 176, 236, 0.12);
  border-color: rgba(170, 196, 240, 0.3);
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive__btn:hover,
html[data-sheet-theme="dark"] body.media-archive-page .news-archive__btn:hover,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive__chip:hover,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive__cal-nav:hover {
  background: rgba(140, 176, 236, 0.22);
  border-color: rgba(190, 212, 245, 0.42);
}

html[data-sheet-theme="dark"] body.media-archive-page .media-archive__chip.is-active {
  color: #ffffff;
  background: rgba(140, 176, 236, 0.35);
  border-color: rgba(190, 212, 245, 0.52);
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive-card,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive-card {
  background: rgba(12, 22, 40, 0.95);
  border-color: rgba(170, 196, 240, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive-card__title,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive-card__title,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive-card__stat {
  color: #f1f6ff;
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive-card__date,
html[data-sheet-theme="dark"] body.news-archive-page .news-archive-card__excerpt,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive-card__date,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive-card__stat-label {
  color: rgba(190, 208, 238, 0.8);
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive-card__cta,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive-card__cta {
  color: #9ec5ff;
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive-card__cta {
  border-color: rgba(158, 197, 255, 0.36);
  background: rgba(158, 197, 255, 0.1);
}

/* Усиленная тёмно-синяя тема именно для media-all */
html[data-sheet-theme="dark"] body.media-archive-page .bio-page__main {
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(45, 84, 150, 0.28) 0%, rgba(8, 17, 34, 0) 56%),
    linear-gradient(180deg, #050c19 0%, #091a33 52%, #0b2242 100%);
}

html[data-sheet-theme="dark"] body.media-archive-page .activity-subpage__card.media-archive__card {
  background: rgba(9, 19, 38, 0.72);
  border: 1px solid rgba(158, 197, 255, 0.2);
  box-shadow: 0 20px 48px rgba(2, 8, 18, 0.45);
}

html[data-sheet-theme="dark"] body.media-archive-page .news-archive__layout {
  background: rgba(8, 18, 35, 0.56);
  border: 1px solid rgba(158, 197, 255, 0.16);
  border-radius: 16px;
  padding: clamp(14px, 2vw, 20px);
}

html[data-sheet-theme="dark"] body.media-archive-page .news-archive__aside {
  border-right: 1px solid rgba(158, 197, 255, 0.16);
}

html[data-sheet-theme="dark"] body.media-archive-page .news-archive__cal-day {
  color: #e9f2ff;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(158, 197, 255, 0.24);
}

html[data-sheet-theme="dark"] body.media-archive-page .news-archive__cal-day:hover:not(:disabled) {
  border-color: rgba(190, 218, 255, 0.62);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

html[data-sheet-theme="dark"] body.media-archive-page .news-archive__cal-day.is-selected {
  background: #2a4b7f;
  border-color: #9ec5ff;
  color: #fff;
}

html[data-sheet-theme="dark"] body.media-archive-page .news-archive__cal-day-mark {
  color: #eaf3ff;
  background: rgba(158, 197, 255, 0.24);
}

html[data-sheet-theme="dark"] body.media-archive-page .media-archive-card__platform,
html[data-sheet-theme="dark"] body.media-archive-page .media-archive-card__duration {
  box-shadow: 0 2px 12px rgba(3, 8, 18, 0.34);
}

html[data-sheet-theme="dark"] body.media-archive-page .media-embed-modal__dialog {
  background: linear-gradient(180deg, #0b1730 0%, #0d1e3d 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.5);
}

html[data-sheet-theme="dark"] body.media-archive-page .media-embed-modal__title {
  color: #f2f7ff;
}

html[data-sheet-theme="dark"] body.media-archive-page .media-embed-modal__close {
  color: #e9f2ff;
  background: rgba(158, 197, 255, 0.14);
}

html[data-sheet-theme="dark"] body.media-archive-page .media-embed-modal__close:hover {
  background: rgba(158, 197, 255, 0.24);
}

.media-archive__cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.media-archive__cal-title {
  flex: 1;
  text-align: center;
  margin: 0 !important;
}

.media-archive__cal-nav {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(28, 42, 80, 0.18);
  background: #fff;
  font-size: 20px;
  line-height: 1;
  color: #1c2a50;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.media-archive__cal-nav:hover {
  border-color: #1c2a50;
  background: rgba(28, 42, 80, 0.04);
}

.media-archive__platforms {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.media-archive__platforms-label {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b6a76;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-archive__platform-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.media-archive__chip {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(28, 42, 80, 0.2);
  background: #fff;
  color: #1c2a50;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.media-archive__chip:hover {
  border-color: #1c2a50;
}

.media-archive__chip.is-active {
  background: #1c2a50;
  border-color: #1c2a50;
  color: #fff;
}

.media-archive-card {
  scroll-margin-top: 100px;
  border-radius: clamp(14px, 2vw, 18px);
  border: 1px solid rgba(28, 42, 80, 0.1);
  background: #fff;
  box-shadow: 0 4px 20px rgba(28, 42, 80, 0.06);
  overflow: hidden;
  transition:
    box-shadow 0.25s ease,
    transform 0.2s ease;
}

.media-archive-card:hover {
  box-shadow: 0 10px 32px rgba(28, 42, 80, 0.12);
  transform: translateY(-2px);
}

.media-archive-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.media-archive-card__link:focus-visible {
  outline: 2px solid #1c2a50;
  outline-offset: 3px;
}

.media-archive-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0f1424;
  overflow: hidden;
}

.media-archive-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-archive-card__platform {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-family: 'Raleway', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #1c2a50;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.media-archive-card__platform--youtube {
  color: #c00;
}

.media-archive-card__platform--rutube {
  color: #e24a18;
}

.media-archive-card__platform--vk {
  color: #0077ff;
}

.media-archive-card__platform--yandex {
  color: #fc3f1d;
}

.media-archive-card__duration {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 2;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
}

.media-archive-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.media-archive-card:hover .media-archive-card__play {
  opacity: 1;
}

.media-archive-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.media-archive-card__date {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b6a76;
  letter-spacing: 0.03em;
}

.media-archive-card__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: #1c2a50;
}

.media-archive-card__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 2px;
}

.media-archive-card__stat {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #1c2a50;
}

.media-archive-card__stat-label {
  font-weight: 500;
  color: #6b6a76;
  margin-right: 6px;
}

.media-archive-card__cta {
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #2a4a8a;
  margin-top: auto;
  padding-top: 6px;
}

.media-archive-card:hover .media-archive-card__cta {
  text-decoration: underline;
}

button.media-archive-card__link {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
  text-align: inherit;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.media-archive-card__link--static {
  display: flex;
  flex-direction: column;
  height: 100%;
  cursor: default;
}

/* Модальное окно встроенного видео */
.media-embed-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
}

.media-embed-modal[hidden] {
  display: none !important;
}

.media-embed-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 36, 0.72);
  backdrop-filter: blur(4px);
}

.media-embed-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(90vh, 900px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(16px, 3vw, 24px);
  border-radius: clamp(14px, 2vw, 20px);
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

/* Вертикальные ролики VK (часто ~9:16) — не сжимать в 16:9 */
.media-embed-modal__dialog--vk-tall .media-embed-modal__frame {
  aspect-ratio: 9 / 16;
  max-width: min(420px, 100%);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  max-height: min(72vh, 820px);
}

.media-embed-modal__vk-hint {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #6b6a76;
}

.media-embed-modal__vk-hint code {
  font-size: 0.92em;
  background: rgba(28, 42, 80, 0.06);
  padding: 1px 6px;
  border-radius: 4px;
}

.media-embed-modal__vk-hint[hidden] {
  display: none !important;
}

.media-embed-modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(28, 42, 80, 0.08);
  color: #1c2a50;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.media-embed-modal__close:hover {
  background: rgba(28, 42, 80, 0.14);
}

.media-embed-modal__title {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  line-height: 1.35;
  color: #1c2a50;
  margin: 0 48px 0 0;
  padding-right: 8px;
}

.media-embed-modal__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f1424;
  border-radius: 12px;
  overflow: hidden;
}

.media-embed-modal__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.media-embed-modal__external {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
}

.media-embed-modal__external a {
  color: #2a4a8a;
  font-weight: 600;
}

.media-embed-modal__external a:hover {
  text-decoration: underline;
}

.media-embed-modal__external[hidden] {
  display: none !important;
}

/* ——— Страница материала (скриншоты) ——— */
.is-hidden {
  display: none !important;
}

body.news-detail-page article.news-detail__card {
  max-width: min(960px, 100%);
}

.news-detail__meta {
  margin: 0 0 12px;
}

.news-detail__meta time {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6b6a76;
}

.news-detail__excerpt {
  margin-bottom: 8px;
}

.news-detail__body {
  font-family: 'Raleway', sans-serif;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  color: #2a3142;
  margin: 0 0 clamp(20px, 3vw, 28px);
}

.news-detail__sources {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
}

.news-detail__sources-title {
  margin: 0 0 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #2a3142;
}

.news-detail__sources-list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.news-detail__sources-link {
  font-family: 'Raleway', sans-serif;
  color: #2a3f6e;
  text-decoration: underline;
}

.news-detail__body.is-hidden {
  display: none;
}

.news-detail__body p {
  margin: 0 0 0.85em;
}

.news-detail__body p:last-child {
  margin-bottom: 0;
}

.news-detail__body a {
  color: #2a3f6e;
  text-decoration: underline;
}

.news-detail__body ul,
.news-detail__body ol {
  margin: 0 0 0.85em 1.2em;
  padding: 0;
}

.news-detail__missing {
  font-family: 'Raleway', sans-serif;
  color: #8b1a1a;
  margin: 12px 0 0;
}

.news-detail__h2 {
  font-family: 'Alumni Sans', sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  color: #1c2a50;
  margin: clamp(24px, 3vw, 32px) 0 8px;
}

.news-detail__hint {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #6b6a76;
  margin: 0 0 20px;
}

.news-detail__hint code {
  font-size: 12px;
  background: rgba(28, 42, 80, 0.06);
  padding: 2px 6px;
  border-radius: 4px;
}

.news-detail__gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: clamp(18px, 2.5vw, 24px);
}

.news-detail__no-shots {
  font-family: 'Raleway', sans-serif;
  color: #6b6a76;
  margin: 0;
}

.news-detail-shot {
  border: 1px solid rgba(28, 42, 80, 0.1);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 18px rgba(28, 42, 80, 0.06);
}

.news-detail-shot__figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.news-detail-shot__zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #e8eaf2;
  cursor: zoom-in;
  line-height: 0;
}

.news-detail-shot__zoom:focus-visible {
  outline: 2px solid #1c2a50;
  outline-offset: 2px;
}

.news-detail-shot__zoom img {
  width: 100%;
  height: auto;
  display: block;
}

.news-detail-shot__cap {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: #3d3c47;
}

.news-detail-shot__cap strong {
  color: #1c2a50;
  font-weight: 600;
}

.news-detail-shot__source-link {
  font-weight: 600;
  color: #2a4a8a;
  text-decoration: none;
}

.news-detail-shot__source-link:hover {
  text-decoration: underline;
}

.news-detail-shot__source-hint {
  font-size: 12px;
  color: #6b6a76;
}

.news-detail__dialog {
  max-width: min(96vw, 1200px);
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: #0f1420;
  color: #fff;
}

.news-detail__dialog::backdrop {
  background: rgba(15, 20, 32, 0.72);
}

.news-detail__dialog-inner {
  position: relative;
  padding: 12px 52px;
}

.news-detail__dialog-counter {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  z-index: 1;
}

.news-detail__dialog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

.news-detail__dialog-nav:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.28);
}

.news-detail__dialog-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-detail__dialog-nav--prev {
  left: 8px;
}

.news-detail__dialog-nav--next {
  right: 8px;
}

.news-detail__dialog-caption {
  margin: 12px 0 0;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
}

.news-detail__dialog-close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

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

.news-detail__dialog-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(85vh, 900px);
  object-fit: contain;
  margin: 0 auto;
}

/* ——— Biography clean rebuild ——— */
body.bio-page.bio-page--clean {
  background: var(--bio-page-bg, #eef2f8);
}

body.bio-page.bio-page--clean .bio-page__main {
  padding: 0;
}

body.bio-page.bio-page--clean .bio-page__hero-viewport {
  min-height: min(92vh, 900px);
  background: transparent;
}

body.bio-page.bio-page--clean .bio-page__hero-viewport::before,
body.bio-page.bio-page--clean .bio-page__hero-viewport::after {
  content: none;
}

body.bio-page.bio-page--clean .bio-page__hero--overlay {
  min-height: min(92vh, 900px);
  align-items: flex-end;
  justify-content: center;
  padding: clamp(88px, 10vw, 132px) var(--page-inline-pad) clamp(64px, 10vh, 120px);
}

body.bio-page.bio-page--clean .bio-page__hero-copy {
  width: min(var(--sheet-content-max), calc(100vw - (var(--page-inline-pad) * 2)));
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 981px) {
  body.bio-page.bio-page--clean .bio-page__hero-copy {
    max-width: none;
    margin: 0 auto;
    padding-right: clamp(260px, 38vw, 500px);
    box-sizing: border-box;
  }
}

body.bio-page.bio-page--clean .bio-page__eyebrow {
  margin: 0 0 10px;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(28, 42, 80, 0.78);
}

body.bio-page.bio-page--clean .bio-page__title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(46px, 6.2vw, 92px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #1c2a50;
  text-shadow: none;
}

body.bio-page.bio-page--clean .bio-page__lead {
  margin: clamp(14px, 2vw, 20px) 0 0;
  max-width: 62ch;
  color: #2a3f6e;
  font-size: clamp(16px, 1.35vw, 21px);
  line-height: 1.55;
  text-shadow: none;
}

body.bio-page.bio-page--clean .bio-page__hero-actions {
  margin-top: clamp(20px, 3vw, 32px);
}

body.bio-page.bio-page--clean .bio-page__hero-btn {
  border-color: rgba(28, 42, 80, 0.62);
  color: #1c2a50;
  background: transparent;
}

body.bio-page.bio-page--clean .bio-page__hero-btn:hover {
  background: #1c2a50;
  color: #fff;
  border-color: #1c2a50;
}

body.bio-page.bio-page--clean .bio-page__hero-link {
  color: #1c2a50;
  border-bottom-color: rgba(28, 42, 80, 0.45);
}

body.bio-page.bio-page--clean .bio-page__hero-link:hover {
  border-bottom-color: rgba(28, 42, 80, 0.82);
}

body.bio-page.bio-page--clean .bio-page__shell {
  width: min(var(--sheet-content-max), calc(100vw - (var(--page-inline-pad) * 2)));
  max-width: none;
  margin: clamp(18px, 2.4vw, 34px) auto 0;
  padding: 0;
}

body.bio-page.bio-page--clean .bio-page__article.floating-sheet__bio {
  background: #fff;
  border: 1px solid rgba(28, 42, 80, 0.08);
  border-radius: clamp(18px, 2vw, 24px) clamp(18px, 2vw, 24px) 0 0;
  box-shadow: 0 24px 60px rgba(24, 38, 70, 0.14);
  padding: clamp(28px, 4vw, 44px) clamp(18px, 2.8vw, 32px) clamp(38px, 6vw, 70px);
  border-bottom: none;
  margin-bottom: 0;
}

body.bio-page.bio-page--clean .bio-page__main--full-bleed-top .bio-page__article.floating-sheet__bio::before {
  content: none;
}

body.bio-page.bio-page--clean .bio-page__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
  gap: clamp(18px, 2.8vw, 30px);
  align-items: start;
}

body.bio-page.bio-page--clean .bio-page__primary,
body.bio-page.bio-page--clean .bio-page__aside-inner {
  border-radius: 14px;
}

body.bio-page.bio-page--clean .bio-page__timeline-float {
  align-self: start;
  position: sticky;
  top: 110px;
  width: 100%;
}

body.bio-page.bio-page--clean .bio-page__aside-inner {
  padding: clamp(22px, 2.2vw, 28px) clamp(18px, 2vw, 24px);
  border-radius: 14px;
  border: 1px solid rgba(28, 42, 80, 0.12);
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(241, 246, 253, 0.96) 100%);
  box-shadow: 0 12px 26px rgba(22, 38, 72, 0.12);
}

body.bio-page.bio-page--clean .bio-page__aside-head {
  margin-bottom: 12px;
}

body.bio-page.bio-page--clean .bio-page__branch {
  margin-top: 6px;
  padding-left: 16px;
}

body.bio-page.bio-page--clean .bio-page__branch-item {
  padding-left: 10px;
}

body.bio-page.bio-page--clean .bio-page__branch-item::before {
  left: 0;
  top: 6px;
}

body.bio-page.bio-page--clean .bio-page__branch-link {
  padding: 6px 8px;
}

html[data-sheet-theme="dark"] body.bio-page.bio-page--clean {
  --bio-page-bg: #070f1d;
}

html[data-sheet-theme="dark"] body.bio-page.bio-page--clean .bio-page__article.floating-sheet__bio {
  background: linear-gradient(165deg, rgba(10, 18, 34, 0.98) 0%, rgba(14, 25, 45, 0.98) 100%);
  border-color: rgba(170, 196, 240, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

html[data-sheet-theme="dark"] body.bio-page.bio-page--clean .bio-page__aside-inner {
  border-color: rgba(170, 196, 240, 0.22);
  background: linear-gradient(180deg, rgba(14, 25, 45, 0.96) 0%, rgba(10, 18, 34, 0.96) 100%);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.38);
}

@media (max-width: 980px) {
  body.bio-page.bio-page--clean .bio-page__shell {
    margin-top: clamp(14px, 2vw, 24px);
  }

  body.bio-page.bio-page--clean .bio-page__grid {
    grid-template-columns: 1fr;
  }

  body.bio-page.bio-page--clean .bio-page__timeline-float {
    position: static;
    top: auto;
  }
}

@media (max-width: 640px) {
  body.bio-page.bio-page--clean .bio-page__hero--overlay {
    min-height: clamp(520px, 90vh, 760px);
    padding-top: clamp(78px, 14vw, 96px);
    padding-bottom: clamp(34px, 8vw, 50px);
  }

  body.bio-page.bio-page--clean .bio-page__title {
    font-size: clamp(36px, 11vw, 52px);
  }

  body.bio-page.bio-page--clean .bio-page__lead {
    font-size: clamp(14px, 4.1vw, 16px);
    max-width: 42ch;
  }

  body.bio-page.bio-page--clean .bio-page__shell {
    margin-top: clamp(10px, 3vw, 18px);
  }
}

body.bio-page.bio-page--clean .site-footer {
  position: relative;
  z-index: 5;
  margin-top: 0;
  background: var(--footer-bg, #1c2a50);
}

/* RTL (арабский) — зеркало через direction, без row-reverse */
html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .site-header,
html[dir="rtl"] .site-header__inner,
html[dir="rtl"] .site-nav,
html[dir="rtl"] .site-header__end {
  direction: rtl;
}

html[dir="rtl"] .site-nav__submenu {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  text-align: start;
}

html[dir="rtl"] .site-footer__grid {
  direction: rtl;
}

html[dir="rtl"] .activity-subpage__back .sheet-block__link,
html[dir="rtl"] .bio-page__back .sheet-block__link {
  direction: rtl;
  unicode-bidi: embed;
}

html[dir="rtl"] .smi-form__row--consent label {
  text-align: right;
}

html[dir="rtl"] .news-archive__aside,
html[dir="rtl"] .media-archive__aside {
  direction: rtl;
}

html[dir="rtl"] .bio-page__branch-list {
  padding-inline-start: 0;
  padding-inline-end: 1.1rem;
  border-inline-start: none;
  border-inline-end: 2px solid rgba(28, 42, 80, 0.2);
}

html[dir="rtl"] .site-lang-switcher__name {
  max-width: 5.5em;
}

html[dir="rtl"] .site-lang-switcher__toggle {
  padding: 6px 10px 6px 8px;
}

/* RTL: герой — фото слева, текст справа (зеркало макета LTR) */
html[dir="rtl"] #hero-static-background {
  transform: scaleX(-1);
}

html[dir="rtl"] .hero-overlay {
  direction: rtl;
  justify-content: center;
}

/* Та же «рельса», что у .site-header__inner — правый край текста = правый край логотипа */
html[dir="rtl"] .hero-overlay__inner {
  width: 100%;
  max-width: var(--sheet-content-max);
  margin-inline: auto;
  align-items: start;
  box-sizing: border-box;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .hero-btn,
html[dir="rtl"] .hero-mobile-module__inner,
html[dir="rtl"] .floating-sheet__bio {
  text-align: start;
}

html[dir="rtl"] .hero-title {
  width: 100%;
  max-width: none;
  align-self: start;
}

html[dir="rtl"] .hero-subtitle {
  width: auto;
  max-width: min(36rem, 100%);
  align-self: start;
  margin-inline: 0;
}

html[dir="rtl"] .hero-title,
html[dir="rtl"] .hero-subtitle,
html[dir="rtl"] .hero-mobile-module__title,
html[dir="rtl"] .hero-mobile-module__subtitle {
  text-transform: none;
  letter-spacing: 0;
}

html[dir="rtl"] .hero-btn {
  align-self: start;
  margin-inline: 0;
}

html[dir="rtl"] .hero-mobile-module__inner {
  width: 100%;
  max-width: var(--sheet-content-max);
  margin-inline: auto;
  align-items: start;
  box-sizing: border-box;
}

@media (max-width: 760px) and (orientation: portrait) {
  html[dir="rtl"] #hero-static-background {
    background-position: calc(50% + 250px) center;
  }
}

/* RTL: секция «Деятельность» и карточки направлений */
html[dir="rtl"] .activity-section,
html[dir="rtl"] .activity-section__inner,
html[dir="rtl"] .activity-universe,
html[dir="rtl"] .activity-universe__editorial {
  direction: rtl;
}

html[dir="rtl"] .activity-section__head,
html[dir="rtl"] .activity-section__heading-copy,
html[dir="rtl"] .activity-section__title,
html[dir="rtl"] .activity-section__intro {
  text-align: start;
}

html[dir="rtl"] .activity-section__subnav {
  justify-content: flex-end;
}

html[dir="rtl"] .activity-direction-card,
html[dir="rtl"] .activity-direction-card__summary,
html[dir="rtl"] .activity-direction-card__body-inner {
  text-align: start;
}

html[dir="rtl"] .activity-direction-card__summary {
  align-items: flex-start;
}

html[dir="rtl"] .activity-direction-card__title,
html[dir="rtl"] .activity-direction-card__link {
  text-transform: none;
  letter-spacing: 0;
}

html[dir="rtl"] .activity-direction-card__description,
html[dir="rtl"] .activity-direction-card__logo-caption {
  text-align: start;
}

html[dir="rtl"] .activity-direction-card__footer {
  justify-content: flex-start;
}

html[dir="rtl"] .floating-sheet,
html[dir="rtl"] .floating-sheet__bio {
  direction: rtl;
}

html[dir="rtl"] .floating-sheet .sheet-block__title--dark,
html[dir="rtl"] .floating-sheet .sheet-block__intro--dark,
html[dir="rtl"] .floating-sheet .sheet-block__link--dark {
  text-align: start;
}

html[dir="rtl"] .news-section__head,
html[dir="rtl"] .media-section__head,
html[dir="rtl"] .smi-section__head {
  direction: rtl;
  text-align: start;
}

html[dir="rtl"] .site-footer {
  direction: rtl;
}

/* Biography clean: китайский заголовок — без узкого 12ch и крупного clamp */
html[lang="zh-Hans"] body.bio-page.bio-page--clean .bio-page__title,
html[lang^="zh"] body.bio-page.bio-page--clean .bio-page__title {
  max-width: none;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.12;
  letter-spacing: 0.04em;
  text-transform: none;
}

@media (max-width: 640px) {
  html[lang^="zh"] body.bio-page.bio-page--clean .bio-page__title {
    font-size: clamp(26px, 7.5vw, 38px);
  }
}

/* Biography clean (AR): герой — та же «рельса», что .site-header__inner; текст по правому краю */
html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__hero-viewport,
html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__hero--overlay {
  direction: rtl;
}

html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__hero--overlay {
  justify-content: flex-start;
}

html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__hero-copy {
  width: min(var(--sheet-content-max), calc(100vw - (var(--page-inline-pad) * 2)));
  max-width: var(--sheet-content-max);
  margin-inline: auto;
  direction: rtl;
  text-align: right;
  box-sizing: border-box;
}

html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__eyebrow,
html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__title,
html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__lead {
  text-align: right;
}

html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__title {
  max-width: none;
  text-transform: none;
  letter-spacing: 0;
}

html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__lead {
  margin-inline-start: auto;
  margin-inline-end: 0;
}

html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__hero-actions {
  width: 100%;
  max-width: 100%;
  direction: ltr;
  justify-content: flex-end;
}

@media (min-width: 981px) {
  html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__hero-copy {
    padding-left: clamp(260px, 38vw, 500px);
    padding-right: 0;
  }
}

/* Сетка статьи: основной текст слева, таймлайн справа (как RU) */
html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__shell,
html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__grid {
  direction: ltr;
}

html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__primary {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] #bio-static-background {
  transform: scaleX(-1);
}
