/* ==========================================================
   Strict Light Government UI layer
   Строгий современный светлый дизайн поверх существующей верстки.
   Все правила отключаются в версии для слабовидящих.
   ========================================================== */

:root {
  --c-primary: #1f5f9f;
  --c-primary-dark: #174a7d;
  --c-primary-light: #eaf3fb;
  --c-secondary: #1d2939;
  --c-secondary-dark: #101828;
  --c-gold: #b98b3e;
  --c-gold-dark: #8a6428;
  --c-gold-light: #f7eddc;
  --c-bg: #f6f8fb;
  --c-bg-alt: #eef2f6;
  --c-surface: #ffffff;
  --c-ink: #182230;
  --c-ink-soft: #475467;
  --c-muted: #667085;
  --c-line: #d9e1ea;
  --c-line-soft: #edf1f5;
  --c-line-cool: #d7e3ee;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05), 0 6px 18px rgba(16, 24, 40, .05);
  --shadow-md: 0 12px 30px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 56px rgba(16, 24, 40, .10);
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --container: 1340px;
  --gutter: 30px;
  --h-topbar: 94px;
  --h-nav: 58px;
}

body:not(.access-mode) {
  color: var(--c-ink);
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 38%, #f1f4f8 100%);
  letter-spacing: 0;
}

body:not(.access-mode)::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31,95,159,.035) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31,95,159,.035) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 72%);
}

body:not(.access-mode) .bg-decor,
body:not(.access-mode) .bg-grid {
  display: none !important;
}

body:not(.access-mode) .container {
  max-width: var(--container);
  padding-inline: clamp(18px, 3vw, var(--gutter));
}

body:not(.access-mode) h1,
body:not(.access-mode) h2,
body:not(.access-mode) h3,
body:not(.access-mode) h4 {
  letter-spacing: -.018em;
  color: var(--c-secondary-dark);
}

body:not(.access-mode) a,
body:not(.access-mode) button,
body:not(.access-mode) input,
body:not(.access-mode) textarea,
body:not(.access-mode) select,
body:not(.access-mode) .news-card,
body:not(.access-mode) .partner,
body:not(.access-mode) .doc-category,
body:not(.access-mode) .material-item,
body:not(.access-mode) .doc-item,
body:not(.access-mode) .legal-item,
body:not(.access-mode) .content-card,
body:not(.access-mode) .info-card,
body:not(.access-mode) .form-card,
body:not(.access-mode) .team-card,
body:not(.access-mode) .symbol-card,
body:not(.access-mode) .contact-card,
body:not(.access-mode) .press-card,
body:not(.access-mode) .speech-item,
body:not(.access-mode) .speech-card,
body:not(.access-mode) .page-panel,
body:not(.access-mode) .banner,
body:not(.access-mode) .promo-banner {
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    border-color .22s ease,
    background-color .22s ease,
    color .18s ease,
    opacity .18s ease;
}

/* ---------------- Header / navigation ---------------- */
body:not(.access-mode) .header {
  position: sticky;
  top: var(--access-toolbar-offset, 0px);
  z-index: 1100;
  background: rgba(255,255,255,.98);
  border-bottom: 1px solid var(--c-line-soft);
  box-shadow: 0 1px 0 rgba(16,24,40,.04), 0 10px 28px rgba(16,24,40,.04);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: background-color .22s ease, box-shadow .22s ease, border-color .22s ease;
}

html {
  scroll-padding-top: calc(var(--header-sticky-height, 160px) + 16px);
}

body:not(.access-mode) .header.is-scrolled {
  background: rgba(255,255,255,.78);
  border-bottom-color: rgba(215, 227, 238, .92);
  box-shadow: 0 10px 28px rgba(16,24,40,.09);
}

body:not(.access-mode) .header::before {
  height: 2px;
  background: linear-gradient(90deg, var(--c-primary-dark), var(--c-primary), var(--c-gold));
}

body:not(.access-mode) .topbar {
  min-height: var(--h-topbar);
  padding-block: 12px;
  gap: 26px;
}

body:not(.access-mode) .brand {
  gap: 16px;
}

body:not(.access-mode) .brand__logo {
  width: 72px;
  height: 88px;
  flex: 0 0 72px;
  padding: 7px 9px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: 0 8px 22px rgba(16,24,40,.07);
}

body:not(.access-mode) .brand__logo::before,
body:not(.access-mode) .brand__logo::after {
  display: none !important;
}

body:not(.access-mode) .brand__logo img,
body:not(.access-mode) img.logo_m,
body:not(.access-mode) .brand__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: none;
}

body:not(.access-mode) .brand__overline {
  color: var(--c-primary-dark);
  font-size: 10px;
  letter-spacing: .2em;
  font-weight: 800;
}

body:not(.access-mode) .brand__overline::after {
  background: var(--c-line);
}

body:not(.access-mode) .brand__title {
  max-width: 620px;
  color: var(--c-secondary-dark);
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.18;
}

body:not(.access-mode) .top-actions {
  gap: 16px;
}

body:not(.access-mode) .top-links {
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

body:not(.access-mode) .top-link {
  padding: 8px 12px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--c-muted);
  font-weight: 700;
  font-size: 12px;
}

body:not(.access-mode) .top-link::after { display: none !important; }

body:not(.access-mode) .top-link:hover {
  background: var(--c-primary-light);
  border-color: #d9e9f7;
  color: var(--c-primary-dark);
}

body:not(.access-mode) .top-link--accessibility {
  color: var(--c-primary-dark);
  background: #fff;
  border-color: var(--c-line);
  box-shadow: var(--shadow-sm);
}

body:not(.access-mode) .top-divider {
  background: var(--c-line);
}

body:not(.access-mode) .socials { gap: 8px; }

body:not(.access-mode) .social {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-primary-dark);
  box-shadow: none;
}

body:not(.access-mode) .social:hover {
  color: #fff;
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  transform: translateY(-1px);
}

body:not(.access-mode) .nav-wrap {
  top: var(--access-toolbar-offset, 0px);
  background: rgba(255,255,255,.97);
  border-top: 1px solid var(--c-line-soft);
  border-bottom: 1px solid var(--c-line);
  box-shadow: 0 8px 18px rgba(16,24,40,.035);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

body:not(.access-mode) .nav-wrap.is-stuck {
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 30px rgba(16,24,40,.08);
}

body:not(.access-mode) .nav {
  min-height: var(--h-nav);
  align-items: stretch;
}

body:not(.access-mode) .nav__list {
  gap: 2px;
}

body:not(.access-mode) .nav__link {
  height: 100%;
  padding: 0 16px;
  color: var(--c-ink-soft);
  letter-spacing: .02em;
  font-size: 12px;
  font-weight: 800;
  border-radius: 0;
}

body:not(.access-mode) .nav__link::after {
  height: 3px;
  background: var(--c-primary);
  bottom: 0;
}

body:not(.access-mode) .nav__item:hover .nav__link,
body:not(.access-mode) .nav__link.is-active {
  color: var(--c-primary-dark);
  background: #f3f8fd;
}

body:not(.access-mode) .nav__submenu {
  min-width: 320px;
  padding: 8px;
  border: 1px solid var(--c-line);
  border-top: 3px solid var(--c-primary);
  border-radius: 0 0 14px 14px;
  background: #fff;
  box-shadow: 0 20px 45px rgba(16,24,40,.10);
}

body:not(.access-mode) .nav__sublink {
  border-radius: 10px;
  padding: 11px 13px;
  color: var(--c-ink-soft);
}

body:not(.access-mode) .nav__sublink::before {
  background: var(--c-primary);
}

body:not(.access-mode) .nav__sublink:hover {
  background: #f4f8fc;
  color: var(--c-primary-dark);
  padding-left: 18px;
}

body:not(.access-mode) .burger {
  color: var(--c-primary-dark);
}

/* ---------------- Hero ---------------- */
body:not(.access-mode) .hero {
  padding: clamp(42px, 6vw, 72px) 0 clamp(38px, 5vw, 60px);
  margin-bottom: 0;
  background:
    radial-gradient(720px 280px at 92% 0%, rgba(31,95,159,.10), transparent 62%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
  border-bottom: 1px solid var(--c-line-soft);
  isolation: isolate;
}

body:not(.access-mode) .hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(31,95,159,.045) 1px, transparent 1px), linear-gradient(180deg, rgba(31,95,159,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,.42), transparent 70%);
}

body:not(.access-mode) .hero__inner {
  grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr);
  gap: clamp(30px, 5vw, 62px);
}

body:not(.access-mode) .hero__overline,
body:not(.access-mode) .page-hero__overline {
  color: var(--c-primary-dark);
  letter-spacing: .22em;
  font-size: 10px;
}

body:not(.access-mode) .hero__overline::before,
body:not(.access-mode) .page-hero__overline::before {
  background: var(--c-primary);
}

body:not(.access-mode) .hero__title {
  color: var(--c-secondary-dark);
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.08;
  max-width: 760px;
  margin-bottom: 18px;
  text-shadow: none;
}

body:not(.access-mode) .hero__title em {
  color: var(--c-primary-dark);
}

body:not(.access-mode) .hero__lead {
  max-width: 700px;
  color: var(--c-ink-soft);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.72;
}

body:not(.access-mode) .hero__lead::first-letter { color: var(--c-primary-dark); }

body:not(.access-mode) .hero__visual {
  padding: 8px;
  border: 1px solid var(--c-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

body:not(.access-mode) .hero__visual::before { display: none !important; }

body:not(.access-mode) .hero__visual-inner {
  border: 0;
  border-radius: 14px;
  background-position: center !important;
}

body:not(.access-mode) .hero__visual-inner::after {
  border-radius: 14px;
  background: linear-gradient(to top, rgba(16,24,40,.76) 0%, rgba(16,24,40,.34) 45%, rgba(16,24,40,.02) 74%);
}

body:not(.access-mode) .hero__visual-card {
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 16px 16px 16px 76px;
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  color: var(--c-secondary-dark);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 12px 30px rgba(16,24,40,.12);
}

body:not(.access-mode) .hero__visual-label {
  color: var(--c-primary-dark);
}

body:not(.access-mode) .hero__visual-decor {
  bottom: 38px;
  left: 38px;
  z-index: 3;
  filter: none;
}

body:not(.access-mode) .hero__visual-title {
  color: var(--c-secondary-dark);
  font-size: clamp(18px, 1.7vw, 23px);
}

/* ---------------- Inner pages ---------------- */
body:not(.access-mode) .page-hero {
  padding: clamp(38px, 6vw, 66px) 0 clamp(34px, 5vw, 50px);
  background:
    radial-gradient(780px 260px at 92% -10%, rgba(31,95,159,.12), transparent 64%),
    linear-gradient(180deg, #ffffff 0%, #f5f8fb 100%);
  color: var(--c-ink);
  border-bottom: 1px solid var(--c-line-soft);
  overflow: hidden;
}

body:not(.access-mode) .page-hero::before {
  opacity: .34;
  background: linear-gradient(90deg, rgba(31,95,159,.055) 1px, transparent 1px), linear-gradient(180deg, rgba(31,95,159,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(135deg, rgba(0,0,0,.5), transparent 72%);
}

body:not(.access-mode) .breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--c-muted);
  padding: 7px 11px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--c-line-soft);
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

body:not(.access-mode) .breadcrumbs a:hover { color: var(--c-primary-dark); }

body:not(.access-mode) .page-hero__title {
  color: var(--c-secondary-dark);
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.08;
  max-width: 1020px;
  text-shadow: none;
}

body:not(.access-mode) .page-hero__lead {
  color: var(--c-ink-soft);
  font-size: clamp(16px, 1.3vw, 18px);
  max-width: 880px;
  line-height: 1.7;
}

body:not(.access-mode) .page-hero__stats {
  gap: 12px;
  margin-top: 26px;
}

body:not(.access-mode) .page-stat {
  background: #fff;
  color: var(--c-secondary-dark);
  border: 1px solid var(--c-line);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

body:not(.access-mode) .inner-section {
  padding: clamp(30px, 5vw, 52px) 0 clamp(54px, 7vw, 78px);
}

body:not(.access-mode) .section {
  padding: clamp(30px, 4vw, 48px) 0;
}

body:not(.access-mode) .section-header {
  padding-bottom: 16px;
  border-bottom-color: var(--c-line);
  margin-bottom: 26px;
}

body:not(.access-mode) .section-header::after {
  height: 3px;
  width: 96px;
  border-radius: 999px;
  background: var(--c-primary);
}

body:not(.access-mode) .section-title {
  color: var(--c-secondary-dark);
  font-size: clamp(26px, 3vw, 38px);
}

body:not(.access-mode) .section-title__small {
  color: var(--c-primary-dark);
  letter-spacing: .20em;
}

body:not(.access-mode) .section-more,
body:not(.access-mode) .read-more {
  padding: 10px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--c-line);
  color: var(--c-primary-dark);
  font-weight: 800;
}

body:not(.access-mode) .section-more:hover,
body:not(.access-mode) .read-more:hover {
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ---------------- Layout and cards ---------------- */
body:not(.access-mode) .layout {
  grid-template-columns: minmax(0, 1fr) minmax(310px, 360px);
  gap: clamp(26px, 4vw, 44px);
}

body:not(.access-mode) .layout__main {
  position: relative;
  bottom: auto;
  align-self: start;
}

body:not(.access-mode) .layout__aside {
  top: calc(var(--h-nav) + var(--access-toolbar-offset, 0px) + 20px);
  bottom: auto;
  align-self: start;
}

body:not(.access-mode) .news-grid,
body:not(.access-mode) .doc-grid,
body:not(.access-mode) .content-grid,
body:not(.access-mode) .team-grid,
body:not(.access-mode) .symbol-grid,
body:not(.access-mode) .contact-grid,
body:not(.access-mode) .press-hub,
body:not(.access-mode) .partners__grid {
  gap: 20px;
}

body:not(.access-mode) .news-card,
body:not(.access-mode) .doc-category,
body:not(.access-mode) .material-item,
body:not(.access-mode) .doc-item,
body:not(.access-mode) .legal-item,
body:not(.access-mode) .content-card,
body:not(.access-mode) .info-card,
body:not(.access-mode) .form-card,
body:not(.access-mode) .team-card,
body:not(.access-mode) .symbol-card,
body:not(.access-mode) .contact-card,
body:not(.access-mode) .press-card,
body:not(.access-mode) .speech-item,
body:not(.access-mode) .speech-card,
body:not(.access-mode) .page-panel,
body:not(.access-mode) .detail-article,
body:not(.access-mode) .banner,
body:not(.access-mode) .promo-banner,
body:not(.access-mode) .partner {
  border: 1px solid var(--c-line-soft);
  border-radius: var(--r-md);
  background: rgba(255,255,255,.96);
  box-shadow: var(--shadow-sm);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body:not(.access-mode) .news-card:hover,
body:not(.access-mode) .doc-category:hover,
body:not(.access-mode) .material-item:hover,
body:not(.access-mode) .doc-item:hover,
body:not(.access-mode) .legal-item:hover,
body:not(.access-mode) .content-card:hover,
body:not(.access-mode) .info-card:hover,
body:not(.access-mode) .form-card:hover,
body:not(.access-mode) .team-card:hover,
body:not(.access-mode) .symbol-card:hover,
body:not(.access-mode) .contact-card:hover,
body:not(.access-mode) .press-card:hover,
body:not(.access-mode) .speech-item:hover,
body:not(.access-mode) .speech-card:hover,
body:not(.access-mode) .page-panel:hover,
body:not(.access-mode) .banner:hover,
body:not(.access-mode) .promo-banner:hover,
body:not(.access-mode) .partner:hover {
  transform: translateY(-3px);
  border-color: #ccd8e4;
  box-shadow: var(--shadow-md);
}

body:not(.access-mode) .news-card::before,
body:not(.access-mode) .doc-category::before,
body:not(.access-mode) .material-item::before,
body:not(.access-mode) .content-card::before,
body:not(.access-mode) .info-card::before,
body:not(.access-mode) .form-card::before,
body:not(.access-mode) .team-card::before,
body:not(.access-mode) .symbol-card::before,
body:not(.access-mode) .contact-card::before,
body:not(.access-mode) .page-panel::before {
  display: none !important;
}

body:not(.access-mode) .doc-category::after,
body:not(.access-mode) .material-item::after,
body:not(.access-mode) .doc-item::after,
body:not(.access-mode) .legal-item::after,
body:not(.access-mode) .content-card::after,
body:not(.access-mode) .form-card::after,
body:not(.access-mode) .info-card::after,
body:not(.access-mode) .team-card::after,
body:not(.access-mode) .symbol-card::after,
body:not(.access-mode) .contact-card::after,
body:not(.access-mode) .page-panel::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: #dfe8f1;
  opacity: 1;
}

body:not(.access-mode) .news-card {
  overflow: hidden;
}

body:not(.access-mode) .news-card__media {
  border-radius: var(--r-md) var(--r-md) 0 0;
  background: var(--c-bg-alt);
}

body:not(.access-mode) .news-card--featured {
  grid-template-columns: 1.12fr .95fr;
  border-color: #d4dee8;
}

body:not(.access-mode) .news-card--featured .news-card__media {
  border-radius: var(--r-md) 0 0 var(--r-md);
}

body:not(.access-mode) .news-card__media::after {
  background: linear-gradient(180deg, rgba(16,24,40,0) 28%, rgba(16,24,40,.38) 100%);
}

body:not(.access-mode) .news-card__image,
body:not(.access-mode) .news-card__image_normal,
body:not(.access-mode) .detail-article__image,
body:not(.access-mode) .promo-banner__image,
body:not(.access-mode) .bio-photo img,
body:not(.access-mode) .team-card__avatar img {
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .42s ease, filter .25s ease;
}

body:not(.access-mode) .news-card:hover .news-card__image,
body:not(.access-mode) .news-card:hover .news-card__image_normal,
body:not(.access-mode) .promo-banner:hover .promo-banner__image,
body:not(.access-mode) .team-card:hover .team-card__avatar img {
  transform: scale(1.025);
  filter: contrast(1.02);
}

body:not(.access-mode) .news-card__category,
body:not(.access-mode) .file-badge,
body:not(.access-mode) .info-card__label,
body:not(.access-mode) .team-card__role,
body:not(.access-mode) .press-card__kicker,
body:not(.access-mode) .speech-card__overline {
  border-radius: 999px;
  background: #f3f8fd;
  border: 1px solid #d9e9f7;
  color: var(--c-primary-dark);
  box-shadow: none;
}

body:not(.access-mode) .news-card__body,
body:not(.access-mode) .news-card--featured .news-card__body {
  padding: clamp(20px, 2.4vw, 34px);
}

body:not(.access-mode) .news-card--featured .news-card__body::before {
  background: var(--c-primary);
  opacity: .35;
}

body:not(.access-mode) .news-card__title,
body:not(.access-mode) .doc-category__title,
body:not(.access-mode) .doc-item__title,
body:not(.access-mode) .material-item__title,
body:not(.access-mode) .press-card__title,
body:not(.access-mode) .speech-item__title,
body:not(.access-mode) .speech-card__title,
body:not(.access-mode) .content-card h2,
body:not(.access-mode) .content-card h3,
body:not(.access-mode) .form-card h2,
body:not(.access-mode) .info-card h2,
body:not(.access-mode) .detail-article__title,
body:not(.access-mode) .page-panel__title,
body:not(.access-mode) .banner__title,
body:not(.access-mode) .promo-banner__title,
body:not(.access-mode) .partner__name {
  color: var(--c-secondary-dark);
}

body:not(.access-mode) .news-card__excerpt,
body:not(.access-mode) .doc-category__meta,
body:not(.access-mode) .doc-item__meta,
body:not(.access-mode) .material-item__meta,
body:not(.access-mode) .content-card p,
body:not(.access-mode) .content-card li,
body:not(.access-mode) .info-card p,
body:not(.access-mode) .form-note p,
body:not(.access-mode) .detail-article__text,
body:not(.access-mode) .page-panel__lead,
body:not(.access-mode) .info-text,
body:not(.access-mode) .press-card__text,
body:not(.access-mode) .speech-item__excerpt,
body:not(.access-mode) .speech-card__quote {
  color: var(--c-ink-soft);
}

body:not(.access-mode) .news-card__date,
body:not(.access-mode) .speech-card__date,
body:not(.access-mode) .speech-item__date,
body:not(.access-mode) .detail-article__meta {
  color: var(--c-muted);
}

/* ---------------- Search / side blocks / banners ---------------- */
body:not(.access-mode) .search,
body:not(.access-mode) .filterbar {
  padding: 7px;
  border-radius: var(--r-sm);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}

body:not(.access-mode) .search input,
body:not(.access-mode) .filterbar input {
  color: var(--c-ink);
}

body:not(.access-mode) .search button,
body:not(.access-mode) .filterbar button {
  border-radius: 10px;
  background: var(--c-primary-dark);
  box-shadow: none;
}

body:not(.access-mode) .search button:hover,
body:not(.access-mode) .filterbar button:hover {
  background: var(--c-secondary-dark);
  transform: translateY(-1px);
}

body:not(.access-mode) .aside-title {
  color: var(--c-secondary-dark);
  letter-spacing: -.015em;
}

body:not(.access-mode) .banners,
body:not(.access-mode) .aside-stack {
  gap: 16px;
}

body:not(.access-mode) .banner {
  overflow: hidden;
  padding: 18px;
}

body:not(.access-mode) .banner--big,
body:not(.access-mode) .promo-banner--wide,
body:not(.access-mode) .promo-banner--square,
body:not(.access-mode) .promo-banner--tall {
  background:
    linear-gradient(180deg, #ffffff, #f8fafc);
}

body:not(.access-mode) .banner__icon,
body:not(.access-mode) .symbol-icon,
body:not(.access-mode) .partner__logo {
  border-radius: 12px;
  background: #f3f8fd;
  border: 1px solid #d9e9f7;
  color: var(--c-primary-dark);
  box-shadow: none;
}

body:not(.access-mode) .promo-banner__bg {
  opacity: .55;
}

body:not(.access-mode) .promo-banner__overline,
body:not(.access-mode) .promo-banner__lead,
body:not(.access-mode) .pos-banner-fluid__text_small {
  color: var(--c-muted);
}

body:not(.access-mode) .promo-banner__cta,
body:not(.access-mode) .pos-banner-btn_2 {
  background: var(--c-primary-dark);
  color: #fff;
  border-radius: 10px;
  box-shadow: none;
}

body:not(.access-mode) .promo-banner__cta:hover,
body:not(.access-mode) .pos-banner-btn_2:hover {
  background: var(--c-secondary-dark);
}

/* ---------------- Documents / materials ---------------- */
body:not(.access-mode) .doc-list,
body:not(.access-mode) .news-list,
body:not(.access-mode) .speech-list,
body:not(.access-mode) .material-list {
  display: grid;
  gap: 16px;
}

body:not(.access-mode) .doc-category,
body:not(.access-mode) .material-item,
body:not(.access-mode) .doc-item,
body:not(.access-mode) .legal-item {
  position: relative;
  overflow: hidden;
}

body:not(.access-mode) .doc-category__count {
  border-radius: 999px;
  color: var(--c-primary-dark);
  background: #f3f8fd;
  border: 1px solid #d9e9f7;
}

body:not(.access-mode) .doc-actions,
body:not(.access-mode) .form-actions {
  gap: 10px;
}

body:not(.access-mode) .doc-action,
body:not(.access-mode) .btn,
body:not(.access-mode) .pdf-modal__download,
body:not(.access-mode) .pdf-modal__close,
body:not(.access-mode) .gosuslugi-link {
  border-radius: 10px;
  font-weight: 800;
  letter-spacing: .01em;
}

body:not(.access-mode) .btn--primary,
body:not(.access-mode) .doc-action:not(.doc-action--light),
body:not(.access-mode) .pdf-modal__download,
body:not(.access-mode) .gosuslugi-link {
  background: var(--c-primary-dark);
  color: #fff;
  box-shadow: none;
  border: 1px solid var(--c-primary-dark);
}

body:not(.access-mode) .btn--primary:hover,
body:not(.access-mode) .doc-action:not(.doc-action--light):hover,
body:not(.access-mode) .pdf-modal__download:hover,
body:not(.access-mode) .gosuslugi-link:hover {
  background: var(--c-secondary-dark);
  border-color: var(--c-secondary-dark);
  color: #fff;
  transform: translateY(-1px);
}

body:not(.access-mode) .btn--ghost,
body:not(.access-mode) .btn--outline,
body:not(.access-mode) .doc-action--light,
body:not(.access-mode) .pdf-modal__close {
  background: #fff;
  color: var(--c-primary-dark);
  border: 1px solid var(--c-line);
}

body:not(.access-mode) .btn--ghost:hover,
body:not(.access-mode) .btn--outline:hover,
body:not(.access-mode) .doc-action--light:hover,
body:not(.access-mode) .pdf-modal__close:hover {
  background: #f3f8fd;
  color: var(--c-primary-dark);
  border-color: #c9dced;
  transform: translateY(-1px);
}

body:not(.access-mode) .pdf-modal__dialog {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(16,24,40,.22);
}

body:not(.access-mode) .pdf-modal__head {
  background: #fff;
  color: var(--c-secondary-dark);
  border-bottom: 1px solid var(--c-line);
}

/* ---------------- Forms / contacts ---------------- */
body:not(.access-mode) .field input,
body:not(.access-mode) .field textarea,
body:not(.access-mode) .field select,
body:not(.access-mode) .form-card input,
body:not(.access-mode) .form-card textarea,
body:not(.access-mode) .form-card select {
  border-radius: 10px;
  border: 1px solid #cfd8e3;
  background: #fff;
  box-shadow: none;
  color: var(--c-ink);
}

body:not(.access-mode) .field input:focus,
body:not(.access-mode) .field textarea:focus,
body:not(.access-mode) .field select:focus,
body:not(.access-mode) .form-card input:focus,
body:not(.access-mode) .form-card textarea:focus,
body:not(.access-mode) .form-card select:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 4px rgba(31,95,159,.10);
  outline: none;
}

body:not(.access-mode) .consent-box,
body:not(.access-mode) .form-note,
body:not(.access-mode) .empty-state,
body:not(.access-mode) .map-placeholder,
body:not(.access-mode) .captcha-code {
  border-radius: var(--r-sm);
  background: #f8fafc;
  border: 1px solid var(--c-line-soft);
}

body:not(.access-mode) .contact-grid {
  align-items: stretch;
}

/* ---------------- Team / biography ---------------- */
body:not(.access-mode) .bio-layout {
  gap: clamp(24px, 4vw, 42px);
}

body:not(.access-mode) .bio-photo {
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--c-line);
  background: #fff;
}

body:not(.access-mode) .bio-caption {
  border-radius: 0 0 var(--r-lg) var(--r-lg);
  background: rgba(255,255,255,.94);
  color: var(--c-ink-soft);
  border-top: 1px solid var(--c-line-soft);
}

body:not(.access-mode) .team-card {
  overflow: hidden;
}

body:not(.access-mode) .team-card__avatar {
  border-radius: var(--r-md);
  overflow: hidden;
  background: #f3f8fd;
  border: 1px solid #d9e9f7;
}

/* ---------------- Speech / press ---------------- */
body:not(.access-mode) .speech-card__quote,
body:not(.access-mode) .speech-item__quote {
  border-left-color: var(--c-primary);
}

body:not(.access-mode) .press-card,
body:not(.access-mode) .speech-card,
body:not(.access-mode) .speech-item {
  position: relative;
  overflow: hidden;
}

/* ---------------- Partners / footer / cookie ---------------- */
body:not(.access-mode) .partners {
  background: transparent;
  padding: clamp(32px, 5vw, 58px) 0;
}

body:not(.access-mode) .partner {
  min-height: 110px;
  background: #fff;
}

body:not(.access-mode) .partner:hover {
  color: var(--c-primary-dark);
  background: #fff;
  border-color: #c9dced;
  transform: translateY(-3px);
}

body:not(.access-mode) .footer {
  margin-top: clamp(24px, 4vw, 48px);
  background: #ffffff;
  color: var(--c-ink-soft);
  border-top: 1px solid var(--c-line);
  box-shadow: 0 -12px 35px rgba(16,24,40,.04);
}

body:not(.access-mode) .footer::before {
  display: none;
}

body:not(.access-mode) .footer__top {
  gap: clamp(26px, 5vw, 60px);
  border-bottom: 1px solid var(--c-line-soft);
}

body:not(.access-mode) .footer__top::after {
  background: var(--c-primary);
  height: 3px;
}

body:not(.access-mode) .footer__brand .brand__title,
body:not(.access-mode) .footer__col-title,
body:not(.access-mode) .footer__bottom strong {
  color: var(--c-secondary-dark);
}

body:not(.access-mode) .footer__brand .brand__overline,
body:not(.access-mode) .footer__col-title {
  color: var(--c-primary-dark);
}

body:not(.access-mode) .footer__about,
body:not(.access-mode) .footer__bottom,
body:not(.access-mode) .footer__list,
body:not(.access-mode) .footer__list a {
  color: var(--c-ink-soft);
}

body:not(.access-mode) .footer__col-title {
  border-bottom: 1px solid var(--c-line-soft);
}

body:not(.access-mode) .footer__list a::before {
  background: var(--c-primary);
}

body:not(.access-mode) .footer__list a:hover {
  color: var(--c-primary-dark);
}

body:not(.access-mode) .cookie {
  border-radius: var(--r-md);
  border: 1px solid var(--c-line);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 24px 64px rgba(16,24,40,.16);
}

body:not(.access-mode) .cookie__icon {
  border-radius: 12px;
  background: #f3f8fd;
  border: 1px solid #d9e9f7;
  color: var(--c-primary-dark);
}

/* ---------------- Mobile ---------------- */
@media (max-width: 1180px) {
  body:not(.access-mode) .topbar {
    grid-template-columns: 1fr auto;
  }
  body:not(.access-mode) .topbar > div:nth-child(2) { display: none; }
  body:not(.access-mode) .nav__link { padding-inline: 11px; }
}

@media (max-width: 1024px) {
  body:not(.access-mode) .hero__inner,
  body:not(.access-mode) .layout,
  body:not(.access-mode) .news-card--featured,
  body:not(.access-mode) .bio-layout {
    grid-template-columns: 1fr;
  }
  body:not(.access-mode) .hero__visual {
    max-width: 720px;
  }
  body:not(.access-mode) .news-card--featured .news-card__media {
    border-radius: var(--r-md) var(--r-md) 0 0;
    min-height: 260px;
  }
  body:not(.access-mode) .layout__aside {
    position: relative;
    top: auto;
  }
  body:not(.access-mode) .nav__list { display: none; }
  body:not(.access-mode) .burger {
    display: inline-flex;
    height: 48px;
    color: var(--c-primary-dark);
  }
  body:not(.access-mode) .nav { justify-content: flex-end; }
  body:not(.access-mode) .mobile-menu {
    top: 0;
    background: rgba(255,255,255,.98);
    color: var(--c-ink);
    border-left: 1px solid var(--c-line);
    box-shadow: -26px 0 70px rgba(16,24,40,.14);
    padding-top: calc(var(--h-nav) + var(--access-toolbar-offset, 0px) + 24px);
  }
  body:not(.access-mode) .mobile-menu__item {
    border-bottom: 1px solid var(--c-line-soft);
  }
  body:not(.access-mode) .mobile-menu__link {
    color: var(--c-secondary-dark);
  }
  body:not(.access-mode) .mobile-menu__caret {
    border-color: var(--c-primary);
  }
  body:not(.access-mode) .mobile-menu__sublink {
    color: var(--c-ink-soft);
    border-left-color: var(--c-primary);
  }
  body:not(.access-mode) .mobile-menu__sublink:hover {
    color: var(--c-primary-dark);
  }
}

@media (max-width: 760px) {
  :root { --gutter: 18px; --h-topbar: auto; }

  body:not(.access-mode) .topbar {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  body:not(.access-mode) .brand__logo {
    width: 58px;
    height: 72px;
    flex-basis: 58px;
    border-radius: 12px;
  }
  body:not(.access-mode) .brand__title {
    font-size: 18px;
  }
  body:not(.access-mode) .top-actions {
    justify-content: flex-start;
    width: 100%;
  }
  body:not(.access-mode) .top-divider { display: none; }
  body:not(.access-mode) .hero {
    padding-block: 38px 34px;
  }
  body:not(.access-mode) .hero__visual {
    border-radius: var(--r-md);
    padding: 6px;
  }
  body:not(.access-mode) .hero__visual-inner,
  body:not(.access-mode) .hero__visual-inner::after {
    border-radius: 12px;
  }
  body:not(.access-mode) .hero__visual-card {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 13px;
  }
  body:not(.access-mode) .hero__visual-decor { display: none; }
  body:not(.access-mode) .news-grid,
  body:not(.access-mode) .partners__grid,
  body:not(.access-mode) .doc-grid,
  body:not(.access-mode) .content-grid,
  body:not(.access-mode) .team-grid,
  body:not(.access-mode) .symbol-grid,
  body:not(.access-mode) .contact-grid,
  body:not(.access-mode) .press-hub,
  body:not(.access-mode) .form-grid {
    grid-template-columns: 1fr;
  }
  body:not(.access-mode) .content-card,
  body:not(.access-mode) .form-card,
  body:not(.access-mode) .info-card,
  body:not(.access-mode) .page-panel {
    padding: 20px;
  }
  body:not(.access-mode) .cookie {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  body:not(.access-mode) *,
  body:not(.access-mode) *::before,
  body:not(.access-mode) *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------- Smart sticky columns ----------------
   В двухколоночном .layout залипает только более короткая колонка.
   Класс назначается из modern-business.js после сравнения высот. */
@media (min-width: 1025px) {
  body:not(.access-mode) .layout > .layout__main,
  body:not(.access-mode) .layout > .layout__aside {
    align-self: start;
  }

  body:not(.access-mode) .layout > .layout__main.is-layout-sticky,
  body:not(.access-mode) .layout > .layout__aside.is-layout-sticky {
    position: sticky !important;
    top: var(--layout-sticky-top, calc(var(--header-sticky-height, var(--h-topbar)) + 20px)) !important;
    bottom: auto !important;
    align-self: start !important;
  }

  /* Убираем старое постоянное sticky-поведение sidebar: теперь им управляет JS. */
  body:not(.access-mode) .layout > .layout__aside:not(.is-layout-sticky) {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
  }

  body:not(.access-mode) .layout > .layout__main:not(.is-layout-sticky) {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
  }
}

@media (max-width: 1024px) {
  body:not(.access-mode) .layout > .layout__main.is-layout-sticky,
  body:not(.access-mode) .layout > .layout__aside.is-layout-sticky {
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
  }
}


/* ==========================================================
   Stable full sticky header — no height jump / no flicker
   ========================================================== */
body:not(.access-mode) .header,
body:not(.access-mode) .header.is-compact {
  position: sticky !important;
  top: var(--access-toolbar-offset, 0px) !important;
  z-index: 1200 !important;
  isolation: isolate;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: background-color, box-shadow;
}

/* Никогда не скрываем topbar при прокрутке: высота header остаётся постоянной. */
body:not(.access-mode) .header.is-compact .topbar {
  display: grid !important;
}

/* Вложенное меню больше не sticky само по себе — залипает весь header целиком. */
body:not(.access-mode) .header .nav-wrap,
body:not(.access-mode) .header .nav-wrap.is-stuck {
  position: relative !important;
  top: auto !important;
  z-index: auto !important;
  background: rgba(255,255,255,.90) !important;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* После начала прокрутки весь header становится полупрозрачным плавно,
   без изменения размеров его внутренних блоков. */
body:not(.access-mode) .header.is-scrolled {
  background: rgba(255,255,255,.78) !important;
  box-shadow: 0 10px 28px rgba(16,24,40,.10) !important;
}

body:not(.access-mode) .header.is-scrolled .nav-wrap,
body:not(.access-mode) .header.is-scrolled .nav-wrap.is-stuck {
  background: rgba(255,255,255,.72) !important;
}

body:not(.access-mode) .header,
body:not(.access-mode) .header .nav-wrap {
  transition: background-color .28s ease, box-shadow .28s ease, border-color .28s ease !important;
}

@media (prefers-reduced-motion: reduce) {
  body:not(.access-mode) .header,
  body:not(.access-mode) .header .nav-wrap {
    transition: none !important;
  }
}


/* ---------------- Official section landing ---------------- */
body:not(.access-mode) .official-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

body:not(.access-mode) .official-card {
  position: relative;
  display: flex;
  min-height: 320px;
  padding: 28px;
  overflow: hidden;
  text-decoration: none;
  color: var(--c-ink);
  background: linear-gradient(145deg, #ffffff 0%, #f7fafe 100%);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

body:not(.access-mode) .official-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-primary-dark));
  transform: scaleY(.25);
  transform-origin: bottom;
  transition: transform .25s ease;
}

body:not(.access-mode) .official-card:hover {
  transform: translateY(-4px);
  border-color: #c9dced;
  box-shadow: var(--shadow-md);
}
body:not(.access-mode) .official-card:hover::before { transform: scaleY(1); }

body:not(.access-mode) .official-card__number {
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(31,95,159,.10);
  font-size: 58px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -.06em;
}

body:not(.access-mode) .official-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}
body:not(.access-mode) .official-card__eyebrow {
  margin-bottom: 34px;
  color: var(--c-primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body:not(.access-mode) .official-card h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2vw, 28px);
}
body:not(.access-mode) .official-card p {
  margin: 0 0 28px;
  color: var(--c-ink-soft);
  line-height: 1.7;
}
body:not(.access-mode) .official-card__link {
  margin-top: auto;
  color: var(--c-primary-dark);
  font-weight: 800;
}

@media (max-width: 980px) {
  body:not(.access-mode) .official-grid { grid-template-columns: 1fr; }
  body:not(.access-mode) .official-card { min-height: 240px; }
}


/* ==========================================================
   Universal right sidebar / site search / MAX / Gosuslugi POS
   ========================================================== */
body:not(.access-mode) .universal-content-section {
  padding: clamp(26px, 4vw, 48px) 0 clamp(42px, 6vw, 76px);
}
body:not(.access-mode) .site-page-layout {
  align-items: start;
}
body:not(.access-mode) .site-page-main {
  min-width: 0;
}
body:not(.access-mode) .site-page-main > section:first-child {
  margin-top: 0;
}
body:not(.access-mode) .site-page-main > section .container {
  max-width: none;
  padding-inline: 0;
}
body:not(.access-mode) .site-page-main > .inner-section,
body:not(.access-mode) .site-page-main > .section {
  padding-top: 0;
}
body:not(.access-mode) .universal-aside,
body:not(.access-mode) .layout__aside {
  min-width: 0;
  max-height: none !important;
  overflow: visible !important;
}
body:not(.access-mode) .sidebar-widget,
body:not(.access-mode) .sidebar-max-banner {
  display: block;
  margin: 0 0 18px;
}
body:not(.access-mode) .sidebar-widget {
  padding: 18px;
  background: rgba(255,255,255,.97);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
body:not(.access-mode) .sidebar-widget__title {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 800;
  color: var(--c-secondary-dark);
}
body:not(.access-mode) .site-search-form__row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
body:not(.access-mode) .site-search-form input[type="search"] {
  min-width: 0;
  flex: 1 1 auto;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--c-line);
  border-radius: 10px;
  background: #fff;
  color: var(--c-ink);
  font: inherit;
  outline: none;
}
body:not(.access-mode) .site-search-form input[type="search"]:focus {
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(31,95,159,.12);
}
body:not(.access-mode) .site-search-form button {
  min-width: 46px;
  height: 46px;
  padding: 0 15px;
  border: 0;
  border-radius: 10px;
  background: var(--c-primary-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
}
body:not(.access-mode) .site-search-form button:hover {
  background: var(--c-primary);
}
body:not(.access-mode) .sidebar-max-banner {
  overflow: hidden;
  border-radius: var(--r-md);
  border: 1px solid rgba(16,24,40,.12);
  background: #17171d;
  box-shadow: var(--shadow-sm);
}
body:not(.access-mode) .sidebar-max-banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}
body:not(.access-mode) .sidebar-pos-widget {
  padding: 12px;
}
body:not(.access-mode) .sidebar-pos-widget .sidebar-widget__title {
  padding: 4px 6px 0;
}
body:not(.access-mode) .pos-widget-frame {
  overflow: hidden;
  border: 1px solid var(--c-line-soft);
  border-radius: 12px;
  background: #fff;
}
body:not(.access-mode) .pos-widget-frame iframe {
  display: block;
  width: 100%;
  min-height: 577px;
}
body:not(.access-mode) .sr-only {
  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;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Search results page */
body:not(.access-mode) .search-page-card {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
body:not(.access-mode) .site-search-form--page > label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
  color: var(--c-secondary-dark);
}
body:not(.access-mode) .site-search-form--page input[type="search"] {
  height: 52px;
  font-size: 16px;
}
body:not(.access-mode) .site-search-form--page button {
  height: 52px;
  min-width: 110px;
}
body:not(.access-mode) .search-summary {
  margin: 24px 0 14px;
  color: var(--c-muted);
  font-weight: 700;
}
body:not(.access-mode) .search-results {
  display: grid;
  gap: 12px;
}
body:not(.access-mode) .search-result {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
}
body:not(.access-mode) .search-result:hover {
  border-color: #b8d0e5;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
body:not(.access-mode) .search-result__title {
  display: block;
  margin-bottom: 6px;
  color: var(--c-primary-dark);
  font-size: 18px;
  font-weight: 800;
}
body:not(.access-mode) .search-result__text {
  color: var(--c-ink-soft);
  line-height: 1.55;
}
body:not(.access-mode) .search-empty {
  padding: 20px;
  border-radius: 14px;
  background: var(--c-bg-alt);
  color: var(--c-ink-soft);
}

@media (max-width: 1024px) {
  body:not(.access-mode) .universal-content-section {
    padding-top: 24px;
  }
  body:not(.access-mode) .universal-aside {
    margin-top: 24px;
  }
  body:not(.access-mode) .sidebar-max-banner img {
    aspect-ratio: auto;
  }
  body:not(.access-mode) .pos-widget-frame iframe {
    min-height: 577px;
  }
}
@media (max-width: 560px) {
  body:not(.access-mode) .site-search-form--page .site-search-form__row {
    flex-direction: column;
  }
  body:not(.access-mode) .site-search-form--page button {
    width: 100%;
  }
}


/* ---------------- Useful links ---------------- */
body:not(.access-mode) .useful-links {
  position: relative;
  padding: clamp(46px, 6vw, 78px) 0;
  background: #f7f9fc;
  border-top: 1px solid var(--c-line-soft);
}

body:not(.access-mode) .useful-links__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

body:not(.access-mode) .useful-links__eyebrow {
  display: block;
  margin-bottom: 7px;
  color: var(--c-primary-dark);
  font-size: 11px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body:not(.access-mode) .useful-links__title {
  margin: 0;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.08;
}

body:not(.access-mode) .useful-links__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--c-line);
  border-left: 1px solid var(--c-line);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

body:not(.access-mode) .useful-links__item {
  min-height: 112px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 20px;
  color: var(--c-secondary-dark);
  text-decoration: none;
  background: #fff;
  border-right: 1px solid var(--c-line);
  border-bottom: 1px solid var(--c-line);
}

body:not(.access-mode) .useful-links__item:hover {
  position: relative;
  z-index: 1;
  color: var(--c-primary-dark);
  background: var(--c-primary-light);
  box-shadow: inset 0 0 0 1px rgba(31,95,159,.18);
  transform: translateY(-1px);
}

body:not(.access-mode) .useful-links__name {
  max-width: 260px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
  text-transform: uppercase;
}

body:not(.access-mode) .useful-links__arrow {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--c-line);
  border-radius: 50%;
  color: var(--c-primary-dark);
  font-size: 15px;
  line-height: 1;
  background: #fff;
}

body:not(.access-mode) .useful-links__item:hover .useful-links__arrow {
  color: #fff;
  background: var(--c-primary-dark);
  border-color: var(--c-primary-dark);
}

@media (max-width: 1100px) {
  body:not(.access-mode) .useful-links__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  body:not(.access-mode) .useful-links__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body:not(.access-mode) .useful-links__item {
    min-height: 100px;
  }
}

@media (max-width: 520px) {
  body:not(.access-mode) .useful-links {
    padding: 38px 0;
  }
  body:not(.access-mode) .useful-links__grid {
    grid-template-columns: 1fr;
  }
  body:not(.access-mode) .useful-links__item {
    min-height: 0;
    padding: 18px;
  }
}

/* Версия для слабовидящих: сохраняем простой читаемый список. */
body.access-mode .useful-links {
  padding: 30px 0;
}
body.access-mode .useful-links__grid {
  display: grid;
  gap: 10px;
}
body.access-mode .useful-links__item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  text-decoration: underline;
}

/* ==========================================================
   Premium page hero / breadcrumbs
   ========================================================== */
body:not(.access-mode) .page-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(34px, 4.8vw, 58px) 0 clamp(34px, 4.4vw, 52px);
  background:
    radial-gradient(620px 260px at 88% 4%, rgba(31,95,159,.13), transparent 68%),
    radial-gradient(420px 220px at 72% 116%, rgba(185,139,62,.10), transparent 68%),
    linear-gradient(135deg, #ffffff 0%, #f8fbfe 48%, #eef5fb 100%);
  border-top: 1px solid rgba(255,255,255,.85);
  border-bottom: 1px solid #dce7f0;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,.7);
  overflow: hidden;
}

body:not(.access-mode) .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31,95,159,.038) 1px, transparent 1px),
    linear-gradient(180deg, rgba(31,95,159,.038) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(110deg, rgba(0,0,0,.72), transparent 78%);
  mask-image: linear-gradient(110deg, rgba(0,0,0,.72), transparent 78%);
}

body:not(.access-mode) .page-hero::after {
  content: "";
  position: absolute;
  right: clamp(-110px, -5vw, -30px);
  top: 50%;
  width: clamp(230px, 24vw, 390px);
  aspect-ratio: 1;
  border: 1px solid rgba(31,95,159,.11);
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: -1;
  pointer-events: none;
  box-shadow:
    0 0 0 34px rgba(31,95,159,.025),
    0 0 0 72px rgba(31,95,159,.018);
}

body:not(.access-mode) .page-hero .container {
  position: relative;
  z-index: 1;
}

body:not(.access-mode) .breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 7px 9px;
  font-size: 13px;
  line-height: 1.3;
  color: #667085;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(211,223,233,.95);
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(16,24,40,.055);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  backdrop-filter: blur(10px) saturate(140%);
}

body:not(.access-mode) .breadcrumbs span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: #667085;
  font-weight: 650;
}

body:not(.access-mode) .breadcrumbs span:first-child a::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  margin-right: 7px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 3 10.2V21h6v-6h6v6h6V10.2L12 3Zm0 2.56 7 5.6V19h-2v-6H7v6H5v-7.84l7-5.6Z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 3 10.2V21h6v-6h6v6h6V10.2L12 3Zm0 2.56 7 5.6V19h-2v-6H7v6H5v-7.84l7-5.6Z'/%3E%3C/svg%3E") center/contain no-repeat;
}

body:not(.access-mode) .breadcrumbs span:not(:last-child)::after {
  content: "" !important;
  width: 7px;
  height: 7px;
  margin: 0 10px;
  border-top: 1.5px solid #98a2b3;
  border-right: 1.5px solid #98a2b3;
  transform: rotate(45deg);
  flex: 0 0 7px;
}

body:not(.access-mode) .breadcrumbs a {
  display: inline-flex;
  align-items: center;
  color: #475467;
  border: 0 !important;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

body:not(.access-mode) .breadcrumbs a:hover {
  color: var(--c-primary-dark);
}

body:not(.access-mode) .breadcrumbs span:last-child {
  color: var(--c-primary-dark);
  font-weight: 800;
}

body:not(.access-mode) .page-hero__overline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 10px;
  padding: 0;
  color: var(--c-primary-dark);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .16em;
  text-transform: uppercase;
}

body:not(.access-mode) .page-hero__overline::before {
  content: "";
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold));
}

body:not(.access-mode) .page-hero__title {
  position: relative;
  max-width: 1020px;
  margin: 0;
  color: #101828;
  font-size: clamp(32px, 4.3vw, 54px);
  line-height: 1.07;
  font-weight: 780;
  letter-spacing: -.035em;
  text-wrap: balance;
}

body:not(.access-mode) .page-hero__title::after {
  content: "";
  display: block;
  width: clamp(54px, 7vw, 88px);
  height: 4px;
  margin-top: 17px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c-primary), #4f89bd 68%, var(--c-gold));
}

body:not(.access-mode) .page-hero__lead {
  max-width: 900px;
  margin: 17px 0 0;
  color: #475467;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.72;
}

@media (max-width: 680px) {
  body:not(.access-mode) .page-hero {
    padding: 28px 0 32px;
  }

  body:not(.access-mode) .breadcrumbs {
    display: flex;
    width: fit-content;
    max-width: 100%;
    padding: 8px 10px;
    margin-bottom: 18px;
    border-radius: 10px;
    font-size: 12px;
  }

  body:not(.access-mode) .breadcrumbs span:not(:last-child)::after {
    margin: 0 8px;
  }

  body:not(.access-mode) .page-hero::after {
    opacity: .55;
    right: -145px;
  }

  body:not(.access-mode) .page-hero__title {
    font-size: clamp(29px, 9vw, 40px);
  }
}


/* Partner-style useful links */
body:not(.access-mode) .partners__grid {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
body:not(.access-mode) .partners .partner {
  min-height: 142px;
  justify-content: center;
  padding: 22px 18px;
}
body:not(.access-mode) .partners .partner__logo {
  width: 58px;
  height: 58px;
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}
body:not(.access-mode) .partners .partner__name {
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}
@media (max-width: 760px) {
  body:not(.access-mode) .partners__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 480px) {
  body:not(.access-mode) .partners__grid {
    grid-template-columns: 1fr;
  }
  body:not(.access-mode) .partners .partner {
    min-height: 112px;
    flex-direction: row;
    justify-content: flex-start;
    text-align: left;
  }
}

/* Temporary: hide partner logos */
span.partner__logo {
  display: none;
}


/* Updated main navigation structure */
@media (min-width: 1025px) {
  body:not(.access-mode) .nav__list {
    gap: 0;
    width: 100%;
    justify-content: space-between;
  }
  body:not(.access-mode) .nav__link {
    padding-inline: clamp(9px, 1.05vw, 16px);
    font-size: clamp(11px, .88vw, 13px);
    white-space: nowrap;
  }
  body:not(.access-mode) .nav__submenu--wide {
    min-width: 430px;
    max-width: min(520px, calc(100vw - 40px));
  }
  body:not(.access-mode) .nav__submenu--wide .nav__sublink {
    white-space: normal;
    line-height: 1.35;
  }
}

#contact-details,
#ombudsman-human,
#ombudsman-child,
#ombudsman-business {
  scroll-margin-top: calc(var(--header-sticky-height, 160px) + 24px);
}


/* ==========================================================
   Biography page — editorial government profile
   ========================================================== */
body:not(.access-mode) .biography-page {
  display: grid;
  gap: 24px;
}

body:not(.access-mode) .biography-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

body:not(.access-mode) .biography-profile__portrait {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #17243a;
}
body:not(.access-mode) .biography-profile__portrait img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  display: block;
  object-fit: cover;
  object-position: center top;
}
body:not(.access-mode) .biography-profile__portrait-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(10,24,44,.78) 100%);
  pointer-events: none;
}
body:not(.access-mode) .biography-profile__portrait-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
  color: rgba(255,255,255,.94);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  letter-spacing: .02em;
}

body:not(.access-mode) .biography-profile__intro {
  position: relative;
  padding: clamp(34px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    radial-gradient(circle at 100% 0%, rgba(31,95,159,.12), transparent 36%),
    linear-gradient(155deg, #fff 0%, #f7faff 100%);
}
body:not(.access-mode) .biography-profile__intro::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, var(--c-primary), var(--c-gold));
}
body:not(.access-mode) .biography-profile__label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body:not(.access-mode) .biography-profile__intro h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.03;
  letter-spacing: -.045em;
  color: var(--c-secondary-dark);
}
body:not(.access-mode) .biography-profile__lead {
  margin: 18px 0 30px;
  color: var(--c-primary-dark);
  font-size: 18px;
  font-weight: 750;
}
body:not(.access-mode) .biography-facts {
  display: grid;
  gap: 12px;
  border-top: 1px solid var(--c-line);
  padding-top: 22px;
}
body:not(.access-mode) .biography-fact {
  display: grid;
  grid-template-columns: 68px 1fr;
  gap: 14px;
  align-items: start;
}
body:not(.access-mode) .biography-fact__year {
  color: var(--c-gold-dark);
  font-weight: 850;
  font-size: 16px;
}
body:not(.access-mode) .biography-fact__text {
  color: var(--c-ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

body:not(.access-mode) .biography-section {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--c-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
body:not(.access-mode) .biography-section__heading {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line-soft);
}
body:not(.access-mode) .biography-section__number {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #d9e9f7;
  border-radius: 16px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: 16px;
  font-weight: 850;
}
body:not(.access-mode) .biography-section__eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--c-gold-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body:not(.access-mode) .biography-section__heading h3 {
  margin: 0;
  font-size: clamp(23px, 2.7vw, 32px);
  line-height: 1.18;
}
body:not(.access-mode) .biography-section__body--intro > p {
  margin: 0 0 14px;
  color: var(--c-ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
body:not(.access-mode) .biography-section__body--intro > p strong { color: var(--c-secondary-dark); }

body:not(.access-mode) .biography-education {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  margin-top: 26px;
  padding: 22px;
  border: 1px solid #dce8f3;
  border-radius: 18px;
  background: linear-gradient(135deg, #f8fbff, #f3f7fb);
}
body:not(.access-mode) .biography-education__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 15px;
  background: #fff;
  color: var(--c-primary-dark);
  box-shadow: var(--shadow-sm);
}
body:not(.access-mode) .biography-education__icon svg { width: 28px; height: 28px; }
body:not(.access-mode) .biography-education span {
  display: block;
  margin-bottom: 4px;
  color: var(--c-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}
body:not(.access-mode) .biography-education strong {
  display: block;
  color: var(--c-secondary-dark);
  font-size: 17px;
  line-height: 1.4;
}
body:not(.access-mode) .biography-education p {
  margin: 7px 0 0;
  color: var(--c-ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

body:not(.access-mode) .career-timeline {
  position: relative;
  display: grid;
  gap: 0;
}
body:not(.access-mode) .career-timeline::before {
  content: "";
  position: absolute;
  left: 113px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, var(--c-primary), var(--c-line));
}
body:not(.access-mode) .career-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 42px;
  padding: 0 0 28px;
}
body:not(.access-mode) .career-item:last-child { padding-bottom: 0; }
body:not(.access-mode) .career-item::before {
  content: "";
  position: absolute;
  left: 108px;
  top: 8px;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 1px var(--c-primary);
}
body:not(.access-mode) .career-item__date {
  padding-top: 1px;
  color: var(--c-primary-dark);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 850;
  text-align: right;
}
body:not(.access-mode) .career-item__content {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--c-line-soft);
}
body:not(.access-mode) .career-item:last-child .career-item__content { border-bottom: 0; padding-bottom: 0; }
body:not(.access-mode) .career-item__content h4 {
  margin: 0 0 7px;
  font-size: 17px;
}
body:not(.access-mode) .career-item__content p {
  margin: 0;
  color: var(--c-ink-soft);
  font-size: 15px;
  line-height: 1.68;
}

body:not(.access-mode) .state-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
body:not(.access-mode) .state-service-card {
  position: relative;
  min-height: 190px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 17px;
  background: #fbfcfe;
}
body:not(.access-mode) .state-service-card::after {
  content: "";
  position: absolute;
  right: -26px;
  bottom: -26px;
  width: 78px;
  height: 78px;
  border: 14px solid rgba(31,95,159,.05);
  border-radius: 50%;
}
body:not(.access-mode) .state-service-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--c-primary-dark);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}
body:not(.access-mode) .state-service-card h4 {
  margin: 0 0 8px;
  font-size: 18px;
}
body:not(.access-mode) .state-service-card p {
  margin: 0;
  color: var(--c-ink-soft);
  font-size: 14px;
  line-height: 1.62;
}
body:not(.access-mode) .state-service-card--accent {
  border-color: #c9ddf0;
  background: linear-gradient(145deg, var(--c-primary-dark), #2d72ae);
}
body:not(.access-mode) .state-service-card--accent span,
body:not(.access-mode) .state-service-card--accent h4,
body:not(.access-mode) .state-service-card--accent p { color: #fff; }
body:not(.access-mode) .state-service-card--accent p { color: rgba(255,255,255,.86); }

body:not(.access-mode) .biography-family {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: center;
  padding: 27px 30px;
  border-radius: 20px;
  color: var(--c-ink);
  background: linear-gradient(145deg, #ffffff 0%, #f8fbfe 100%);
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
}
body:not(.access-mode) .biography-family__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  color: var(--c-primary-dark);
  background: var(--c-primary-light);
  border: 1px solid #d7e7f4;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.65);
}
body:not(.access-mode) .biography-family__icon svg { width: 30px; height: 30px; }
body:not(.access-mode) .biography-family span {
  display: block;
  margin-bottom: 4px;
  color: var(--c-primary-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
body:not(.access-mode) .biography-family h3 {
  margin: 0;
  color: var(--c-secondary-dark);
  font-size: clamp(20px, 2.4vw, 27px);
}

@media (max-width: 1180px) {
  body:not(.access-mode) .biography-profile { grid-template-columns: minmax(250px, 38%) 1fr; min-height: 500px; }
  body:not(.access-mode) .biography-profile__portrait,
  body:not(.access-mode) .biography-profile__portrait img { min-height: 500px; }
  body:not(.access-mode) .biography-profile__intro { padding: 34px; }
}
@media (max-width: 820px) {
  body:not(.access-mode) .biography-profile { grid-template-columns: 1fr; }
  body:not(.access-mode) .biography-profile__portrait { min-height: 0; aspect-ratio: 4 / 4.3; }
  body:not(.access-mode) .biography-profile__portrait img { min-height: 0; height: 100%; }
  body:not(.access-mode) .biography-profile__intro { padding: 28px; }
  body:not(.access-mode) .state-service-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body:not(.access-mode) .biography-section { padding: 22px 18px; border-radius: 18px; }
  body:not(.access-mode) .biography-section__heading { grid-template-columns: 44px 1fr; gap: 13px; margin-bottom: 22px; padding-bottom: 18px; }
  body:not(.access-mode) .biography-section__number { width: 44px; height: 44px; border-radius: 13px; }
  body:not(.access-mode) .biography-fact { grid-template-columns: 58px 1fr; gap: 10px; }
  body:not(.access-mode) .biography-education { grid-template-columns: 1fr; }
  body:not(.access-mode) .career-timeline::before { left: 5px; }
  body:not(.access-mode) .career-item { grid-template-columns: 1fr; gap: 7px; padding-left: 28px; }
  body:not(.access-mode) .career-item::before { left: 0; top: 4px; }
  body:not(.access-mode) .career-item__date { text-align: left; }
  body:not(.access-mode) .biography-family { grid-template-columns: 50px 1fr; gap: 14px; padding: 22px 18px; }
  body:not(.access-mode) .biography-family__icon { width: 50px; height: 50px; border-radius: 14px; }
}


/* ==========================================================
   Status & powers page
   ========================================================== */
.status-page {
  display: grid;
  gap: 24px;
}

.status-intro {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid var(--c-line-cool);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 10%, rgba(185,139,62,.16), transparent 28%),
    linear-gradient(135deg, #123f70 0%, #1f5f9f 60%, #2672b8 100%);
  box-shadow: 0 22px 52px rgba(16, 24, 40, .12);
  color: #fff;
}

.status-intro::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -80px;
  bottom: -120px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(255,255,255,.04), 0 0 0 72px rgba(255,255,255,.03);
  pointer-events: none;
}

.status-intro__eyebrow {
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.76);
}

body:not(.access-mode) .status-intro h2 {
  margin: 0 0 14px;
  max-width: 720px;
  color: #fff;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.06;
}

.status-intro__lead {
  max-width: 840px;
  margin: 0;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.65;
  color: rgba(255,255,255,.91);
}

.status-facts {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.status-fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 94px;
  padding: 18px 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 16px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.status-fact strong {
  font-size: 18px;
  line-height: 1.25;
  color: #fff;
}

.status-fact span {
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255,255,255,.74);
}

.status-jump {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  padding: 14px;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-sm);
}

.status-jump a {
  padding: 9px 12px;
  border-radius: 10px;
  background: var(--c-bg-alt);
  color: var(--c-ink-soft);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.status-jump a:hover {
  background: var(--c-primary);
  color: #fff;
  transform: translateY(-1px);
}

.status-legal-card {
  scroll-margin-top: calc(var(--header-sticky-height, 160px) + 24px);
  overflow: hidden;
  border: 1px solid var(--c-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(16,24,40,.06);
}

.status-legal-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 18px;
  padding: 24px 26px;
  border-bottom: 1px solid var(--c-line-soft);
  background: linear-gradient(180deg, #fbfcfe, #f7f9fc);
}

.status-article {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  height: 36px;
  padding-inline: 13px;
  border-radius: 999px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-article--gold { background: var(--c-gold-light); color: var(--c-gold-dark); }
.status-article--red { background: #fff0f0; color: #a83838; }

body:not(.access-mode) .status-legal-card__head h3 {
  margin: 1px 0 5px;
  color: var(--c-secondary-dark);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.25;
}

.status-legal-card__head p {
  margin: 0;
  color: var(--c-muted);
  font-size: 13px;
  line-height: 1.5;
}

.status-legal-card__body {
  padding: clamp(22px, 3vw, 32px);
}

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

.status-copy p,
.status-legal__text {
  margin: 0;
  color: var(--c-ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

.status-copy--soft {
  margin-top: 18px;
  padding: 20px;
  border-radius: 14px;
  background: var(--c-bg);
}

.status-powers-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-powers-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: start;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--c-line-soft);
  border-radius: 14px;
  background: #fbfcfd;
  color: var(--c-ink-soft);
  font-size: 14px;
  line-height: 1.58;
}

.status-powers-list li:hover {
  border-color: #c8ddeb;
  background: #f7fbff;
  box-shadow: 0 8px 22px rgba(16,24,40,.05);
}

.status-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: 12px;
  font-weight: 900;
}

.status-powers-list--compact { grid-template-columns: 1fr; }

.status-note {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--c-gold);
  border-radius: 0 14px 14px 0;
  background: #fcf8f0;
  color: var(--c-ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.status-source {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px 22px;
  border: 1px solid var(--c-line);
  border-radius: 18px;
  background: #fff;
}

.status-source__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: 25px;
  font-family: Georgia, serif;
  font-weight: 700;
}

.status-source strong { color: var(--c-secondary-dark); }
.status-source p { margin: 3px 0 0; color: var(--c-muted); font-size: 13px; line-height: 1.45; }

@media (max-width: 820px) {
  .status-facts,
  .status-powers-list { grid-template-columns: 1fr; }
  .status-legal-card__head { grid-template-columns: 1fr; gap: 12px; }
  .status-article { justify-self: start; }
}

@media (max-width: 520px) {
  .status-intro { padding: 24px 20px; border-radius: 18px; }
  .status-fact { min-height: auto; }
  .status-jump { flex-direction: column; }
  .status-jump a { width: 100%; }
  .status-legal-card { border-radius: 17px; }
  .status-legal-card__head, .status-legal-card__body { padding: 20px 17px; }
  .status-powers-list li { grid-template-columns: 30px 1fr; padding: 14px; }
  .status-number { width: 30px; height: 30px; }
}

body.access-mode .status-intro,
body.access-mode .status-legal-card,
body.access-mode .status-jump,
body.access-mode .status-source {
  background: inherit;
  color: inherit;
  box-shadow: none;
}


/* ===== Symbols authority law page ===== */
body:not(.access-mode) .symbols-law-page { display:grid; gap:24px; }
body:not(.access-mode) .symbols-law-hero {
  position:relative; overflow:hidden; padding:clamp(28px,4vw,46px);
  border:1px solid var(--c-line); border-radius:24px;
  background:linear-gradient(135deg,#0f3154 0%,#1f5f9f 58%,#2e76b7 100%);
  color:#fff; box-shadow:var(--shadow-lg);
}
body:not(.access-mode) .symbols-law-hero::after {
  content:"§"; position:absolute; right:28px; top:-24px; font-family:Georgia,serif;
  font-size:180px; line-height:1; color:rgba(255,255,255,.055); pointer-events:none;
}
body:not(.access-mode) .symbols-law-hero__meta { display:flex; gap:12px; align-items:center; margin-bottom:24px; position:relative; z-index:1; }
body:not(.access-mode) .symbols-law-hero__meta span,
body:not(.access-mode) .symbols-law-hero__meta strong { padding:8px 12px; border:1px solid rgba(255,255,255,.22); border-radius:999px; background:rgba(255,255,255,.08); font-size:13px; }
body:not(.access-mode) .symbols-law-hero__content { max-width:790px; position:relative; z-index:1; }
body:not(.access-mode) .symbols-law-hero__eyebrow { margin:0 0 10px; text-transform:uppercase; letter-spacing:.16em; font-size:11px; font-weight:800; color:#d9e9f7; }
body:not(.access-mode) .symbols-law-hero h2 { margin:0; color:#fff; font-size:clamp(28px,4vw,44px); line-height:1.12; }
body:not(.access-mode) .symbols-law-hero__content > p:last-child { margin:18px 0 0; max-width:720px; color:rgba(255,255,255,.84); font-size:17px; line-height:1.65; }
body:not(.access-mode) .symbols-law-hero__adoption { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin-top:28px; position:relative; z-index:1; }
body:not(.access-mode) .symbols-law-hero__adoption > div { padding:16px 18px; border:1px solid rgba(255,255,255,.16); border-radius:16px; background:rgba(255,255,255,.08); backdrop-filter:blur(8px); }
body:not(.access-mode) .symbols-law-hero__adoption span { display:block; margin-bottom:5px; color:#cfe2f4; font-size:11px; text-transform:uppercase; letter-spacing:.1em; font-weight:800; }
body:not(.access-mode) .symbols-law-hero__adoption strong { display:block; color:#fff; font-size:15px; line-height:1.4; }
body:not(.access-mode) .symbols-law-hero__edition { margin-top:16px; padding-top:16px; border-top:1px solid rgba(255,255,255,.16); color:rgba(255,255,255,.72); font-size:13px; position:relative; z-index:1; }

body:not(.access-mode) .symbols-law-nav { display:flex; flex-wrap:wrap; gap:8px; padding:12px; border:1px solid var(--c-line); border-radius:16px; background:#fff; box-shadow:var(--shadow-sm); }
body:not(.access-mode) .symbols-law-nav a { padding:9px 13px; border-radius:10px; color:var(--c-primary-dark); font-size:13px; font-weight:800; text-decoration:none; background:var(--c-primary-light); }
body:not(.access-mode) .symbols-law-nav a:hover { background:var(--c-primary-dark); color:#fff; }

body:not(.access-mode) .symbols-law-card { overflow:hidden; border:1px solid var(--c-line); border-radius:20px; background:#fff; box-shadow:var(--shadow-sm); scroll-margin-top:calc(var(--header-sticky-height,160px) + 24px); }
body:not(.access-mode) .symbols-law-card header { display:flex; gap:16px; align-items:center; padding:20px 24px; border-bottom:1px solid var(--c-line-soft); background:linear-gradient(180deg,#fbfcfe 0%,#f5f8fb 100%); }
body:not(.access-mode) .symbols-law-card__number { display:grid; place-items:center; width:52px; height:52px; border-radius:15px; background:var(--c-primary-dark); color:#fff; font-size:16px; font-weight:900; letter-spacing:.04em; flex:0 0 auto; box-shadow:0 10px 22px rgba(31,95,159,.18); }
body:not(.access-mode) .symbols-law-card header div > span { display:block; margin-bottom:3px; color:var(--c-primary); font-size:11px; font-weight:900; text-transform:uppercase; letter-spacing:.12em; }
body:not(.access-mode) .symbols-law-card h3 { margin:0; font-size:clamp(19px,2.2vw,25px); }
body:not(.access-mode) .symbols-law-card__body { padding:24px; }
body:not(.access-mode) .symbols-law-card__body p { margin:0; color:var(--c-ink-soft); font-size:16px; line-height:1.75; }
body:not(.access-mode) .symbols-law-card__body p + p { margin-top:18px; }
body:not(.access-mode) .symbols-law-card__body a { color:var(--c-primary-dark); font-weight:800; text-decoration-thickness:1px; text-underline-offset:3px; }
body:not(.access-mode) .symbols-law-card--featured { border-color:#c9ddef; box-shadow:0 16px 36px rgba(31,95,159,.08); }
body:not(.access-mode) .symbols-law-card--featured .symbols-law-card__number { background:linear-gradient(135deg,var(--c-gold-dark),var(--c-gold)); }
body:not(.access-mode) .symbols-law-note { margin:18px 0; padding:12px 14px; border-left:3px solid var(--c-gold); border-radius:0 10px 10px 0; background:var(--c-gold-light); color:#6f5428; font-size:13px; font-style:italic; line-height:1.55; }

body:not(.access-mode) .symbols-law-signature { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding:24px; border:1px solid var(--c-line); border-radius:20px; background:linear-gradient(135deg,#fff,#f6f9fc); box-shadow:var(--shadow-sm); }
body:not(.access-mode) .symbols-law-signature__place,
body:not(.access-mode) .symbols-law-signature__person { display:flex; flex-direction:column; gap:5px; }
body:not(.access-mode) .symbols-law-signature span { color:var(--c-muted); font-size:12px; text-transform:uppercase; letter-spacing:.1em; font-weight:800; }
body:not(.access-mode) .symbols-law-signature strong { color:var(--c-secondary-dark); font-size:18px; }
body:not(.access-mode) .symbols-law-signature em { color:var(--c-primary-dark); font-style:normal; font-weight:900; }
body:not(.access-mode) .symbols-law-signature__person { align-items:flex-end; text-align:right; justify-content:flex-end; }

@media (max-width:720px) {
  body:not(.access-mode) .symbols-law-hero { padding:24px 20px; border-radius:18px; }
  body:not(.access-mode) .symbols-law-hero__adoption { grid-template-columns:1fr; }
  body:not(.access-mode) .symbols-law-card header { padding:17px 18px; align-items:flex-start; }
  body:not(.access-mode) .symbols-law-card__number { width:44px; height:44px; border-radius:12px; }
  body:not(.access-mode) .symbols-law-card__body { padding:20px 18px; }
  body:not(.access-mode) .symbols-law-signature { grid-template-columns:1fr; }
  body:not(.access-mode) .symbols-law-signature__person { align-items:flex-start; text-align:left; }
}


/* Exact law document — decorative presentation without changing source text */
body:not(.access-mode) .exact-law-page {
  max-width: 100%;
}
body:not(.access-mode) .exact-law-document {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
  border: 1px solid var(--c-line);
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(16,24,40,.08);
}
body:not(.access-mode) .exact-law-document::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--c-primary-dark), var(--c-primary), var(--c-gold));
}
body:not(.access-mode) .exact-law-document__header {
  position: relative;
  padding: clamp(28px, 5vw, 56px);
  text-align: center;
  border-bottom: 1px solid var(--c-line-soft);
  background:
    radial-gradient(circle at 100% 0, rgba(31,95,159,.10), transparent 35%),
    radial-gradient(circle at 0 100%, rgba(185,139,62,.08), transparent 32%),
    #fff;
}
body:not(.access-mode) .exact-law-date,
body:not(.access-mode) .exact-law-adoption-date {
  margin: 0;
  color: var(--c-muted);
  font-size: 14px;
  letter-spacing: .025em;
}
body:not(.access-mode) .exact-law-title {
  max-width: 880px;
  margin: 22px auto 28px;
  font-size: clamp(25px, 3.2vw, 40px);
  line-height: 1.18;
  text-transform: none;
}
body:not(.access-mode) .exact-law-adopted {
  display: inline-block;
  min-width: min(100%, 420px);
  margin: 0 auto 14px;
  padding: 18px 24px;
  color: var(--c-secondary-dark);
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-sm);
  line-height: 1.6;
}
body:not(.access-mode) .exact-law-edition {
  max-width: 680px;
  margin: 26px auto 0;
  padding: 14px 18px;
  color: var(--c-ink-soft);
  border-radius: 12px;
  background: var(--c-bg-alt);
  line-height: 1.55;
}
body:not(.access-mode) .exact-law-article {
  position: relative;
  margin: 0 clamp(18px, 4vw, 44px);
  padding: clamp(28px, 4vw, 42px) 0;
  border-bottom: 1px solid var(--c-line-soft);
}
body:not(.access-mode) .exact-law-article:last-of-type { border-bottom: 0; }
body:not(.access-mode) .exact-law-article h3 {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin: 0 0 18px;
  padding: 0 16px;
  color: var(--c-primary-dark);
  font-size: 16px;
  letter-spacing: .08em;
  border: 1px solid #d6e6f4;
  border-radius: 999px;
  background: var(--c-primary-light);
}
body:not(.access-mode) .exact-law-article p {
  margin: 0;
  color: var(--c-ink);
  font-size: 16px;
  line-height: 1.8;
}
body:not(.access-mode) .exact-law-article p + p { margin-top: 20px; }
body:not(.access-mode) .exact-law-article a {
  color: var(--c-primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
body:not(.access-mode) .exact-law-article--accent {
  margin-block: 12px;
  padding-inline: clamp(18px, 3vw, 30px);
  border: 1px solid #d9e9f7;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(234,243,251,.8), rgba(255,255,255,.92));
}
body:not(.access-mode) .exact-law-note {
  padding: 13px 16px;
  color: var(--c-muted) !important;
  font-size: 14px !important;
  border-left: 3px solid var(--c-gold);
  background: rgba(247,237,220,.55);
  border-radius: 0 10px 10px 0;
}
body:not(.access-mode) .exact-law-signature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: clamp(28px, 5vw, 48px);
  border-top: 1px solid var(--c-line);
  background: var(--c-secondary-dark);
  color: #fff;
  line-height: 1.65;
}
body:not(.access-mode) .exact-law-signature__person { text-align: right; }
body:not(.access-mode) .exact-law-signature strong { color: inherit; }
@media (max-width: 680px) {
  body:not(.access-mode) .exact-law-document { border-radius: 16px; }
  body:not(.access-mode) .exact-law-document__header { padding: 28px 20px; }
  body:not(.access-mode) .exact-law-article { margin-inline: 20px; }
  body:not(.access-mode) .exact-law-article--accent { margin-inline: 10px; padding-inline: 18px; }
  body:not(.access-mode) .exact-law-signature { grid-template-columns: 1fr; }
  body:not(.access-mode) .exact-law-signature__person { text-align: left; }
}
/* ===== Unified official documents: status/powers + symbols ===== */
body:not(.access-mode) .official-document-page {
  display: grid;
  gap: 22px;
  min-width: 0;
}

body:not(.access-mode) .official-doc-intro {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 26px;
  padding: clamp(26px, 4vw, 42px);
  overflow: hidden;
  border: 1px solid #d9e3ee;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0%, rgba(31,95,159,.12), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f5f8fc 100%);
  box-shadow: 0 18px 46px rgba(16,24,40,.07);
}
body:not(.access-mode) .official-doc-intro::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  right: -110px;
  bottom: -130px;
  border: 1px solid rgba(185,139,62,.24);
  border-radius: 50%;
}
body:not(.access-mode) .official-doc-intro__seal {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 22px;
  background: linear-gradient(145deg, var(--c-primary-dark), var(--c-primary));
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.04em;
  box-shadow: 0 16px 34px rgba(31,95,159,.23);
}
body:not(.access-mode) .official-doc-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--c-primary-dark);
  font-size: 12px;
  line-height: 1.4;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body:not(.access-mode) .official-doc-intro h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.16;
}
body:not(.access-mode) .official-doc-intro__content > p:not(.law-date-line):not(.law-edition-line) {
  margin: 14px 0 0;
  max-width: 760px;
  color: var(--c-ink-soft);
  font-size: 16px;
  line-height: 1.75;
}
body:not(.access-mode) .official-doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  background: rgba(255,255,255,.88);
  box-shadow: var(--shadow-sm);
}
body:not(.access-mode) .official-doc-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border: 1px solid #dce5ee;
  border-radius: 10px;
  background: #f7f9fc;
  color: var(--c-primary-dark);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
body:not(.access-mode) .official-doc-nav a:hover {
  border-color: var(--c-primary);
  background: var(--c-primary-light);
  transform: translateY(-1px);
}
body:not(.access-mode) .official-doc-sections {
  display: grid;
  gap: 18px;
}
body:not(.access-mode) .official-doc-section {
  overflow: hidden;
  border: 1px solid #dce4ed;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(16,24,40,.055);
  scroll-margin-top: calc(var(--header-sticky-height, 150px) + 22px);
}
body:not(.access-mode) .official-doc-section__head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid #e7ecf2;
  background: linear-gradient(90deg, #f5f8fc, #fff);
}
body:not(.access-mode) .official-doc-section__number {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--c-primary-light);
  color: var(--c-primary-dark);
  font-size: 18px;
  font-weight: 900;
}
body:not(.access-mode) .official-doc-section__eyebrow {
  display: block;
  margin-bottom: 3px;
  color: var(--c-muted);
  font-size: 10px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
body:not(.access-mode) .official-doc-section__head h2 {
  margin: 0;
  font-size: clamp(19px, 2vw, 24px);
}
body:not(.access-mode) .official-doc-section__body {
  display: grid;
  gap: 12px;
  padding: clamp(22px, 3vw, 30px);
}
body:not(.access-mode) .charter-paragraph {
  margin: 0;
  color: #344054;
  font-size: 15px;
  line-height: 1.78;
}
body:not(.access-mode) .charter-paragraph--lead {
  padding: 17px 19px;
  border-left: 3px solid var(--c-primary);
  border-radius: 0 12px 12px 0;
  background: #f6f9fc;
  color: var(--c-secondary-dark);
  font-size: 16px;
}
body:not(.access-mode) .charter-point {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 13px;
  align-items: start;
  padding: 13px 14px;
  border: 1px solid #e8edf3;
  border-radius: 13px;
  background: #fbfcfd;
}
body:not(.access-mode) .charter-point__num {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #eaf3fb;
  color: var(--c-primary-dark);
  font-size: 13px;
  font-weight: 900;
}
body:not(.access-mode) .charter-point p {
  margin: 3px 0 0;
  color: #344054;
  font-size: 14px;
  line-height: 1.72;
}
body:not(.access-mode) .charter-source {
  padding: 12px 22px 16px;
  border-top: 1px dashed #dce4ed;
  color: var(--c-muted);
  font-size: 12px;
  font-style: italic;
}
body:not(.access-mode) .official-doc-section a,
body:not(.access-mode) .official-doc-intro a {
  color: var(--c-primary-dark);
  text-decoration: underline;
  text-decoration-color: rgba(31,95,159,.28);
  text-underline-offset: 3px;
}
body:not(.access-mode) .official-doc-section--accent {
  border-color: #c8dcec;
  box-shadow: 0 16px 38px rgba(31,95,159,.09);
}
body:not(.access-mode) .official-doc-section--accent .official-doc-section__head {
  background: linear-gradient(90deg, #eaf3fb, #f9fbfd);
}
body:not(.access-mode) .law-date-line {
  margin: 0 0 11px;
  color: var(--c-gold-dark);
  font-size: 14px;
  font-weight: 800;
}
body:not(.access-mode) .law-adoption-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: end;
  margin-top: 22px;
  padding: 17px 19px;
  border: 1px solid #dce4ed;
  border-radius: 14px;
  background: rgba(255,255,255,.72);
}
body:not(.access-mode) .law-adoption-card p { margin: 0 !important; }
body:not(.access-mode) .law-edition-line {
  margin: 14px 0 0;
  padding: 13px 16px;
  border-radius: 12px;
  background: #f7f1e7;
  color: #684b1f;
  font-size: 13px;
  line-height: 1.6;
}
body:not(.access-mode) .law-note {
  margin: 0;
  padding: 12px 15px;
  border-left: 3px solid var(--c-gold);
  border-radius: 0 10px 10px 0;
  background: #fbf7f0;
  color: #73582c;
  font-size: 12px;
  line-height: 1.65;
}
body:not(.access-mode) .official-doc-signature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 26px 28px;
  border: 1px solid #d7e1eb;
  border-radius: 20px;
  background: linear-gradient(135deg, #f7f9fc, #fff);
  box-shadow: var(--shadow-sm);
  color: #293443;
  line-height: 1.7;
}
body:not(.access-mode) .official-doc-signature > div:last-child {
  text-align: right;
}

@media (max-width: 720px) {
  body:not(.access-mode) .official-doc-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px;
  }
  body:not(.access-mode) .official-doc-intro__seal {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    font-size: 17px;
  }
  body:not(.access-mode) .official-doc-section__head {
    grid-template-columns: 44px minmax(0,1fr);
    gap: 12px;
    padding: 15px 16px;
  }
  body:not(.access-mode) .official-doc-section__number {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 15px;
  }
  body:not(.access-mode) .official-doc-section__body { padding: 18px; }
  body:not(.access-mode) .charter-point {
    grid-template-columns: 30px minmax(0,1fr);
    padding: 11px;
  }
  body:not(.access-mode) .charter-point__num { width: 28px; height: 28px; }
  body:not(.access-mode) .law-adoption-card,
  body:not(.access-mode) .official-doc-signature { grid-template-columns: 1fr; }
  body:not(.access-mode) .official-doc-signature > div:last-child { text-align: left; }
}


/* ===== Press center / news / materials refinements ===== */
.pdf-modal { z-index: 20000 !important; }
.pdf-modal.is-open { z-index: 20000 !important; }
.pdf-modal__dialog { position: relative; z-index: 20001; }
body:has(.pdf-modal.is-open) .header { z-index: 1000 !important; }

.press-overview { display:grid; gap:34px; }
.press-hub--featured { grid-template-columns:repeat(3,minmax(0,1fr)); }
.press-section-head { display:flex; align-items:end; justify-content:space-between; gap:20px; padding-top:8px; border-top:1px solid var(--c-line-soft); }
.press-section-head span,.materials-head span { color:var(--c-primary); font-size:12px; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.press-section-head h2,.materials-head h2 { margin:4px 0 0; font-size:clamp(25px,3vw,34px); }
.press-news-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; }
.press-news-list .news-card:first-child { grid-column:1/-1; }
.press-speech-list { display:grid; gap:14px; }

.sidebar-calendar__head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.sidebar-calendar__head div { display:grid; gap:2px; }
.sidebar-calendar__head span { font-size:11px; text-transform:uppercase; letter-spacing:.12em; color:var(--c-muted); font-weight:800; }
.sidebar-calendar__head strong { font-size:17px; color:var(--c-secondary-dark); }
.sidebar-calendar__head a { width:36px; height:36px; display:grid; place-items:center; border:1px solid var(--c-line); border-radius:10px; color:var(--c-primary); text-decoration:none; }
.mini-calendar { display:grid; grid-template-columns:repeat(7,1fr); gap:5px; text-align:center; }
.mini-calendar > span,.mini-calendar > a { min-width:0; aspect-ratio:1; display:grid; place-items:center; border-radius:8px; font-size:12px; color:var(--c-ink); text-decoration:none; }
.mini-calendar__dow { aspect-ratio:auto !important; color:var(--c-muted) !important; font-size:10px !important; font-weight:800; }
.mini-calendar .is-muted { color:#b3bdc9; }
.mini-calendar .is-active { background:var(--c-primary); color:#fff; font-weight:800; box-shadow:0 5px 14px rgba(31,95,159,.2); }

.content-pagination { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-top:28px; }
.content-pagination__btn { width:42px; height:42px; border:1px solid var(--c-line); border-radius:10px; background:#fff; color:var(--c-secondary-dark); font-weight:800; cursor:pointer; }
.content-pagination__btn:hover,.content-pagination__btn.is-active { background:var(--c-primary); border-color:var(--c-primary); color:#fff; }
.news-card.is-filter-hidden { display:none !important; }

.materials-section { display:grid; gap:24px; }
.materials-head { padding:28px 30px; background:linear-gradient(135deg,#fff,#f3f7fb); border:1px solid var(--c-line); border-radius:18px; box-shadow:var(--shadow-sm); }
.materials-head p { margin:12px 0 0; color:var(--c-muted); max-width:760px; line-height:1.65; }
.materials-list { display:grid; gap:12px; }
.material-item { display:grid; grid-template-columns:68px minmax(0,1fr) auto; gap:18px; align-items:center; padding:20px; background:#fff; border:1px solid var(--c-line); border-radius:16px; box-shadow:var(--shadow-sm); }
.material-item__type { width:58px; height:58px; display:grid; place-items:center; border-radius:14px; background:var(--c-primary-light); color:var(--c-primary-dark); font-weight:900; font-size:12px; letter-spacing:.04em; }
.material-item--zip .material-item__type { background:#f4f0e8; color:#795f31; }
.material-item--docx .material-item__type { background:#edf3fb; color:#275b98; }
.material-item__content h3 { margin:0 0 6px; font-size:17px; line-height:1.35; }
.material-item__meta { color:var(--c-muted); font-size:12px; }
.material-item__actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.material-action { display:inline-flex; align-items:center; justify-content:center; min-height:40px; padding:0 14px; border:1px solid var(--c-line); border-radius:10px; text-decoration:none; color:var(--c-primary-dark); background:#fff; font-weight:800; font-size:12px; }
.material-action:hover,.material-action--view { background:var(--c-primary); border-color:var(--c-primary); color:#fff; }

@media(max-width:1100px){ .press-hub--featured{grid-template-columns:1fr;} .press-news-list{grid-template-columns:1fr;} .press-news-list .news-card:first-child{grid-column:auto;} }
@media(max-width:680px){ .material-item{grid-template-columns:54px minmax(0,1fr); align-items:start;} .material-item__type{width:48px;height:48px;} .material-item__actions{grid-column:1/-1;justify-content:stretch;} .material-action{flex:1;} .press-section-head{align-items:start;flex-direction:column;} }


/* Button visually impaired (BVI) integration */
.bvi-panel,
.bvi-panel-fixed,
[class*="bvi-panel"] {
  z-index: 1000000 !important;
}
body.bvi-active .header,
body[class*="bvi"] .header {
  transition: none !important;
}
.bvi-open {
  cursor: pointer;
}


/* Internet reception */
body:not(.access-mode) .internet-reception-section { padding-block: 34px 70px; }
body:not(.access-mode) .reception-content-grid { display:grid; gap:28px; align-items:start; }
body:not(.access-mode) .reception-main { display:grid; gap:24px; min-width:0; }
body:not(.access-mode) .reception-notice,
body:not(.access-mode) .reception-gosuslugi { background:#fff; border:1px solid var(--c-line); border-radius:18px; box-shadow:var(--shadow-sm); overflow:hidden; }
body:not(.access-mode) .reception-notice__head,
body:not(.access-mode) .reception-gosuslugi__head { padding:28px 30px 20px; border-bottom:1px solid var(--c-line-soft); background:linear-gradient(135deg,#fff 0%,#f5f9fd 100%); }
body:not(.access-mode) .reception-notice__head h2,
body:not(.access-mode) .reception-gosuslugi__head h2 { margin:8px 0 0; font-size:clamp(24px,3vw,34px); }
body:not(.access-mode) .reception-gosuslugi__head p { margin:10px 0 0; color:var(--c-ink-soft); line-height:1.65; }
body:not(.access-mode) .reception-notice__badge,
body:not(.access-mode) .reception-gosuslugi__badge { display:inline-flex; padding:6px 10px; border-radius:999px; background:var(--c-primary-light); color:var(--c-primary-dark); font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
body:not(.access-mode) .reception-notice__body { padding:26px 30px 30px; }
body:not(.access-mode) .reception-notice__body p { margin:0 0 18px; color:var(--c-ink-soft); font-size:16px; line-height:1.82; }
body:not(.access-mode) .reception-address { margin-top:26px; display:flex; gap:14px; align-items:center; padding:18px 20px; border-radius:14px; background:#f6f9fc; border:1px solid var(--c-line-soft); color:var(--c-ink); line-height:1.6; }
body:not(.access-mode) .reception-address__icon { width:44px; height:44px; flex:0 0 44px; display:grid; place-items:center; border-radius:12px; background:#fff; border:1px solid var(--c-line); color:var(--c-primary); }
body:not(.access-mode) .reception-gosuslugi { padding-bottom:0; }
body:not(.access-mode) .reception-gosuslugi #js-show-iframe-wrapper { border-radius:0 0 18px 18px; overflow:hidden; min-height:260px; }
body:not(.access-mode) .reception-aside { position:relative; }
@media (max-width:1024px){ body:not(.access-mode) .reception-content-grid{grid-template-columns:1fr;} body:not(.access-mode) .reception-aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;} }
@media (max-width:680px){ body:not(.access-mode) .reception-notice__head, body:not(.access-mode) .reception-gosuslugi__head, body:not(.access-mode) .reception-notice__body{padding-left:20px;padding-right:20px;} body:not(.access-mode) .reception-aside{grid-template-columns:1fr;} }


/* ===== Premium footer + privacy policy modal ===== */
body:not(.access-mode) .footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(38px, 6vw, 78px);
  border-top: 0;
  background:
    radial-gradient(circle at 8% 15%, rgba(72, 152, 214, .20), transparent 28%),
    radial-gradient(circle at 92% 92%, rgba(185, 139, 62, .14), transparent 24%),
    linear-gradient(135deg, #0b2238 0%, #103454 48%, #174a73 100%);
  color: rgba(255,255,255,.84);
  box-shadow: 0 -18px 48px rgba(16, 24, 40, .10);
}

body:not(.access-mode) .footer::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .45;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 92%);
}

body:not(.access-mode) .footer .container,
body:not(.access-mode) .footer__inner {
  position: relative;
  z-index: 1;
}

body:not(.access-mode) .footer__inner {
  padding-block: clamp(42px, 5vw, 62px) 22px;
}

body:not(.access-mode) .footer__top {
  display: grid;
  grid-template-columns: minmax(280px, .9fr) minmax(0, 1.6fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: start;
  padding-bottom: clamp(30px, 4vw, 46px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

body:not(.access-mode) .footer__top::after { display: none; }

body:not(.access-mode) .footer__brand {
  padding-right: clamp(0px, 2vw, 24px);
}

body:not(.access-mode) .footer__brand .brand {
  align-items: center;
  gap: 15px;
}

body:not(.access-mode) .footer__brand .brand__logo {
  width: 68px;
  height: 82px;
  flex: 0 0 68px;
  padding: 7px 8px;
  border-radius: 15px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.42);
  box-shadow: 0 12px 34px rgba(0,0,0,.16);
}

body:not(.access-mode) .footer__brand .brand__overline {
  color: #d8e9f8;
  letter-spacing: .17em;
}

body:not(.access-mode) .footer__brand .brand__title {
  color: #fff;
  max-width: 430px;
  font-size: clamp(18px, 1.6vw, 23px);
  line-height: 1.25;
}

body:not(.access-mode) .footer__about {
  margin: 22px 0 0;
  max-width: 560px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
  line-height: 1.75;
}

body:not(.access-mode) .footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body:not(.access-mode) .footer__nav > div {
  min-height: 100%;
  padding: 20px 20px 18px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

body:not(.access-mode) .footer__col-title {
  margin: 0 0 14px;
  padding: 0 0 12px;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body:not(.access-mode) .footer__list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: rgba(255,255,255,.67);
  font-size: 13px;
  line-height: 1.55;
}

body:not(.access-mode) .footer__list a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: rgba(255,255,255,.80);
  text-decoration: none;
}

body:not(.access-mode) .footer__list a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: 0 0 5px;
  border-radius: 50%;
  background: #7cb6e3;
  transition: transform .2s ease, background-color .2s ease;
}

body:not(.access-mode) .footer__list a:hover {
  color: #fff;
  transform: translateX(2px);
}

body:not(.access-mode) .footer__list a:hover::before {
  background: #d8b36a;
  transform: scale(1.25);
}

body:not(.access-mode) .footer__bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .75fr);
  gap: 24px 42px;
  align-items: start;
  padding-top: 26px;
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.7;
}

body:not(.access-mode) .footer__bottom p { margin: 0; }
body:not(.access-mode) .footer__bottom strong { color: rgba(255,255,255,.90); }

body:not(.access-mode) .footer__privacy-link,
body:not(.access-mode) .cookie__privacy-link {
  display: inline;
  padding: 0;
  border: 0;
  border-bottom: 1px dashed currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 800;
  line-height: inherit;
  cursor: pointer;
  text-align: left;
}

body:not(.access-mode) .footer__privacy-link {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.52);
}

body:not(.access-mode) .footer__privacy-link:hover,
body:not(.access-mode) .cookie__privacy-link:hover {
  color: #d8b36a;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 50000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 2vw, 28px);
  background: rgba(7, 18, 30, .72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.privacy-modal.is-open { display: flex; }

.privacy-modal__dialog {
  position: relative;
  z-index: 50001;
  display: flex;
  flex-direction: column;
  width: min(1180px, 100%);
  height: min(90vh, 900px);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 36px 110px rgba(0,0,0,.34);
}

.privacy-modal__head {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 14px 16px 14px 22px;
  border-bottom: 1px solid #e3e8ee;
  background: linear-gradient(180deg, #fff, #f8fafc);
}

.privacy-modal__title-wrap { min-width: 0; flex: 1; }
.privacy-modal__eyebrow {
  display: block;
  margin-bottom: 2px;
  color: #667085;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.privacy-modal__title {
  margin: 0;
  color: #101828;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.25;
}

.privacy-modal__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.privacy-modal__download,
.privacy-modal__close {
  min-height: 42px;
  border-radius: 10px;
  font-weight: 800;
  cursor: pointer;
}

.privacy-modal__download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #174a7d;
  background: #174a7d;
  color: #fff;
  text-decoration: none;
}
.privacy-modal__download:hover { background: #101828; border-color: #101828; color: #fff; }

.privacy-modal__close {
  width: 42px;
  padding: 0;
  border: 1px solid #d9e1ea;
  background: #fff;
  color: #174a7d;
  font-size: 24px;
  line-height: 1;
}
.privacy-modal__close:hover { background: #f3f8fd; }

.privacy-modal__viewer {
  flex: 1 1 auto;
  min-height: 0;
  background: #e9eef4;
}
.privacy-modal__viewer iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}
body.privacy-modal-open { overflow: hidden; }
body.privacy-modal-open .header { z-index: 1000 !important; }

@media (max-width: 980px) {
  body:not(.access-mode) .footer__top { grid-template-columns: 1fr; }
  body:not(.access-mode) .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body:not(.access-mode) .footer__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  body:not(.access-mode) .footer__inner { padding-top: 34px; }
  body:not(.access-mode) .footer__nav { grid-template-columns: 1fr; }
  body:not(.access-mode) .footer__nav > div { padding: 17px; }
  body:not(.access-mode) .footer__brand .brand { align-items: flex-start; }
  .privacy-modal { padding: 0; }
  .privacy-modal__dialog { width: 100%; height: 100%; max-height: none; border-radius: 0; border: 0; }
  .privacy-modal__head { padding: 10px 10px 10px 14px; min-height: 62px; }
  .privacy-modal__download { padding-inline: 11px; font-size: 12px; }
  .privacy-modal__eyebrow { display: none; }
}


/* NPA page */
body:not(.access-mode) .npa-filterbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 12px;
  margin: 0 0 20px;
}
body:not(.access-mode) .npa-filterbar input,
body:not(.access-mode) .npa-filterbar select {
  width: 100%; min-height: 48px; padding: 0 14px;
  border: 1px solid var(--c-line); border-radius: 12px;
  background: #fff; color: var(--c-ink); font: inherit; outline: none;
}
body:not(.access-mode) .npa-filterbar input:focus,
body:not(.access-mode) .npa-filterbar select:focus {
  border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(31,95,159,.10);
}
body:not(.access-mode) .material-item__excerpt {
  margin: 8px 0 10px; color: var(--c-ink-soft); line-height: 1.55; font-size: 14px;
}
body:not(.access-mode) .npa-item[hidden] { display: none !important; }
body:not(.access-mode) .npa-empty {
  padding: 28px; text-align: center; border: 1px dashed var(--c-line);
  border-radius: 14px; background: #fff; color: var(--c-muted);
}
@media (max-width: 680px) {
  body:not(.access-mode) .npa-filterbar { grid-template-columns: 1fr; }
}


/* === Documents / news / universal aside refinements 2026-09-18 === */
@media (min-width: 1025px) {
  body:not(.access-mode) .site-page-layout.layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 360px) !important;
    align-items: start !important;
    gap: clamp(26px, 4vw, 44px) !important;
  }
  body:not(.access-mode) .site-page-layout.layout > .layout__main.site-page-main {
    grid-column: 1 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }
  body:not(.access-mode) .site-page-layout.layout > .layout__aside.universal-aside {
    grid-column: 2 !important;
    grid-row: 1 !important;
    min-width: 0 !important;
  }
}
@media (max-width: 1024px) {
  body:not(.access-mode) .site-page-layout.layout {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
  }
  body:not(.access-mode) .site-page-layout.layout > .layout__main.site-page-main,
  body:not(.access-mode) .site-page-layout.layout > .layout__aside.universal-aside {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

body:not(.access-mode) #docCategoryGrid.doc-grid {
  grid-auto-rows: 1fr;
  align-items: stretch;
}
body:not(.access-mode) #docCategoryGrid .doc-category {
  min-height: 190px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
}
body:not(.access-mode) #docCategoryGrid .doc-category__top {
  align-items: flex-start;
  flex: 1;
}
body:not(.access-mode) #docCategoryGrid .doc-category__title {
  margin: 0;
  line-height: 1.35;
}
body:not(.access-mode) #docCategoryGrid .doc-category__count {
  flex: 0 0 auto;
}

body:not(.access-mode) .document-pagination {
  display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:26px;
}
body:not(.access-mode) .document-pagination a,
body:not(.access-mode) .document-pagination span {
  min-width:42px; height:42px; padding:0 12px; display:inline-flex; align-items:center; justify-content:center;
  border:1px solid var(--c-line); border-radius:10px; background:#fff; color:var(--c-primary-dark); font-weight:800; text-decoration:none;
}
body:not(.access-mode) .document-pagination .is-current {
  background:var(--c-primary-dark); color:#fff; border-color:var(--c-primary-dark);
}
body:not(.access-mode) .doc-item__announce {
  margin:8px 0 0; color:var(--c-ink-soft); line-height:1.55; font-size:14px;
}
body:not(.access-mode) .file-badge--docx { background:#eaf2ff; color:#1f5f9f; border-color:#cddff6; }

/* Horizontal news feed */
body:not(.access-mode) #newsList.news-list { display:grid; grid-template-columns:1fr; gap:18px; }
body:not(.access-mode) #newsList .news-card {
  display:grid; grid-template-columns:minmax(220px, 285px) minmax(0,1fr); overflow:hidden; min-height:180px;
}
body:not(.access-mode) #newsList .news-card__media { height:100%; min-height:180px; aspect-ratio:auto; }
body:not(.access-mode) #newsList .news-card__image { width:100%; height:100%; object-fit:cover; }
body:not(.access-mode) #newsList .news-card__body { padding:24px 26px; display:flex; flex-direction:column; justify-content:center; }
body:not(.access-mode) #newsList .news-card__title { font-size:21px; line-height:1.3; }
body:not(.access-mode) #newsList .news-card__excerpt { margin-top:10px; }
@media(max-width:720px){
  body:not(.access-mode) #newsList .news-card { grid-template-columns:1fr; }
  body:not(.access-mode) #newsList .news-card__media { height:220px; min-height:220px; }
}

/* News detail gallery */
.news-gallery { margin-top:30px; }
.news-gallery__title { margin:0 0 16px; font-size:24px; }
.news-gallery__grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.news-gallery__item { position:relative; display:block; padding:0; border:0; border-radius:14px; overflow:hidden; background:#eef2f6; cursor:pointer; aspect-ratio:4/3; }
.news-gallery__item img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .25s ease; }
.news-gallery__item:hover img { transform:scale(1.035); }
.gallery-modal { position:fixed; inset:0; z-index:10050; display:none; align-items:center; justify-content:center; padding:24px; background:rgba(6,15,28,.88); backdrop-filter:blur(8px); }
.gallery-modal.is-open { display:flex; }
.gallery-modal__dialog { position:relative; max-width:min(1180px,96vw); max-height:92vh; }
.gallery-modal__image { max-width:100%; max-height:88vh; display:block; border-radius:16px; box-shadow:0 30px 80px rgba(0,0,0,.4); }
.gallery-modal__close { position:absolute; right:-12px; top:-12px; width:46px; height:46px; border:0; border-radius:50%; background:#fff; color:#172033; font-size:28px; cursor:pointer; box-shadow:0 8px 24px rgba(0,0,0,.2); }
@media(max-width:680px){ .news-gallery__grid{grid-template-columns:1fr 1fr;} .gallery-modal{padding:12px;} }
