* {
  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 {
  min-height: 100%;
  overflow-x: clip;
}

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

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

.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;
}

.breadcrumbs {
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: var(--sheet-content-max, 1120px);
  margin: 0 auto 8px;
  padding: 0 var(--page-inline-pad, 24px);
  position: relative;
  z-index: 5;
  font-family: "Alumni Sans", sans-serif;
  font-size: clamp(14px, 1.6vw, 16px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-navy);
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
  opacity: 0.68;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible {
  opacity: 1;
  text-decoration: underline;
}

.breadcrumbs [aria-hidden="true"] {
  opacity: 0.4;
  user-select: none;
}

.breadcrumbs [aria-current="page"] {
  opacity: 1;
  font-weight: 600;
}

.bio-page__main--full-bleed-top {
  position: relative;
}

.bio-page__main--full-bleed-top > .breadcrumbs {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(72px, 9vw, 100px);
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
  max-width: none;
}

html[data-sheet-theme="dark"] .breadcrumbs {
  color: rgba(241, 246, 255, 0.88);
}

html[data-sheet-theme="dark"] .bio-page__main--full-bleed-top > .breadcrumbs {
  color: rgba(255, 255, 255, 0.92);
}

.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,
.site-nav__item--dropdown > a {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.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;
  display: flex;
  align-items: center;
}

.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;
    transition: transform 0.25s ease;
  }

  .site-header.site-header--menu-open .site-nav__item--dropdown.is-open > a::after {
    transform: rotate(180deg);
  }

  .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%;
    max-height: 0;
    margin: 0;
    padding: 0 0 0 10px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    opacity: 0;
    visibility: visible;
    pointer-events: none;
    display: block;
    overflow: hidden;
    transition:
      max-height 0.28s ease,
      opacity 0.22s ease,
      margin 0.28s ease;
  }

  .site-header.site-header--menu-open .site-nav__item--dropdown.is-open .site-nav__submenu {
    max-height: 240px;
    margin: 2px 0 6px;
    opacity: 1;
    pointer-events: auto;
  }

  .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;
  }

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

  html[data-sheet-theme="dark"] .site-header.site-header--menu-open.site-header--on-light .site-nav {
    background: rgba(9, 18, 34, 0.96);
    border-color: rgba(158, 197, 255, 0.24);
    box-shadow: 0 14px 34px rgba(2, 8, 18, 0.42);
  }

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

  html[data-sheet-theme="dark"] .site-header.site-header--menu-open.site-header--on-light .site-nav__item--dropdown .site-nav__submenu a {
    color: rgba(225, 234, 255, 0.9);
  }

  .site-header {
    justify-content: space-between;
    padding-top: calc(clamp(14px, 3vw, 20px) + env(safe-area-inset-top, 0px));
    padding-bottom: clamp(12px, 2.5vw, 16px);
  }

  html:not(:has(body.bio-page)),
  body:not(.bio-page) {
    overscroll-behavior-y: none;
  }

  body.bio-page {
    overflow-x: clip;
    overflow-y: auto;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  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;
}

/* ——— Кнопки листа: единый стиль ——— */
#floating-sheet {
  --sheet-btn-color: #1c2a50;
  --sheet-btn-min-h: 46px;
  --sheet-btn-pad-y: 12px;
  --sheet-btn-pad-x: 26px;
  --sheet-btn-font: clamp(13px, 1.05vw, 15px);
}

#floating-sheet .hero-mobile-module__btn,
#floating-sheet .home-bio__cta,
#floating-sheet .news-section__all,
#floating-sheet .media-section__all,
#floating-sheet .smi-contact__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: var(--sheet-btn-min-h);
  padding: var(--sheet-btn-pad-y) var(--sheet-btn-pad-x);
  border: 1px solid var(--sheet-btn-color);
  border-radius: 999px;
  font-family: "Raleway", sans-serif;
  font-size: var(--sheet-btn-font);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  color: var(--sheet-btn-color);
  background: transparent;
  transition:
    background-color 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease;
  cursor: pointer;
}

#floating-sheet .hero-mobile-module__btn:hover,
#floating-sheet .home-bio__cta:hover,
#floating-sheet .news-section__all:hover,
#floating-sheet .media-section__all:hover,
#floating-sheet .smi-contact:hover .smi-contact__cta,
#floating-sheet .smi-contact:focus-visible .smi-contact__cta {
  background-color: var(--sheet-btn-color);
  color: #fff;
  opacity: 1;
  text-decoration: none;
}

html[data-sheet-theme="dark"] #floating-sheet .hero-mobile-module__btn:hover,
html[data-sheet-theme="dark"] #floating-sheet .home-bio__cta:hover,
html[data-sheet-theme="dark"] #floating-sheet .news-section__all:hover,
html[data-sheet-theme="dark"] #floating-sheet .media-section__all:hover,
html[data-sheet-theme="dark"] #floating-sheet .smi-contact:hover .smi-contact__cta,
html[data-sheet-theme="dark"] #floating-sheet .smi-contact:focus-visible .smi-contact__cta {
  background-color: #e7f1ff;
  color: #1c2a50;
  border-color: #e7f1ff;
}

#floating-sheet .hero-mobile-module__btn:focus-visible,
#floating-sheet .home-bio__cta:focus-visible,
#floating-sheet .news-section__all:focus-visible,
#floating-sheet .media-section__all:focus-visible,
#floating-sheet .smi-contact__cta:focus-visible {
  outline: 2px solid var(--sheet-btn-color);
  outline-offset: 3px;
}

#floating-sheet .home-bio__cta.sheet-block__link,
#floating-sheet .home-bio__cta.sheet-block__link--dark {
  color: var(--sheet-btn-color);
  opacity: 1;
  text-decoration: none;
  text-underline-offset: 0;
}

#floating-sheet .home-bio__cta.sheet-block__link--dark:hover {
  opacity: 1;
  color: #fff;
}

html[data-sheet-theme="dark"] #floating-sheet .home-bio__cta.sheet-block__link--dark:hover {
  background-color: #e7f1ff;
  color: #1c2a50;
  border-color: #e7f1ff;
  opacity: 1;
}

.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, 3vw, 36px);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.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);
}

.home-bio {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: clamp(48px, 7vw, 120px);
  row-gap: clamp(20px, 3vw, 32px);
  align-items: start;
}

.home-bio__title {
  margin: 0;
  white-space: nowrap;
}

.home-bio__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  max-width: 48rem;
  padding-inline-start: clamp(32px, 4.5vw, 56px);
  border-inline-start: 1px solid rgba(28, 42, 80, 0.12);
}

.home-bio__meta,
.home-bio__lead {
  margin: 0 0 14px;
  max-width: none;
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  color: var(--bio-blue-body);
}

.home-bio__lead {
  margin-bottom: clamp(22px, 3vw, 30px);
}

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

.home-bio__cta:focus-visible {
  outline: 2px solid var(--bio-blue-title);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .home-bio {
    grid-template-columns: 1fr;
    row-gap: clamp(27px, 6vw, 42px);
  }

  .home-bio__title {
    white-space: normal;
  }

  .home-bio__copy {
    max-width: none;
    padding-inline-start: 0;
    border-inline-start: none;
  }

  .home-bio__break,
  .activity-card__break {
    display: none;
  }
}

.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;
}

/* Задаёт длину скролла для 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(52px, 15vw, 68px);
    position: relative;
    z-index: 2;
  }

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

  .hero-mobile-module__title {
    margin: 0 0 15px;
    font-family: 'Alumni Sans', sans-serif;
    font-size: clamp(48px, 12.5vw, 64px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    color: #ffffff;
    white-space: nowrap;
  }

  .hero-mobile-module__title br {
    display: inline-block;
    width: 0.28em;
    height: 0;
    overflow: hidden;
    vertical-align: middle;
  }

  .hero-mobile-module__subtitle {
    margin: 0 0 24px;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.55;
    color: #ffffff;
    width: 100%;
    max-width: none;
  }

  .hero-mobile-module__btn {
    --sheet-btn-color: #ffffff;
    color: #fff;
    border-color: #fff;
  }

  .hero-mobile-module__btn:hover {
    background-color: #fff;
    color: #1c2a50;
    border-color: #fff;
  }

  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 {
    --sheet-btn-color: #1c2a50;
    color: #1c2a50;
    border-color: #1c2a50;
    background: rgba(255, 255, 255, 0.55);
  }

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

  /*
   * hero-mobile-module поднят отрицательным margin в зону fixed hero.
   * До прокрутки — прозрачный фон, белый текст на фото.
   * После site-header--on-light — непрозрачный фон листа, цвета из темы листа.
   */
  html:has(.site-header--on-light) .floating-sheet__bio-region {
    position: relative;
    isolation: isolate;
  }

  html:has(.site-header--on-light) .floating-sheet__bio-region > .sheet-section__inner {
    position: relative;
    z-index: 1;
  }

  html:has(.site-header--on-light) .floating-sheet__bio-region::before {
    content: "";
    position: absolute;
    left: calc(-1 * var(--sheet-pad-x));
    right: calc(-1 * var(--sheet-pad-x));
    top: calc(-1 * var(--hero-mobile-lift));
    bottom: 0;
    z-index: 0;
    pointer-events: none;
  }

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

  html[data-sheet-theme="light"]:has(.site-header--on-light) .floating-sheet__bio-region::before {
    background: var(--sheet-shell-bg);
  }

  html[data-sheet-theme="dark"]:has(.site-header--on-light) .hero-mobile-module__title {
    color: var(--sheet-title-color);
  }

  html[data-sheet-theme="dark"]:has(.site-header--on-light) .hero-mobile-module__subtitle {
    color: var(--sheet-intro-color);
  }

  html[data-sheet-theme="dark"]:has(.site-header--on-light) .hero-mobile-module__btn {
    --sheet-btn-color: var(--bio-blue-link, #a8d4ff);
    color: var(--bio-blue-link, #a8d4ff);
    border-color: rgba(184, 212, 255, 0.62);
    background: transparent;
  }

  html[data-sheet-theme="dark"]:has(.site-header--on-light) .hero-mobile-module__btn:hover {
    background: #e7f1ff;
    color: #1c2a50;
    border-color: #e7f1ff;
  }

  html:has(.site-header--on-light) .hero-mobile-module__btn {
    --sheet-btn-color: #1c2a50;
    color: #1c2a50;
    border-color: #1c2a50;
    background: transparent;
  }

  html:has(.site-header--on-light) .hero-mobile-module__btn:hover {
    background-color: #1c2a50;
    color: #fff;
  }

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

  /* На biography.html отрицательный lift уводит «липкий» блок за верх экрана */
  body.bio-page .floating-sheet__bio-region {
    margin-top: 0;
  }
}

.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 {
  --bio-blue-title: #1c2a50;
  --bio-blue-body: #4a5a78;
  margin-bottom: clamp(36px, 4.2vw, 52px);
  padding-inline: 0;
}

.activity-section__heading-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.activity-section__title {
  margin: 0;
  color: var(--bio-blue-title);
  letter-spacing: 0.03em;
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.05;
  text-transform: uppercase;
}

#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: none;
  font-family: "Raleway", sans-serif;
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.55;
  color: var(--bio-blue-body);
  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;
  justify-content: 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-universe[data-state="overview"] .activity-direction-card {
  grid-template-rows: minmax(0, 1fr) 0fr;
}

.activity-universe[data-state="overview"] .activity-direction-card__summary {
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  justify-content: center;
}

.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(15px, 1.2vw, 17px);
  font-weight: 400;
  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;
  text-decoration: none;
  color: inherit;
  z-index: 2;
}

.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-charity-premium__logo-link > picture,
.activity-sport-premium__logo-link > picture,
.activity-business-premium__logo-link > picture,
.activity-public-premium__logo-link > picture,
.activity-direction-card__logo-media > picture {
  display: contents;
}

.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 img:not([src]) {
  min-height: clamp(68px, 8vw, 96px);
  aspect-ratio: 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.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 {
  --sheet-btn-color: var(--news-accent);
}

.news-section__all {
  flex-shrink: 0;
}

#floating-sheet .news-section__all--mobile {
  display: none;
}

.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;
  color: var(--news-accent);
}

.news-card__read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  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-more-arrow {
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.news-card__read-more:hover {
  opacity: 0.82;
}

.news-card__read-more:hover .news-card__read-more-arrow {
  transform: translateX(3px);
}

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

.news-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(4px, 0.8vw, 8px);
  position: relative;
  z-index: 2;
}

.news-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(11px, 0.9vw, 13px);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.news-card__btn--primary {
  background: var(--news-accent);
  color: #fff;
}

.news-card__btn--primary:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.news-card__btn--secondary {
  background: transparent;
  color: var(--news-accent);
  border-color: rgba(28, 42, 80, 0.22);
}

.news-card__btn--secondary:hover {
  background: rgba(28, 42, 80, 0.06);
}

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

.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) {
  #floating-sheet {
    --sheet-section-pad-y: clamp(66px, 16.5vw, 84px);
    --sheet-section-head-gap: clamp(36px, 9vw, 48px);
    --sheet-content-gap: clamp(27px, 6vw, 36px);
    --sheet-card-pad: clamp(24px, 6.75vw, 30px);
    --sheet-inner-gap: clamp(21px, 6vw, 27px);
    --sheet-section-title-size: clamp(34px, 10vw, 44px);
    --sheet-btn-min-h: 44px;
    --sheet-btn-pad-y: 11px;
    --sheet-btn-pad-x: 22px;
    --sheet-btn-font: 14px;
    margin-top: 0;
  }

  .floating-sheet__bio-region,
  .activity-section,
  .news-section,
  .media-section,
  .smi-section {
    padding-block: var(--sheet-section-pad-y);
    padding-inline: var(--sheet-pad-x);
  }

  .activity-section {
    min-height: auto;
    display: block;
  }

  .hero-mobile-module {
    margin-bottom: clamp(48px, 12vw, 60px);
  }

  #floating-sheet #floating-bio {
    padding-top: clamp(42px, 9vw, 54px);
    padding-bottom: 0;
  }

  #floating-sheet .home-bio {
    row-gap: clamp(27px, 6vw, 42px);
  }

  #floating-sheet .home-bio__meta,
  #floating-sheet .home-bio__lead {
    margin-bottom: clamp(21px, 4.5vw, 27px);
  }

  #floating-sheet .home-bio__lead {
    margin-bottom: clamp(33px, 4.5vw, 45px);
  }

  .floating-sheet__bio .home-bio__title,
  .activity-section__title,
  .news-section__title,
  .media-section__title,
  .smi-section__title {
    font-size: var(--sheet-section-title-size);
    line-height: 1.05;
    margin-bottom: 0;
  }

  #floating-sheet .news-section__head,
  #floating-sheet .media-section__head {
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(18px, 4.5vw, 24px);
    margin-bottom: clamp(48px, 12vw, 64px);
  }

  #floating-sheet .news-section__head .news-section__all {
    display: none;
  }

  #floating-sheet .news-section__all--mobile {
    display: inline-flex;
    margin-top: var(--sheet-section-head-gap);
  }

  #floating-sheet .media-section__title {
    text-align: left;
  }

  #floating-sheet .news-section__all,
  #floating-sheet .media-section__all {
    align-self: flex-start;
  }

  .activity-section__head {
    margin-bottom: var(--sheet-section-head-gap);
  }

  .smi-section__title {
    margin-bottom: clamp(18px, 4.5vw, 24px);
  }

  #floating-sheet .smi-section__head {
    margin-bottom: 0;
  }

  #floating-sheet .smi-section__lead {
    margin-bottom: clamp(36px, 9vw, 48px);
  }

  .smi-section__layout,
  .smi-section__layout--contact {
    gap: var(--sheet-section-head-gap);
  }

  #floating-sheet .media-slider {
    gap: clamp(9px, 2.2vw, 21px);
  }

  #floating-sheet .site-footer {
    --footer-pad-y: clamp(66px, 16.5vw, 84px);
  }

  #floating-sheet .site-footer__grid {
    gap: clamp(42px, 10.5vw, 72px);
  }

  #floating-sheet .site-footer__copy {
    margin-top: clamp(36px, 7.5vw, 54px);
    padding-top: clamp(24px, 4.5vw, 36px);
  }

  #floating-sheet .activity-universe__layout {
    gap: var(--sheet-section-head-gap);
  }

  #floating-sheet .smi-contact {
    gap: clamp(18px, 4vw, 21px);
    padding: clamp(24px, 6vw, 30px) clamp(24px, 6vw, 36px);
  }
}

@media (max-width: 760px) {
  .news-section__list {
    grid-template-columns: 1fr;
    gap: var(--sheet-content-gap, clamp(27px, 7.5vw, 36px));
  }

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

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

  .news-card {
    grid-template-columns: 1fr;
    gap: var(--sheet-inner-gap, clamp(21px, 6vw, 27px));
    padding: var(--sheet-card-pad, clamp(24px, 6.75vw, 30px));
    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: clamp(18px, 4.8vw, 24px);
    padding-top: 0;
    justify-content: flex-start;
    height: auto;
  }

  .news-card__foot {
    margin-top: 6px;
  }

  .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: 3px 0 6px;
    opacity: 0.75;
  }

  .news-card__foot {
    justify-content: flex-start;
    gap: 15px 21px;
  }

  .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 {
  --sheet-btn-color: var(--media-accent);
}

.media-section__all {
  flex-shrink: 0;
}

#floating-sheet .media-section__all--mobile {
  display: none;
}

.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: auto 1fr auto;
    grid-template-rows: auto auto;
    gap: 18px 24px;
  }

  .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: 3;
    grid-row: 2;
    justify-self: end;
  }

  #floating-sheet .media-section__all--desktop {
    display: none;
  }

  #floating-sheet .media-section__all--mobile {
    display: inline-flex;
    grid-column: 2;
    grid-row: 2;
    justify-self: center;
    align-self: center;
    padding: 11px 18px;
    min-height: 40px;
    font-size: 13px;
    white-space: nowrap;
  }
}

/* ——— Для СМИ: контакт email ——— */
.smi-section {
  --smi-accent: #1c2a50;
  --sheet-btn-color: var(--smi-accent);
  --smi-muted: #5a5668;
  --smi-border: rgba(28, 42, 80, 0.14);
  --smi-panel: rgba(28, 42, 80, 0.035);

  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__layout--contact {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

.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: 80%;
  width: 80%;
  font-family: "Raleway", sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--smi-muted);
}

.smi-contact {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 2.6vw, 30px) clamp(22px, 2.8vw, 32px);
  border: 1px solid var(--smi-border);
  border-radius: 20px;
  background: var(--smi-panel);
  text-decoration: none;
  color: inherit;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.smi-contact:hover,
.smi-contact:focus-visible {
  background: rgba(28, 42, 80, 0.06);
  border-color: rgba(28, 42, 80, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(20, 37, 78, 0.1);
  outline: none;
}

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

.smi-contact__label {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--smi-muted);
}

.smi-contact__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
}

.smi-contact__email {
  font-family: "Alumni Sans", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.15;
  color: var(--smi-accent);
  word-break: break-word;
}

.smi-contact__cta {
  flex: 0 0 auto;
}

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

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

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

  .smi-section__lead {
    max-width: 100%;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .smi-contact__row {
    flex-direction: column;
    align-items: flex-start;
  }

  .smi-contact__cta {
    width: auto;
    align-self: flex-start;
  }
}

.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__details {
  margin: 0;
}

.site-footer__summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
  color: rgba(255, 255, 255, 0.92);
}

.site-footer__summary::-webkit-details-marker {
  display: none;
}

.site-footer__summary::marker {
  content: "";
}

.site-footer__summary::after {
  content: "";
  width: 0.42em;
  height: 0.42em;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.7;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
  margin-top: -0.15em;
}

.site-footer__details[open] > .site-footer__summary::after {
  transform: rotate(-135deg);
  margin-top: 0.2em;
  opacity: 0.95;
}

.site-footer__summary:hover .site-footer__link--toggle,
.site-footer__summary:hover::after {
  color: #fff;
  opacity: 1;
}

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

.site-footer__link--toggle {
  pointer-events: none;
}

.site-footer__sublist {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  padding-inline-start: 12px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1vw, 10px);
}

.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: 0;
  padding-top: 0;
}

.site-footer__legal {
  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(--bio-blue-title);
}

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

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;
  --sheet-btn-color: #e7f1ff;
}

html[data-sheet-theme="dark"] .home-bio__copy {
  border-inline-start-color: rgba(170, 196, 240, 0.22);
}

html[data-sheet-theme="dark"] .home-bio__cta,
html[data-sheet-theme="dark"] .floating-sheet__bio .home-bio__cta {
  text-decoration: none;
}

html[data-sheet-theme="dark"] .home-bio__cta:hover,
html[data-sheet-theme="dark"] .floating-sheet__bio .home-bio__cta:hover,
html[data-sheet-theme="dark"] .floating-sheet__bio .home-bio__cta.sheet-block__link--dark:hover {
  background: #e7f1ff;
  color: #1c2a50;
  border-color: #e7f1ff;
  text-decoration: none;
}

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__head {
  --bio-blue-title: #f6f9ff;
  --bio-blue-body: rgba(218, 228, 255, 0.9);
}

html[data-sheet-theme="dark"] .activity-section__head .home-bio__copy {
  border-inline-start-color: rgba(170, 196, 240, 0.22);
}

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

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

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: #e7f1ff;
  color: #1c2a50;
  border-color: #e7f1ff;
}

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: #e7f1ff;
  color: #1c2a50;
  border-color: #e7f1ff;
}

/* Лист на тёмной теме: карточки «Деятельность» — как в светлой теме (белая плитка, тёмный текст) */
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);
}

html[data-sheet-theme="dark"] .news-card__btn--primary {
  background: #9ec5ff;
  color: #0a1224;
}

html[data-sheet-theme="dark"] .news-card__btn--primary:hover {
  background: #b8d4ff;
  opacity: 1;
}

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

html[data-sheet-theme="dark"] .news-card__btn--secondary:hover {
  background: rgba(158, 197, 255, 0.1);
}

@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"] .news-card__read-more {
    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-muted: rgba(210, 222, 250, 0.82);
  --smi-border: rgba(255, 255, 255, 0.18);
  --smi-panel: rgba(255, 255, 255, 0.04);
  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,
html[data-sheet-theme="dark"] .smi-contact__email {
  color: #f2f6ff;
}

html[data-sheet-theme="dark"] .smi-section__lead,
html[data-sheet-theme="dark"] .smi-contact__label {
  color: var(--smi-muted);
}

html[data-sheet-theme="dark"] .smi-contact {
  background: var(--smi-panel);
  border-color: var(--smi-border);
}

html[data-sheet-theme="dark"] .smi-contact:hover,
html[data-sheet-theme="dark"] .smi-contact:focus-visible {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(158, 208, 255, 0.4);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

html[data-sheet-theme="dark"] .smi-contact__cta {
  --sheet-btn-color: #eef3ff;
  color: #eef3ff;
  border-color: rgba(255, 255, 255, 0.38);
  background: transparent;
}

html[data-sheet-theme="dark"] .smi-contact:hover .smi-contact__cta,
html[data-sheet-theme="dark"] .smi-contact:focus-visible .smi-contact__cta {
  background: #e7f1ff;
  color: #1c2a50;
  border-color: #e7f1ff;
}

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: clip;
}

/* Только 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 {
  position: relative;
  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: 75%;
  width: 75%;
  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: 75%;
    width: 75%;
    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__figure picture {
  display: block;
  width: 100%;
}

.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);
}

@media (max-width: 640px) {
  body.bio-page .bio-page__toc {
    padding-bottom: 0;
    border-bottom: none;
  }

  body.bio-page .bio-page__toc-label {
    margin-bottom: 6px;
    font-size: 12px;
  }

  body.bio-page .bio-page__toc-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 6px 8px;
  }

  body.bio-page .bio-page__toc-list a {
    padding: 4px 9px;
    font-size: 11px;
    line-height: 1.25;
  }

  /* clean-режим: вертикальные пункты тоже делаем компактнее */
  body.bio-page.bio-page--clean .bio-page__toc-label {
    margin-bottom: 8px;
    font-size: 12px;
  }

  body.bio-page.bio-page--clean .bio-page__toc-list {
    gap: 2px;
  }

  body.bio-page.bio-page--clean .bio-page__toc-list a {
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 10px;
  }

  body.bio-page .bio-page__toc-list::-webkit-scrollbar {
    display: none;
  }
}

.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-hidden,
#bio-faq.seo-hidden {
  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-hidden__subtitle {
  margin: 0 0 10px;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.seo-hidden__entity,
.seo-hidden__sitemap {
  margin: 0 0 16px;
}

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

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

.seo-hidden__facts dd {
  margin: 0;
}

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

.seo-hidden__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: 75%;
    width: 75%;
    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) {
  /* Надёжно центрируем фон на всех mobile-ширинах, не завися от `orientation` в media query */
  body.bio-page #bio-static-background {
    background-position: calc(50% - 180px) center;
  }
}

@media (max-width: 760px) and (orientation: portrait) {
  #bio-static-background {
    /* Мобильная биография: смещение вправо, чтобы человек был по центру */
    background-position: calc(50% - 180px) 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(18px, 4vw, 26px) 0;
  }

  .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: none;
    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 {
  --charity-text: #4a5a78;
  --charity-title: #1c2a50;
  --charity-muted: #6b7a94;
  --charity-line: rgba(28, 42, 80, 0.12);
  --charity-panel: rgba(28, 42, 80, 0.04);
  --charity-panel-border: rgba(28, 42, 80, 0.1);

  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vw, 44px);
  padding: clamp(28px, 4vw, 48px);
  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);
  color: var(--charity-text);
}

.activity-charity-premium__hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 370px);
  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: 370px;
  min-height: clamp(140px, 16vw, 200px);
  padding: clamp(16px, 1.8vw, 24px) clamp(20px, 2.2vw, 32px);
}

.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: 100%;
  max-width: none;
}

.activity-charity-premium__hero + .activity-charity-premium__directions {
  margin-top: calc(-1 * clamp(14px, 2.2vw, 24px));
}

.activity-charity-premium__section-title {
  margin: 0 0 clamp(16px, 2.2vw, 22px);
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--charity-title);
  max-width: 85%;
  width: 85%;
}

.activity-charity-premium__directions-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.8vw, 18px);
}

.activity-charity-premium__directions-list li {
  margin: 0;
  padding: clamp(16px, 2vw, 22px);
  border: 1px solid var(--charity-panel-border);
  border-radius: 16px;
  background: var(--charity-panel);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: "Raleway", sans-serif;
  font-size: clamp(14px, 1.1vw, 15px);
  line-height: 1.55;
  color: var(--charity-text);
}

.activity-charity-premium__directions-list strong {
  display: block;
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 1.8vw, 22px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--charity-title);
}

.activity-charity-premium__directions-list span {
  display: block;
  color: var(--charity-text);
}

.activity-charity-premium__body {
  margin: 0;
  max-width: none;
  width: 100%;
  font-family: "Raleway", sans-serif;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.65;
  color: var(--charity-text);
}

.activity-charity-premium__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--charity-line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--charity-line);
}

.activity-charity-premium__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(16px, 2vw, 22px) clamp(14px, 1.6vw, 20px);
  background: rgba(255, 255, 255, 0.92);
}

.activity-charity-premium__stat-value {
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(24px, 2.8vw, 34px);
  letter-spacing: 0.03em;
  line-height: 1.08;
  color: var(--charity-title);
}

.activity-charity-premium__stat-label {
  font-family: "Raleway", sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--charity-muted);
}

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

.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 picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

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

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

  .activity-charity-premium__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body.activity-subpage--charity .activity-charity-premium {
    padding: clamp(20px, 6vw, 28px);
    gap: clamp(22px, 5vw, 32px);
  }

  .activity-charity-premium__hero + .activity-charity-premium__directions {
    margin-top: calc(-1 * clamp(8px, 2vw, 12px));
  }

  .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: 520px) {
  .activity-charity-premium__stats {
    grid-template-columns: 1fr;
  }
}

@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 {
  --charity-text: rgba(222, 234, 255, 0.9);
  --charity-title: #f4f8ff;
  --charity-muted: rgba(183, 208, 255, 0.72);
  --charity-line: rgba(183, 208, 255, 0.18);
  --charity-panel: rgba(255, 255, 255, 0.04);
  --charity-panel-border: rgba(183, 208, 255, 0.18);

  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);
  color: var(--charity-text);
}

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 {
  color: rgba(222, 234, 255, 0.92);
}

html[data-sheet-theme="dark"] body.activity-subpage--charity .activity-charity-premium__stat {
  background: rgba(8, 16, 32, 0.72);
}

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: none;
  width: 100%;
}

.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__item-main p,
.activity-public-premium__prose .activity-subpage__prose p,
body.activity-subpage--public .activity-subpage__prose p {
  max-width: 90%;
  width: 90%;
}

.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: none;
  width: 100%;
}

.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__item-main p,
body.activity-subpage--sport .activity-subpage__prose p {
  max-width: none;
  width: 100%;
}

.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: none;
  width: 100%;
}

.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__item-main p,
body.activity-subpage--business .activity-subpage__prose p {
  max-width: none;
  width: 100%;
}

.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;
}

body.news-archive-page--no-cal .news-archive__layout {
  grid-template-columns: minmax(0, 1fr);
  margin-top: clamp(16px, 2.4vw, 22px);
}

body.news-archive-page--no-cal .news-archive__aside {
  display: none;
}

@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);
}

body.news-archive-page--no-cal .news-archive__grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 980px) {
  body.news-archive-page--no-cal .news-archive__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  body.news-archive-page--no-cal .news-archive__grid {
    grid-template-columns: 1fr;
  }
}

.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__read-more {
  display: none;
}

.news-archive-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
}

.news-archive-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  font-family: 'Raleway', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.news-archive-card__btn--primary {
  background: #1c2a50;
  color: #fff;
  border: 1px solid #1c2a50;
}

.news-archive-card__btn--primary:hover {
  background: #243660;
  border-color: #243660;
  transform: translateY(-1px);
}

.news-archive-card__btn--secondary {
  background: rgba(42, 74, 138, 0.06);
  color: #2a4a8a;
  border: 1px solid rgba(42, 74, 138, 0.28);
}

.news-archive-card__btn--secondary:hover {
  background: rgba(42, 74, 138, 0.12);
  transform: translateY(-1px);
}

.news-archive-card__btn:focus-visible {
  outline: 2px solid #2a4a8a;
  outline-offset: 2px;
}

.news-archive-card__cta-list,
.news-archive-card__gallery-btn,
.news-archive-card__badge {
  display: none !important;
}

.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.news-archive-page .news-archive-card__btn--primary,
html[data-sheet-theme="dark"] body.news-archive-page .news-archive-card__btn--secondary,
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__btn--primary {
  background: rgba(158, 197, 255, 0.22);
  border-color: rgba(158, 197, 255, 0.42);
  color: #f1f6ff;
}

html[data-sheet-theme="dark"] body.news-archive-page .news-archive-card__btn--secondary {
  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%);
}

body.news-detail-page .activity-subpage__title {
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.01em;
  text-transform: none;
  line-height: 1.25;
  margin-bottom: clamp(16px, 2.5vw, 22px);
}

.news-detail__hero {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  border-radius: clamp(12px, 2vw, 16px);
  overflow: hidden;
  background: #e8eaf2;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 420px);
}

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

.news-detail__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: clamp(14px, 2vw, 18px);
  padding-bottom: clamp(14px, 2vw, 18px);
  border-bottom: 1px solid rgba(28, 42, 80, 0.1);
}

.news-detail__byline {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.news-detail__author {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6b6a76;
  letter-spacing: 0.02em;
}

.news-detail__author a {
  color: var(--brand-navy);
  text-decoration: none;
}

.news-detail__author a:hover,
.news-detail__author a:focus-visible {
  text-decoration: underline;
}

.news-detail__meta {
  margin: 0;
}

.news-detail__meta time {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #6b6a76;
  letter-spacing: 0.02em;
}

.news-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
}

@media (min-width: 641px) {
  .news-detail__head {
    flex-wrap: nowrap;
  }

  .news-detail__actions {
    width: auto;
    justify-content: flex-end;
  }
}

.news-detail__btn--ghost {
  background: transparent;
  color: #1c2a50;
  border: 1px solid rgba(28, 42, 80, 0.18);
  cursor: pointer;
  font: inherit;
}

.news-detail__btn--ghost:hover {
  background: rgba(28, 42, 80, 0.06);
  transform: translateY(-1px);
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__btn--ghost {
  color: #e8f0ff;
  border-color: rgba(170, 196, 240, 0.24);
  background: rgba(12, 22, 40, 0.5);
}

.news-detail__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 16px;
  border-radius: 999px;
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition:
    background 0.2s ease,
    transform 0.15s ease;
}

.news-detail__btn--source {
  background: rgba(42, 74, 138, 0.08);
  color: #2a4a8a;
  border: 1px solid rgba(42, 74, 138, 0.28);
}

.news-detail__btn--source:hover {
  background: rgba(42, 74, 138, 0.14);
  transform: translateY(-1px);
}

.news-detail__lead {
  margin: 0 0 clamp(18px, 2.5vw, 24px);
  font-family: 'Raleway', sans-serif;
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.6;
  color: #4a5a78;
  max-width: 68ch;
}

.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(28px, 4vw, 40px);
  max-width: 72ch;
}

.news-detail__related {
  margin-top: clamp(8px, 1.5vw, 12px);
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(28, 42, 80, 0.1);
}

.news-detail__related-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.news-detail__related-title {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  color: #1c2a50;
  text-transform: none;
  letter-spacing: -0.01em;
}

.news-detail__related-nav {
  display: flex;
  gap: 8px;
}

.news-detail__related-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(28, 42, 80, 0.16);
  background: #fff;
  color: #1c2a50;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.news-detail__related-nav-btn:hover:not(:disabled) {
  background: rgba(28, 42, 80, 0.06);
}

.news-detail__related-nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.news-detail__related-track {
  --related-gap: clamp(12px, 2vw, 16px);
  display: flex;
  gap: var(--related-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.news-detail__related-track::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.news-detail-related-card {
  flex: 0 0 min(280px, 82vw);
  scroll-snap-align: start;
}

@media (min-width: 641px) {
  .news-detail-related-card {
    flex: 0 0 calc((100% - 2 * var(--related-gap)) / 3);
  }
}

.news-detail-related-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(28, 42, 80, 0.1);
  background: #fff;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 18px rgba(28, 42, 80, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-detail-related-card__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(28, 42, 80, 0.12);
}

.news-detail-related-card__media {
  aspect-ratio: 16 / 10;
  background: #e8eaf2;
  overflow: hidden;
}

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

.news-detail-related-card__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-detail-related-card__date {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #6b6a76;
}

.news-detail-related-card__title {
  margin: 0;
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #1c2a50;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 640px) {
  .news-detail__related-nav {
    display: none;
  }

  .news-detail__head {
    flex-direction: column;
    align-items: flex-start;
  }

  .news-detail__hero {
    max-height: none;
  }
}

.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;
}

/* ——— Тёмная тема: страница новости ——— */
html[data-sheet-theme="dark"] body.news-detail-page {
  background: #050b16;
}

html[data-sheet-theme="dark"] body.news-detail-page .bio-page__main {
  background: linear-gradient(180deg, #060d1a 0%, #081326 100%);
}

html[data-sheet-theme="dark"] body.news-detail-page article.activity-subpage__card.news-detail__card {
  background: transparent;
  border: none;
  box-shadow: none;
}

html[data-sheet-theme="dark"] body.news-detail-page .activity-subpage__eyebrow {
  color: rgba(180, 200, 235, 0.82);
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__meta time,
html[data-sheet-theme="dark"] body.news-detail-page .news-detail__author,
html[data-sheet-theme="dark"] body.news-detail-page .news-detail-related-card__date {
  color: rgba(190, 208, 238, 0.8);
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__author a {
  color: #9ec5ff;
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__body a {
  color: #9ec5ff;
}

html[data-sheet-theme="dark"] body.news-detail-page .activity-subpage__back .sheet-block__link--dark {
  color: #9ec5ff;
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__hero {
  background: rgba(255, 255, 255, 0.06);
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__missing {
  color: #ffb4b4;
}

html[data-sheet-theme="dark"] body.news-detail-page .activity-subpage__title,
html[data-sheet-theme="dark"] body.news-detail-page .news-detail__related-title,
html[data-sheet-theme="dark"] body.news-detail-page .news-detail-related-card__title {
  color: #f1f6ff;
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__lead,
html[data-sheet-theme="dark"] body.news-detail-page .news-detail__body {
  color: rgba(214, 226, 248, 0.92);
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__head,
html[data-sheet-theme="dark"] body.news-detail-page .news-detail__related {
  border-color: rgba(170, 196, 240, 0.18);
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail-related-card__link {
  background: rgba(12, 22, 40, 0.95);
  border-color: rgba(170, 196, 240, 0.2);
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__btn--source {
  color: #9ec5ff;
  border-color: rgba(158, 197, 255, 0.36);
  background: rgba(158, 197, 255, 0.1);
}

html[data-sheet-theme="dark"] body.news-detail-page .news-detail__related-nav-btn {
  background: rgba(12, 22, 40, 0.95);
  border-color: rgba(170, 196, 240, 0.24);
  color: #f1f6ff;
}

.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: 75%;
  width: 75%;
  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__toc-float {
  align-self: start;
  position: sticky;
  top: 110px;
  width: 100%;
}

@media (max-width: 760px) and (orientation: portrait) {
  body.bio-page.bio-page--clean .bio-page__toc-float {
    /* Убираем просвечивающую пустоту сверху: sticky меню должно стартовать ближе к header-зоне */
    top: 72px;
  }
}

body.bio-page.bio-page--clean .bio-page__toc {
  margin: 0;
  padding: clamp(22px, 2.2vw, 28px) clamp(16px, 1.8vw, 22px);
  border-bottom: none;
  border: 1px solid rgba(28, 42, 80, 0.12);
  border-radius: 14px;
  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__toc-label {
  margin: 0 0 14px;
  font-family: 'Alumni Sans', sans-serif;
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bio-blue-title);
}

body.bio-page.bio-page--clean .bio-page__toc-list {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

body.bio-page.bio-page--clean .bio-page__toc-list a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 600;
  color: var(--bio-blue-title);
  text-decoration: none;
}

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

body.bio-page.bio-page--clean .bio-page__toc-list a.is-active {
  background: rgba(28, 42, 80, 0.12);
  border-color: rgba(28, 42, 80, 0.16);
}

body.bio-page.bio-page--clean .bio-page__toc-list a:focus-visible {
  outline: 2px solid var(--bio-blue-title);
  outline-offset: 2px;
}

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__toc {
  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);
}

html[data-sheet-theme="dark"] body.bio-page.bio-page--clean .bio-page__toc-list a {
  color: #eaf2ff;
  background: transparent;
  border-color: transparent;
}

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

html[data-sheet-theme="dark"] body.bio-page.bio-page--clean .bio-page__toc-list a.is-active {
  background: rgba(140, 176, 236, 0.22);
  border-color: rgba(170, 196, 240, 0.28);
}

@media (max-width: 760px) {
  body.bio-page.bio-page--clean .bio-page__shell {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
  }

  body.bio-page.bio-page--clean .bio-page__article.floating-sheet__bio {
    padding-inline: clamp(22px, 5.5vw, 28px);
    border-left: none;
    border-right: none;
    border-radius: clamp(16px, 4vw, 20px) clamp(16px, 4vw, 20px) 0 0;
  }
}

@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__toc-float {
    order: -1;
    position: static;
    top: auto;
    margin-bottom: 4px;
  }
}

@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: 75%;
    width: 75%;
  }

  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"] .home-bio__copy {
  align-items: flex-start;
}

html[lang^="zh"] .home-bio__title {
  text-transform: none;
  letter-spacing: 0.08em;
}

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,
html[dir="rtl"] body.bio-page.bio-page--clean .bio-page__toc-float {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] #bio-static-background {
  transform: scaleX(-1);
}

/* ——— Cookie banner ——— */
.cookie-banner {
  --cookie-bg: rgba(247, 247, 245, 0.94);
  --cookie-border: rgba(28, 42, 80, 0.12);
  --cookie-shadow: 0 10px 36px rgba(12, 18, 36, 0.14);
  --cookie-title: var(--brand-navy, #1c2a50);
  --cookie-text: rgba(26, 26, 26, 0.78);
  --cookie-link: var(--brand-navy, #1c2a50);
  --cookie-btn-bg: var(--brand-navy, #1c2a50);
  --cookie-btn-fg: #fff;
  --cookie-btn-ghost-border: rgba(28, 42, 80, 0.28);
  --cookie-btn-ghost-fg: var(--brand-navy, #1c2a50);
  --cookie-focus: var(--brand-navy, #1c2a50);

  position: fixed;
  z-index: 12000;
  inset-inline: 0;
  bottom: 0;
  padding: 0;
  pointer-events: none;
}

html[data-sheet-theme="dark"] .cookie-banner {
  --cookie-bg: rgba(10, 18, 34, 0.92);
  --cookie-border: rgba(185, 217, 255, 0.16);
  --cookie-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
  --cookie-title: #f4f7ff;
  --cookie-text: rgba(225, 234, 255, 0.82);
  --cookie-link: #b9d9ff;
  --cookie-btn-bg: #e8eef8;
  --cookie-btn-fg: #0b1629;
  --cookie-btn-ghost-border: rgba(185, 217, 255, 0.35);
  --cookie-btn-ghost-fg: #e8eef8;
  --cookie-focus: #b9d9ff;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__panel {
  pointer-events: auto;
  max-width: none;
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding: 14px var(--sheet-pad-x, clamp(16px, 4vw, 180px))
    calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--cookie-bg);
  color: var(--cookie-text);
  border: 1px solid var(--cookie-border);
  border-bottom: none;
  border-radius: 16px 16px 0 0;
  box-shadow: var(--cookie-shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: cookie-banner-in 0.35s ease both;
}

@keyframes cookie-banner-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-banner__text {
  flex: 1 1 240px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cookie-banner__title {
  margin: 0;
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--cookie-title);
}

.cookie-banner__desc {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--cookie-text);
}

.cookie-banner__desc a {
  color: var(--cookie-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__desc a:hover {
  opacity: 0.85;
}

.cookie-banner__desc a:focus-visible {
  outline: 2px solid var(--cookie-focus);
  outline-offset: 2px;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  flex: 0 0 auto;
  margin-inline-start: auto;
}

.cookie-banner__btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Raleway", sans-serif;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
    opacity 0.2s ease;
}

.cookie-banner__btn--primary {
  background: var(--cookie-btn-bg);
  color: var(--cookie-btn-fg);
}

.cookie-banner__btn--primary:hover {
  opacity: 0.9;
}

.cookie-banner__btn--ghost {
  background: transparent;
  color: var(--cookie-btn-ghost-fg);
  border-color: var(--cookie-btn-ghost-border);
}

.cookie-banner__btn--ghost:hover {
  border-color: var(--cookie-btn-ghost-fg);
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid var(--cookie-focus);
  outline-offset: 2px;
}

@media (max-width: 560px) {
  .cookie-banner {
    padding: 0;
  }

  .cookie-banner__panel {
    padding: 22px 22px calc(22px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    border-radius: 14px 14px 0 0;
    border-bottom: none;
  }

  .cookie-banner__text {
    gap: 3px;
  }

  .cookie-banner__title {
    font-size: 13px;
    letter-spacing: 0.06em;
  }

  .cookie-banner__desc {
    font-size: 11.5px;
    line-height: 1.35;
  }

  .cookie-banner__actions {
    width: 100%;
    gap: 8px;
  }

  .cookie-banner__btn {
    flex: 1 1 0;
    min-height: 32px;
    padding: 6px 10px;
    font-size: 11px;
    text-align: center;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner__panel {
    animation: none;
  }
}

/* ——— Privacy page ——— */
.privacy-page__card {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(32px, 4.5vw, 56px) clamp(24px, 4vw, 52px);
}

.privacy-page__hero {
  width: 100%;
  max-width: none;
  margin-bottom: clamp(28px, 4vw, 40px);
}

.privacy-page__title {
  max-width: none;
}

.privacy-page__lead {
  margin-bottom: 0;
  max-width: none;
}

body.privacy-page .activity-subpage__lead {
  max-width: none;
}

.privacy-page__doc {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: clamp(18px, 3vw, 28px);
  align-items: end;
  padding: clamp(20px, 2.8vw, 28px) 0;
  border-block: 1px solid rgba(28, 42, 80, 0.12);
}

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

.privacy-page__doc-name {
  margin: 0 0 6px;
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #1c2a50;
}

.privacy-page__doc-br {
  display: none;
}

@media (min-width: 721px) {
  .privacy-page__doc-br {
    display: block;
  }
}

.privacy-page__doc-format {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  line-height: 1.4;
  color: #6b7a94;
}

.privacy-page__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  justify-content: flex-end;
}

.privacy-page__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 26px;
  font-family: "Raleway", sans-serif;
  font-size: clamp(13px, 1.05vw, 15px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.privacy-page__btn--primary {
  background: #1c2a50;
  color: #fff;
}

.privacy-page__btn--primary:hover {
  background: #243660;
}

.privacy-page__btn--ghost {
  background: transparent;
  color: #1c2a50;
  border-color: rgba(28, 42, 80, 0.28);
}

.privacy-page__btn--ghost:hover {
  border-color: #1c2a50;
}

.privacy-page__btn:focus-visible {
  outline: 2px solid #1c2a50;
  outline-offset: 3px;
}

.privacy-page__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  margin: clamp(24px, 3.5vw, 36px) 0 0;
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: #4a5a78;
}

.privacy-page__meta-label {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7a94;
}

.privacy-page__meta-item p {
  margin: 0;
}

.privacy-page__meta a {
  color: #1c2a50;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 42, 80, 0.28);
}

.privacy-page__meta a:hover {
  border-bottom-color: #1c2a50;
}

.privacy-page__meta-note {
  margin-top: 10px !important;
  font-size: 13px;
  color: #6b7a94;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__meta-note {
  color: rgba(185, 217, 255, 0.62);
}

/* ---- Inline privacy policy document (official layout) ---- */
.privacy-doc {
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: clamp(28px, 4vw, 48px) 0 0;
  max-width: 46rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border-top: 1px solid rgba(28, 42, 80, 0.14);
  font-family: "Raleway", sans-serif;
  font-size: clamp(15px, 1.05vw, 16.5px);
  line-height: 1.7;
  color: #24314a;
  text-align: left;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.privacy-doc__cover,
.privacy-doc__toc,
.privacy-doc__section,
.privacy-doc__subsection {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.privacy-doc__cover {
  margin: 0 0 clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 32px);
  border-bottom: 1px solid rgba(28, 42, 80, 0.12);
}

.privacy-doc__approved {
  margin: 0 0 clamp(20px, 3vw, 28px);
  max-width: 100%;
  text-align: center;
  font-size: clamp(11px, 2.4vw, 13px);
  line-height: 1.5;
  white-space: normal;
  color: #5a6a86;
}

@media (min-width: 721px) {
  .privacy-doc__approved {
    white-space: nowrap;
  }
}

.privacy-doc__title {
  margin: 0 auto 18px;
  max-width: min(22em, 100%);
  width: 100%;
  text-align: center;
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(26px, 3vw, 34px);
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #1c2a50;
  overflow-wrap: break-word;
}

.privacy-doc__meta-line {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: #5a6a86;
}

.privacy-doc__body-note {
  margin: 0 0 20px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #5a6a86;
  background: rgba(28, 42, 80, 0.04);
  border-inline-start: 3px solid rgba(28, 42, 80, 0.22);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__body-note {
  color: rgba(185, 217, 255, 0.72);
  background: rgba(185, 217, 255, 0.06);
  border-inline-start-color: rgba(185, 217, 255, 0.35);
}

.privacy-doc__toc {
  display: block;
  margin: 0 0 clamp(32px, 4vw, 44px);
  padding: 0 0 clamp(24px, 3vw, 32px);
  border-bottom: 1px solid rgba(28, 42, 80, 0.12);
  background: transparent;
}

.privacy-doc__toc-title {
  display: block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5a6a86;
  cursor: pointer;
  list-style: none;
}

.privacy-doc__toc-title::-webkit-details-marker {
  display: none;
}

.privacy-doc__toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 1;
  column-gap: 2rem;
}

@media (min-width: 721px) {
  .privacy-doc__toc-list {
    columns: 2;
  }

  .privacy-doc__toc-title {
    cursor: default;
    pointer-events: none;
  }
}

.privacy-doc__toc-list li {
  margin: 0 0 8px;
  padding: 0;
  list-style: none;
  break-inside: avoid;
}

.privacy-doc__toc-list li::marker {
  content: none;
}

.privacy-doc__toc-list a {
  color: #1c2a50;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  font-weight: 500;
  font-size: 0.95em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.privacy-doc__toc-list a:hover {
  border-bottom-color: rgba(28, 42, 80, 0.35);
}

.privacy-doc__section {
  margin: 0 0 clamp(28px, 3.5vw, 40px);
  padding: 0;
  scroll-margin-top: 96px;
  overflow-wrap: break-word;
}

.privacy-doc__section + .privacy-doc__section {
  padding-top: clamp(8px, 1.2vw, 14px);
  border-top: 1px solid rgba(28, 42, 80, 0.08);
}

.privacy-doc__h2 {
  margin: 0 0 16px;
  font-family: "Alumni Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px);
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: #1c2a50;
  overflow-wrap: break-word;
}

.privacy-doc__subsection {
  margin: 0 0 1.15em;
  scroll-margin-top: 96px;
}

.privacy-doc__subsection::after {
  content: "";
  display: table;
  clear: both;
}

.privacy-doc__h3 {
  margin: 0 0 8px;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  font-size: inherit;
  line-height: inherit;
  color: #1c2a50;
}

.privacy-doc__h3--clause {
  float: left;
  margin: 0 0.35em 0 0;
  font-size: inherit;
  font-weight: 700;
  line-height: inherit;
}

.privacy-doc__h3--clause + p {
  margin-top: 0;
}

.privacy-doc__h3--title {
  display: block;
  float: none;
  margin: 0 0 10px;
  font-size: 1.02em;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.privacy-doc p {
  margin: 0 0 0.75em;
  overflow-wrap: break-word;
}

.privacy-doc__field {
  margin: 0 0 0.55em;
  overflow-wrap: break-word;
}

.privacy-doc__field strong {
  font-weight: 700;
  color: #1c2a50;
}

.privacy-doc__subsection .privacy-doc__field,
.privacy-doc__subsection .privacy-doc__bullet,
.privacy-doc__subsection .privacy-doc__table-wrap {
  clear: both;
}

.privacy-doc__bullet {
  position: relative;
  margin: 0 0 0.55em;
  padding-left: 1.2em;
  overflow-wrap: break-word;
}

.privacy-doc__bullet::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #5a6a86;
}

.privacy-doc__table-wrap {
  margin: 12px 0 16px;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid rgba(28, 42, 80, 0.14);
}

.privacy-doc__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 0.9em;
  line-height: 1.45;
}

.privacy-doc__table th,
.privacy-doc__table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(28, 42, 80, 0.1);
}

.privacy-doc__table th {
  font-weight: 700;
  background: rgba(28, 42, 80, 0.04);
  color: #1c2a50;
  white-space: nowrap;
}

.privacy-doc__table tr:last-child td {
  border-bottom: 0;
}

.privacy-doc a {
  color: #1c2a50;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(28, 42, 80, 0.28);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.privacy-doc a:hover {
  border-bottom-color: #1c2a50;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc {
  border-top-color: rgba(185, 217, 255, 0.16);
  color: rgba(225, 234, 255, 0.88);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__cover,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__toc,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__section + .privacy-doc__section {
  border-color: rgba(185, 217, 255, 0.14);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__approved,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__meta-line,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__toc-title {
  color: rgba(185, 217, 255, 0.62);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__title,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__h2,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__h3,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__field strong {
  color: #f4f7ff;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__toc {
  background: transparent;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__toc-list a,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc a {
  color: #b9d9ff;
  border-bottom-color: rgba(185, 217, 255, 0.28);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__toc-list a:hover,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc a:hover {
  border-bottom-color: #b9d9ff;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__table-wrap {
  border-color: rgba(185, 217, 255, 0.16);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__table th {
  background: rgba(185, 217, 255, 0.08);
  color: #f4f7ff;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__table th,
html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__table td {
  border-bottom-color: rgba(185, 217, 255, 0.12);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__bullet::before {
  color: rgba(185, 217, 255, 0.55);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__doc {
  border-color: rgba(185, 217, 255, 0.16);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__doc-label,
html[data-sheet-theme="dark"] body.privacy-page .privacy-page__doc-format,
html[data-sheet-theme="dark"] body.privacy-page .privacy-page__meta-label {
  color: rgba(185, 217, 255, 0.62);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__doc-name {
  color: #f4f7ff;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__meta {
  color: rgba(225, 234, 255, 0.82);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__meta a {
  color: #b9d9ff;
  border-bottom-color: rgba(185, 217, 255, 0.35);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__meta a:hover {
  border-bottom-color: #b9d9ff;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__btn--primary {
  background: #b9d9ff;
  color: #0a1222;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__btn--primary:hover {
  background: #d4e7ff;
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__btn--ghost {
  color: #b9d9ff;
  border-color: rgba(185, 217, 255, 0.35);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__btn--ghost:hover {
  border-color: #b9d9ff;
  background: rgba(185, 217, 255, 0.08);
}

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__btn:focus-visible {
  outline-color: #b9d9ff;
}

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

html[data-sheet-theme="dark"] body.privacy-page .privacy-page__card {
  background: rgba(10, 18, 34, 0.72);
  border-color: rgba(185, 217, 255, 0.14);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}

html[data-sheet-theme="dark"] body.privacy-page .activity-subpage__eyebrow {
  color: rgba(185, 217, 255, 0.62);
}

html[data-sheet-theme="dark"] body.privacy-page .activity-subpage__title {
  color: #f4f7ff;
}

html[data-sheet-theme="dark"] body.privacy-page .activity-subpage__lead {
  color: rgba(225, 234, 255, 0.82);
}

@media (max-width: 720px) {
  body.privacy-page .bio-page__main {
    padding-inline: max(12px, var(--page-inline-pad, 12px));
  }

  body.privacy-page .privacy-page__card {
    padding: 18px 12px 24px;
    border-radius: 14px;
    overflow-x: clip;
  }

  .privacy-page__hero {
    margin-bottom: 20px;
  }

  .privacy-page__title {
    font-size: clamp(24px, 7.5vw, 32px);
    line-height: 1.12;
  }

  body.privacy-page .privacy-page__lead,
  body.privacy-page .activity-subpage__lead.privacy-page__lead {
    font-size: 13px;
    line-height: 1.5;
  }

  .privacy-page__doc {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 14px;
    padding: 16px 0;
  }

  .privacy-page__doc-name {
    font-size: clamp(17px, 5.2vw, 21px);
  }

  .privacy-page__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 10px;
  }

  .privacy-page__btn {
    width: 100%;
    min-height: 48px;
    padding-inline: 16px;
    box-sizing: border-box;
  }

  .privacy-page__meta {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .privacy-doc {
    margin-top: 20px;
    padding-top: 18px;
    max-width: none;
    width: 100%;
    font-size: 14.5px;
    line-height: 1.62;
  }

  .privacy-doc__approved {
    white-space: normal !important;
    font-size: 12px;
    line-height: 1.45;
    margin-bottom: 14px;
  }

  .privacy-doc__title {
    max-width: 100%;
    font-size: clamp(20px, 6vw, 26px);
    text-transform: none;
    letter-spacing: 0.01em;
    line-height: 1.25;
  }

  .privacy-doc__title-br {
    display: none;
  }

  .privacy-doc__meta-line {
    font-size: 13px;
  }

  .privacy-doc__body-note {
    font-size: 13px;
    padding: 10px 12px;
    margin-bottom: 16px;
  }

  .privacy-doc__toc {
    margin-bottom: 18px;
    padding: 12px 14px;
    border: 1px solid rgba(28, 42, 80, 0.12);
    border-radius: 10px;
    border-bottom: 1px solid rgba(28, 42, 80, 0.12);
  }

  .privacy-doc__toc-title {
    margin: 0;
    padding: 2px 0;
    position: relative;
    padding-inline-end: 1.5em;
  }

  .privacy-doc__toc-title::after {
    content: "";
    position: absolute;
    right: 2px;
    top: 50%;
    width: 0.45em;
    height: 0.45em;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    opacity: 0.7;
  }

  .privacy-doc__toc[open] .privacy-doc__toc-title::after {
    transform: translateY(-20%) rotate(225deg);
  }

  .privacy-doc__toc-list {
    columns: 1;
    margin-top: 12px;
  }

  .privacy-doc__toc-list a {
    font-size: 14px;
  }

  .privacy-doc__h2 {
    font-size: clamp(17px, 5vw, 21px);
    margin-bottom: 10px;
  }

  .privacy-doc__h3--clause {
    float: none;
    display: inline;
    margin: 0 0.25em 0 0;
  }

  .privacy-doc__h3--clause + p {
    display: inline;
  }

  .privacy-doc__h3--clause + p::after {
    content: "";
    display: block;
    margin-bottom: 0.7em;
  }

  .privacy-doc__h3--title {
    font-size: 1em;
    margin-bottom: 8px;
  }

  .privacy-doc__subsection .privacy-doc__field,
  .privacy-doc__subsection .privacy-doc__bullet,
  .privacy-doc__subsection .privacy-doc__table-wrap,
  .privacy-doc__subsection > p + p {
    display: block;
  }

  .privacy-doc__table-wrap {
    margin-inline: 0;
  }

  .privacy-doc__table {
    min-width: 440px;
    font-size: 12px;
  }

  .privacy-doc__table th,
  .privacy-doc__table td {
    padding: 8px 9px;
  }

  html[data-sheet-theme="dark"] body.privacy-page .privacy-doc__toc {
    border-color: rgba(185, 217, 255, 0.16);
  }
}

@media (max-width: 420px) {
  body.privacy-page .privacy-page__card {
    padding: 16px 10px 22px;
  }

  .privacy-doc__approved {
    font-size: 11px;
  }
}

html[dir="rtl"] body.privacy-page .privacy-page__actions {
  justify-content: flex-start;
}

html[dir="rtl"] .privacy-doc__bullet {
  padding-left: 0;
  padding-right: 1.2em;
}

html[dir="rtl"] .privacy-doc__bullet::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .privacy-doc__h3--clause {
  float: right;
  margin: 0 0 0 0.35em;
}

html[dir="rtl"] .privacy-doc__toc-title::after {
  right: auto;
  left: 2px;
}

