/* DSBA tokens — docs/references/design/dsba-tokens.md */
@font-face { font-family: Manrope; src: url("../fonts/manrope/Manrope-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope/Manrope-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope/Manrope-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope/Manrope-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope/Manrope-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: Manrope; src: url("../fonts/manrope/Manrope-ExtraBold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --black1: #061422;
  --black2: #393F48;
  --black3: #757D8E;
  --black4: #B7BBCB;
  --black5: #BFC3D7;
  --black6: #DEE1EB;
  --black7: #F0F1F5;
  --black8: #F6F7FB;
  --white: #FFFFFF;
  --blue1: #002D6D;
  --blue2: #004E9E;
  --blue3: #1B70C7;
  --blue4: #7DBDFF;
  --blue5: #DFE8F2;
  --green: #00809D;
  --cyan: #648DB3;
  --navy: #4E6688;
  --gradient-blue-white: linear-gradient(180deg, #DFE8F2 0%, rgba(223, 232, 242, 0) 100%);

  --bg: var(--white);
  --bg-muted: var(--black8);
  --bg-nav: var(--black7);
  --text: var(--blue1);
  --text-soft: var(--black3);
  --primary: var(--blue2);
  --primary-deep: var(--blue1);
  --line: var(--black6);
  --card: var(--white);
  --radius: 8px;
  --container: 1480px;
  --header-width: 1752px;
  --header-inset: clamp(1.25rem, 2.5vw, 2.25rem);
  --gutter: clamp(1rem, 2.2vw, 2rem);
  --font: Manrope, "Segoe UI", "Noto Sans", Arial, sans-serif;
  /* DSBA .body2 / utility scale */
  --text-body2: clamp(.9375rem, calc(1vw * var(--fz, 1)), 1.125rem);
  --text-utility: clamp(.875rem, calc(0.92vw * var(--fz, 1)), 1rem);
  --lh-tight: 1.3;
  --shadow: 0 8px 28px rgba(6, 20, 34, 0.08);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 0px;
  --nav-bar-radius: 10px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 1rem;
  /* Prevent layout jump when mega-menu locks body scroll */
  scrollbar-gutter: stable;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: #fff;
  line-height: 1.45;
  font-size: var(--text-body2);
  font-weight: 500;
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Адаптив на всех страницах: ни один элемент не шире экрана (docs/modules/a11y/README.md) */
img, svg, video, canvas, iframe, embed, object, picture { max-width: 100%; }
video { height: auto; }
input, select, textarea, button { max-width: 100%; }
pre, code { white-space: pre-wrap; overflow-wrap: anywhere; }
.article-body a { overflow-wrap: anywhere; }
.article-body img, .article-body video { height: auto; }
.article-body iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.article-body table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
.article-body pre { max-width: 100%; overflow-x: auto; }

#main {
  background: #fff;
}
.site-header,
.home-hero,
.mobile-nav-panel {
  font-family: var(--font);
}
body.sitemap-open,
body:has(.site-header.is-sitemap-open) {
  overflow: hidden;
}
body.sitemap-open .site-header {
  z-index: 200;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.container { width: min(100% - (var(--gutter) * 2), var(--container)); margin-inline: auto; }
.header-utility .container {
  width: min(100% - (var(--header-inset) * 2), var(--header-width));
}

/* In document flow — scrolls away with page (not pinned to viewport) */
.site-header {
  background: #fff;
  border-bottom: 0;
  position: relative;
  z-index: 80;
  transition: box-shadow .25s var(--ease), background .25s var(--ease);
  width: 100%;
  overflow: visible;
}
.site-header.is-scrolled {
  box-shadow: none;
}
/* Home: overlay on hero only at page top; scrolls away like DSBA absolute header */
body.page-home .site-header--hero {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: none;
}
body.page-home .site-header--hero.is-scrolled {
  background: transparent;
  box-shadow: none;
}
body.page-home .site-header--hero .header-utility,
body.page-home .site-header--hero.is-scrolled .header-utility {
  background: transparent;
  color: #fff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* BUGFIX: не красить utility в --black2 на внутренних - как на главной без серого фона */
.site-header .header-utility {
  background: #fff;
  color: var(--blue1);
}
.site-header:not(.site-header--hero) .utility-brand {
  color: var(--blue1);
}
.site-header:not(.site-header--hero) .utility-social a,
.site-header:not(.site-header--hero) .utility-icon-btn,
.site-header:not(.site-header--hero) .utility-dd-btn,
.site-header:not(.site-header--hero) .header-utility .lang-dd-btn,
.site-header:not(.site-header--hero) .header-utility .lang-dd.is-open .lang-dd-btn {
  color: var(--blue2);
}
.site-header:not(.site-header--hero) .header-utility .ui-ico--white {
  color: var(--blue2);
}
.site-header:not(.site-header--hero) .header-utility .ui-ico--sky {
  color: var(--blue3);
}
.site-header:not(.site-header--hero) .utility-icon-btn:hover {
  background: rgba(0, 78, 158, .08);
}
.header-utility {
  border-bottom: 0;
  font-size: var(--text-utility);
  line-height: var(--lh-tight);
  font-weight: 500;
  overflow: visible;
  position: relative;
  z-index: 92;
}
.header-utility-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; padding: .9rem 0;
  min-height: 3.75rem;
}
.utility-start {
  display: flex; align-items: center; flex-wrap: nowrap;
  gap: .85rem; min-width: 0; flex: 0 1 auto;
}
.utility-mid {
  display: flex; align-items: center; flex-wrap: wrap;
  justify-content: center;
  /* Large gap BETWEEN blocks (quick / mail / phone), not within */
  gap: .5rem 2.75rem;
  flex: 1 1 auto; min-width: 0;
  font-size: inherit; font-weight: 500;
}
.utility-brand {
  display: inline-flex; align-items: center; gap: .7rem;
  color: inherit; min-width: 0; flex-shrink: 0;
  max-width: min(26rem, 40vw);
}
.utility-brand:hover { opacity: .92; }
.utility-brand-mark {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.utility-brand-logo {
  width: 3.5rem; height: 3.5rem; flex-shrink: 0;
  object-fit: contain;
}
.utility-brand-text {
  display: flex; flex-direction: column; gap: 0;
  font-family: Manrope, var(--font);
  font-size: clamp(0.75rem, calc(0.85vw * var(--fz, 1)), 0.875rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.utility-brand-text--single {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.utility-brand-line { display: block; }
.utility-tools {
  display: flex; align-items: center; flex-wrap: wrap;
  justify-content: flex-end;
  /* Large gap BETWEEN blocks (a11y | social | lang) */
  gap: .65rem 2.5rem;
  font-size: inherit; font-weight: 500;
  overflow: visible;
}
.ui-ico {
  display: block;
  flex-shrink: 0;
}
.ui-ico--10 { width: 10px; height: 10px; }
.ui-ico--14 { width: 14px; height: 14px; }
.ui-ico--16 { width: 16px; height: 16px; }
.ui-ico--18 { width: 18px; height: 18px; }
.ui-ico--20 { width: 20px; height: 20px; }
.ui-ico--22 { width: 22px; height: 22px; }
.ui-ico--24 { width: 24px; height: 24px; }
.ui-ico--26 { width: 26px; height: 26px; }
.ui-ico--28 { width: 28px; height: 28px; }
.ui-ico--32 { width: 32px; height: 32px; }
.ui-ico--sky { color: var(--blue4); }
.ui-ico--muted { color: #8b97a8; }
.ui-ico--white { color: #fff; }
.ui-ico--white-img { filter: brightness(0) invert(1); width: 18px; height: 18px; }
.ui-ico--muted-img { filter: brightness(0) saturate(100%) invert(55%) sepia(8%) saturate(627%) hue-rotate(176deg) brightness(92%) contrast(88%); width: 18px; height: 18px; }
.mega-top { display: none; }
.ui-ico--caret { opacity: .88; transition: transform .25s var(--ease); }
.lang-dd.is-open .ui-ico--caret,
.utility-dd.is-open .ui-ico--caret,
.nav-item.has-children:hover .nav-parent .ui-ico--caret,
.nav-item.is-open .nav-parent .ui-ico--caret {
  transform: rotate(180deg);
}
.utility-mobile { display: none; align-items: center; gap: .5rem; }
.utility-link {
  display: inline-flex; align-items: center; gap: .5rem;
  color: inherit; white-space: nowrap;
  font-weight: 500;
  transition: opacity .2s var(--ease);
}
.utility-link:hover { opacity: .82; }
.utility-pill {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .72rem; font-weight: 700;
}
.utility-pill--warn { color: #f5d565; }
.utility-a11y {
  /* Tight gap INSIDE the phone/eye/music icons */
  display: inline-flex; align-items: center; gap: .4rem;
}
.utility-social {
  /* Moderate gap inside socials — still tighter than block gap */
  display: inline-flex; align-items: center; gap: .7rem;
}
.utility-social a {
  display: inline-flex; width: 1.85rem; height: 1.85rem;
  align-items: center; justify-content: center;
  color: inherit;
  opacity: .95; transition: opacity .2s var(--ease);
}
.utility-social a:hover { opacity: 1; }
.utility-social .ui-ico {
  width: 26px; height: 26px;
  color: inherit;
}
.utility-a11y .ui-ico {
  width: 26px; height: 26px;
}
.utility-icon-btn {
  width: 2.6rem; height: 2.6rem; border: 0; border-radius: 999px;
  background: transparent; color: inherit; cursor: pointer;
  display: inline-grid; place-items: center;
  opacity: .95;
}
.utility-icon-btn:hover { background: rgba(255,255,255,.14); opacity: 1; }
.utility-dd-icon { flex-shrink: 0; opacity: .9; }
.utility-link .ui-ico {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}
.header-utility .lang-dd-btn {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 1rem;
  font-weight: 500;
  height: auto;
  min-height: auto;
  min-width: auto;
  padding: .3rem .4rem;
  gap: .45rem;
  box-shadow: none;
}
.header-utility .lang-dd.is-open .lang-dd-btn {
  background: transparent;
  border: 0;
  color: inherit;
}
.lang-dd--utility { position: relative; z-index: 98; }
.header-utility .lang-dd--utility .lang-dd-menu {
  top: calc(100% + .5rem);
  right: 0;
  left: auto;
  z-index: 120;
  border-radius: 14px;
  min-width: 168px;
  border: 0;
  box-shadow: 0 14px 36px rgba(6, 40, 79, .14);
  padding: .35rem;
  transform: translateY(-8px) scale(.985);
  transform-origin: top right;
  transition:
    opacity .26s var(--ease),
    transform .26s var(--ease),
    visibility .26s;
}
.header-utility .lang-dd--utility.is-open .lang-dd-menu {
  transform: translateY(0) scale(1);
}
.lang-dd-menu {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 96;
  min-width: 172px; background: #fff; border: 0;
  border-radius: 14px; box-shadow: 0 14px 36px rgba(6, 40, 79, .14);
  padding: .35rem; overflow: hidden;
  opacity: 0; transform: translateY(-8px) scale(.985);
  transform-origin: top right;
  pointer-events: none; visibility: hidden;
  transition:
    opacity .26s var(--ease),
    transform .26s var(--ease),
    visibility .26s;
  will-change: opacity, transform;
}
.lang-dd.is-open .lang-dd-menu {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; visibility: visible;
}
.lang-dd-menu[hidden] { display: block !important; visibility: hidden; pointer-events: none; opacity: 0; }
.lang-dd.is-open .lang-dd-menu[hidden] { visibility: visible; pointer-events: auto; opacity: 1; }
.lang-dd-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .62rem .9rem; font-size: .9rem; color: #1f2937; font-weight: 500;
  border-radius: 8px;
  background: transparent;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.lang-dd-item:hover,
.lang-dd-item:focus-visible {
  background: #e8edf3; color: #1f2937;
  outline: none;
}
.lang-dd-item.is-active {
  background: #e8edf3; color: #1f2937; font-weight: 600;
}
.lang-dd-item--plain { justify-content: flex-start; }
.lang-dd-menu--panel {
  border-radius: 14px;
  min-width: 160px;
  border: 0;
  box-shadow: 0 14px 36px rgba(6, 40, 79, .14);
  padding: .35rem;
}
.lang-dd-menu--panel .lang-dd-item {
  padding: .58rem .85rem;
  font-size: .9rem;
}
.lang-dd-menu--panel .lang-dd-item.is-active {
  background: #e8edf3;
  color: #1f2937;
  font-weight: 600;
}
.lang-dd--utility.is-open .lang-dd-btn,
.lang-dd--mega.is-open .lang-dd-btn--mega {
  background: transparent !important;
  border-color: transparent !important;
}
.lang-dd--utility.is-open .lang-dd-btn {
  color: inherit !important;
}
body.page-home .site-header--hero .lang-dd--utility.is-open .lang-dd-btn {
  color: #fff !important;
}
.utility-dd { position: relative; z-index: 97; }
.utility-dd-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  border: 0; background: transparent; color: inherit; cursor: pointer;
  font: inherit; font-weight: 500;
}
.utility-dd-menu {
  position: absolute; left: 0; right: auto; top: calc(100% + .5rem); z-index: 120;
  min-width: 220px; background: #fff;
  border-radius: 14px;
  border: 0;
  box-shadow: 0 14px 36px rgba(6, 40, 79, .14);
  padding: .35rem;
  opacity: 0;
  transform: translateY(-8px) scale(.985);
  transform-origin: top left;
  pointer-events: none; visibility: hidden;
  transition:
    opacity .26s var(--ease),
    transform .26s var(--ease),
    visibility .26s;
  will-change: opacity, transform;
}
.utility-dd.is-open .utility-dd-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  visibility: visible;
}
.utility-dd-menu[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
.utility-dd.is-open .utility-dd-menu[hidden] {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
}
.utility-dd-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .62rem .9rem;
  color: #1f2937;
  font-size: .9rem;
  font-weight: 500;
  white-space: nowrap;
  border-radius: 8px;
  background: transparent;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.utility-dd-item .ui-ico {
  flex-shrink: 0;
  width: 16px; height: 16px;
  color: var(--blue4);
  transition: color .22s var(--ease);
}
.utility-dd-item:hover,
.utility-dd-item:focus-visible {
  background: #e8edf3;
  color: #1f2937;
  outline: none;
}
.header-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: 1rem 0;
}
.brand { display: flex; align-items: center; gap: .85rem; min-width: 0; }
.brand-mark {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: grid; place-items: center;
  overflow: visible;
}
.brand-logo {
  width: 58px; height: 58px;
  object-fit: contain;
  display: block;
}
.brand-title {
  font-size: clamp(.7rem, calc(1.05vw * var(--fz, 1)), .95rem);
  font-weight: 800; letter-spacing: .03em; text-transform: uppercase;
  line-height: 1.25; color: var(--primary);
}
.header-tools { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; }
.tool-btn {
  width: 2.25rem; height: 2.25rem; border: 0; background: transparent;
  color: var(--primary); border-radius: 6px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.tool-btn:hover { background: #f1f5f9; }
.tool-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--primary); font-size: .78rem; font-weight: 800;
  text-transform: uppercase; white-space: nowrap;
  transition: opacity .2s var(--ease);
}
.tool-link:hover { opacity: .8; }
.lang-dd { position: relative; z-index: 95; }
.lang-dd-btn {
  min-width: 3.1rem; height: 2.1rem; padding: 0 .65rem;
  border: 1px solid var(--primary); border-radius: 4px;
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  font-weight: 700; color: var(--primary); background: #fff; cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.lang-dd-btn svg { transition: transform .25s var(--ease); }
.lang-dd.is-open .lang-dd-btn {
  background: var(--primary); color: #fff; border-color: var(--primary);
}
.lang-dd.is-open .lang-dd-btn svg { transform: rotate(180deg); }
.lang-dd-btn:hover {
  border-color: var(--primary);
}
.lang-dd-menu {
  position: absolute; right: 0; top: calc(100% + .5rem); z-index: 96;
  min-width: 172px; background: #fff; border: 0;
  border-radius: 14px; box-shadow: 0 14px 36px rgba(6, 40, 79, .14);
  padding: .35rem; overflow: hidden;
  opacity: 0; transform: translateY(-8px) scale(.985);
  transform-origin: top right;
  pointer-events: none; visibility: hidden;
  transition:
    opacity .26s var(--ease),
    transform .26s var(--ease),
    visibility .26s;
  will-change: opacity, transform;
}
.lang-dd.is-open .lang-dd-menu {
  opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; visibility: visible;
}
.lang-dd-menu[hidden] { display: block !important; visibility: hidden; pointer-events: none; opacity: 0; }
.lang-dd.is-open .lang-dd-menu[hidden] { visibility: visible; pointer-events: auto; opacity: 1; }
.lang-dd-item {
  display: flex; align-items: center; gap: .55rem;
  padding: .62rem .9rem; font-size: .9rem; color: #1f2937; font-weight: 500;
  border-radius: 8px;
  background: transparent;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.lang-dd-item:hover,
.lang-dd-item:focus-visible {
  background: #e8edf3; color: #1f2937;
  outline: none;
}
.lang-dd-item.is-active {
  background: #e8edf3; color: #1f2937; font-weight: 600;
}
.lang-dd-item--plain { justify-content: flex-start; }
.lang-dd-menu--panel {
  border-radius: 14px;
  min-width: 160px;
  border: 0;
  box-shadow: 0 14px 36px rgba(6, 40, 79, .14);
  padding: .35rem;
}
.lang-dd-menu--panel .lang-dd-item {
  padding: .58rem .85rem;
  font-size: .9rem;
}
.lang-dd-menu--panel .lang-dd-item.is-active {
  background: #e8edf3;
  color: #1f2937;
  font-weight: 600;
}
.lang-dd-btn--ghost {
  border: 0 !important; background: transparent !important;
  min-width: auto; padding: 0 .25rem;
}
.lang-dd-code { font-weight: 800; min-width: 1.8rem; }

.tool-a11y {
  border: 1px solid var(--line) !important;
  border-radius: 999px !important;
}

.tool-sep { width: 1px; height: 1.35rem; background: var(--primary); opacity: .35; }
.nav-shell {
  width: 100%;
  padding: 0 0 .35rem;
  overflow: visible;
  position: relative;
  z-index: 90;
  display: flex;
  justify-content: center;
  background: #fff;
}
body.page-home .site-header--hero .nav-shell {
  padding-bottom: .65rem;
  background: transparent;
}
.site-header:not(.site-header--hero) .nav-shell {
  padding: 0 0 .55rem;
  background: #fff;
}
.site-nav {
  position: relative;
  /* Same width formula as .header-utility .container — bars align edge-to-edge */
  width: min(100% - (var(--header-inset) * 2), var(--header-width));
  max-width: none;
  margin-inline: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.site-nav--bar {
  border-radius: var(--nav-bar-radius, 10px);
  overflow: hidden; /* flush when closed */
  background: var(--blue2);
  color: #fff;
  box-shadow: none;
  filter: none;
}
/* Dropdown open: overflow visible. Фон бара прозрачный - иначе square ears
   (баг как в d4e4c03 / e901618). Скругление держат .nav-burger / .nav-actions. */
.site-nav--bar:has(.nav-item.is-open),
.site-nav--bar:has(.nav-item:hover),
.site-nav--bar:has(.nav-item:focus-within) {
  overflow: visible;
  background: transparent;
}
.site-nav--bar:has(.nav-item.is-open) .nav-burger,
.site-nav--bar:has(.nav-item:hover) .nav-burger,
.site-nav--bar:has(.nav-item:focus-within) .nav-burger {
  border-radius: var(--nav-bar-radius, 10px) 0 0 var(--nav-bar-radius, 10px);
}
.site-nav--bar:has(.nav-item.is-open) .nav-actions,
.site-nav--bar:has(.nav-item:hover) .nav-actions,
.site-nav--bar:has(.nav-item:focus-within) .nav-actions {
  border-radius: 0 var(--nav-bar-radius, 10px) var(--nav-bar-radius, 10px) 0;
  overflow: hidden;
}
.site-nav--bar:has(.nav-item.is-open) .nav-menu,
.site-nav--bar:has(.nav-item:hover) .nav-menu,
.site-nav--bar:has(.nav-item:focus-within) .nav-menu {
  background: var(--blue2);
}
.site-nav--bar .nav-link,
.site-nav--bar .nav-parent {
  color: #fff;
}
.site-nav--bar .nav-link:hover,
.site-nav--bar .nav-item.has-children:hover > .nav-parent,
.site-nav--bar .nav-item.is-open > .nav-parent {
  background: transparent;
  color: #fff;
}
.nav-row {
  display: flex; align-items: stretch; gap: 0;
  padding: 0;
  position: relative;
  min-height: 4.25rem;
  height: 4.25rem;
  background: transparent;
  box-sizing: border-box;
}
body.page-home .site-header--hero .nav-row {
  background: transparent;
  height: 4.35rem;
  min-height: 4.35rem;
}
.nav-menu {
  display: flex; align-items: center; flex: 1 1 auto;
  min-width: 0; overflow-x: auto;
  scrollbar-width: none;
  background: var(--blue2);
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}
.nav-menu::-webkit-scrollbar { display: none; }
.nav-burger {
  flex: 0 0 4.25rem;
  width: 4.25rem;
  margin: 0;
  padding: 0;
  border: 0;
  /* Own radius — stays round when parent overflow:visible on dropdown hover */
  border-radius: var(--nav-bar-radius, 10px) 0 0 var(--nav-bar-radius, 10px);
  background: var(--blue3);
  color: #fff;
  cursor: pointer;
  display: inline-grid; place-items: center;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  line-height: 0;
  box-sizing: border-box;
  transition: background .2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.nav-burger:hover,
.nav-burger.is-open {
  background: #2280d4;
}
.site-nav--bar .nav-burger.sitemap-toggle {
  margin-left: 0;
  color: #fff;
  background: var(--blue3);
}
.nav-actions {
  display: flex; align-items: stretch;
  flex: 0 0 auto; margin-left: auto;
  background: var(--blue3);
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  border-radius: 0 var(--nav-bar-radius, 10px) var(--nav-bar-radius, 10px) 0;
  overflow: hidden;
}
.nav-actions-divider {
  display: none;
}
.nav-action-btn {
  width: 4.25rem; height: 100%; min-height: 100%; border: 0; border-radius: 0;
  background: transparent; color: #fff; cursor: pointer;
  display: inline-grid; place-items: center;
  flex-shrink: 0;
  padding: 0;
  box-sizing: border-box;
}
.nav-action-btn:hover { background: rgba(255,255,255,.12); }
.nav-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: 0 1.25rem; border-radius: 0;
  background: transparent; color: #fff;
  font-size: clamp(1rem, calc(1.05vw * var(--fz, 1)), 1.125rem); font-weight: 600; white-space: nowrap;
  transition: background .2s var(--ease);
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}
.nav-cta:last-child {
  border-radius: 0 var(--nav-bar-radius, 10px) var(--nav-bar-radius, 10px) 0;
}
.nav-cta:hover { background: rgba(255,255,255,.12); }
.nav-item {
  position: relative;
  font-size: clamp(1rem, calc(1.05vw * var(--fz, 1)), 1.125rem);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}
.nav-link, .nav-parent {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: 1.3rem 1rem; background: none; border: 0; cursor: pointer; color: var(--text);
  font: inherit;
  line-height: 1.3;
  transition: background .25s var(--ease), color .25s var(--ease);
  outline: none;
}
.nav-parent:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, .45);
  outline-offset: -3px;
}
.nav-chevron { opacity: .88; transition: transform .25s var(--ease); }
.nav-item.has-children:hover > .nav-parent .nav-chevron,
.nav-item.is-open > .nav-parent .nav-chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  min-width: min(320px, 78vw);
  max-width: min(420px, 92vw);
  background: var(--blue2); color: #fff;
  border-radius: 0 0 10px 10px;
  /* DSBA: li padding 0 10px, panel padding 0 — no extra .4rem gaps */
  padding: 0 10px;
  box-shadow: 0 14px 36px rgba(6, 20, 34, .2);
  opacity: 0; transform: translateY(-10px) scale(.98);
  transform-origin: top left;
  pointer-events: none; visibility: hidden;
  transition:
    opacity .28s var(--ease),
    transform .28s var(--ease),
    visibility .28s;
  will-change: opacity, transform;
}
.nav-dropdown a {
  display: block; position: relative;
  /* DSBA: padding 10px 28px 10px 10px */
  padding: 10px 28px 10px 10px;
  font-size: clamp(0.9375rem, calc(1vw * var(--fz, 1)), 1.0625rem);
  line-height: 1.35;
  text-transform: none; font-weight: 500; color: #fff;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
  transition: padding .3s ease, color .3s ease, background .18s var(--ease);
}
.nav-dropdown a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50px;
  background: var(--black6);
  opacity: .3;
  transition: all .3s ease;
}
.nav-dropdown a:hover::before,
.nav-dropdown a:focus-visible::before {
  width: 20px;
  background: var(--blue4);
  opacity: 1;
}
.nav-dropdown a:hover,
.nav-dropdown a:focus-visible {
  padding-left: 28px;
  padding-right: 10px;
  background: transparent;
  color: var(--blue5);
}

/* sitemap toggle (BSA burger / X) */
.sitemap-toggle {
  margin-left: auto;
  position: relative;
  width: 3rem; height: 3rem;
  border: 0; border-radius: 0;
  background: transparent;
  color: var(--primary);
  cursor: pointer;
  display: inline-grid; place-items: center;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.sitemap-toggle:hover,
.sitemap-toggle.is-open {
  background: #003a87;
  color: #fff;
}
.sitemap-toggle-icon,
.sitemap-toggle-close {
  display: grid; place-items: center;
  transition: opacity .2s var(--ease), transform .25s var(--ease);
}
.sitemap-toggle-icon { gap: 4px; }
.sitemap-toggle-icon span {
  display: block; width: 18px; height: 2px; background: currentColor;
  transition: transform .25s var(--ease), opacity .2s;
}
.sitemap-toggle-close {
  position: absolute; inset: 0; margin: auto;
  opacity: 0; transform: scale(.7) rotate(-45deg);
  pointer-events: none;
}
.sitemap-toggle-label {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  font-size: .62rem;
  font-weight: 700;
  white-space: nowrap;
  color: #fff;
  background: var(--primary);
  padding: .2rem .45rem;
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.sitemap-toggle.is-open {
  background: var(--primary);
  color: #fff;
}
.sitemap-toggle.is-open .sitemap-toggle-icon {
  opacity: 0; transform: scale(.7) rotate(45deg);
}
.sitemap-toggle.is-open .sitemap-toggle-close {
  opacity: 1; transform: scale(1) rotate(0);
  pointer-events: auto;
}
.sitemap-toggle.is-open .sitemap-toggle-label {
  opacity: 1; transform: translateY(0);
}
.sitemap-toggle--in-panel .sitemap-toggle-icon { display: none; }
.sitemap-toggle--in-panel .sitemap-toggle-close {
  opacity: 1; transform: scale(1) rotate(0); pointer-events: auto;
}

.sitemap-backdrop {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(6, 20, 40, .35);
  opacity: 0;
  transition: opacity .28s var(--ease);
  pointer-events: none;
}
body.sitemap-open .sitemap-backdrop {
  opacity: 1; pointer-events: auto;
}
.mobile-nav-panel {
  position: fixed;
  z-index: 120;
  background: #fff;
  color: var(--text);
  display: flex; flex-direction: column;
  transform: translate3d(0, 100%, 0);
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform .48s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear .48s;
  overflow: hidden;
}
body.sitemap-open .mobile-nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
  transition:
    transform .48s cubic-bezier(.22, .61, .36, 1),
    visibility 0s linear 0s;
}
.mobile-nav-panel[hidden] { display: none; }
.sitemap-backdrop[hidden] { display: none; }
body.sitemap-open .sitemap-backdrop {
  z-index: 110;
}
.mobile-nav-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 1rem; padding: 1rem var(--gutter) .5rem;
}
.mobile-nav-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 0;
  margin: 0 var(--gutter) .75rem;
  padding: 0;
  border-radius: 12px;
  background: var(--blue3);
  color: #fff;
  flex-shrink: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(6, 20, 34, .18);
}
.mobile-nav-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  width: 100%;
  height: 3.35rem;
  min-height: 3.35rem;
  background: var(--blue3);
  overflow: hidden;
  border-radius: inherit;
}
.mobile-nav-bar-inner::before {
  content: "";
  flex: 1 1 auto;
  order: 2;
  align-self: stretch;
  min-width: 0;
  background: var(--blue2);
  pointer-events: none;
}
.mobile-nav-bar .sitemap-toggle--in-panel,
.mobile-nav-bar .nav-burger.sitemap-toggle--in-panel {
  flex: 0 0 3.25rem;
  order: 1;
  width: 3.25rem;
  height: 100%;
  min-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}
.mobile-nav-bar .sitemap-toggle--in-panel:hover {
  background: #2280d4;
}
.mobile-nav-bar-actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 0;
  flex: 0 0 auto;
  order: 3;
  height: 100%;
  margin-left: 0;
  min-width: 0;
  background: transparent;
  padding-right: 0;
}
.mobile-nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: 0 .75rem;
  min-height: 3.35rem;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  background: transparent;
  border-radius: 0;
}
.mobile-nav-cta:hover {
  background: rgba(255, 255, 255, .12);
}
.mobile-nav-bar .nav-action-btn--panel {
  width: 3.1rem;
  min-height: 3.35rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  display: inline-grid;
  place-items: center;
  cursor: pointer;
}
.mobile-nav-bar .nav-action-btn--panel:hover {
  background: rgba(255, 255, 255, .12);
}
.mobile-nav-body {
  flex: 1; overflow: auto;
  padding: 0 var(--gutter) 1rem;
  position: relative;
}
.mega-menu-grid,
.mega-menu-watermark { display: none; }
.mobile-nav-list {
  list-style: none; margin: 0; padding: 0;
}
.mobile-nav-item {
  border-bottom: 1px solid var(--line);
}
.mobile-nav-link,
.mobile-nav-parent {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; padding: 1rem 0;
  border: 0; background: transparent; font: inherit;
  font-size: .95rem; font-weight: 700; color: var(--blue1);
  cursor: pointer; text-align: left;
}
.mobile-nav-sub {
  list-style: none; margin: 0; padding: 0 0 .65rem 1rem;
}
.mobile-nav-sub a {
  display: block; padding: .45rem 0; color: var(--black2); font-weight: 600;
}
.mobile-nav-contacts {
  padding: 1rem var(--gutter) 1.35rem;
  border-top: 1px solid var(--line);
  display: grid; gap: .85rem;
  background: var(--black8);
}
/* DSBA: icon left of text block, tops flush (not vertically centered) */
.mobile-contact {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: .75rem;
  font-size: .88rem;
  color: var(--black2);
}
.mobile-contact-ico {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  display: block;
}
.mobile-contact-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
  padding-top: .15rem; /* optical: Unicon glyph vs label cap-height */
}
.mobile-contact-text strong {
  display: block;
  color: var(--blue1);
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}
.mobile-contact-text a,
.mobile-contact-text span {
  display: block;
  color: var(--blue2);
  font-weight: 700;
  font-size: .95rem;
  line-height: 1.35;
}
.mobile-contact-text span {
  color: var(--black2);
  font-weight: 600;
}

.sitemap-inner {
  padding: 1.5rem 0 2rem;
  text-align: left;
}
.sitemap-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
}
.sitemap-grid {
  display: grid;
  gap: 1.5rem 2rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  justify-content: start;
  align-items: start;
  text-align: left;
  width: 100%;
}
.sitemap-col {
  text-align: left;
  justify-self: stretch;
  width: 100%;
  max-width: none;
}
.sitemap-heading {
  margin: 0 0 .85rem;
  font-size: .95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .03em;
  text-align: left;
  color: #fff;
}
.sitemap-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: .55rem;
  text-align: left;
}
.sitemap-list a {
  display: flex; align-items: flex-start; gap: .55rem;
  color: #fff;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
  text-transform: none;
  text-align: left;
  justify-content: flex-start;
  transition: opacity .18s var(--ease);
}
.sitemap-list a::before {
  content: "";
  flex: 0 0 auto;
  width: 0; height: 0;
  margin-top: .4rem;
  border-style: solid;
  border-width: 5px 0 5px 7px;
  border-color: transparent transparent transparent #fff;
  opacity: .95;
}
.sitemap-list a:hover {
  opacity: .88;
}

.section { padding: 2rem 0 2.4rem; }
.section-muted { background: #fff; }
.section-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.25rem; margin-bottom: 0; padding-bottom: 1.5rem; flex-wrap: wrap;
}
.section-title {
  margin: 0; color: #043b87; text-transform: uppercase;
  font-size: 1.5rem; font-weight: 700; letter-spacing: 0; line-height: 1.55;
}
.social-inline { display: flex; align-items: center; gap: 1rem; }
.social-chip {
  width: 32px; height: 32px; border-radius: 50%; border: 0;
  display: grid; place-items: center;
  background: #bcbcbc;
  transition: background .2s var(--ease);
}
.social-chip:hover { background: #043b87; transform: none; box-shadow: none; }
.social-chip img {
  width: 18px; height: 18px;
  filter: brightness(0) invert(1);
}

.news-board-head {
  margin-bottom: 1.15rem;
  padding-bottom: 0;
  align-items: baseline;
}
.news-board-head .section-title {
  color: #0b1f3a;
  text-transform: none;
  font-size: clamp(1.65rem, calc(2.1vw * var(--fz, 1)), 2rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.news-board-all {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  color: var(--blue2);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
  transition: opacity .18s var(--ease);
}
.news-board-all:hover { opacity: .8; }
.news-board-all span {
  font-size: 1.2rem;
  line-height: 1;
  font-weight: 500;
  transform: translateY(-1px);
}

.news-board {
  display: grid;
  gap: 1.35rem;
  align-items: stretch;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  min-height: 0;
}
.news-tile {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  min-height: 10rem;
  aspect-ratio: 16 / 10;
  background: #0a1628;
  color: #fff;
  text-decoration: none;
  box-shadow: none;
  filter: none;
}
.news-tile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.news-tile:hover .news-tile-img {
  transform: scale(1.04);
}

/* Right summary list (marifat-style date + title) */
.news-side {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  justify-content: flex-start;
  padding: 0;
}
.news-side-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .45rem 0;
  min-height: 3.85rem;
  border: 0;
  text-decoration: none;
  transition: opacity .2s var(--ease);
}
.news-side-item:hover { opacity: .82; }
.news-side-date {
  flex: 0 0 auto;
  width: 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--blue2);
  line-height: 1.1;
  text-transform: uppercase;
}
.news-side-date strong {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--blue2);
}
.news-side-date span {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  color: var(--blue2);
}
.news-side-title {
  flex: 1;
  min-width: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
  color: #111;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-tile-badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .48rem 1.05rem;
  border-radius: 8px;
  background: var(--blue2);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.2;
  max-width: calc(100% - 2rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: none;
}
.news-tile-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 10, 22, .06) 30%, rgba(4, 10, 22, .5) 58%, rgba(4, 10, 22, .9) 100%);
  pointer-events: none;
}
.news-tile-content {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  padding: 1.15rem 1.1rem 1.05rem;
}
.news-tile-title {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}
.news-tile-meta {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.news-meta-item {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: .45rem;
  white-space: nowrap;
  color: #5a6575;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}
.news-meta-item .ui-ico {
  flex: 0 0 auto;
  display: block;
  width: 1.2rem;
  height: 1.2rem;
  color: #7DBDFF;
}
.news-tile-meta .news-meta-item {
  color: rgba(255, 255, 255, .96);
  font-size: 1rem;
  font-weight: 700;
}
.news-tile-meta .news-meta-item .ui-ico {
  color: #7DBDFF;
}

.section-more { display: flex; justify-content: center; margin-top: 1.25rem; }
.more-link {
  color: #043b87; font-weight: 700; font-size: .95rem;
  display: inline-flex; align-items: center; gap: .4rem;
  transition: transform .2s var(--ease);
}
.more-link:hover { transform: translateX(3px); }

.sitemap-toggle-mobile { display: none; }

/* BSA bottom panels */
.activity-grid { display: grid; gap: .85rem; margin-top: 1rem; }
.panel-card,
.panel-row {
  display: flex; align-items: center; justify-content: space-between; gap: .9rem;
  background: #fff;
  border: 1px solid #e1e1e1;
  border-left: 4px solid var(--primary);
  border-radius: 0;
  padding: 1.05rem 1.1rem;
  min-height: 4.5rem;
  color: var(--primary);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.panel-card-text,
.panel-row > span {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.35;
}
.panel-card:hover,
.panel-row:hover {
  background: #fff;
  border-color: var(--primary);
  border-left-color: var(--primary);
}
.panel-card-go {
  width: 1.85rem; height: 1.85rem; border-radius: 50%;
  border: 1px solid #d5dbe5; position: relative; flex: 0 0 auto;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.panel-card:hover .panel-card-go,
.panel-row:hover .panel-card-go {
  background: var(--primary); border-color: var(--primary);
}
.panel-card-go::before {
  content: ""; position: absolute; inset: 0; margin: auto;
  width: 6px; height: 6px;
  border-right: 1.8px solid #8a97ab; border-top: 1.8px solid #8a97ab;
  transform: rotate(45deg);
  transition: border-color .2s var(--ease);
}
.panel-card:hover .panel-card-go::before,
.panel-row:hover .panel-card-go::before { border-color: #fff; }

.section-tri { padding-top: 1.25rem; padding-bottom: 1.6rem; }
.section-tri-soft { background: #fff; border-top: 1px solid var(--line); }
.tri-grid { display: grid; gap: 1.75rem; }
.tri-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: .75rem; margin-bottom: .85rem;
  padding-bottom: .65rem; border-bottom: 1px solid var(--line);
}
.tri-title {
  margin: 0; font-size: .95rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .03em; color: var(--primary);
}
.tri-more {
  flex: 0 0 auto; font-size: .78rem; font-weight: 600; color: var(--text-soft);
  white-space: nowrap;
}
.tri-more:hover { color: var(--primary); }
.panel-stack { display: grid; gap: .55rem; }

.event-row {
  display: grid; grid-template-columns: 3.4rem 1fr; gap: .95rem;
  align-items: start; padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.event-row:last-child { border-bottom: 0; }
.event-date {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  color: var(--primary); line-height: 1.05; padding-right: .75rem;
  border-right: 1px solid var(--line);
}
.event-date strong { font-size: 1.55rem; font-weight: 800; }
.event-date span { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.event-text {
  font-size: .92rem; font-weight: 600; line-height: 1.4; color: #1a2f4a;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

.empty-box {
  display: grid; place-items: center; gap: .55rem;
  min-height: 11rem; color: var(--text-soft); text-align: center;
  border: 1px dashed #dde3eb; border-radius: 0; background: #fff;
}
.empty-box p { margin: 0; font-size: .9rem; }
.empty-icon {
  width: 2.6rem; height: 2.2rem; border: 2px solid #c9d2de; border-radius: 0;
  position: relative; opacity: .7;
}
.empty-icon::after {
  content: ""; position: absolute; left: 50%; top: 55%;
  width: 1.1rem; height: 2px; background: #c9d2de;
  transform: translate(-50%, -50%);
}

.doc-stack { display: grid; }
.doc-row {
  display: grid; grid-template-columns: 1.6rem 1fr; gap: .75rem;
  align-items: start; padding: .95rem 0;
  border-bottom: 1px solid var(--line);
}
.doc-row:last-child { border-bottom: 0; }
.doc-ico {
  width: 1.35rem; height: 1.55rem; margin-top: .15rem;
  border: 1.5px solid #b8c3d4; border-radius: 2px; position: relative;
}
.doc-ico::before {
  content: ""; position: absolute; left: 3px; right: 3px; top: 5px;
  height: 1.5px; background: #b8c3d4; box-shadow: 0 4px 0 #b8c3d4, 0 8px 0 #b8c3d4;
}
.doc-body { display: grid; gap: .28rem; min-width: 0; }
.doc-sub { font-size: .72rem; color: var(--text-soft); line-height: 1.3; }
.doc-title {
  font-size: .9rem; font-weight: 700; color: #12263f; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.doc-date { font-size: .75rem; color: var(--text-soft); }

.poll-box { padding-top: .15rem; }
.poll-q { margin: 0 0 .9rem; font-size: .92rem; font-weight: 600; color: #12263f; line-height: 1.4; }
.poll-opt {
  display: flex; align-items: center; gap: .55rem;
  margin: 0 0 .65rem; font-size: .9rem; color: #1a2f4a; cursor: default;
}
.poll-opt input { accent-color: var(--primary); width: 1rem; height: 1rem; }
.poll-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1rem; }
.btn-primary,
.btn-outline {
  border-radius: 0; padding: .7rem 1.25rem; font-size: .88rem; font-weight: 700;
  cursor: pointer; opacity: 1; display: inline-flex; align-items: center; gap: .35rem;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary {
  background: var(--blue2); color: #fff; border: 1px solid var(--blue2);
}
.btn-primary:hover { background: var(--blue1); border-color: var(--blue1); }
.btn-outline {
  background: transparent; color: var(--blue2); border: 1px solid var(--blue2);
}
.btn-outline:hover { background: var(--blue2); color: #fff; }

.home-hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  color: #fff;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background-color: #031a3d;
  background-image: var(--hero-bg), linear-gradient(135deg, #0a2f5c 0%, #004e9e 45%, #1b70c7 100%);
  background-size: cover; background-position: center bottom;
  background-repeat: no-repeat;
}
.home-hero-video {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  pointer-events: none;
}
.home-hero-overlay {
  position: absolute; inset: 0; z-index: 2;
  /* Neutral darken only — no blue cast over video (DSBA-style) */
  background: var(--black1);
  opacity: .4;
  pointer-events: none;
}
.home-hero-inner {
  position: relative; z-index: 3;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: clamp(6.5rem, 11vw, 10rem) var(--gutter) 0;
  text-align: center;
}
.home-hero-brand {
  max-width: min(980px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.home-hero-logo {
  width: auto;
  height: clamp(150px, 16.5vw, 190px);
  max-width: min(320px, 70vw);
  object-fit: contain;
  display: block;
  /* logo.png ~24% transparent pad under emblem */
  margin: 0 0 calc(clamp(150px, 16.5vw, 190px) * -0.24);
}
.home-hero-search {
  display: inline-flex; align-items: center; gap: .55rem;
  min-width: min(420px, 100%);
  padding: .85rem 1.1rem;
  border: 0; border-radius: 999px;
  background: #fff; color: var(--blue1);
  font-size: .95rem; font-weight: 700; cursor: pointer;
  box-shadow: 0 12px 32px rgba(0,0,0,.18);
}
.home-hero-title {
  margin: 0;
  max-width: min(920px, 92vw);
  font-size: clamp(1.75rem, calc(3.35vw * var(--fz, 1)), 3.25rem);
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.12;
  text-wrap: balance;
  text-shadow: 0 6px 24px rgba(0,0,0,.4);
}
.home-hero-cards {
  position: relative; z-index: 3;
  flex: 0 0 auto;
  /* 4×300 + 3×20 gaps — pack like DSBA, not stretched grid squares */
  width: min(100% - (var(--gutter) * 2), 1260px);
  margin: 0 auto;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: 1.25rem;
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.page-home #main { padding-top: 0; }
.page-home .section-news {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
  background: transparent;
}
/* DSBA: section.news::after → news-bg.png wallpaper only behind news */
.page-home .section-news::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/home/news/news-bg.png") no-repeat center center / cover;
}
.page-home .section-news > .container {
  position: relative;
  z-index: 1;
}

.president-quote {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  min-height: 28rem;
  background: #061422;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0;
}
.president-quote-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
}
.president-quote-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.president-quote-bg--left { left: 0; }
.president-quote-bg--left::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(6, 20, 34, .72) 0%, #061422 100%);
}
.president-quote-bg--right { right: 0; }
.president-quote-bg--right::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #061422 0%, rgba(6, 20, 34, .88) 14%, rgba(6, 20, 34, 0) 52%);
}
.president-quote-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: clamp(2.5rem, 5vw, 5rem);
  padding-inline: clamp(1rem, 4vw, 5rem);
  max-width: min(100% - (var(--gutter) * 2), var(--container));
}
.president-quote-mark {
  width: 3.4rem;
  height: auto;
  margin-bottom: .35rem;
}
.president-quote-text {
  margin: 0;
  max-width: min(46rem, 62%);
  color: #fff;
  font-size: clamp(1.15rem, calc(1.55vw * var(--fz, 1)), 1.55rem);
  font-weight: 700;
  line-height: 1.45;
}
.president-quote-author {
  margin: .55rem 0 0;
  color: #fff;
  font-size: clamp(1.05rem, calc(1.2vw * var(--fz, 1)), 1.25rem);
  font-weight: 800;
}
.president-quote-job {
  margin: .15rem 0 0;
  color: rgba(255, 255, 255, .88);
  font-size: .95rem;
  font-weight: 500;
}

/* Home press: editions + interactive services (DSBA .press) */
.section-press {
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  background: #fff;
}
.press-layout { display: flex; flex-direction: column; gap: 1.15rem; }
.press-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}
.press-title { margin: 0; }
.press-title--editions { flex: 0 0 auto; width: min(100%, 26%); }
.press-title--services { flex: 1 1 auto; }
.press-title--mobile { display: none; }
.press-body {
  display: grid;
  grid-template-columns: minmax(15rem, 26%) minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
}
.press-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  width: auto;
  min-height: 100%;
  height: 100%;
  padding: 1rem;
  border-radius: 12px;
  overflow: hidden;
  background: var(--black1);
  color: #fff;
  box-sizing: border-box;
}
.press-tile-bg {
  position: absolute;
  z-index: 1;
  top: 0; left: 0; right: 0;
  height: 10.8rem;
  overflow: hidden;
}
.press-tile-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(6, 20, 34, 0) 20%, #061422 100%);
}
.press-tile-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.press-tile-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  flex: 1 1 auto;
  min-height: 100%;
  height: 100%;
}
.press-book {
  display: block;
  height: 8.75rem;
  width: auto;
  max-width: 6.5rem;
  object-fit: contain;
  object-position: center;
  align-self: flex-start;
  flex: 0 0 auto;
}
.press-lead {
  margin: 0;
  font-size: clamp(.95rem, calc(1.05vw * var(--fz, 1)), 1.1rem);
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  flex: 0 0 auto;
}
.press-issues {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  width: 100%;
  flex: 0 0 auto;
}
.press-issue {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .75rem;
  border-radius: 12px;
  background: var(--blue1);
}
.press-issue-ico {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}
.press-issue-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: .2rem;
  min-width: 0;
}
.press-issue-title {
  margin: 0;
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.press-issue-dl {
  display: inline-flex;
  align-items: flex-end;
  gap: .3rem;
  color: var(--blue4);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
}
.press-issue-dl span { text-decoration: underline; }
.press-issue-dl:hover { color: #fff; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
  min-height: 100%;
  align-content: stretch;
  align-self: stretch;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 10.25rem;
  height: 100%;
  padding: 1.25rem .85rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--black6);
  background: #fff;
  color: var(--black1);
  text-align: center;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(6, 20, 34, .06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover {
  transform: translateX(6px);
  box-shadow: 0 8px 22px rgba(6, 20, 34, .09);
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 45%;
  width: 100%;
  height: 100%;
  background: var(--press-mark, none) no-repeat center / 68% auto;
  opacity: .18;
  filter: none;
  pointer-events: none;
  transition: right .3s ease, transform .3s ease;
}
.service-card-ico {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 0;
  background: transparent;
  border: 0;
}
.service-card-ico--lottie {
  width: 5.25rem;
  height: 5.25rem;
  flex: 0 0 auto;
}
.service-card-ico--lottie svg {
  display: block;
  width: 100% !important;
  height: 100% !important;
}
.service-card-ico--lg {
  width: 6.35rem;
  height: 6.35rem;
}
.service-card-ico--lg.service-card-ico--lottie {
  width: 6.35rem;
  height: 6.35rem;
}
.service-card-title {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--black1);
}
.service-card-line {
  position: relative;
  z-index: 1;
  display: block;
  height: 3px;
  width: 10rem;
  max-width: 80%;
  background: linear-gradient(90deg, rgba(27, 112, 199, 0) 0%, rgba(27, 112, 199, .2) 50%, rgba(27, 112, 199, 0) 100%);
  transition: width .3s ease, background .3s ease;
}
.service-card:hover::after {
  right: 50%;
  transform: translateX(50%);
}
.service-card:hover .service-card-line {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(90deg, rgba(27, 112, 199, 0) 0%, rgba(27, 112, 199, .4) 50%, rgba(27, 112, 199, 0) 100%);
}

.home-banner {
  padding: clamp(1.1rem, 2vw, 1.65rem) 0 clamp(1.25rem, 2.2vw, 1.85rem);
  margin: 0;
  width: 100%;
  background: #fff;
}
.home-banner-inner {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}
.home-banner-link {
  display: block;
  line-height: 0;
  width: 100%;
}
.home-banner-img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  border-radius: 0;
  box-shadow: none;
}

.home-hero-card {
  display: flex; flex-direction: column; gap: 1rem;
  justify-content: center; align-items: center; text-align: center;
  box-sizing: border-box;
  flex: 1 1 0;
  width: 100%;
  max-width: 300px;
  min-width: 0;
  margin-inline: 0;
  min-height: 9.5rem;
  height: auto;
  padding: 1.25rem;
  border-radius: 12px;
  background: var(--blue1);
  border: 0;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(6, 20, 34, .28);
  transition: transform .3s ease, box-shadow .3s ease;
}
.home-hero-card::after {
  content: "";
  position: absolute; bottom: -10px; right: 45%;
  width: 100%; height: 100%;
  background: var(--hero-watermark) no-repeat center;
  background-size: 100px 100px;
  opacity: .18;
  pointer-events: none;
  z-index: 0;
  transition: right .3s var(--ease), transform .3s var(--ease);
}
.home-hero-card:hover {
  transform: translateX(6px);
  box-shadow: 0 14px 34px rgba(6, 20, 34, .34);
}
.home-hero-card:hover::after {
  right: 50%;
  transform: translateX(50%);
}
.home-hero-card-icon {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: center;
  color: var(--blue4);
  flex-shrink: 0;
}
.home-hero-card-icon svg,
.home-hero-card-icon .ui-ico {
  width: 44px; height: 44px; display: block;
}
.home-hero-card-title {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 100%;
  margin: 0;
  font-size: clamp(1rem, calc(1.05vw * var(--fz, 1)), 1.25rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-hero-card-line {
  position: relative; z-index: 1;
  display: block;
  height: 3px;
  width: 160px;
  max-width: 100%;
  border: 0;
  background: linear-gradient(90deg, rgba(27, 112, 199, 0) 0%, rgba(27, 112, 199, .6) 50%, rgba(27, 112, 199, 0) 100%);
  background-size: contain;
  transition: width .3s ease;
  flex-shrink: 0;
}
.home-hero-card:hover .home-hero-card-line {
  width: 100%;
}

.section-hero {
  background: var(--gradient-blue-white);
  border-bottom: 1px solid var(--line);
  padding: 2.75rem 0 2.5rem;
}
.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: stretch;
}
.hero-copy { max-width: 46rem; }
.hero-brand {
  margin: 0 0 .85rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--blue2);
}
.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, calc(2.6vw * var(--fz, 1)), 2.35rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--blue1);
  letter-spacing: -.01em;
}
.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  color: var(--black2);
  max-width: 38rem;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.35rem 1.4rem 1.25rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.hero-quote blockquote {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--black2);
  font-weight: 500;
}
.hero-quote footer { display: grid; gap: .15rem; }
.hero-quote strong { color: var(--blue1); font-size: .92rem; }
.hero-quote span { color: var(--black3); font-size: .82rem; }

.section-cta {
  background: var(--blue5);
  border-top: 1px solid var(--line);
}
.cta-box {
  display: grid;
  gap: 1.25rem;
  align-items: end;
}
.cta-lead {
  margin: .35rem 0 .45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue1);
}
.cta-body {
  margin: 0;
  color: var(--black2);
  max-width: 40rem;
  line-height: 1.55;
}

@media (min-width: 961px) {
  .hero-grid { grid-template-columns: 1.35fr .85fr; gap: 2.5rem; }
  .cta-box { grid-template-columns: 1fr auto; }
}

.section-partners-links {
  position: relative;
  overflow: hidden;
  padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
  background: #fff;
}
.section-partners-links::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url("../img/home/news/news-bg.png") no-repeat center center / cover;
  opacity: .85;
}
.section-partners-links > .container {
  position: relative;
  z-index: 1;
}
.section-partners-links .section-title {
  margin: 0 0 1.15rem;
}
.partners-links-wrap {
  padding-top: 0;
}
.partners-links-carousel {
  overflow: hidden;
  margin: 0 -0.25rem;
  padding-bottom: 1.25rem;
}
.partners-links-track {
  display: flex;
  gap: 16px;
  will-change: transform;
  transition: transform .55s cubic-bezier(.22, .61, .36, 1);
}
.partner-link-card {
  flex: 0 0 calc((100% - 64px) / 5);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(6, 20, 34, .06);
  min-width: 0;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.partner-link-card:hover {
  opacity: .92;
  transform: translateY(-2px);
}
.partner-link-gerb {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}
.partner-link-title {
  margin: 0 0 4px;
  color: var(--black1, #061422);
  font-size: clamp(.92rem, calc(1vw * var(--fz, 1)), 1.05rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -.01em;
  min-height: 3.9em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.partner-link-pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: flex-start;
  margin-top: auto;
  padding: .35rem .7rem .35rem .55rem;
  border-radius: 999px;
  background: var(--blue2);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.partner-link-pill .ui-ico {
  flex: 0 0 auto;
}

.section-social-cta {
  position: relative;
  background: #fff;
  margin-top: 0;
  padding-block: clamp(2rem, 4vw, 3.25rem);
  overflow: hidden;
}
.social-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.2fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}
.social-cta-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.1rem;
  min-width: 0;
}
.social-phones {
  position: relative;
  width: 100%;
  max-width: 32rem;
  height: clamp(16rem, 26vw, 21rem);
}
.social-phone {
  position: absolute;
  bottom: 0;
  display: block;
  line-height: 0;
}
.social-phone img {
  width: auto;
  height: clamp(14rem, 22vw, 19rem);
  max-width: none;
  display: block;
  filter: drop-shadow(0 14px 24px rgba(6, 20, 34, .16));
  transition: transform .3s var(--ease);
}
.social-phone--left {
  left: 0;
  transform: rotate(-14deg);
  z-index: 1;
}
.social-phone--mid {
  left: 28%;
  transform: rotate(-2deg);
  z-index: 3;
}
.social-phone--right {
  left: 54%;
  transform: rotate(12deg);
  z-index: 2;
}
.social-phone:hover {
  z-index: 4;
}
.social-phone:hover img {
  transform: translateY(-8px);
}
.social-cta-title {
  margin: 0;
  color: var(--blue1);
  font-size: clamp(1.15rem, calc(1.7vw * var(--fz, 1)), 1.55rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -.01em;
  max-width: 34rem;
  background: none;
}
.social-cta-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
}
.social-cta-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .55rem .9rem;
  border-radius: 8px;
  background: var(--blue2);
  color: #fff;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 600;
  line-height: 1.2;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.social-cta-item:hover {
  opacity: .9;
  transform: translateY(-1px);
}
.social-cta-item img {
  width: 18px;
  height: 18px;
  display: block;
}
.social-cta-quote {
  position: relative;
  overflow: visible;
  border-radius: 0;
  min-height: 100%;
  background: transparent;
  display: flex;
  align-items: stretch;
  box-shadow: none;
}
.social-cta-quote-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1rem;
  padding: clamp(0.5rem, 1.5vw, 1rem) 0;
  background: transparent;
  width: 100%;
}
.social-cta-quote-mark {
  width: 3.75rem;
  height: auto;
}
.social-cta-quote-text {
  margin: 0;
  color: var(--blue1);
  font-size: clamp(1.28rem, calc(1.85vw * var(--fz, 1)), 1.72rem);
  font-weight: 700;
  line-height: 1.45;
  max-width: none;
}
.social-cta-quote-author {
  margin: .5rem 0 0;
  color: var(--blue2);
  font-size: 1.12rem;
  font-weight: 800;
}
.social-cta-quote-job {
  margin: 0;
  color: rgba(6, 20, 34, .72);
  font-size: 1rem;
  font-weight: 500;
}
@media (max-width: 1024px) {
  .social-cta-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  color: #fff;
  background-color: #051321;
  background-image: var(--footer-bg);
  background-size: cover;
  background-position: center 35%;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(5, 19, 33, .9);
  pointer-events: none;
}
.site-footer-inner {
  position: relative;
  z-index: 3;
  padding-inline: 16px;
}
.footer-rule {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin: 0;
  width: 100%;
}
.footer-top {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 2.5rem 0;
}
.footer-top-brand {
  flex: 0 1 auto;
  max-width: 18.5rem;
  min-width: 0;
}
.footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  color: #fff;
  text-decoration: none;
  max-width: 100%;
}
.footer-brand-logo {
  flex: 0 0 auto;
  width: auto;
  height: 5.5rem;
  max-width: 5.5rem;
  object-fit: contain;
  display: block;
}
.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  min-width: 0;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(.7rem, calc(.8vw * var(--fz, 1)), .88rem);
  line-height: 1.18;
  letter-spacing: -.01em;
  color: #fff;
}
.footer-brand-line {
  display: block;
}
.footer-brand-text--single {
  display: block;
}
.footer-top-item {
  flex: 1 1 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  color: #fff;
  text-decoration: none;
  text-align: center;
  min-width: 0;
  padding-inline: .15rem;
}
.footer-top-item:hover { opacity: .88; }
.footer-top-label {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  font-size: clamp(.82rem, calc(.95vw * var(--fz, 1)), .95rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--blue4);
  white-space: nowrap;
}
.footer-top-label .ui-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  color: var(--blue4);
}
.footer-top-value {
  margin: 0;
  font-size: clamp(.92rem, calc(1.02vw * var(--fz, 1)), 1.1rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: #fff;
}
.footer-top-qr {
  flex: 0 0 auto;
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  padding: 4px;
}
@media (max-width: 1279px) {
  .footer-top {
    flex-wrap: wrap;
  }
  .footer-top-brand {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .footer-top-item {
    flex: 1 1 28%;
  }
}
.footer-top-qr img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer-middle {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: .75rem 1rem;
  padding: 2.5rem 0;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: #fff;
  flex: 1 1 0;
  width: auto;
  min-width: 0;
}
@media (max-width: 1279px) {
  .footer-middle { flex-wrap: wrap; }
  .footer-col {
    flex: 1 1 calc(33.333% - .75rem);
    width: calc(33.333% - .75rem);
  }
}
@media (max-width: 1024px) {
  .footer-col {
    flex: 1 1 calc(50% - .5rem);
    width: calc(50% - .5rem);
  }
  .footer-top-qr { display: none; }
}
.footer-col--alt {
  gap: 1rem;
  flex: 1.35 1 0;
  min-width: 13.5rem;
}
.footer-alt-title,
.footer-alt-hint {
  margin: 0;
  color: #fff;
  opacity: .6;
  font-size: clamp(.82rem, calc(.9vw * var(--fz, 1)), .95rem);
  line-height: 1.4;
  font-weight: 500;
}
.footer-col-title {
  margin: 0 0 .25rem;
  color: #fff;
  opacity: 1;
  font-size: clamp(.9rem, calc(1.05vw * var(--fz, 1)), 1.15rem);
  font-weight: 700;
  line-height: 1.3;
}
.footer-col-link {
  color: #fff;
  opacity: .6;
  text-decoration: none;
  font-size: clamp(.86rem, calc(.95vw * var(--fz, 1)), 1.05rem);
  line-height: 1.4;
  font-weight: 500;
  transition: opacity .2s var(--ease);
}
.footer-col-link:hover { opacity: 1; }
.footer-socials {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: max-content;
  max-width: 100%;
}
.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 8px;
  background: hsla(0, 0%, 100%, .1);
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.footer-socials a:hover {
  background: hsla(0, 0%, 100%, .18);
  transform: translateY(-1px);
}
.footer-socials img {
  width: 22px;
  height: 22px;
  display: block;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  padding: 1.5rem 0;
}
.footer-rights {
  margin: 0;
  color: #fff;
  opacity: .8;
  font-size: clamp(.86rem, calc(.95vw * var(--fz, 1)), 1rem);
  line-height: 1.4;
  white-space: nowrap;
}
.footer-developer {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #fff;
  text-decoration: none;
  opacity: .9;
  transition: opacity .2s var(--ease);
}
.footer-developer:hover { opacity: 1; }
.footer-developer-label {
  font-size: clamp(.82rem, calc(.9vw * var(--fz, 1)), .95rem);
  opacity: .8;
  white-space: nowrap;
}
.footer-developer-logo {
  height: 24px;
  width: auto;
  display: block;
}
.footer-developer-name {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.02em;
}
.footer-stats {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1.25rem 0 1.75rem;
  border-top: 1px solid hsla(0, 0%, 100%, .12);
  color: #fff;
  font-size: clamp(.86rem, calc(.95vw * var(--fz, 1)), 1rem);
  line-height: 1.4;
  text-align: center;
}
.footer-stats p { margin: 0; opacity: .85; }
.footer-stats-updated { display: inline-flex; align-items: center; gap: .5rem; }
.footer-stats-updated .ui-ico { color: #fff; flex: 0 0 auto; }
.footer-stats time,
.footer-stats-counts span { white-space: nowrap; }
.footer-stats-counts { display: flex; flex-wrap: wrap; justify-content: center; }
.footer-stats-counts span + span::before {
  content: "|";
  margin: 0 .6rem;
  opacity: .6;
}

.empty { color: var(--text-soft); padding: 1rem; }

/* ticker: full-bleed blue bar like bsa */
.ticker {
  display: block;
  width: 100%;
  background: rgba(1, 61, 140, .9);
  color: #fff;
  overflow: hidden;
  border: 0;
  padding: 5px 0;
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  padding: 0;
  font-size: .85rem;
  animation: ticker-x 45s linear infinite;
  will-change: transform;
}
.ticker-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}
.ticker-group span {
  display: inline-block;
  white-space: nowrap;
  padding: 0 3rem;
  opacity: .95;
}
@keyframes ticker-x {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker:hover .ticker-track { animation-play-state: paused; }

/* search sheet — slides up from bottom */
.search-sheet {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: block;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear .42s;
}
.search-sheet.is-open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.search-sheet[hidden] { display: none; }
.search-sheet.is-open[hidden] { display: block; }
.search-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 40, .42);
  opacity: 0;
  transition: opacity .36s var(--ease);
}
.search-sheet.is-open .search-sheet-backdrop { opacity: 1; }
.search-sheet-panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  max-height: min(88vh, 760px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, .18);
  transform: translate3d(0, 100%, 0);
  transition: transform .48s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
}
.search-sheet.is-open .search-sheet-panel {
  transform: translate3d(0, 0, 0);
}
.search-sheet-handle {
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: var(--black6);
  margin: .65rem auto .25rem;
  flex-shrink: 0;
}
.search-sheet-head {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem 1rem 0.85rem;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.search-field {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex: 1;
  min-width: 0;
  color: var(--blue2);
}
.search-field input {
  flex: 1;
  border: 0;
  outline: 0;
  font: inherit;
  font-size: clamp(1.05rem, calc(1.3vw * var(--fz, 1)), 1.25rem);
  font-weight: 500;
  color: var(--black1);
  background: transparent;
  min-width: 0;
}
.search-field input::placeholder { color: var(--black4); }
.search-close {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 8px;
  background: var(--blue2);
  color: #fff;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .18s var(--ease);
}
.search-close:hover {
  background: var(--blue3);
  color: #fff;
}
.search-close .ui-ico {
  color: #fff;
}
.search-hint {
  margin: 0;
  padding: .55rem 1rem 0;
  font-size: .82rem;
  color: var(--black4);
  flex-shrink: 0;
}
.search-results {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0;
}
/* Тонкий нейтральный ползунок; Chromium - только ::-webkit-scrollbar (без стрелок) */
@supports (-moz-appearance: none) {
  .search-results, .news-side { scrollbar-width: thin; scrollbar-color: #c5cad3 transparent; }
}
.search-results::-webkit-scrollbar,
.news-side::-webkit-scrollbar { width: 5px; }
.search-results::-webkit-scrollbar-button,
.news-side::-webkit-scrollbar-button { display: none; height: 0; }
.search-results::-webkit-scrollbar-track,
.news-side::-webkit-scrollbar-track { background: transparent; }
.search-results::-webkit-scrollbar-thumb,
.news-side::-webkit-scrollbar-thumb { background: #c5cad3; border-radius: 999px; }
.search-results::-webkit-scrollbar-thumb:hover,
.news-side::-webkit-scrollbar-thumb:hover { background: #a8b0bc; }
.search-hit {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  column-gap: 1.1rem;
  align-items: center;
  padding: 1.05rem 1.25rem;
  color: var(--black1);
  border-bottom: 1px solid #eef1f5;
  transition: background .18s var(--ease);
  text-decoration: none;
}
.search-hit:last-child {
  border-bottom: 0;
}
.search-hit:hover,
.search-hit.is-active,
.search-hit:focus-visible {
  background: rgba(0, 78, 158, .05);
  outline: none;
}
.search-hit-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  margin: 0;
  padding: 0;
  color: var(--blue2);
  line-height: 1;
  align-self: stretch;
  text-align: center;
  width: 100%;
}
.search-hit-day {
  font-size: clamp(1.65rem, calc(1.8vw * var(--fz, 1)), 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--blue2);
  line-height: 1;
  text-align: center;
  width: 100%;
}
.search-hit-month {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue2);
  line-height: 1;
  text-align: center;
  width: 100%;
}
.search-hit-body {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  min-width: 0;
  padding: 0;
  margin: 0;
}
.search-hit-title {
  font-size: clamp(1.05rem, calc(1.15vw * var(--fz, 1)), 1.15rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--black1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-hit-excerpt {
  font-size: clamp(.92rem, calc(1vw * var(--fz, 1)), 1rem);
  line-height: 1.35;
  color: var(--black3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}
.search-hit mark {
  background: rgba(125, 189, 255, .35);
  color: inherit;
  border-radius: 2px;
  padding: 0 .05em;
}
.search-empty {
  padding: 1.5rem 1.15rem;
  color: var(--black3);
  font-size: .95rem;
  text-align: center;
}
body.search-open {
  overflow: hidden;
}

/* a11y - панель «Специальные возможности» (набор функций как у BVI на dsba.uz) */
.a11y-backdrop {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(6, 20, 34, .28);
  opacity: 0; transition: opacity .3s var(--ease);
}
.a11y-backdrop.is-open { opacity: 1; }
.a11y-panel {
  position: fixed; top: 0; right: 0; z-index: 501;
  display: flex; flex-direction: column;
  width: min(360px, 100%); height: 100%; height: 100dvh;
  background: #fff; color: var(--black1);
  box-shadow: -12px 0 40px rgba(6, 20, 34, .14);
  transform: translateX(104%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.a11y-panel.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.a11y-panel[hidden], .a11y-backdrop[hidden] { display: none; }
.a11y-head {
  display: flex; align-items: center; gap: .6rem;
  padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); color: var(--primary);
}
.a11y-head strong { flex: 1; font-size: 1rem; font-weight: 600; }
.a11y-head-ico { display: inline-flex; }
.a11y-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%;
  background: #fff; color: var(--primary); cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.a11y-close:hover { background: var(--blue5); border-color: var(--blue5); }
.a11y-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 1.1rem; padding: 1.1rem; }
.a11y-group { display: grid; gap: .55rem; }
.a11y-label {
  display: flex; align-items: center; gap: .45rem; margin: 0;
  font-size: .82rem; font-weight: 600; color: var(--black2);
}
.a11y-label .ui-ico { color: var(--primary); width: 18px; height: 18px; }
.a11y-font { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; }
.a11y-font-value { min-width: 4rem; text-align: center; font-weight: 600; color: var(--primary); }
.a11y-btn, .a11y-opt, .a11y-reset {
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  min-height: 42px; padding: .5rem .6rem;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  color: var(--primary); font: inherit; font-size: .85rem; font-weight: 500; line-height: 1.2;
  cursor: pointer; transition: border-color .2s, background-color .2s, color .2s;
}
.a11y-btn:hover:not(:disabled), .a11y-opt:hover { border-color: var(--primary); }
.a11y-btn:disabled { opacity: .4; cursor: default; }
.a11y-btn:focus-visible, .a11y-opt:focus-visible, .a11y-reset:focus-visible, .a11y-close:focus-visible { outline: 2px solid var(--blue3); outline-offset: 2px; }
.a11y-a { font-weight: 700; }
.a11y-a--sm { font-size: .8rem; }
.a11y-a--lg { font-size: 1.15rem; }
.a11y-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .45rem; }
.a11y-options:has(> :nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a11y-options--schemes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.a11y-opt.is-active { border-color: var(--primary); background: var(--primary); color: #fff; }
.a11y-opt--serif { font-family: Georgia, "Times New Roman", serif; }
.a11y-scheme { justify-content: flex-start; }
.a11y-swatch {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--line);
  font-size: .75rem; font-weight: 700; background: #fff; color: var(--black1);
}
.a11y-scheme--gray .a11y-swatch { background: #e6e6e6; color: #111; }
.a11y-scheme--dark .a11y-swatch { background: #111; color: #fff; border-color: #111; }
.a11y-scheme--contrast .a11y-swatch { background: #000; color: #ff0; border-color: #000; }
.a11y-reset { width: 100%; margin-top: .2rem; }
.a11y-reset:hover { background: var(--blue5); }
/* Фоновая музыка: нота / перечёркнутая нота */
.music-ico { display: inline-flex; }
.music-toggle .music-ico--off, .music-toggle.is-muted .music-ico--on { display: none; }
.music-toggle.is-muted .music-ico--off { display: inline-flex; }

/* режимы (атрибуты на <html>, ставятся до отрисовки) */
/* фильтр только на корне: так он не ломает position: fixed у шапки и панели */
html[data-a11y-scheme="gray"] { filter: grayscale(1); }
html[data-a11y-scheme="dark"] { filter: invert(1) hue-rotate(180deg); background: #fff; }
html[data-a11y-scheme="dark"] body :is(img, video, iframe, canvas, .a11y-bg) { filter: invert(1) hue-rotate(180deg); }
html[data-a11y-scheme="dark"] body .a11y-bg :is(img, video, iframe, canvas, .a11y-bg) { filter: none; }
html[data-a11y-scheme="contrast"] { filter: contrast(1.45) saturate(1.25); }
html[data-a11y-images="gray"] body :is(img, video, .a11y-bg) { filter: grayscale(1); }
html[data-a11y-scheme="dark"][data-a11y-images="gray"] body :is(img, video, .a11y-bg) { filter: invert(1) hue-rotate(180deg) grayscale(1); }
html[data-a11y-scheme="dark"][data-a11y-images="gray"] body .a11y-bg :is(img, video, .a11y-bg) { filter: grayscale(1); }
html[data-a11y-images="off"] body :is(img, video, picture):not(.utility-brand-logo, .brand-logo, .mega-brand-logo) { visibility: hidden; }
html[data-a11y-images="off"] body .a11y-bg { background-image: none !important; background-color: var(--blue5); }
html[data-a11y-line="1"] body :is(p, li, dd, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6, a, label) { line-height: 1.75 !important; }
html[data-a11y-line="2"] body :is(p, li, dd, td, th, blockquote, figcaption, h1, h2, h3, h4, h5, h6, a, label) { line-height: 2.1 !important; }
html[data-a11y-letter="1"] body :not(.a11y-panel *) { letter-spacing: .05em !important; }
html[data-a11y-letter="2"] body :not(.a11y-panel *) { letter-spacing: .12em !important; }
html[data-a11y-family="serif"] body :not(svg, svg *, .a11y-panel, .a11y-panel *) { font-family: Georgia, "Times New Roman", serif !important; }
@media (prefers-reduced-motion: reduce) {
  .a11y-panel, .a11y-backdrop { transition: none; }
}

/* article / news pages - белый фон, комфортная ширина контента */
.container-article {
  width: min(100% - (var(--gutter) * 2), 1480px);
}
.section-article {
  padding-top: 1.5rem;
  padding-bottom: 2.75rem;
  background: #fff;
}
.article-layout {
  display: grid; gap: 1.5rem;
}
.article-main {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--black6);
  border-radius: 12px;
  padding: clamp(1.25rem, 2.2vw, 1.75rem) clamp(1.25rem, 2.5vw, 2rem);
  box-sizing: border-box;
  overflow: visible;
}
.article-side {
  position: sticky;
  top: calc(var(--header-offset, 96px) + 12px);
  align-self: start;
  z-index: 5;
}
.sidebar-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.side-nav {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--black6);
}
.side-nav-head {
  margin: 0;
  padding: .85rem 1rem;
  background: var(--blue2);
  color: #fff;
  font-size: clamp(.95rem, calc(1.05vw * var(--fz, 1)), 1.05rem);
  font-weight: 700;
  line-height: 1.3;
}
.side-nav-list {
  display: flex;
  flex-direction: column;
}
.side-nav-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 1rem;
  color: var(--black1);
  font-size: clamp(.92rem, calc(1vw * var(--fz, 1)), 1.02rem);
  font-weight: 500;
  line-height: 1.35;
  border: 0;
  border-bottom: 1px solid var(--black7);
  position: relative;
  transition: background .18s var(--ease), color .18s var(--ease), padding .3s var(--ease);
}
.side-nav-item::before {
  content: ""; position: absolute; left: 1rem; top: 50%;
  width: 6px; height: 6px; border-radius: 50%; background: var(--blue2);
  opacity: 0; transform: translate(-12px, -50%);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.side-nav-item:last-child { border-bottom: 0; }
.side-nav-item:hover,
.side-nav-item.is-active {
  color: var(--blue2);
  background: #fff;
  padding-left: 2rem;
}
.side-nav-item:hover::before,
.side-nav-item.is-active::before { opacity: 1; transform: translate(0, -50%); }
.side-contact {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  padding: 1rem;
  border-radius: 12px;
  color: #fff;
  background:
    linear-gradient(90deg, #002D6D 0%, rgba(0, 45, 109, .72) 100%),
    var(--side-contact-bg, none) center / cover no-repeat;
}
.side-contact-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}
.side-contact-lead {
  margin: 0 0 .35rem;
  font-size: .88rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, .85);
}
.side-contact-links {
  display: flex;
  flex-direction: column;
  gap: .65rem;
}
.side-contact-links a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: #fff;
  font-size: .92rem;
  font-weight: 500;
  text-decoration: none;
}
.side-contact-links a:hover { opacity: .92; }
.side-contact-links .ui-ico { color: var(--blue4); flex: 0 0 auto; }
.side-news { position: relative; min-width: 0; }
.side-news-more {
  position: absolute; top: 10px; right: 12px; z-index: 2;
  display: inline-flex; align-items: center; gap: .1rem;
  color: #fff; font-size: .8rem; font-weight: 500;
  text-shadow: 0 1px 3px rgba(6, 20, 34, .6);
}
.side-news-more .ui-ico { width: 14px; height: 14px; }
.side-news-more:hover { text-decoration: underline; }
.side-news-item::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 56px; z-index: 1;
  background: linear-gradient(180deg, rgba(6, 20, 34, .45), rgba(6, 20, 34, 0));
  pointer-events: none;
}
.side-news-track {
  display: flex; gap: 1rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.side-news-track::-webkit-scrollbar { display: none; }
.side-news-item {
  position: relative; flex: 0 0 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 220px; padding: 12px;
  border-radius: 12px; overflow: hidden;
  background: var(--black6); color: #fff;
  scroll-snap-align: start;
}
.side-news-item img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .3s var(--ease);
}
.side-news-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 20, 34, 0) 40%, rgba(6, 20, 34, .6) 80%);
}
.side-news-item:hover img { transform: scale(1.06); }
.side-news-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .5rem; }
.side-news-title {
  font-size: clamp(0.9375rem, calc(1vw * var(--fz, 1)), 1.125rem); font-weight: 500; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.side-news-meta { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.side-news-meta > span { display: inline-flex; align-items: center; gap: .4rem; }
.side-news-meta .ui-ico { color: var(--blue4); }

/* Страница-раздел: крошки + заголовок без фона (DSBA section.breadcrumb.alt) */
.page-banner { background: #fff; }
.page-banner-inner {
  display: flex; flex-direction: column; gap: .75rem;
  padding: 40px 0 0;
}
.page-banner-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 1rem; line-height: 1.3; color: var(--black3);
}
.page-banner-crumbs a { color: var(--black3); transition: color .2s var(--ease); }
.page-banner-crumbs a:hover { color: var(--blue2); }
.page-banner-crumbs .page-banner-sep { color: var(--black4); }
.page-banner-crumbs [aria-current] { color: var(--black1); }
.page-banner-home { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; margin: -4px 0; color: var(--blue2); }
.page-banner-home .ui-ico { width: 24px; height: 24px; }
[data-lottie-hover].is-lottie > .ui-ico { display: none; }
.lottie-box { display: block; width: 100%; height: 100%; }
.page-banner-title {
  margin: 0; color: var(--black1);
  font-size: clamp(1.25rem, calc(1.8vw * var(--fz, 1)), 2.25rem); font-weight: 700; line-height: 1.3;
}

/* Лента «Все новости» (DSBA news-card-section) */
.news-page { background: #fff; padding: 24px 0 60px; }
.news-page-layout { display: grid; gap: 1rem; align-items: start; }
.news-page-main { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.news-toolbar { display: flex; gap: 1rem; }
.news-toolbar-field {
  position: relative; display: flex; align-items: center; gap: .5rem;
  height: 48px; padding: 0 14px;
  background: #fff; border: 1px solid var(--black6); border-radius: 12px;
  color: var(--black3);
  transition: border-color .2s var(--ease);
}
.news-toolbar-field:focus-within { border-color: var(--blue3); }
.news-toolbar-field .ui-ico { color: var(--blue3); flex: 0 0 auto; }
.news-toolbar-field input {
  flex: 1 1 auto; min-width: 0; height: 100%;
  border: 0; outline: 0; background: transparent;
  color: var(--black1); font: inherit; font-size: 1rem;
}
.news-toolbar-field input::placeholder { color: var(--black3); }
.news-toolbar-search { flex: 1 1 auto; }
.news-toolbar-dates { flex: 0 0 clamp(300px, 36%, 420px); }
.news-toolbar-dates label { flex: 1 1 0; min-width: 0; height: 100%; }
.news-toolbar-dates input { position: relative; width: 100%; color: var(--black3); cursor: pointer; }
.news-toolbar-dates input::-webkit-calendar-picker-indicator {
  position: absolute; inset: 0; width: auto; height: auto; opacity: 0; cursor: pointer;
}
.news-toolbar-dash { color: var(--black4); }
.news-feed { display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.news-feed-empty { grid-column: 1 / -1; }
.news-card {
  display: flex; flex-direction: column;
  height: 385px; overflow: hidden;
  background: #fff; border-radius: 12px; color: var(--black1);
}
.news-card-media {
  position: relative; flex: 1 1 auto; min-height: 0;
  border-radius: 12px; overflow: hidden; background: var(--black6);
}
.news-card-media img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: top;
  transition: transform .3s var(--ease);
}
.news-card:hover .news-card-media img { transform: scale(1.1); }
/* Заглушка карточки без обложки: логотип центра из CMS на мягком фоне */
.cover-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--blue5) 0%, #fff 100%); }
.cover-ph > img, .news-card:hover .cover-ph > img, .side-news-item:hover .cover-ph > img { position: static; width: 34%; max-width: 140px; height: auto; object-fit: contain; opacity: .9; transform: none; }
.news-card-body { display: flex; flex: none; flex-direction: column; gap: .5rem; padding: 16px; }
.news-card-title {
  font-size: clamp(0.9375rem, calc(1vw * var(--fz, 1)), 1.25rem); font-weight: 700; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
  transition: color .2s var(--ease);
}
.news-card:hover .news-card-title { color: var(--blue2); }
.news-card-meta { display: flex; flex-wrap: wrap; gap: 20px; }
.news-card-meta .news-meta-item { color: var(--black2); font-size: clamp(0.875rem, calc(1vw * var(--fz, 1)), 1.0625rem); font-weight: 400; }
.news-card-meta .news-meta-item .ui-ico { color: var(--blue3); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px; margin: 1rem auto; }
.pager-btn {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--black6); color: var(--black3);
  font-weight: 500; transition: background-color .2s var(--ease), color .2s var(--ease);
}
.pager-btn .ui-ico { color: var(--blue2); }
a.pager-btn:hover { background: #fff; color: var(--blue2); }
.pager-btn.is-active { background: #fff; color: var(--black1); border-color: #fff; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.article-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: .55rem;
}
.article-tools { display: flex; align-items: center; gap: .55rem; }
.tool-print {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid #d7dde7; background: #fff; color: var(--blue3);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.tool-print:hover { border-color: var(--primary); background: #f5f8fc; }
.tool-print .ui-ico { color: var(--blue3); }
.breadcrumbs {
  display: flex; flex-wrap: wrap; gap: .4rem; align-items: center;
  color: var(--text-soft); font-size: .88rem; margin: 0;
  background: transparent;
  padding: 0;
}
.breadcrumbs a { color: var(--primary); }
.article-title {
  margin: 0 0 .85rem; color: var(--black1);
  font-size: clamp(1.35rem, calc(2.3vw * var(--fz, 1)), 1.9rem); line-height: 1.28; font-weight: 800;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin: 0 0 .85rem;
  color: var(--black2);
  font-size: clamp(.88rem, calc(1vw * var(--fz, 1)), .98rem);
  font-weight: 500;
  line-height: 1.3;
}
.article-meta-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.article-meta-item .ui-ico {
  color: var(--blue3);
  flex: 0 0 auto;
}
.article-meta-item time,
.article-meta-views span {
  color: var(--black2);
}
.article-meta-dot {
  width: .45rem;
  height: .45rem;
  border-radius: 50%;
  background: var(--blue3);
  flex: 0 0 auto;
}
.article-meta-cat a {
  color: var(--blue3);
  font-weight: 600;
  text-decoration: none;
}
.article-meta-cat a:hover { opacity: .85; }
.article-meta-rule {
  margin: 0 0 1.25rem;
  border: 0;
  border-top: 1px solid var(--black7);
  width: 100%;
}
.article-media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.15rem;
  border: 1px solid var(--black6, var(--line));
  background: #0f1c2e;
  min-height: 12rem;
}
.article-media::before {
  content: "";
  position: absolute;
  inset: -12%;
  background: var(--media-bg, none) center / cover no-repeat;
  filter: blur(28px) brightness(.72) saturate(1.05);
  transform: scale(1.08);
  pointer-events: none;
}
.article-media-btn {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  -webkit-tap-highlight-color: transparent;
}
.article-media-btn img {
  position: relative;
  display: block;
  width: 100%;
  max-height: min(52vh, 520px);
  object-fit: contain;
  object-position: center;
  transition: transform .35s var(--ease);
  transform: scale(1);
}
.article-media--page .article-media-btn img { max-height: none; }
.article-media--page .article-media-btn:hover img, .article-media--page .article-media-btn:focus-visible img { transform: none; }
.article-gallery.article-gallery--pages { grid-template-columns: minmax(0, 1fr); }
.article-gallery--pages .article-gallery-item { aspect-ratio: auto; }
.article-gallery--pages .article-gallery-item img { height: auto; object-fit: contain; }
.article-media-btn:hover img,
.article-media-btn:focus-visible img {
  transform: scale(1.028);
}
.article-body {
  font-size: 1.02rem; line-height: 1.7; color: #1b2b44;
}
.article-body p { margin: 0 0 1rem; }
.article-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
  border-radius: 16px;
  cursor: zoom-in;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.article-body img:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 28px rgba(15, 35, 70, .12);
}
.article-body img[data-lightbox] {
  outline: none;
}

/* Image lightbox - clean DSBA-like viewer */
.img-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .28s var(--ease), visibility .28s;
}
.img-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.img-lightbox[hidden] { display: none; }
.img-lightbox.is-open[hidden] { display: grid; }
.img-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 18, 36, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.img-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.img-lightbox-toolbar {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .3rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}
.img-lightbox-tool {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #334155;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.img-lightbox-tool:hover,
.img-lightbox-tool:focus-visible {
  background: #e8edf3;
  color: var(--blue2);
  outline: none;
}
.img-lightbox-tool .ui-ico {
  width: 1.25rem;
  height: 1.25rem;
}
.img-lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 16px;
  background: rgba(255, 255, 255, .06);
  min-height: 12rem;
  max-height: min(82vh, 820px);
  touch-action: none;
}
.img-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: min(80vh, 800px);
  width: auto;
  height: auto;
  border-radius: 16px;
  object-fit: contain;
  transform-origin: center center;
  transition: transform .2s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
  cursor: grab;
}
.img-lightbox-img.is-dragging {
  cursor: grabbing;
  transition: none;
}
.article-foot {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-top: 1.65rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--black7, var(--line));
  overflow: visible;
  position: relative;
  z-index: 5;
}
.article-foot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.25rem;
}
.article-action {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: .25rem .15rem;
  border: 0;
  background: transparent;
  color: var(--blue3);
  font: inherit;
  font-size: .98rem;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: color .22s var(--ease);
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
}
.article-action:hover,
.article-action:focus-visible {
  color: var(--blue2);
  opacity: 1;
}
.article-action:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--blue3) 40%, transparent);
  outline-offset: 3px;
  border-radius: 4px;
}
.article-action .ui-ico {
  color: inherit;
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  transition: color .22s var(--ease);
  transform: none;
}
.article-share {
  position: relative;
  z-index: 30;
}
.article-share-menu {
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + .5rem);
  top: auto;
  z-index: 160;
  min-width: 15.5rem;
  max-height: min(60vh, 22rem);
  overflow-y: auto;
  padding: .35rem;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--black6);
  box-shadow: 0 12px 32px rgba(15, 35, 70, .14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px) scale(.98);
  transform-origin: bottom left;
  transition:
    opacity .22s var(--ease),
    transform .22s var(--ease),
    visibility .22s;
}
.article-share-menu[hidden] {
  display: block !important;
  visibility: hidden;
  pointer-events: none;
  opacity: 0;
}
.article-share.is-open .article-share-menu,
.article-share.is-open .article-share-menu[hidden] {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}
.article-share-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  width: 100%;
  margin: 0;
  padding: .58rem .75rem;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #1f2937;
  font: inherit;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition: background .22s var(--ease), color .22s var(--ease);
}
.article-share-item:hover,
.article-share-item:focus-visible {
  background: #e8edf3;
  color: #1f2937;
  outline: none;
}
.article-share-item img {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  display: block;
  transition: opacity .22s var(--ease);
}
.article-share-item .ui-ico {
  color: var(--black3, #6b7280);
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
  transform: none;
}
.article-share.is-open .article-share-btn {
  color: var(--blue2);
  opacity: 1;
}


body.lightbox-open {
  overflow: hidden;
}
@keyframes page-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}


.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 100;
  display: grid; place-items: center;
  width: 3.125rem; height: 3.125rem; min-width: 3.125rem;
  padding: 0; border: 1px solid hsla(0, 0%, 100%, .2); border-radius: 50%;
  background: var(--blue2); color: #fff; cursor: pointer;
  box-shadow: 0 10px 28px rgba(10, 58, 122, .35);
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s var(--ease);
}
.back-to-top.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-2px); }
.back-to-top.is-visible:hover { transform: translateY(-2px); }

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .news-side-item, .news-tile, .panel-card, .page-enter, .nav-dropdown, .sitemap-panel, .sitemap-backdrop, .mobile-nav-panel, .ticker-track {
    transition: none !important; animation: none !important;
  }
  .reveal, .page-enter { opacity: 1; transform: none; }
}

/* Print: только контент новости (заголовок, meta, фото, текст) */
@media print {
  @page {
    margin: 14mm 12mm;
  }
  html, body {
    background: #fff !important;
    color: #111 !important;
    font-size: 12pt;
  }
  body.lightbox-open { overflow: visible !important; }
  .site-header,
  .site-footer,
  .social-subscribe,
  .back-to-top,
  .img-lightbox,
  .article-side,
  .article-toolbar,
  .article-foot,
  .article-share,
  .article-print-btn,
  .tool-print,
  .news-toolbar,
  .pager,
  .page-banner,
  .side-nav,
  .sitemap-panel,
  .sitemap-backdrop,
  .mobile-nav-panel {
    display: none !important;
  }
  .section-article,
  .article-layout,
  .container-article,
  .article-main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
  }
  .article-print {
    display: block !important;
  }
  .article-title {
    font-size: 18pt !important;
    line-height: 1.25 !important;
    margin: 0 0 8pt !important;
    color: #111 !important;
  }
  .article-meta {
    margin: 0 0 8pt !important;
    gap: .75rem !important;
    color: #333 !important;
    font-size: 10pt !important;
  }
  .article-meta a { color: #111 !important; text-decoration: none !important; }
  .article-meta-rule {
    margin: 0 0 10pt !important;
    border-top: 1px solid #ccc !important;
  }
  .article-media {
    border: 0 !important;
    border-radius: 8px !important;
    background: #fff !important;
    margin: 0 0 12pt !important;
    min-height: 0 !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .article-media::before { display: none !important; }
  .article-media-btn {
    cursor: default !important;
  }
  .article-media-btn img,
  .article-body img {
    max-width: 100% !important;
    max-height: 110mm !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transform: none !important;
    box-shadow: none !important;
    border-radius: 8px !important;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .article-body {
    font-size: 11pt !important;
    line-height: 1.45 !important;
    color: #111 !important;
  }
  .article-body a {
    color: #111 !important;
    text-decoration: underline !important;
  }
  .news-feed {
    display: block !important;
  }
  .news-card {
    break-inside: avoid;
    page-break-inside: avoid;
    margin: 0 0 10pt !important;
  }
}

/* Внутренние разделы (DSBA: files-page, leadership-page, faq-item, contacts-box) */
.section-main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
/* лист текста раздела тянется до низа бокового меню, даже если текста мало */
.news-page-layout > .section-main { align-self: stretch; }
.section-main > .section-body:last-child { flex: 1 1 auto; }
.section-body { background: #fff; border: 1px solid var(--black6); border-radius: 12px; padding: clamp(16px, 2vw, 32px); }
.article-body .doc-kind { margin: 0 0 8px; text-align: center; font-size: var(--text-body2); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--blue2); }
.article-body .doc-kind + h2 { margin-top: 0; text-align: center; }
.article-body .doc-kind ~ ul { list-style: none; margin: 0 0 1rem; padding-left: 16px; border-left: 2px solid var(--black6); }
.article-body .doc-sign { margin: 40px 0 0; padding-top: 20px; border-top: 1px solid var(--black6); text-align: right; line-height: 1.6; color: var(--black1); }
.section-cover { margin: 0; border-radius: 12px; overflow: hidden; }
.section-cover img { width: 100%; max-height: 420px; object-fit: cover; display: block; }

.files-list { display: flex; flex-direction: column; gap: 16px; }
.file-row {
  display: flex; align-items: flex-start; gap: 12px; padding: 16px;
  background: var(--white); border: 1px solid var(--black7); border-radius: 12px;
  color: var(--black1); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.file-row:hover { border-color: var(--blue5); box-shadow: var(--shadow); }
.file-row-icon {
  flex: 0 0 56px; width: 56px; height: 56px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue2);
}
.file-row-icon .ui-ico { width: 32px; height: 32px; }
.file-row-content { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.file-row-title { font-weight: 600; font-size: clamp(0.9375rem, calc(1vw * var(--fz, 1)), 1.125rem); line-height: 1.35; }
.file-row:hover .file-row-title { color: var(--blue2); }
.file-row-desc { color: var(--black3); font-size: 0.875rem; }
.file-row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--blue2); font-size: 0.875rem; }
.file-row-dot { width: 6px; height: 6px; border-radius: 12px; background: #d9d9d9; }
.file-row-dl { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-weight: 500; }

.doc-cards--book .news-card-media img { object-fit: contain; background: var(--black7); }
.doc-cards .news-card-media::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--black6); border-radius: inherit; pointer-events: none; }
.doc-cards--memorandum .news-card-media img { object-position: center; }

.people-list { display: flex; flex-direction: column; gap: 16px; }
.person {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr);
  background: var(--white); color: var(--black1); border: 1px solid var(--black6); border-radius: 12px; overflow: hidden;
}
.person--no-photo { grid-template-columns: minmax(0, 1fr); }
.person-photo { height: 100%; min-height: 300px; max-height: 300px; overflow: hidden; background: var(--black7); }
.person-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: var(--ph-x, 50%) var(--ph-y, 0%);
  transform-origin: var(--ph-x, 50%) var(--ph-y, 0%); transform: translateX(var(--ph-dx, 0%)) scale(var(--ph-scale, 1));
}
.person-text { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 24px; min-width: 0; }
.person-text > :not(.person-mark) { position: relative; z-index: 1; }
.person-mark {
  position: absolute; right: 0; top: 50%; width: 200px; height: 200px; object-fit: contain;
  transform: translate(50%, -50%); opacity: .15; pointer-events: none; user-select: none;
}
.person-name { margin: 0; font-size: clamp(1.25rem, calc(1.5vw * var(--fz, 1)), 1.75rem); font-weight: 700; line-height: 1.3; }
.person-position, .person-kicker { margin: 8px 0 0; font-size: var(--text-body2); color: var(--black2); }
.person-kicker { margin: 0 0 6px; color: var(--blue2); font-weight: 600; }
a.person-kicker { display: inline-block; text-decoration: none; }
a.person-kicker:hover { text-decoration: underline; }

/* Карта региональных отделений */
.rmap { margin: 0 0 40px; padding: 24px; background: #fff; border: 1px solid var(--black6); border-radius: 16px; }
.rmap-hint { margin: 0 0 12px; font-size: var(--text-body2); color: var(--black2); }
.rmap-svg { display: block; width: 100%; height: auto; }
.rmap-country { font-size: 0.75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; fill: var(--black4); }
.rmap-region path { fill: #fff; stroke: var(--blue4); stroke-width: 1.4; stroke-linejoin: round; transition: fill .25s ease, stroke .25s ease; }
.rmap-region:hover path, .rmap-region:focus-visible path { fill: var(--blue4); stroke: var(--blue2); stroke-width: 2; }
.rmap-region:focus { outline: none; }
.rmap-arcs, .rmap-dots, .rmap-labels { pointer-events: none; }
.rmap-arcs path { fill: none; stroke: var(--blue3); stroke-width: 1.2; stroke-dasharray: 4 4; opacity: .55; }
.rmap-dot { fill: var(--blue2); stroke: #fff; stroke-width: 1.5; }
.rmap-pulse { fill: var(--blue3); transform-box: fill-box; transform-origin: center; animation: rmap-pulse 2.4s ease-out infinite; }
@keyframes rmap-pulse { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(4); opacity: 0; } }
.rmap-label { font-size: 0.8125rem; font-weight: 600; fill: var(--blue1); paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.rmap-label--sm { font-size: 0.625rem; }
@media (prefers-reduced-motion: reduce) { .rmap-pulse { animation: none; opacity: 0; } }

/* Страница регионального отделения */
.region-page { display: flex; flex-direction: column; gap: 32px; }
.region-lead { margin: 0; font-size: var(--text-body1, 1.125rem); line-height: 1.6; color: var(--black1); }
.region-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin: 0; }
.region-fact { padding: 20px 24px; background: transparent; border: 1px solid var(--black6); border-radius: 12px; }
.region-fact dt { font-size: var(--text-body2); color: var(--black3); }
.region-fact dd { margin: 6px 0 0; font-size: 1.25rem; font-weight: 700; color: var(--blue1); }
.region-info { margin: 0; border-top: 1px solid var(--black6); }
.region-info-row { display: grid; grid-template-columns: 260px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--black6); }
.region-info-row dt { display: flex; align-items: center; gap: 10px; color: var(--black3); font-size: var(--text-body2); }
.region-info-row dt .ui-ico { color: var(--blue2); flex-shrink: 0; }
.region-info-row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-weight: 600; color: var(--black1); }
.region-info-row dd a { color: var(--blue2); text-decoration: none; }
.region-info-row dd a:hover { text-decoration: underline; }
.person-hr { display: block; height: 3px; margin: 20px 0; background: linear-gradient(90deg, rgba(0, 78, 158, .15) 0%, rgba(0, 78, 158, 0) 100%); }
.person-details { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.person-details > * { display: inline-flex; align-items: center; gap: 6px; color: inherit; font-size: 0.9375rem; }
.person-details .ui-ico { color: var(--blue3); flex-shrink: 0; }
.person-details a:hover { color: var(--blue2); }
.person-socials { display: flex; gap: 8px; margin-top: 16px; }
.person-socials a {
  width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: var(--blue3); background: var(--blue5); transition: background .3s ease, color .3s ease;
}
.person-socials a:hover { color: var(--white); background: var(--blue3); }
.person--lead .person-socials a { color: var(--white); background: var(--blue3); }
.person--lead .person-socials a:hover { color: var(--blue2); background: var(--white); }
.person--lead { background: var(--blue2); border-color: var(--blue2); color: var(--white); }
.person--lead .person-position { color: var(--blue5); }
.person--lead .person-details .ui-ico { color: var(--blue4); }
.person--lead .person-details a:hover { color: var(--blue4); }
.person--lead .person-hr { background: linear-gradient(90deg, #1B70C7 0%, rgba(27, 112, 199, 0) 100%); }

.video-card-media { display: block; }
.video-card-media video { width: 100%; height: 100%; object-fit: cover; background: var(--black1); display: block; }
.video-card-play {
  position: absolute; inset: 50% auto auto 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); color: var(--blue2); box-shadow: var(--shadow);
}

.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff; border: 1px solid var(--black6); border-radius: 12px; padding: 20px 24px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.faq-item:hover, .faq-item[open] { border-color: var(--blue4); box-shadow: var(--shadow); }
.faq-question {
  display: flex; align-items: center; gap: 16px;
  cursor: pointer; list-style: none; font-weight: 600; font-size: clamp(0.9375rem, calc(1vw * var(--fz, 1)), 1.125rem); line-height: 1.45; color: var(--black1);
}
.faq-question::-webkit-details-marker { display: none; }
.faq-icon {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--blue4); color: var(--blue2);
}
.faq-title { flex: 1 1 auto; min-width: 0; }
.faq-item:hover .faq-title, .faq-item[open] .faq-title { color: var(--blue2); }
.faq-toggle {
  flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--black6); color: var(--blue2);
  transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.faq-item[open] .faq-toggle { transform: rotate(180deg); border-color: var(--blue4); }
.faq-answer { margin: 16px 0 0 64px; padding-top: 16px; border-top: 1px solid var(--black6); color: var(--black2); font-size: var(--text-body2); line-height: 1.6; }

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-box { background: #fff; border: 1px solid var(--black6); border-radius: 12px; padding: 20px; }
.contact-box-label { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--black3); font-size: 0.9375rem; }
.contact-box-label .ui-ico { color: var(--blue3); }
.contact-box-value { margin: 0; color: var(--black1); font-weight: 600; font-size: clamp(0.9375rem, calc(1vw * var(--fz, 1)), 1.125rem); }
a.contact-box-value:hover { color: var(--blue2); }
.contact-social { display: flex; flex-wrap: wrap; gap: 12px; }
.contact-social a {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px;
  background: #fff; border: 1px solid var(--black6); border-radius: 12px; color: var(--black1); font-weight: 500;
}
.contact-social a .ui-ico { color: var(--blue2); }
.contact-social a:hover { color: var(--blue2); }
.contact-map { border-radius: 12px; overflow: hidden; background: var(--black7); }
.contact-map iframe { display: block; width: 100%; height: 420px; border: 0; }
.contact-wrapper { display: grid; gap: 16px; margin-bottom: 16px; }

/* Форма обращения - DSBA .contacts-input-fields: белая карточка 12px, поля 2 колонки, кнопка .button */
.appeal-form { display: flex; flex-direction: column; gap: 16px; background: var(--white); border: 1px solid var(--black7); border-radius: 12px; padding: 20px; }
.appeal-form-title { margin: 0; color: var(--black1); font-size: 1.125rem; font-weight: 600; line-height: 1.35; }
.appeal-form-lead { margin: -8px 0 0; color: var(--black3); font-size: 0.9375rem; }
.appeal-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.appeal-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.appeal-field > span { color: var(--black1); font-size: 0.875rem; }
.appeal-field--wide { grid-column: 1 / -1; }
.appeal-form .form-control {
  width: 100%; padding: 10px 12px; border: 1px solid var(--black6, #dee2e6); border-radius: 8px;
  background: var(--white); color: var(--black1); font: inherit; font-size: 0.9375rem; line-height: 1.5;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.appeal-form textarea.form-control { min-height: 96px; resize: none; }
.appeal-form .form-control::placeholder { color: var(--black3); }
.appeal-form .form-control:focus { outline: 0; border-color: var(--blue3); box-shadow: 0 0 0 3px rgba(27, 112, 199, .15); }
.appeal-form .form-control.is-invalid { border-color: #d93025; }
.appeal-form-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 8px; font-size: 0.9375rem; }
.appeal-form-note.is-ok { background: #e8f5ee; color: #17663a; }
.appeal-form-note.is-error { background: #fdecea; color: #a52714; }
.appeal-submit {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 13px 16px; border: 0; border-radius: 12px;
  background: var(--blue2); color: var(--white); font: inherit; font-size: 1rem; cursor: pointer; transition: background .2s ease;
}
.appeal-submit:hover { background: var(--blue1); }
.appeal-submit .ui-ico { color: var(--white); }
.appeal-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.article-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.article-gallery-item { padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--black7); }
.article-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.article-source {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; padding: 10px 16px;
  border-radius: 8px; background: transparent; border: 1px solid var(--blue2); color: var(--blue2); font-weight: 600;
}
.article-source:hover { background: var(--blue2); color: #fff; }

/* Лид раздела */
.section-lead { margin: 0 0 20px; color: var(--black2); font-size: var(--text-body2); line-height: 1.6; }

/* Соцсети: как на legacy /socials - список карточек, круглый логотип слева */
.sp-list { display: flex; flex-direction: column; gap: 16px; }
.sp-card { display: flex; align-items: center; gap: 24px; padding: 20px 24px; background: #fff; border: 1px solid var(--black7); border-radius: 16px; transition: box-shadow .3s var(--ease); }
.sp-card:hover { box-shadow: rgba(0, 78, 158, .08) 0 8px 24px; }
.sp-card--primary { border-color: var(--blue4); }
.sp-logo { flex-shrink: 0; width: 120px; height: 120px; border-radius: 50%; overflow: hidden; border: 1px solid var(--black7); background: #fff; }
.sp-logo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-body { min-width: 0; flex: 1; }
.sp-name { margin: 0; font-size: clamp(1.125rem, calc(1.6vw * var(--fz, 1)), 1.375rem); font-weight: 700; line-height: 1.3; color: var(--black1); }
.sp-desc { margin: 8px 0 0; font-size: 1rem; line-height: 1.5; color: var(--black2); }
.sp-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.sp-links a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; overflow: hidden; color: var(--blue2); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.sp-links a img { display: block; width: 100%; height: 100%; }
.sp-links a:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0, 38, 77, .18); }
.sp-links a:focus-visible { outline: 2px solid var(--blue2); outline-offset: 2px; }
.sp-heading { margin: 16px 0 0; text-align: center; font-size: 1.0625rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--black1); }

.oc { position: relative; }
.oc-node {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 54px; padding: 12px 16px;
  border: 1px solid var(--black6); border-radius: 8px; background: #fff; color: var(--black1);
  font: inherit; font-size: 0.875rem; line-height: 1.4; text-align: center;
}
button.oc-node { cursor: pointer; }
.oc-node.is-link { transition: border-color .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease); }
.oc-node.is-link:hover, .oc-node.is-link:focus-visible { border-color: var(--blue3); background: var(--blue5); color: var(--blue1); box-shadow: rgba(0, 78, 158, .12) 0 4px 6px; }
.oc-top { display: flex; justify-content: center; align-items: stretch; gap: 12px; }
.oc-node--head { width: auto; min-width: 240px; padding: 16px 28px; border-color: var(--blue2); background: var(--blue2); color: #fff; font-size: 1.125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.oc-node--head.is-link:hover, .oc-node--head.is-link:focus-visible { background: var(--blue1); border-color: var(--blue1); color: #fff; }
.oc-node--aside { width: auto; min-width: 150px; font-weight: 500; }
.oc-lines { display: grid; justify-items: center; margin: 0 0 4px; }
.oc-lines-stem { width: 3px; height: 24px; border-radius: 2px; background: var(--blue2); }
.oc-lines-bar { width: calc(100% - 100% / var(--oc-cols) + 3px); height: 3px; border-radius: 2px; background: var(--blue2); }
.oc-lines-drops { display: grid; grid-template-columns: repeat(var(--oc-cols), minmax(0, 1fr)); width: 100%; }
.oc-lines-drops i { justify-self: center; width: 3px; height: 20px; border-radius: 2px; background: var(--blue2); }
.oc-cols { display: grid; grid-template-columns: repeat(var(--oc-cols), minmax(0, 1fr)); gap: 16px; align-items: start; }
.oc-col-head { display: flex; align-items: stretch; overflow: hidden; border-radius: 8px; background: var(--blue2); }
.oc-node--col { flex: 1; border: 0; border-radius: 0; background: transparent; color: #fff; font-weight: 600; }
.oc-node--col.is-link:hover, .oc-node--col.is-link:focus-visible { background: var(--blue1); color: #fff; box-shadow: none; }
.oc-toggle {
  display: flex; align-items: center; justify-content: center; flex: 0 0 44px; border: 0; border-left: 1px solid rgba(255, 255, 255, .2);
  background: transparent; color: #fff; cursor: pointer; transition: background .2s var(--ease);
}
.oc-toggle:hover { background: var(--blue1); }
.oc-toggle-plus, .oc-col.is-open .oc-toggle-minus { display: block; }
.oc-toggle-minus, .oc-col.is-open .oc-toggle-plus { display: none; }
.oc-col-body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .3s var(--ease), opacity .3s var(--ease); }
.oc-col.is-open .oc-col-body { grid-template-rows: 1fr; opacity: 1; }
.oc-col-inner { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }
.oc-col-stem { align-self: center; width: 3px; height: 14px; border-radius: 2px; background: var(--blue2); flex-shrink: 0; }
.oc-node--unit { justify-content: flex-start; text-align: left; font-size: 0.8125rem; }
.oc-group { margin: 40px 0 16px; font-size: clamp(1.125rem, calc(1.3vw * var(--fz, 1)), 1.375rem); font-weight: 700; color: var(--black1); }
.oc-subs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.oc-node--sub { justify-content: flex-start; text-align: left; border-style: dashed; border-color: var(--black4); }
.oc-total { margin: 32px 0 0; padding: 16px 20px; border: 1px solid var(--black6); border-radius: 12px; background: #fff; color: var(--black2); }
.oc-total strong { color: var(--blue2); }

.oc-person {
  width: min(440px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 20px; border: 0; border-radius: 16px;
  background: #fff; color: var(--black1); box-shadow: 0 24px 64px rgba(6, 20, 34, .25);
  opacity: 0; transform: translateY(12px) scale(.98);
  transition: opacity .25s var(--ease), transform .25s var(--ease), overlay .25s allow-discrete, display .25s allow-discrete;
}
.oc-person[open] { opacity: 1; transform: none; }
@starting-style { .oc-person[open] { opacity: 0; transform: translateY(12px) scale(.98); } }
.oc-person::backdrop { background: rgba(6, 20, 34, 0); transition: background .25s var(--ease), overlay .25s allow-discrete, display .25s allow-discrete; }
.oc-person[open]::backdrop { background: rgba(6, 20, 34, .5); }
@starting-style { .oc-person[open]::backdrop { background: rgba(6, 20, 34, 0); } }
.oc-person-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.oc-person-unit { margin: 0; font-size: 0.875rem; font-weight: 700; line-height: 1.4; letter-spacing: .03em; text-transform: uppercase; color: var(--blue2); }
.oc-person-close {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; height: 36px; border: 1px solid var(--black6);
  border-radius: 50%; background: #fff; color: var(--black2); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease);
}
.oc-person-close:hover { background: var(--blue5); color: var(--blue1); }
.oc-person-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 16px; border-radius: 12px; background: transparent; border: 1px solid var(--black6); text-align: center; }
.oc-person-photo { width: 144px; height: 144px; border-radius: 50%; object-fit: cover; object-position: center 20%; border: 4px solid var(--blue5); background: var(--black7); }
.oc-person-name { margin: 6px 0 0; font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.oc-person-position { margin: 0; color: var(--black2); font-size: 0.9375rem; line-height: 1.45; }
.oc-person-details { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 6px; font-size: 0.9375rem; }
.oc-person-details > * { display: inline-flex; align-items: center; gap: 8px; color: inherit; }
.oc-person-details .ui-ico { color: var(--blue3); flex-shrink: 0; }
.oc-person-details a:hover { color: var(--blue2); }
.oc-person-site { margin-top: 8px; gap: 6px; }

.bookshops-count { margin-left: auto; padding: 2px 10px; border-radius: 999px; background: transparent; border: 1px solid var(--blue4); color: var(--blue2); font-size: 0.875rem; font-weight: 600; }
.bookshops-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.bookshop { display: flex; gap: 12px; padding: 14px 0; border-top: 1px solid var(--black7); }
.bookshop:first-child { border-top: 0; }
.bookshop-icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--blue2); }
.bookshop-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bookshop-title { color: var(--black1); font-weight: 600; }
.bookshop-address { color: var(--black2); font-size: 0.9375rem; }
.bookshop-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 0.875rem; }
.bookshop-kind { padding: 1px 8px; border-radius: 6px; background: transparent; border: 1px solid var(--black5); color: var(--black2); }
.bookshop-kind--full { border-color: var(--green); color: var(--green); }
.bookshop-kind--planned { border-color: var(--blue4); color: var(--blue2); }
.bookshop-route { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; font: inherit; color: var(--blue2); cursor: pointer; text-decoration: none; }
.bookshop-route:hover { text-decoration: underline; }
.bookshop:target { outline: 1px solid var(--blue4); outline-offset: 4px; border-radius: 8px; }

/* Карта книжных магазинов (Leaflet) */
.bs-map-wrap { margin: 0 0 24px; padding: 12px; background: #fff; border: 1px solid var(--black7); border-radius: 16px; }
.bs-map { height: clamp(320px, 52vh, 520px); border-radius: 12px; overflow: hidden; z-index: 0; background: var(--blue5); }
.bs-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin: 12px 4px 0; padding: 0; list-style: none; font-size: 0.875rem; color: var(--black2); }
.bs-legend li { display: inline-flex; align-items: center; gap: 8px; }
.bs-legend-total { margin-left: auto; font-weight: 600; color: var(--black1); }
.bs-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--black6); }
.bs-dot--full { background: #004E9E; }
.bs-dot--mixed { background: #1B70C7; }
.bs-dot--planned { background: #757D8E; }
.bs-pop { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-family: var(--font); font-size: 0.875rem; line-height: 1.4; color: var(--black1); }
.bs-pop-title { font-size: 0.9375rem; }
.bs-pop-address { color: var(--black2); }
.bs-pop-route { color: var(--blue2); font-weight: 600; }

.skel:not(.is-loaded) {
  background: linear-gradient(90deg, var(--black7) 25%, var(--black6) 45%, var(--black7) 65%);
  background-size: 400% 100%;
  animation: skel-shimmer 1.4s ease-in-out infinite;
}
.skel > img { transition: opacity .3s ease; }
.skel:not(.is-loaded) > img { opacity: 0; }
@keyframes skel-shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .skel:not(.is-loaded) { animation: none; }
}
