/* ═══ AV DS × ortcom.kz — overlay ═══
   Подключается ПОСЛЕ tokens.css, components.css и main.css.
   Задача: задать фирменную палитру ortcom.kz (navy + gold) поверх AV DS семантики.

   Цепочка каскада:
     1. av-ds/tokens.css — базовые HSL-токены AV DS (нейтральный синий --primary)
     2. av-ds/components.css — AV DS компоненты
     3. main.css — исторический публичный слой ortcom
     4. av-ds/ortcom-overlay.css — ortcom-specific DS bridge (этот файл)

   Этот файл нужен, чтобы legacy main.css не возвращал старую типографику
   и старые chrome-элементы поверх AV DS. */


/* ── Типографика: self-hosted Onest + IBM Plex Serif из актуального AV DS ───────── */
:root {
  --font-sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'IBM Plex Serif', Georgia, 'Times New Roman', serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;
  --font-body: var(--font-sans);
  --font-display: var(--font-sans);
  --font-heading: var(--font-sans);
  --ortcom-ds-border: #e2e5ea;
  --ortcom-ds-border-soft: #eef0f4;
}


/* ══════════════════════════════════════════════════════════════════════
   ORTCOM.KZ ПАЛИТРА — AV DS `--primary` = Navy #152259 (HSL 224 60% 22%)
   `--chart-1` = Gold #c8a84b (HSL 44 51% 54%) для акцентов
   ══════════════════════════════════════════════════════════════════════ */

:root,
[data-site="ortcom"],
[data-site="ortcom"][data-theme="light"] {
  --primary: 224 60% 22%;
  --primary-foreground: 0 0% 100%;
  --ring: 224 60% 22%;
  --sidebar-primary: 224 60% 22%;
  --sidebar-ring: 224 60% 22%;
  --chart-1: 44 51% 54%;
  --chart-2: 224 60% 32%;
  --chart-3: 44 51% 44%;
  --chart-4: 224 40% 50%;
  --chart-5: 44 51% 64%;
}

[data-site="ortcom"][data-theme="dark"],
.dark[data-site="ortcom"] {
  --primary: 224 45% 55%;
  --primary-foreground: 0 0% 10%;
  --ring: 224 45% 55%;
  --sidebar-primary: 224 45% 55%;
  --sidebar-ring: 224 45% 55%;
  --chart-1: 44 60% 60%;
  --chart-2: 224 45% 65%;
  --chart-3: 44 51% 50%;
  --chart-4: 224 35% 60%;
  --chart-5: 44 60% 70%;
  --ortcom-ds-border: #2f3846;
  --ortcom-ds-border-soft: #252d3a;
}


/* ══════════════════════════════════════════════════════════════════════
   Focus-ring unification — legacy ortcom inputs inherit AV DS --ring
   ══════════════════════════════════════════════════════════════════════ */
.search-overlay input:focus,
.search-overlay input:focus-visible,
#searchInput:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.20);
}

/* Форма обратной связи на странице контактов */
.contacts-container input:focus,
.contacts-container textarea:focus,
.contacts-container select:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.20);
}

/* AV DS компоненты внутри ortcom: кнопки-акценты gold */
.av-btn--accent {
  --btn-bg: hsl(44 51% 54%);
  --btn-text: hsl(224 60% 22%);
}

/* ══════════════════════════════════════════════════════════════════════
   Legacy public chrome → AV DS bridge
   Сохраняем существующую разметку base.html, но приводим ее к AV DS tokens.
   ══════════════════════════════════════════════════════════════════════ */

body {
  font-family: var(--font-body);
  color: hsl(var(--foreground));
  background: hsl(var(--background));
}

.site-header,
.topic-nav,
.site-footer {
  background: hsl(var(--primary));
}

.site-header {
  border-bottom: 1px solid hsl(0 0% 100% / 0.08);
  box-shadow: 0 1px 0 hsl(224 60% 12% / 0.26);
}

.header-inner {
  height: 64px;
}

.header--compact .header-inner {
  height: 48px;
}

.header--compact + .topic-nav {
  top: 48px;
}

.logo {
  gap: 0.75rem;
}

.logo-img {
  height: 38px;
}

.logo-title,
.footer-logo-title {
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0;
}

.logo-title--compact {
  display: none;
}

.logo-sub,
.footer-logo-sub {
  color: hsl(0 0% 100% / 0.58);
  font-size: 0.78rem;
}

.header-actions {
  gap: 0.5rem;
}

.search-toggle,
.mobile-menu-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--av-radius, 0.5rem);
  color: hsl(0 0% 100% / 0.78);
}

.search-toggle:hover,
.mobile-menu-btn:hover {
  background: hsl(0 0% 100% / 0.1);
  color: #fff;
}

.lang-switch {
  gap: 0;
  padding: 0.125rem;
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: var(--av-radius, 0.5rem);
  background: hsl(0 0% 100% / 0.08);
}

.lang-link {
  min-width: 2.25rem;
  border-radius: 0.375rem;
  color: hsl(0 0% 100% / 0.62);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0;
  text-align: center;
}

.lang-link.active {
  background: hsl(var(--chart-1));
  color: hsl(var(--primary));
}

#mainNav.open a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
}

/* Navigation structure cleanup pass. */
#mainNav.open .mobile-nav-section {
  display: flex;
  flex-direction: column;
}

#mainNav.open .mobile-nav-section + .mobile-nav-section {
  border-top: 1px solid hsl(0 0% 100% / 0.08);
  margin-top: 0.2rem;
  padding-top: 0.2rem;
}

#mainNav.open .mobile-nav-heading {
  color: hsl(0 0% 100% / 0.54);
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  padding: 0.55rem 1.5rem 0.25rem;
  text-transform: uppercase;
}

.nav-icon,
.topic-pill__icon {
  flex: 0 0 auto;
}

.topic-nav {
  border-top: 1px solid hsl(0 0% 100% / 0.08);
  box-shadow: 0 1px 0 hsl(224 60% 12% / 0.18);
}

.topic-nav .container {
  position: relative;
}

.topic-nav .container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2.75rem;
  pointer-events: none;
  background: linear-gradient(90deg, hsl(var(--primary) / 0), hsl(var(--primary)) 76%);
}

.topic-nav-scroll {
  gap: 0.25rem;
  padding: 0.625rem 0;
  padding-right: 2.75rem;
  scroll-padding-inline: 1rem 3rem;
}

.topic-pill {
  min-height: 2.25rem;
  padding: 0.375rem 0.55rem;
  border-radius: var(--av-radius, 0.5rem);
  color: hsl(0 0% 100% / 0.72);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
}

.topic-pill:hover {
  border-color: hsl(0 0% 100% / 0.18);
  background: hsl(0 0% 100% / 0.1);
  color: #fff;
}

.topic-pill.active {
  border-color: hsl(0 0% 100% / 0.22);
  background: hsl(0 0% 100% / 0.14);
  color: #fff;
}

.topic-pill--gold {
  color: hsl(var(--chart-1));
}

.topic-pill--gold:hover,
.topic-pill--gold.active {
  border-color: hsl(var(--chart-1) / 0.42);
  background: hsl(var(--chart-1) / 0.14);
  color: hsl(var(--chart-1));
}

.topic-pill--live {
  color: hsl(var(--destructive) / 0.92);
}

.topic-pill--accent {
  color: hsl(0 0% 100% / 0.9);
}

.av-feed-card__title,
.av-home-hero__title,
.av-article-hero__title,
.av-prose {
  font-family: var(--font-sans);
}

.av-feed-card__title {
  letter-spacing: 0;
}

/* AV DS border repair for public pages.
   Legacy main.css keeps --border as a hex color, while AV DS components expect
   HSL channels. Public bridge classes use explicit color tokens to avoid
   invalid hsl(var(--border)) resolving to currentColor. */
.av-card:not(.av-card--ghost),
.av-feed-card,
.av-input__wrapper,
.av-textarea,
.av-select__wrapper,
.av-alert,
.av-pill-tabs,
.av-segmented--cards .av-segmented__opt,
.av-lang-switcher,
.av-accent-card,
.av-data-table-wrap,
.av-callout,
.av-person-card {
  border-color: var(--ortcom-ds-border);
}

.av-card__footer,
.av-input__addon--left,
.av-input__addon--right,
.av-lang-switcher__btn + .av-lang-switcher__btn,
.av-data-table__head,
.av-data-table__row {
  border-color: var(--ortcom-ds-border-soft);
}

.av-person-card__avatar {
  border-color: var(--ortcom-ds-border);
}

.hp-scroll-row > * {
  flex: 0 0 calc((100% - 42px) / 4);
  min-width: 0;
}

.hp-scroll-row > * > .av-feed-card {
  height: auto;
}

.hp-scroll-row .av-feed-card--sm .av-feed-card__title {
  font-family: var(--font-sans);
  font-size: clamp(0.94rem, 0.98vw, 1.04rem);
  line-height: 1.35;
  -webkit-line-clamp: 5;
}

.hp-scroll-row .av-feed-card--sm .av-feed-card__body {
  min-height: 0;
}

/* Public title readability pass: cards may grow, but headlines must stay useful. */
.cards-3 > .card .card-title,
.cards-4 > .card .card-title,
.cards-3 > .card:first-child .card-title,
.cards-4 > .card:first-child .card-title,
.cards-3 > .card:not(:first-child) .card-title,
.cards-4 > .card:not(:first-child) .card-title,
.search-results-grid .av-feed-card__title {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.av-feed-card__title {
  -webkit-line-clamp: 6;
}

.af-card-title,
.event-card-title {
  -webkit-line-clamp: 5;
}

.video-card-info h3 {
  -webkit-line-clamp: 3;
}

@media (max-width: 768px), (prefers-reduced-motion: reduce) {
  [data-aos][data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

@media (max-width: 1180px) {
  .hp-scroll-row > * {
    flex-basis: calc((100% - 28px) / 3);
  }
}

@media (max-width: 900px) {
  .hp-scroll-row > * {
    flex-basis: calc((100% - 14px) / 2);
  }
}

@media (max-width: 480px) {
  .hp-scroll-row > * {
    flex-basis: min(24rem, calc(100vw - 2rem));
  }
}

.mobile-quick-nav {
  background: hsl(var(--background));
  border-bottom: 1px solid var(--ortcom-ds-border);
}

.service-shortcuts {
  display: none;
  border-bottom: 1px solid var(--ortcom-ds-border);
  background:
    linear-gradient(180deg, hsl(224 52% 98%), hsl(0 0% 100%));
}

.service-shortcuts__inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.55rem 0;
  overflow-x: auto;
}

.service-shortcuts__label {
  flex: 0 0 auto;
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
  font-weight: 760;
  line-height: 1;
  text-transform: uppercase;
}

.service-shortcuts__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.38rem 0.7rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: 999px;
  background: hsl(var(--card));
  color: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: var(--shadow-xs);
}

.service-shortcuts__item:hover {
  border-color: hsl(var(--primary) / 0.18);
  background: hsl(var(--accent));
}

.service-shortcuts__item--live {
  border-color: hsl(0 72% 48% / 0.22);
  color: hsl(0 72% 45%);
}

.service-shortcuts__item--cbd {
  border-color: hsl(var(--chart-1) / 0.42);
  background: hsl(var(--chart-1) / 0.08);
}

.mqn-btn {
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius, 0.5rem);
  background: hsl(var(--card));
  color: hsl(var(--primary));
  box-shadow: var(--shadow-xs);
}

.mqn-btn--cbd {
  border-color: hsl(var(--chart-1) / 0.48);
  background: hsl(var(--chart-1) / 0.09);
}

/* Homepage CBD/footer density pass.
   Homepage accepted AV DS contract: final page-specific density lives here. */
.site-footer {
  border-top: 1px solid hsl(44 51% 54% / 0.18);
  background:
    radial-gradient(circle at 12% 15%, hsl(44 51% 54% / 0.12), transparent 28%),
    linear-gradient(180deg, hsl(224 60% 20%), hsl(224 62% 16%));
  padding-top: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: 0.9rem;
}

.footer-grid {
  grid-template-columns: minmax(13rem, 1.12fr) repeat(5, minmax(7.2rem, 0.95fr));
  gap: clamp(0.65rem, 1.35vw, 1.1rem);
  margin-bottom: 1rem;
}

.footer-logo {
  margin-bottom: 0.7rem;
}

.footer-logo-title {
  color: hsl(0 0% 100% / 0.96);
}

.footer-logo-sub {
  color: hsl(0 0% 100% / 0.68);
}

.footer-heading {
  color: hsl(44 65% 72% / 0.9);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.footer-links {
  gap: 0.24rem;
}

.footer-links a {
  color: hsl(0 0% 100% / 0.68);
  font-size: 0.78rem;
  line-height: 1.24;
}

.footer-bottom {
  border-top-color: hsl(0 0% 100% / 0.10);
  color: hsl(0 0% 100% / 0.58);
  padding-top: 0.75rem;
  font-size: 0.72rem;
}

.footer-bottom a {
  color: hsl(0 0% 100% / 0.62);
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: hsl(0 0% 100% / 0.96);
}

.site-footer .social-row a {
  background: hsl(0 0% 100% / 0.10);
  color: hsl(0 0% 100% / 0.86);
  width: 34px;
  height: 34px;
}

.site-footer .social-row svg {
  width: 18px;
  height: 18px;
}

.site-footer .social-row a:hover {
  background: hsl(44 51% 54% / 0.22);
  color: hsl(0 0% 100% / 0.96);
}

/* ══════════════════════════════════════════════════════════════════════
   Public pages → AV DS bridge
   Слой покрывает разделы, которые еще используют legacy-классы.
   Разметка остается прежней, визуальные primitive приводятся к AV DS.
   ══════════════════════════════════════════════════════════════════════ */

.main {
  background: hsl(var(--background));
}

.page-header {
  padding: 1.5rem 0;
  margin: 0 0 1.5rem;
  background: hsl(var(--primary));
  border-top: 1px solid hsl(0 0% 100% / 0.08);
  border-bottom: 1px solid hsl(224 60% 12% / 0.26);
}

.page-header .container {
  display: grid;
  gap: 0.875rem;
}

.page-header .av-breadcrumbs-wrap {
  margin: 0;
}

.page-header .av-breadcrumbs {
  color: hsl(0 0% 100% / 0.54);
}

.page-header .av-breadcrumbs__link,
.page-header .av-breadcrumbs__separator,
.page-header .av-breadcrumbs__current {
  color: hsl(0 0% 100% / 0.62);
}

.page-header .av-breadcrumbs__link:hover,
.page-header .av-breadcrumbs__link:focus-visible {
  color: #fff;
}

.rd-hero .av-breadcrumbs-wrap,
.initiative-hero .av-breadcrumbs-wrap,
.af-hero .av-breadcrumbs-wrap,
.pb-hero .av-breadcrumbs-wrap,
.pres-hero .av-breadcrumbs-wrap {
  margin-bottom: 0.65rem;
}

.rd-hero .av-breadcrumbs,
.initiative-hero .av-breadcrumbs,
.af-hero .av-breadcrumbs,
.pb-hero .av-breadcrumbs,
.pres-hero .av-breadcrumbs {
  color: hsl(0 0% 100% / 0.56);
}

.rd-hero .av-breadcrumbs__link,
.rd-hero .av-breadcrumbs__separator,
.rd-hero .av-breadcrumbs__current,
.initiative-hero .av-breadcrumbs__link,
.initiative-hero .av-breadcrumbs__separator,
.initiative-hero .av-breadcrumbs__current,
.af-hero .av-breadcrumbs__link,
.af-hero .av-breadcrumbs__separator,
.af-hero .av-breadcrumbs__current,
.pb-hero .av-breadcrumbs__link,
.pb-hero .av-breadcrumbs__separator,
.pb-hero .av-breadcrumbs__current,
.pres-hero .av-breadcrumbs__link,
.pres-hero .av-breadcrumbs__separator,
.pres-hero .av-breadcrumbs__current {
  color: hsl(0 0% 100% / 0.64);
}

.rd-hero .av-breadcrumbs__current,
.initiative-hero .av-breadcrumbs__current,
.af-hero .av-breadcrumbs__current,
.pb-hero .av-breadcrumbs__current,
.pres-hero .av-breadcrumbs__current {
  color: hsl(0 0% 100% / 0.86);
}

.rd-hero .av-breadcrumbs__link:hover,
.rd-hero .av-breadcrumbs__link:focus-visible,
.initiative-hero .av-breadcrumbs__link:hover,
.initiative-hero .av-breadcrumbs__link:focus-visible,
.af-hero .av-breadcrumbs__link:hover,
.af-hero .av-breadcrumbs__link:focus-visible,
.pb-hero .av-breadcrumbs__link:hover,
.pb-hero .av-breadcrumbs__link:focus-visible,
.pres-hero .av-breadcrumbs__link:hover,
.pres-hero .av-breadcrumbs__link:focus-visible {
  color: #fff;
}

.page-header .av-page-header {
  align-items: center;
}

.page-header .av-page-header__main {
  align-items: flex-start;
}

.page-header .av-page-header__icon {
  background: hsl(0 0% 100% / 0.08);
  color: hsl(var(--chart-1));
  box-shadow: inset 0 0 0 1px hsl(0 0% 100% / 0.14);
}

.page-header .av-page-header__title {
  color: #fff;
  white-space: normal;
  letter-spacing: 0;
}

.page-header .av-page-header__subtitle {
  color: hsl(0 0% 100% / 0.66);
}

.page-header .av-page-header__underline-rest {
  background: hsl(0 0% 100% / 0.12);
}

.page-header .av-page-header__underline-accent {
  background: hsl(var(--chart-1));
}

.page-header__badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.25rem 0.5rem;
  border: 1px solid hsl(var(--chart-1) / 0.34);
  border-radius: var(--av-radius);
  background: hsl(var(--chart-1) / 0.11);
  color: hsl(var(--chart-1));
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.page-header__counter {
  min-width: 8rem;
  padding: 0.75rem 0.875rem;
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: var(--av-radius);
  background: hsl(0 0% 100% / 0.07);
  text-align: right;
}

.page-header__counter-num {
  display: block;
  color: hsl(var(--chart-1));
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.page-header__counter-label {
  display: block;
  margin-top: 0.375rem;
  color: hsl(0 0% 100% / 0.56);
  font-size: 0.75rem;
  line-height: 1.25;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.375rem;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  line-height: 1.4;
  letter-spacing: 0;
}

.breadcrumb a {
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: hsl(var(--primary));
}

.breadcrumb-sep,
.breadcrumb-current {
  color: hsl(var(--muted-foreground) / 0.78);
}

.cat-header {
  padding: 1.5rem 0;
  margin: 0 0 1.5rem;
  border-bottom: 1px solid var(--ortcom-ds-border);
  background: hsl(var(--card));
}

.cat-header .container {
  gap: 0.75rem 1rem;
}

.cat-header .av-page-header__title,
.cat-h1 {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.cat-bc,
.cat-count,
.date-label,
.card-meta,
.card-lead,
.list-row-date {
  color: hsl(var(--muted-foreground));
}

.section {
  padding: 2rem 0 1.25rem;
}

.section-header {
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ortcom-ds-border);
}

.section-title,
.radio-section__title {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
}

.section-title svg,
.radio-section__icon {
  color: hsl(var(--chart-1));
}

.card,
.sidebar-block,
.contacts-card,
.media-nav-card,
.event-card,
.doc-item,
.video-card,
.live-upcoming-card,
.af-filterbar,
.af-date-filters,
.af-verdict-card,
.af-post-card,
.af-sidebar-block,
.govpress-card,
.govpress-panel,
.cabinet-card,
.cabinet-panel,
.radio-section,
.radio-schedule,
.radio-queue,
.radio-archive {
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--card));
  box-shadow: var(--shadow-xs);
}

/* Map owns a deliberately immersive canvas and light information drawer. */
html[data-site="ortcom"] .map-sidebar {
  background: #fff;
  border-color: rgba(21, 34, 89, 0.16);
  color: #1a2340;
}

html[data-site="ortcom"] .map-legend {
  background: rgba(14, 23, 64, 0.92);
  border-color: rgba(200, 168, 75, 0.2);
  color: #fff;
}

html[data-site="ortcom"] .article-tts-player {
  background: hsl(var(--card));
  border-color: var(--ortcom-ds-border);
  color: hsl(var(--card-foreground));
}

html[data-site="ortcom"] .article-tts-player .tts-speed-btn {
  background: hsl(var(--secondary));
  border-color: var(--ortcom-ds-border);
  color: hsl(var(--secondary-foreground));
}

html[data-site="ortcom"][data-theme="dark"] .service-shortcuts,
html[data-site="ortcom"][data-theme="dark"] .hp-hero {
  background: hsl(var(--background));
}

html[data-site="ortcom"][data-theme="dark"] .service-shortcuts {
  border-color: var(--ortcom-ds-border-soft);
}

html[data-site="ortcom"][data-theme="dark"] .hp-cbd-card {
  background: hsl(var(--card));
  border-color: var(--ortcom-ds-border);
  color: hsl(var(--card-foreground));
}

.card,
.media-nav-card,
.event-card,
.video-card,
.live-upcoming-card,
.af-post-card {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.card:hover,
.media-nav-card:hover,
.event-card:hover,
.video-card:hover,
.live-upcoming-card:hover,
.af-post-card:hover {
  border-color: hsl(var(--primary) / 0.24);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

/* Card comfort pass: keep legacy/card text away from hard edges. */
:root {
  --ortcom-card-pad-x: clamp(0.875rem, 3vw, 1.125rem);
  --ortcom-card-pad-y: clamp(0.75rem, 2.4vw, 1rem);
  --ortcom-card-pad-x-compact: clamp(0.75rem, 2.5vw, 1rem);
}

.card-meta,
.card-title,
.card-lead {
  padding-inline: var(--ortcom-card-pad-x);
}

.cards-3 > .card:first-child .card-meta,
.cards-4 > .card:first-child .card-meta {
  padding: 10px var(--ortcom-card-pad-x) 2px;
}

.cards-3 > .card:first-child .card-title,
.cards-4 > .card:first-child .card-title {
  padding-inline: var(--ortcom-card-pad-x);
}

.cards-3 > .card:not(:first-child) .card-meta,
.cards-4 > .card:not(:first-child) .card-meta {
  padding: 10px var(--ortcom-card-pad-x-compact) 2px;
}

.cards-3 > .card:not(:first-child) .card-title,
.cards-4 > .card:not(:first-child) .card-title {
  padding: 2px var(--ortcom-card-pad-x-compact) 10px;
}

.av-feed-card__body {
  padding: 1rem 1.125rem 1.125rem;
}

.av-feed-card--sm .av-feed-card__body {
  padding: 0.875rem 1rem 1rem;
}

.av-feed-card--horizontal .av-feed-card__body {
  padding-block: 0.875rem 1rem;
}

.video-card-info {
  padding: var(--ortcom-card-pad-y) var(--ortcom-card-pad-x) 1rem;
}

.video-card-info h3,
.video-card-meta {
  padding-inline: 0;
}

.sidebar-block,
.af-card,
.af-sidebar-block,
.media-nav-card,
.doc-item,
.live-upcoming-card,
.govpress-stat-card,
.hp-cbd-card {
  box-sizing: border-box;
}

.sidebar-block,
.af-sidebar-block {
  padding: var(--ortcom-card-pad-y) var(--ortcom-card-pad-x);
}

.af-card {
  padding: var(--ortcom-card-pad-y) var(--ortcom-card-pad-x);
}

.doc-item {
  padding: 0.875rem var(--ortcom-card-pad-x);
}

.media-nav-card,
.live-upcoming-card {
  padding: clamp(0.875rem, 3vw, 1.25rem);
}

.event-card-body,
.event-card-footer {
  padding-inline: var(--ortcom-card-pad-x);
}

.event-card > .event-card-top {
  padding: var(--ortcom-card-pad-y) var(--ortcom-card-pad-x) 0;
}

.event-card > .card-title,
.event-card > .event-card-location,
.event-card > .event-card-speakers {
  padding-inline: var(--ortcom-card-pad-x);
}

.event-card > .event-card-speakers {
  padding-bottom: var(--ortcom-card-pad-y);
}

.pb-card-body,
.hp-scroll-card-body {
  padding: 0.75rem 0.875rem 0.9rem;
}

.hp-cbd-card {
  padding: 0.875rem 1rem;
}

/* Homepage hero and CBD contrast pass. */
.av-home-layout {
  --av-home-feed-height: 456px;
  align-items: start;
  min-height: 0;
}

@media (min-width: 769px) {
  .av-home-layout {
    grid-template-columns: minmax(0, 1.38fr) minmax(18rem, 0.74fr);
  }

  .av-home-hero,
  .hp-hero-carousel {
    grid-column: 1;
    grid-row: 1;
  }

  .av-home-feed {
    grid-column: 2;
    grid-row: 1;
  }
}

.hp-hero {
  padding-bottom: 0.75rem;
}

.hp-hero-carousel {
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
}

.hp-hero-slide {
  height: 100%;
}

.hp-hero-slide[hidden] {
  display: none !important;
}

.hp-hero-slide .av-home-hero,
.hp-hero-card.av-home-hero {
  height: 100%;
}

.hp-hero-carousel__controls {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  pointer-events: none;
}

.hp-hero-carousel__dot {
  width: 0.68rem;
  height: 0.68rem;
  border: 0;
  border-radius: 999px;
  background: hsl(0 0% 100% / 0.38);
  box-shadow: 0 0 0 1px hsl(224 60% 12% / 0.18);
  pointer-events: auto;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.hp-hero-carousel__dot:hover,
.hp-hero-carousel__dot:focus-visible,
.hp-hero-carousel__dot.is-active {
  background: hsl(var(--chart-1));
  transform: scale(1.08);
}

.av-home-hero,
.av-home-feed {
  height: var(--av-home-feed-height);
}

.av-home-hero {
  width: 100%;
  min-width: 0;
  aspect-ratio: auto;
  min-height: 0;
  max-height: none;
}

.av-home-hero {
  aspect-ratio: 16 / 9;
  height: auto;
}

.av-home-hero__content {
  max-width: 760px;
}

.av-home-hero__title {
  max-width: none;
  margin-bottom: 0;
}

.av-home-hero__deck {
  display: none;
}

.av-home-feed {
  align-self: stretch;
}

.av-home-feed--daily {
  overflow: hidden;
}

.av-home-feed--daily .av-home-feed__list {
  max-height: calc(var(--av-home-feed-height) - 3.35rem);
  overflow-y: auto;
  padding-top: 0.2rem;
  padding-right: 0.2rem;
}

.av-home-feed--daily .av-home-feed__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  align-items: start;
  gap: 0.7rem;
  padding: 0.72rem 0.9rem;
  min-height: 0;
}

.av-home-feed--daily .av-home-feed__time {
  display: block;
  min-width: 0;
  color: hsl(var(--primary));
  font-size: 0.8rem;
  font-weight: 760;
  line-height: 1.2;
}

.av-home-feed--daily .av-home-feed__text {
  font-size: 0.83rem;
  font-weight: 570;
  line-height: 1.36;
  -webkit-line-clamp: 3;
}

.av-home-feed--plain .av-home-feed__item {
  gap: 0;
  padding: 0.58rem 0.875rem;
  min-height: 4.25rem;
}

.av-home-feed--plain .av-home-feed__time {
  display: none;
}

.av-home-feed--plain .av-home-feed__text {
  font-size: 0.85rem;
  font-weight: 560;
  line-height: 1.34;
  -webkit-line-clamp: 3;
}

.av-home-feed--plain .av-home-feed__list {
  padding-top: 0.375rem;
}

.av-home-feed--plain.av-home-feed--daily .av-home-feed__item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 0.7rem;
  padding: 0.72rem 0.9rem;
  min-height: 0;
}

.av-home-feed--plain.av-home-feed--daily .av-home-feed__time {
  display: block;
  min-width: 0;
}

.av-home-feed--plain.av-home-feed--daily .av-home-feed__text {
  display: -webkit-box;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.av-home-feed__more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

.av-home-hero__date--corner {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.34rem 0.7rem;
  border: 1px solid hsl(0 0% 100% / 0.18);
  border-radius: calc(var(--av-radius) - 2px);
  background: hsl(224 60% 12% / 0.62);
  color: hsl(0 0% 100% / 0.9);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1;
  letter-spacing: 0;
  backdrop-filter: blur(10px);
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .av-home-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(17rem, 0.8fr);
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .av-home-layout {
    grid-template-columns: minmax(0, 1.14fr) minmax(16rem, 0.86fr);
  }
}

/* Homepage typography scale pass: keep editorial cards readable and proportional. */
.hp-section .av-home-section-header__title {
  font-size: clamp(1rem, 1.1vw, 1.16rem);
  line-height: 1.18;
}

.hp-scroll-row .av-feed-card--sm .av-feed-card__body {
  min-height: 0;
  padding: 0.82rem 0.9rem 0.95rem;
}

.hp-scroll-row .av-feed-card--sm .av-feed-card__title {
  font-size: clamp(0.86rem, 0.86vw, 0.94rem);
  font-weight: 660;
  line-height: 1.34;
}

.hp-cbd-card-title {
  font-size: 0.82rem;
  font-weight: 660;
  line-height: 1.38;
  min-height: calc(1.38em * 3);
}

.hp-agenda-title {
  font-size: 0.8rem;
  font-weight: 660;
  line-height: 1.36;
  min-height: calc(1.36em * 3);
}

.hp-brief-lead > .av-feed-card .av-feed-card__title {
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 680;
}

.hp-brief-list .av-feed-card--horizontal .av-feed-card__title {
  font-size: clamp(0.86rem, 0.9vw, 0.95rem);
  font-weight: 680;
}

.hp-cbd {
  padding: 1.45rem 0 1.6rem;
}

.hp-cbd-inner {
  background:
    radial-gradient(circle at 18% 15%, hsl(44 51% 54% / 0.2), transparent 34%),
    linear-gradient(135deg, hsl(224 60% 22%), hsl(224 58% 28%) 58%, hsl(224 64% 18%));
  color: hsl(0 0% 100% / 0.92);
  gap: 1rem;
  padding: 1.05rem 1.15rem;
}

.hp-cbd-title,
.hp-cbd-desc {
  color: hsl(0 0% 100% / 0.94);
  opacity: 1;
}

.hp-cbd-desc {
  color: hsl(0 0% 100% / 0.74);
  font-size: 0.76rem;
  line-height: 1.38;
}

.hp-cbd-icon {
  background: hsl(44 51% 54% / 0.16);
  color: hsl(44 65% 72%);
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
}

.hp-cbd-title {
  font-size: 1rem;
  line-height: 1.24;
}

.hp-cbd-text {
  gap: 0.8rem;
}

.hp-cbd-stats {
  align-items: stretch;
  gap: 0.5rem;
}

.hp-cbd-stats > div {
  min-width: 0;
}

.hp-cbd-stats .av-metric {
  min-width: 4.2rem;
  height: 100%;
  padding: 0.5rem 0.6rem;
  border: 1px solid hsl(0 0% 100% / 0.16);
  border-radius: calc(var(--av-radius) - 2px);
  background: hsl(0 0% 100% / 0.08);
  box-shadow: inset 0 1px 0 hsl(0 0% 100% / 0.1);
}

.hp-cbd-stats .av-metric__header {
  color: hsl(0 0% 100% / 0.72);
}

.hp-cbd-stats .av-metric__label {
  color: inherit;
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

.hp-cbd-stats .av-metric__value {
  color: hsl(0 0% 100% / 0.96);
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hp-cbd-stats .hp-cbd-stat--fake .av-metric__value {
  color: hsl(0 88% 78%);
}

.hp-cbd-stats .hp-cbd-stat--misinfo .av-metric__value {
  color: hsl(39 96% 72%);
}

.hp-cbd-stats .hp-cbd-stat--verified .av-metric__value {
  color: hsl(142 63% 70%);
}

.hp-cbd-actions .hp-cbd-action--ghost {
  border-color: hsl(0 0% 100% / 0.18);
  color: hsl(0 0% 100% / 0.86);
}

.hp-cbd-actions .av-btn {
  min-height: 2rem;
  padding-inline: 0.75rem;
  font-size: 0.74rem;
}

.hp-cbd-cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.hp-cbd-card {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: auto;
  gap: 0.7rem;
  padding: 1.05rem 1.15rem;
}

.hp-cbd-verdict {
  align-self: flex-start;
  margin-bottom: 0;
  white-space: nowrap;
}

.hp-cbd-card-title {
  margin: 0;
  color: hsl(var(--foreground));
  font-size: 0.82rem;
  font-weight: 660;
  line-height: 1.38;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  line-clamp: unset;
  display: block;
  overflow: visible;
}

.hp-cbd-card-date {
  margin-top: auto;
  color: hsl(var(--muted-foreground));
  font-size: 0.74rem;
  font-weight: 520;
}

@media (max-width: 768px) {
  .av-home-layout {
    --av-home-feed-height: auto;
  }

  .av-home-hero {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .av-home-feed {
    height: auto;
    max-height: none;
  }

  .av-home-feed--daily .av-home-feed__list {
    max-height: min(24rem, 54vh);
    overflow-y: auto;
    padding-right: 0.2rem;
  }

  .av-home-feed--daily .av-home-feed__item {
    grid-template-columns: 3.1rem minmax(0, 1fr);
  }

  .av-home-feed--daily .av-home-feed__time {
    font-size: 0.88rem;
  }

  .hp-cbd-stats {
    flex-wrap: wrap;
  }
}

/*───────────────────────────────────────────────────────────────────────────────
  Final stability pass (post-autopsy): menu open reliably, pills compact,
  footer readable in dark theme, and mobile interactions with bigger touch targets.
───────────────────────────────────────────────────────────────────────────────*/

:root {
  --_ortcom-header-nav-gap: 0px;
}

body.menu-open,
body.search-open {
  overflow: hidden;
}

/* Ensure mobile header can reliably host an overlay dropdown. */
.site-header {
  z-index: 90;
}

#mainNav {
  position: fixed !important;
  top: calc(var(--header-h, 64px) + var(--_ortcom-header-nav-gap, 0px)) !important;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1050;
  background: var(--navy, #152259);
  border-top: 1px solid hsl(0 0% 100% / 0.1);
  box-shadow: 0 14px 28px hsl(220 40% 12% / 0.28);
  max-height: calc(100dvh - var(--header-h, 64px) - var(--_ortcom-header-nav-gap, 0px));
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: none;
}

#mainNav.open {
  display: flex !important;
  flex-direction: column !important;
}

#mainNav.open .mobile-nav-section {
  padding-inline: 0;
}

#mainNav a {
  display: flex !important;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.45rem 1.05rem !important;
  font-size: 0.95rem;
  line-height: 1.15;
}

#mainNav .mobile-nav-heading {
  padding: 0.68rem 1.05rem 0.4rem;
  margin: 0;
  line-height: 1.2;
}

#mainNav .mobile-nav-lang {
  padding: 0.5rem 0.8rem 0.9rem !important;
}

#mainNav .mobile-nav-lang a {
  min-height: 2.4rem !important;
}

.topic-pill,
.filter-pill {
  min-height: 1.75rem !important;
  line-height: 1.16 !important;
  padding: 0.24rem 0.58rem !important;
  white-space: nowrap;
  border-radius: 999px;
}

.topic-pill__icon,
.filter-pill svg {
  width: 0.75rem;
  height: 0.75rem;
}

.topic-pill--gold,
.topic-pill--live,
.topic-pill--accent {
  background-image: none;
}

/* Dark theme footer + links contrast: avoid invisible links on dark background. */
[data-theme="dark"],
[data-site="ortcom"][data-theme="dark"] .site-footer {
  --_ortcom-footer-bg: hsl(224 34% 16%);
}

[data-theme="dark"] .site-footer,
[data-site="ortcom"][data-theme="dark"] .site-footer {
  background: var(--_ortcom-footer-bg);
  color: hsl(0 0% 95%);
  border-top-color: hsl(0 0% 100% / 0.2);
}

[data-theme="dark"] .site-footer a,
[data-site="ortcom"][data-theme="dark"] .site-footer a {
  color: hsl(0 0% 95% / 0.88);
}

[data-theme="dark"] .site-footer a:hover,
[data-site="ortcom"][data-theme="dark"] .site-footer a:hover,
[data-theme="dark"] .site-footer a:focus-visible,
[data-site="ortcom"][data-theme="dark"] .site-footer a:focus-visible {
  color: #fff;
}

@media (max-width: 900px) {
  .topic-pill,
  .filter-pill {
    min-height: 1.75rem !important;
    padding-inline: 0.52rem !important;
    font-size: 0.72rem !important;
    line-height: 1.12;
  }
}

@media (max-width: 360px) {
  #mainNav a {
    min-height: 2.35rem;
    padding-inline: 0.78rem !important;
    font-size: 0.84rem;
  }

  .topic-pill,
  .filter-pill {
    min-height: 1.62rem !important;
    padding-inline: 0.48rem !important;
    font-size: 0.68rem !important;
  }
}

@media (max-width: 560px) {
  .av-home-hero {
    height: auto;
    min-height: 0;
  }

  .hp-cbd-stats .av-metric {
    min-width: calc(50vw - 2rem);
  }
}

/* Homepage press and footer polish pass. */
.hp-section--briefings {
  background: linear-gradient(180deg, hsl(216 28% 94%), hsl(216 30% 96%));
  padding: 2rem 0 2.25rem;
}

.hp-section--briefings .av-home-section-header {
  align-items: center;
  margin-bottom: 1rem;
}

.hp-section--briefings .av-home-section-header__title {
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
}

.hp-agenda-inline {
  overflow: visible;
  padding: 1rem 1.125rem 1.125rem;
  border-color: var(--ortcom-ds-border);
  border-radius: var(--av-radius, 0.5rem);
  box-shadow: var(--shadow-xs);
}

.hp-agenda-header {
  margin-bottom: 0.875rem;
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.hp-agenda-all {
  color: hsl(var(--muted-foreground));
  font-weight: 750;
  opacity: 1;
}

.hp-agenda-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: 0.75rem;
  overflow: visible;
  padding: 0;
}

.hp-agenda-card {
  min-width: 0;
  max-width: none;
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-color: var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius, 0.5rem) - 2px);
  padding: 0.9rem 1rem 0.95rem;
  background: hsl(var(--card));
  box-shadow: none;
}

.hp-agenda-card:hover {
  border-color: hsl(var(--primary) / 0.35);
  box-shadow: var(--shadow-xs);
}

.hp-agenda-title {
  margin-top: 0.5rem;
  color: hsl(var(--foreground));
  font-size: 0.8rem;
  font-weight: 660;
  line-height: 1.36;
  letter-spacing: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  -webkit-line-clamp: unset;
  -webkit-box-orient: initial;
  line-clamp: unset;
  display: block;
  overflow: visible;
}

.hp-briefings-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(22rem, 0.95fr);
  gap: 1rem;
  align-items: stretch;
}

/* Homepage press lead: legacy wrapper should not leave a navy tail below AV DS cards. */
.hp-brief-lead {
  align-self: stretch;
  min-height: 0;
  background: transparent;
  color: inherit;
}

.hp-brief-lead > .av-feed-card {
  height: 100%;
  min-height: 0;
  border-color: var(--ortcom-ds-border);
  box-shadow: var(--shadow-sm);
}

.hp-brief-lead > .av-feed-card .av-feed-card__media {
  aspect-ratio: 16 / 9;
}

.hp-brief-lead > .av-feed-card .av-feed-card__body {
  min-height: 0;
  padding: 1rem 1.125rem 1.15rem;
}

.hp-brief-lead > .av-feed-card .av-feed-card__title {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.28;
  -webkit-line-clamp: 3;
}

.hp-brief-lead > .av-feed-card .av-feed-card__deck {
  color: hsl(var(--muted-foreground));
  font-size: 0.9rem;
}

.hp-brief-list {
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 0.625rem;
  height: 100%;
  min-height: 0;
}

.hp-brief-list .av-feed-card--horizontal {
  min-height: 0;
  border-color: var(--ortcom-ds-border);
  box-shadow: var(--shadow-xs);
}

.hp-brief-list .av-feed-card--horizontal .av-feed-card__media {
  width: 9.25rem;
  height: 100%;
  aspect-ratio: auto;
}

.hp-brief-list .av-feed-card--horizontal .av-feed-card__body {
  justify-content: center;
  padding: 0.85rem 1rem;
}

.hp-brief-list .av-feed-card--horizontal .av-feed-card__title {
  font-size: clamp(0.95rem, 1vw, 1.05rem);
  line-height: 1.32;
  -webkit-line-clamp: 3;
}

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: minmax(13rem, 1.1fr) repeat(3, minmax(9rem, 1fr));
  }

  .hp-agenda-scroll {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-briefings-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hp-section--briefings {
    padding: 1.35rem 0 1.75rem;
  }

  .hp-agenda-inline {
    padding: 0.875rem;
  }

  .hp-agenda-header {
    flex-wrap: wrap;
  }

  .hp-agenda-all {
    margin-left: 0;
    width: 100%;
  }

  .hp-agenda-scroll {
    grid-auto-columns: minmax(16rem, 82vw);
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    padding: 0 0.25rem 0.35rem;
    scroll-padding-inline: 0.25rem;
  }

  .hp-brief-list .av-feed-card--horizontal .av-feed-card__media {
    width: 8rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid > *:first-child {
    grid-column: 1 / -1;
  }
}

html[data-product="antifake"] .antifake-index-page .af-insights-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

html[data-product="antifake"] .antifake-index-page .af-filterbar {
  align-items: stretch;
}

html[data-product="antifake"] .antifake-index-page .af-filter-tabs {
  width: 100%;
  grid-column: 1 / -1;
}

html[data-product="antifake"] .antifake-index-page .af-search-form--primary {
  width: 100%;
  max-width: none;
  grid-column: 1 / -1;
}

html[data-product="antifake"] .antifake-index-page .af-advanced-filters {
  width: 100%;
  grid-column: 1 / -1;
  border-top: 1px solid var(--ortcom-ds-border);
}

html[data-product="antifake"] .antifake-index-page .af-advanced-filters > summary {
  min-height: 2.75rem;
  display: flex;
  align-items: center;
  color: hsl(var(--muted-foreground));
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 650;
  list-style: none;
}

html[data-product="antifake"] .antifake-index-page .af-advanced-filters > summary::-webkit-details-marker {
  display: none;
}

html[data-product="antifake"] .antifake-index-page .af-advanced-filters > summary::after {
  margin-left: auto;
  content: "+";
  color: hsl(var(--foreground));
  font-size: 1rem;
}

html[data-product="antifake"] .antifake-index-page .af-advanced-filters[open] > summary::after {
  content: "−";
}

html[data-product="antifake"] .antifake-index-page .af-advanced-filters__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  padding: 0 0 0.75rem;
}

html[data-product="antifake"] .antifake-index-page .af-advanced-filters__body .af-date-filters {
  grid-column: 1 / -1;
}

html[data-product="antifake"] .af-sidebar-cta-copy {
  margin: 0 0 1rem;
  color: hsl(var(--primary-foreground) / 0.72);
  font-size: 0.78rem;
  line-height: 1.55;
}

html[data-product="antifake"] .af-sidebar-report-button {
  width: 100%;
  justify-content: center;
}

html[data-product="antifake"] .af-report-error {
  margin-bottom: 1rem;
  padding: 0.8rem 0.9rem;
  color: hsl(var(--destructive));
  border: 1px solid hsl(var(--destructive) / 0.3);
  border-radius: var(--av-radius);
  background: hsl(var(--destructive) / 0.07);
  font-size: 0.82rem;
  line-height: 1.5;
}

html[data-product="antifake"] .af-report-receipt {
  display: inline-flex;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding: 0.5rem 0.7rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--muted));
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

html[data-product="antifake"] .af-report-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

html[data-product="antifake"] .af-language-notice {
  display: flex;
  gap: 0.45rem 0.75rem;
  margin: 1rem 0;
  padding: 0.75rem 0.9rem;
  color: hsl(var(--foreground));
  border: 1px solid var(--ortcom-ds-border);
  border-left: 3px solid hsl(var(--primary));
  border-radius: var(--av-radius);
  background: hsl(var(--card));
  font-size: 0.78rem;
  line-height: 1.5;
}

html[data-product="antifake"] .af-language-notice strong {
  flex: 0 0 auto;
}

html[data-product="antifake"] .af-service-shell {
  max-width: 64rem;
  padding-top: 1.25rem;
  padding-bottom: 1rem;
}

html[data-product="antifake"] .af-service-hero {
  max-width: 48rem;
  padding: 2.25rem 0 1.5rem;
}

html[data-product="antifake"] .af-service-hero h1 {
  margin: 0.35rem 0 0.65rem;
  color: hsl(var(--foreground));
  font-size: 2.5rem;
  line-height: 1.08;
}

html[data-product="antifake"] .af-service-hero > p:last-child {
  max-width: 44rem;
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 1rem;
  line-height: 1.65;
}

html[data-product="antifake"] .af-service-section {
  padding: 1.75rem 0;
  border-top: 1px solid var(--ortcom-ds-border);
}

html[data-product="antifake"] .af-service-section h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.25;
}

html[data-product="antifake"] .af-service-steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: af-service-step;
}

html[data-product="antifake"] .af-service-steps li {
  position: relative;
  min-height: 4.2rem;
  display: grid;
  grid-template-columns: minmax(10rem, 0.4fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 1rem 1rem 3.4rem;
  border-top: 1px solid var(--ortcom-ds-border);
  counter-increment: af-service-step;
}

html[data-product="antifake"] .af-service-steps li::before {
  position: absolute;
  top: 0.85rem;
  left: 0;
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  content: counter(af-service-step, decimal-leading-zero);
  color: hsl(var(--primary-foreground));
  border-radius: 50%;
  background: hsl(var(--primary));
  font-size: 0.68rem;
  font-weight: 750;
}

html[data-product="antifake"] .af-service-steps strong,
html[data-product="antifake"] .af-service-grid strong {
  color: hsl(var(--foreground));
  font-size: 0.88rem;
}

html[data-product="antifake"] .af-service-steps span,
html[data-product="antifake"] .af-service-grid span {
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
  line-height: 1.55;
}

html[data-product="antifake"] .af-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

html[data-product="antifake"] .af-service-grid > a,
html[data-product="antifake"] .af-service-grid > div {
  min-height: 5.5rem;
  display: grid;
  align-content: center;
  gap: 0.3rem;
  padding: 1rem;
  color: inherit;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--card));
  text-decoration: none;
}

html[data-product="antifake"] .af-service-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.15rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--card));
}

html[data-product="antifake"] .af-service-action > div {
  display: grid;
  gap: 0.25rem;
}

html[data-product="antifake"] .af-service-action span {
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
  line-height: 1.5;
}

html[data-product="antifake"] .af-service-action a {
  min-height: 2.5rem;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 0.85rem;
  color: hsl(var(--primary-foreground));
  border-radius: var(--av-radius);
  background: hsl(var(--primary));
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

html[data-product="antifake"] .af-service-definitions {
  display: grid;
  gap: 0;
  margin: 0;
}

html[data-product="antifake"] .af-service-definitions > div {
  display: grid;
  grid-template-columns: minmax(9rem, 0.28fr) minmax(0, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--ortcom-ds-border);
}

html[data-product="antifake"] .af-service-definitions dt {
  color: hsl(var(--foreground));
  font-weight: 750;
}

html[data-product="antifake"] .af-service-definitions dd {
  margin: 0;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

@media (max-width: 640px) {
  html[data-product="antifake"] .af-language-notice,
  html[data-product="antifake"] .af-service-action {
    display: grid;
  }

  html[data-product="antifake"] .af-service-hero {
    padding-top: 1.5rem;
  }

  html[data-product="antifake"] .af-service-hero h1 {
    font-size: 2rem;
  }

  html[data-product="antifake"] .af-service-steps li,
  html[data-product="antifake"] .af-service-definitions > div {
    grid-template-columns: 1fr;
  }

  html[data-product="antifake"] .af-service-steps li {
    gap: 0.3rem;
  }

  html[data-product="antifake"] .af-service-grid {
    grid-template-columns: 1fr;
  }

  html[data-product="antifake"] .af-service-action a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  html[data-product="antifake"] .antifake-index-page .af-insights-grid,
  html[data-product="antifake"] .antifake-index-page .af-advanced-filters__body {
    grid-template-columns: 1fr;
  }

  html[data-product="antifake"] .antifake-index-page .af-advanced-filters__body .af-date-filters {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .hp-brief-list .av-feed-card--horizontal {
    min-height: 0;
  }

  .hp-brief-list .av-feed-card--horizontal .av-feed-card__media {
    width: 6.5rem;
  }

  .hp-brief-list .av-feed-card--horizontal .av-feed-card__title {
    font-size: 0.88rem;
    -webkit-line-clamp: 4;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.govpress-stat-card,
.af-verdict-card {
  padding: 1rem;
}

@media (max-width: 600px) {
  .doc-item {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.75rem;
  }

  .doc-icon {
    grid-column: 1;
    grid-row: 1;
  }

  .doc-info {
    grid-column: 2;
    grid-row: 1;
  }

  .doc-actions {
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    align-items: stretch;
    align-self: start;
    gap: 0.45rem;
  }

  .doc-preview,
  .doc-download {
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  :root {
    --ortcom-card-pad-x: 0.875rem;
    --ortcom-card-pad-y: 0.75rem;
    --ortcom-card-pad-x-compact: 0.75rem;
  }

  .pb-card-body,
  .hp-scroll-card-body {
    padding: 0.7rem 0.8rem 0.8rem;
  }

  .hp-cbd-card,
  .govpress-stat-card,
  .af-verdict-card {
    padding: 0.875rem;
  }

  .hp-brief-lead > .av-feed-card {
    min-height: 0;
  }
}

.card-img,
.card-img-placeholder,
.video-card-thumb,
.media-nav-card-icon,
.doc-icon,
.af-vc-icon {
  background: hsl(var(--primary) / 0.09);
  color: hsl(var(--primary));
}

.card-title,
.card-title a,
.video-card-info h3,
.media-nav-card-title,
.event-card .card-title,
.doc-title,
.af-card-title,
.af-post-title {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.card:hover .card-title a,
.media-nav-card:hover .media-nav-card-title,
.video-card:hover h3 {
  color: hsl(var(--primary));
}

/* Media hub structure cleanup pass: make /media/ the shared entry for journalists and press offices. */
.media-nav-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: 0.875rem;
}

.media-nav-grid--primary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-services-section {
  padding-top: 0.25rem;
}

.media-nav-grid--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-nav-card {
  min-height: 7.15rem;
  padding: clamp(0.95rem, 1.6vw, 1.08rem);
}

.media-nav-card--service {
  min-height: 6.5rem;
  background: linear-gradient(180deg, hsl(var(--card)) 0%, hsl(var(--muted) / 0.36) 100%);
}

.media-nav-card--service .media-nav-card-icon {
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
}

.media-nav-card-desc {
  max-width: 30rem;
  min-height: 2.45em;
  line-height: 1.42;
}

.media-nav-card-count {
  margin-top: 0.34rem;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 1.5rem;
  padding: 0.16rem 0.52rem;
  border: 1px solid hsl(var(--border) / 0.72);
  border-radius: 999px;
  background: hsl(var(--muted) / 0.46);
  color: hsl(var(--foreground) / 0.82);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
}

.media-nav-link-card:hover .media-nav-card-count,
.media-nav-link-card:focus-visible .media-nav-card-count {
  border-color: hsl(var(--chart-1) / 0.52);
  background: hsl(var(--chart-1) / 0.12);
  color: hsl(var(--foreground));
}

.doc-list {
  display: grid;
  gap: 0.875rem;
}

.doc-item {
  display: block;
  padding: 0;
  border: 0;
  color: inherit;
  text-decoration: none;
}

.doc-item-card {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: start;
  gap: 0.875rem;
  width: 100%;
}

.doc-item-card .doc-icon {
  grid-column: 1;
  grid-row: 1;
  margin-top: 0.125rem;
}

.doc-item-card .doc-info {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.doc-item-card .doc-title,
.doc-item-card .doc-desc,
.doc-item-card .doc-meta {
  margin: 0;
}

@media (max-width: 640px) {
  .media-services-section {
    padding-top: 0;
  }

  .media-nav-card {
    min-height: 0;
    gap: 0.75rem;
  }

  .media-nav-card-icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .doc-item-card {
    grid-template-columns: 2.5rem minmax(0, 1fr);
    gap: 0.75rem;
  }

  .doc-item-card .doc-title {
    font-size: 0.9rem;
    line-height: 1.35;
  }

  .doc-item-card .doc-desc,
  .doc-item-card .doc-meta {
    font-size: 0.78rem;
  line-height: 1.5;
}

@media (min-width: 769px) {
  .service-shortcuts {
    display: block;
  }
}

@media (max-width: 1180px) {
  .media-nav-grid--primary,
  .media-nav-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .media-nav-grid--primary,
  .media-nav-grid--services {
    grid-template-columns: 1fr;
  }
}

/* ЦБД listing cards: AV DS surface, typography and narrow-width behavior. */
.af-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
}

.af-card {
  background: hsl(var(--card));
  border-color: var(--ortcom-ds-border);
  color: hsl(var(--foreground));
  box-shadow: var(--shadow-xs);
}

.af-card:hover {
  background: hsl(var(--card));
  border-color: hsl(var(--primary) / 0.28);
  box-shadow: var(--shadow-md);
}

.af-card:focus-within {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
  border-color: hsl(var(--ring));
}

.af-card-title,
.af-card-title a {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.42;
}

.af-card-title a:hover {
  color: hsl(var(--primary));
}

.af-card-snippet {
  color: hsl(var(--muted-foreground));
  font-size: 0.8125rem;
  line-height: 1.5;
}

.af-card-date,
.af-card-source {
  color: hsl(var(--muted-foreground));
}

.af-card-footer {
  border-top-color: var(--ortcom-ds-border-soft);
}

.af-card-readmore {
  color: hsl(var(--primary));
  font-family: var(--font-sans);
}

@media (max-width: 700px) {
  .af-grid,
  .hp-cbd-cards {
    grid-template-columns: 1fr;
  }
}

.card-date-badge,
.video-duration,
.video-live-tag,
.event-badge,
.media-badge,
.af-badge,
.count-badge,
.af-pill-count,
.radio-schedule__badge {
  border-radius: calc(var(--av-radius) - 2px);
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: 0;
}

.filter-bar,
.cat-source-pills,
.announcements-banner {
  margin-bottom: 1rem;
  padding: 0.75rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--card));
  box-shadow: var(--shadow-xs);
}

.cat-source-label {
  margin-right: 0.25rem;
  color: hsl(var(--muted-foreground));
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 650;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.filter-form .av-field {
  width: auto;
  margin: 0;
}

.filter-form .filter-group--search {
  flex: 1 1 16rem;
  min-width: min(100%, 14rem);
}

.active-filter-summary {
  align-items: center;
  background: hsl(var(--muted) / 0.36);
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  color: hsl(var(--muted-foreground));
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: -0.2rem 0 1rem;
  padding: 0.55rem 0.7rem;
}

.active-filter-summary__label {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 750;
}

.active-filter-chip {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: 999px;
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 650;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 0.25rem 0.55rem;
}

.active-filter-summary__reset {
  color: hsl(var(--primary));
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 750;
  margin-left: auto;
  text-decoration: none;
}

.active-filter-summary__reset:hover {
  text-decoration: underline;
}

.filter-form .filter-group--select {
  flex: 0 1 15rem;
  min-width: min(100%, 12rem);
}

.filter-form .filter-group--date {
  flex: 0 1 9.75rem;
  min-width: 8.75rem;
}

.filter-form .av-input__label {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 650;
}

.filter-submit-btn,
.filter-clear-btn,
.view-toggle .view-btn {
  flex: 0 0 auto;
  width: 2.125rem;
  height: 2.125rem;
}

.filter-actions-row {
  display: inline-flex;
  align-items: flex-end;
  gap: 0.5rem;
  margin-left: auto;
  max-width: 100%;
}

.view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  padding: 0.1875rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--muted) / 0.25);
}

/* News listing filter AV DS mobile pass. */
.cat-source-pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-source-pills__scroll {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.cat-source-pill {
  flex: 0 0 auto;
}

.doc-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.president-tabs .container {
  position: relative;
}

.president-tabs .container::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 2rem;
  pointer-events: none;
  background: linear-gradient(90deg, hsl(var(--background) / 0), hsl(var(--background)) 78%);
}

.filter-form .av-input,
.filter-form .av-select {
  min-width: 0;
  text-align: left;
}

#articlesGrid[hidden],
.articles-list-view[hidden] {
  display: none !important;
}

.initiatives-list-shell {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

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

.initiative-card {
  display: flex;
  min-height: auto;
  flex-direction: column;
  overflow: hidden;
  color: hsl(var(--foreground));
  text-decoration: none;
}

.initiative-card:hover .initiative-card-title {
  color: hsl(var(--primary));
}

.initiative-card-placeholder {
  display: flex;
  min-height: 12.5rem;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.initiative-card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.125rem 1.125rem;
}

.initiative-related-card-body {
  display: grid;
  gap: 0.55rem;
  padding: 1rem 1.05rem 1.1rem;
}

.initiative-card-title {
  margin: 0;
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
}

.initiative-card-lead {
  margin: 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
  line-height: 1.5;
}

.initiative-card-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.initiative-card-stat {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--ortcom-ds-border-soft);
  border-radius: calc(var(--av-radius) - 2px);
  background: hsl(var(--muted) / 0.35);
}

.initiative-card-stat-value {
  color: hsl(var(--primary));
  font-size: 0.8125rem;
  font-weight: 750;
}

.initiative-card-stat-label {
  color: hsl(var(--muted-foreground));
  font-size: 0.6875rem;
}

.initiative-card-more {
  display: inline-flex;
  align-items: center;
  margin-top: 0.25rem;
  color: hsl(var(--chart-1));
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
}

.initiative-empty {
  display: grid;
  min-height: 12rem;
  place-items: center;
  text-align: center;
  color: hsl(var(--muted-foreground));
}

.initiative-empty-icon {
  margin-bottom: 1rem;
  opacity: 0.36;
}

.form-control,
.filter-search,
.filter-select,
.filter-date,
.af-search-input,
.af-date-group input,
.contacts-container input,
.contacts-container textarea,
.contacts-container select,
.cabinet-page input,
.cabinet-page textarea,
.cabinet-page select,
.govpress-page input,
.govpress-page textarea,
.govpress-page select,
.api-try-input {
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  box-shadow: none;
}

.contacts-grid--section {
  margin-bottom: 24px;
}

.contacts-card--flush {
  margin-bottom: 0;
}

.contacts-card--center {
  padding: 28px 20px;
  text-align: center;
}

.contacts-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--navy);
}

.contacts-card__title {
  margin-bottom: 8px;
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 700;
}

.contacts-card__text {
  color: var(--text-3);
  font-size: var(--text-xs);
  line-height: 1.6;
}

/* Contacts/about contrast pass on AV DS dark public surfaces. */
.contacts-card {
  color: hsl(var(--foreground));
}

.contacts-card .sidebar-block-title,
.contacts-card__title {
  color: hsl(var(--foreground));
}

.contacts-card .sidebar-block-title--navy,
.contacts-card .sidebar-block-title--gold,
.contacts-card .sidebar-block-title--brand {
  border-bottom-color: hsl(var(--primary) / 0.4);
}

.contacts-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  background: hsl(var(--muted) / 0.62);
  color: hsl(var(--primary));
}

.contacts-card__icon svg {
  stroke: currentColor;
}

.contacts-card__text,
.contacts-card .contacts-info,
.contacts-card .contacts-info p,
.contacts-card .contacts-note,
.contacts-card .about-note {
  color: hsl(var(--foreground) / 0.76);
}

.contacts-card .contacts-info strong {
  color: hsl(var(--foreground));
}

.contacts-card .contacts-link,
.contacts-card .contacts-link--strong {
  color: hsl(var(--primary));
}

.contacts-card .contacts-link:hover,
.contacts-card .contacts-link:focus-visible {
  color: hsl(var(--primary));
  text-decoration-color: currentColor;
}

html[data-site="ortcom"] .contacts-accent-card {
  display: grid;
  gap: 0.7rem;
  min-height: 100%;
}

html[data-site="ortcom"] .contacts-accent-card .sidebar-block-title,
html[data-site="ortcom"] .contacts-accent-card .contacts-info,
html[data-site="ortcom"] .contacts-accent-card .contacts-info p,
html[data-site="ortcom"] .contacts-accent-card .contacts-link-row {
  margin: 0;
}

html[data-site="ortcom"] .contacts-accent-card .contacts-feedback-form {
  gap: 0.875rem;
}

html[data-site="ortcom"] .contacts-accent-card .contacts-feedback-field {
  margin: 0;
}

.contacts-heading-icon {
  margin-right: 6px;
  vertical-align: -3px;
}

.contacts-inline-indent {
  margin-left: 8px;
}

.contacts-link-row {
  margin-top: 8px;
}

.contacts-link-row--sm {
  margin-top: 4px;
}

.contacts-link-row--md {
  margin-top: 12px;
}

.contacts-link--strong {
  font-weight: 600;
}

.contacts-note {
  color: var(--text-3);
}

.contacts-feedback-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contacts-feedback-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contacts-feedback-form input,
.contacts-feedback-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  font-size: var(--text-sm);
}

.contacts-feedback-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contacts-feedback-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contacts-feedback-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 28px;
  border: none;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.contacts-feedback-submit:hover {
  background: hsl(var(--primary) / 0.92);
}

.contacts-feedback-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contacts-form-success {
  color: var(--gold);
  font-size: var(--text-sm);
  font-weight: 600;
}

.contacts-form-success[hidden] {
  display: none;
}

.press-contacts-page {
  padding: 32px 0 64px;
}

.press-contacts-section {
  margin-bottom: 48px;
}

.press-contacts-heading {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
}

.press-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.press-contacts-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.press-contacts-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
}

.press-contacts-card__eyebrow {
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.press-contacts-card__title {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
}

.press-contacts-link {
  color: var(--text-2);
  font-size: 0.9rem;
  text-decoration: none;
}

.press-contacts-link:hover,
.press-contacts-link:focus-visible {
  color: var(--navy);
  text-decoration: underline;
}

.press-contacts-link--accent {
  color: var(--gold);
}

.press-contacts-link--cta {
  margin-top: 2px;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 600;
}

.press-contacts-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.press-contacts-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.press-contacts-hours__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.press-contacts-hours__label {
  color: var(--text-2);
}

.press-contacts-hours__value {
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}

.press-contacts-hours__value--muted,
.press-contacts-hours__note {
  color: var(--text-3);
  font-weight: 500;
}

.press-contacts-hours__note {
  padding: 10px 0;
  font-size: 0.825rem;
}

.press-contacts-address {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.7;
}

.press-contacts-address__title {
  margin-bottom: 4px;
  color: var(--navy);
  font-weight: 600;
}

.press-contacts-address__links {
  margin-top: 12px;
}

.press-contacts-address__links .press-contacts-link {
  display: inline-block;
}

.press-contacts-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--navy);
  color: #fff;
}

.press-contacts-cta__title {
  margin-bottom: 8px;
  color: inherit;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.press-contacts-cta__text {
  color: rgb(255 255 255 / 0.72);
  font-size: 0.875rem;
}

.press-contacts-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 28px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.press-contacts-cta__link:hover,
.press-contacts-cta__link:focus-visible {
  background: var(--gold-hover);
  color: #fff;
}

.about-section {
  margin-bottom: 32px;
}

.about-intro {
  max-width: 860px;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.about-section .section-header {
  margin-bottom: 20px;
}

.about-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.about-list {
  list-style: disc;
  padding-left: 20px;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.about-note {
  margin-top: 8px;
  color: var(--text-3);
  font-size: var(--text-xs);
}

.about-content--dense {
  padding-top: 0.35rem;
}

.about-content--dense .about-section:first-child {
  margin-bottom: 24px;
}

@media (min-width: 1024px) {
  .about-content--dense .about-intro {
    max-width: 980px;
  }

  .about-content--dense .article-body p {
    max-width: 72ch;
  }

  .about-content--dense .contacts-grid--3col {
    gap: 18px;
  }

  .about-content--dense .contacts-card--center {
    min-height: 164px;
    padding: 22px 18px;
  }

  .about-content--dense .contacts-card__icon {
    margin-bottom: 10px;
  }

  .about-content--dense .contacts-card__title {
    margin-bottom: 6px;
  }
}

@media (max-width: 768px) {
  .contacts-feedback-grid {
    grid-template-columns: 1fr;
  }

  .press-contacts-info-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .press-contacts-hours__row {
    align-items: flex-start;
    flex-direction: column;
  }

  .press-contacts-hours__value {
    text-align: left;
  }
}

.form-control:focus,
.filter-search:focus,
.filter-select:focus,
.filter-date:focus,
.af-search-input:focus,
.af-date-group input:focus,
.api-try-input:focus {
  outline: none;
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 2px hsl(var(--ring) / 0.15);
}

.section-more,
.btn-filter,
.btn-filter-clear,
.view-btn,
.cat-source-pill,
.president-tab,
.af-filter-btn,
.af-verdict-pill,
.af-export-btn,
.af-date-apply,
.af-date-reset,
.af-btn,
.cabinet-btn,
.eh-cta-btn,
.api-try-btn,
.copy-btn,
.pb-view-btn,
.pb-search-clear,
.pdf-modal-close,
.gp-mobile-toggle,
.cabinet-sidebar-toggle,
.doc-download,
.pagination a,
.pagination span,
.radio-player__btn,
.map-layer-btn {
  border-radius: var(--av-radius);
  font-family: var(--font-sans);
  font-weight: 650;
  letter-spacing: 0;
  text-decoration: none;
}

.section-more,
.cat-source-pill,
.president-tab,
.af-filter-btn,
.af-verdict-pill,
.af-export-btn,
.af-date-reset,
.pagination a,
.pagination span,
.view-btn,
.map-layer-btn {
  border: 1px solid var(--ortcom-ds-border);
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}

.section-more:hover,
.cat-source-pill:hover,
.cat-source-pill.active,
.president-tab:hover,
.president-tab.active,
.af-filter-btn:hover,
.af-filter-btn.active,
.af-verdict-pill:hover,
.af-verdict-pill.active,
.pagination a:hover,
.pagination .current,
.view-btn.active,
.map-layer-btn:hover,
.map-layer-btn.active {
  border-color: hsl(var(--primary) / 0.28);
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
}

.btn-filter,
.af-search-btn,
.af-date-apply,
.af-btn--primary,
.cabinet-btn--primary,
.eh-cta-btn--primary,
.api-try-btn,
.copy-btn,
.radio-player__btn--play {
  border: 1px solid hsl(var(--primary));
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-filter:hover,
.af-search-btn:hover,
.af-date-apply:hover,
.af-btn--primary:hover,
.cabinet-btn--primary:hover,
.eh-cta-btn--primary:hover,
.api-try-btn:hover,
.copy-btn:hover,
.radio-player__btn--play:hover {
  background: hsl(var(--primary) / 0.9);
}

.btn-filter-clear,
.af-btn--secondary,
.cabinet-btn--outline,
.eh-cta-btn--secondary,
.pb-view-btn,
.pb-search-clear,
.pdf-modal-close,
.gp-mobile-toggle,
.cabinet-sidebar-toggle,
.radio-player__btn--secondary,
.radio-player__btn--icon {
  border: 1px solid var(--ortcom-ds-border);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
}

.af-btn--secondary:hover,
.cabinet-btn--outline:hover,
.eh-cta-btn--secondary:hover,
.pb-view-btn:hover,
.pb-view-btn.active,
.pb-search-clear:hover,
.pdf-modal-close:hover,
.gp-mobile-toggle:hover,
.cabinet-sidebar-toggle:hover {
  border-color: hsl(var(--primary) / 0.28);
  background: hsl(var(--primary) / 0.08);
  color: hsl(var(--primary));
}

.map-header .av-breadcrumbs-wrap {
  margin: 0;
}

.map-header .av-breadcrumbs {
  gap: 0.25rem;
  font-size: 0.6875rem;
}

.map-header .av-breadcrumbs__link,
.map-header .av-breadcrumbs__separator,
.map-header .av-breadcrumbs__current {
  color: hsl(var(--primary-foreground) / 0.58);
}

.map-header .av-breadcrumbs__current {
  color: hsl(var(--primary-foreground) / 0.72);
}

.map-header .av-breadcrumbs__link:hover,
.map-header .av-breadcrumbs__link:focus-visible {
  color: hsl(var(--primary-foreground));
}

.president-tabs {
  border-bottom: 1px solid var(--ortcom-ds-border);
  background: hsl(var(--card));
}

.article-h1,
.article-body h2,
.article-body h3 {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.region-name,
.live-title,
.radio-player__title,
.map-header__title {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  letter-spacing: 0;
}

.article-body,
.article-body * {
  font-family: var(--font-sans);
}

/* Article detail AV DS pass: news materials share the current public typography. */
.article-page {
  background: hsl(var(--background));
}

.article-layout {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 18rem);
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
}

.article-header--clean {
  margin-bottom: 0.875rem;
}

.article-category-row {
  display: flex;
  margin: 0.35rem 0 1.125rem;
}

.article-category-row .article-category-badge {
  min-height: 1.45rem;
  padding: 0.22rem 0.55rem;
  border-color: var(--ortcom-ds-border);
  background: hsl(var(--muted) / 0.55);
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
  font-weight: 680;
  letter-spacing: 0;
  text-transform: none;
}

.article-h1 {
  max-width: 52rem;
  font-size: clamp(1.45rem, 1.1rem + 1.35vw, 2.15rem);
  font-weight: 760;
  line-height: 1.18;
}

.article-keyfacts-panel {
  max-width: none;
  margin: 0 0 1.25rem;
  padding: 1rem 1.125rem;
  border: 1px solid hsl(var(--primary) / 0.12);
  border-left: 3px solid hsl(var(--chart-1));
  border-radius: var(--av-radius);
  background:
    linear-gradient(135deg, hsl(var(--primary) / 0.045), hsl(var(--chart-1) / 0.035)),
    hsl(var(--card));
  box-shadow: var(--shadow-xs);
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
}

.article-keyfacts-panel .av-key-facts__title {
  margin-bottom: 0.55rem;
  color: hsl(var(--foreground));
  font-size: 0.92rem;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: none;
}

.article-keyfacts-panel .av-key-facts__title svg {
  color: hsl(var(--chart-1));
}

.article-keyfacts-panel .av-key-facts__list {
  display: grid;
  gap: 0.34rem;
  margin: 0;
  padding-left: 1.1rem;
}

.article-keyfacts-panel .av-key-facts__list li {
  margin: 0;
  color: hsl(var(--foreground) / 0.84);
  font-size: 0.93rem;
  line-height: 1.5;
}

.article-keyfacts-panel .av-key-facts__list li::marker {
  color: hsl(var(--chart-1));
}

.article-keyfacts-panel .av-key-facts__note {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
  line-height: 1.35;
}

.article-keyfacts-panel .av-key-facts__note svg {
  flex: 0 0 auto;
}

.article-hero-img {
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
}

.article-hero-img img {
  width: 100%;
  max-height: min(58vh, 44rem);
  object-fit: cover;
}

.article-body {
  max-width: 52rem;
  color: hsl(var(--foreground) / 0.82);
  font-size: 1.0125rem;
  line-height: 1.76;
}

.article-body p {
  margin-bottom: 1.25em;
  font-size: 1.0125rem !important;
  line-height: 1.76 !important;
}

.article-body strong,
.article-body b {
  color: hsl(var(--foreground));
  font-weight: 700;
}

.article-body img {
  display: block;
  width: 100%;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--muted));
  box-shadow: var(--shadow-xs);
}

.article-body img:not([src]),
.article-body img[src=""] {
  display: none !important;
}

.article-body blockquote {
  margin: 1.25rem 0;
  padding: 1rem 1.125rem;
  border-left-color: hsl(var(--chart-1)) !important;
  background: hsl(var(--card));
  box-shadow: inset 0 0 0 1px var(--ortcom-ds-border-soft);
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-related-title {
  margin: 0 0 1rem;
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.35rem);
  font-weight: 760;
  letter-spacing: 0;
}

.article-related-grid {
  gap: 0.75rem;
}

.related-card-mini {
  align-items: center;
  min-width: 0;
  padding: 0.5rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--card));
}

.related-card-mini-img {
  width: 5.25rem;
  height: 3.75rem;
  border-radius: calc(var(--av-radius) - 2px);
}

.related-card-mini-title {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 680;
  line-height: 1.32;
}

.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.article-sidebar .sidebar-block {
  margin-bottom: 0;
  padding: 1rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--card));
  box-shadow: var(--shadow-xs);
}

.article-sidebar .sidebar-block--sticky {
  top: calc(var(--header-h, 64px) + 1rem);
}

.article-sidebar .sidebar-block-title {
  margin: 0 0 0.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--ortcom-ds-border);
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.article-sidebar .list-item {
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--ortcom-ds-border-soft);
}

.article-sidebar .list-thumb {
  width: 5.25rem;
  height: 3.75rem;
  border-radius: calc(var(--av-radius) - 2px);
}

.article-sidebar .list-title {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 680;
  line-height: 1.34;
}

.article-useful-links {
  display: grid;
  gap: 0.4rem;
}

.article-useful-link {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.6rem;
  border-radius: calc(var(--av-radius) - 2px);
  color: hsl(var(--primary));
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 650;
  text-decoration: none;
}

.article-useful-link:hover,
.article-useful-link:focus-visible {
  background: hsl(var(--primary) / 0.07);
  color: hsl(var(--primary));
  outline: none;
}

@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-sidebar .sidebar-block--sticky {
    position: static;
  }
}

@media (max-width: 640px) {
  .article-page {
    padding-top: 1.25rem;
  }

  .article-layout {
    gap: 1.25rem;
    padding-top: 1rem;
  }

  .article-h1 {
    font-size: clamp(1.35rem, 7vw, 1.75rem);
  }

  .article-body,
  .article-body p {
    font-size: 0.98rem !important;
  }

  .article-keyfacts-panel {
    padding: 0.9rem 1rem;
  }

  .article-keyfacts-panel .av-key-facts__list li {
    font-size: 0.9rem;
  }

  .article-related-grid,
  .article-sidebar {
    grid-template-columns: 1fr;
  }

  .related-card-mini-img,
  .article-sidebar .list-thumb {
    width: 4.75rem;
    height: 3.4rem;
  }
}

.article-meta,
.article-meta-date,
.article-meta-source,
.article-hero-copyright,
.radio-player__subtitle,
.radio-player__np-label,
.radio-player__meta,
.map-header__bc,
.map-header__stat-label {
  color: hsl(var(--muted-foreground));
}

.live-hero,
.radio-player,
.map-header {
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: var(--av-radius);
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-md);
}

.live-hero .live-title,
.live-hero .live-speakers,
.radio-player__title,
.radio-player__subtitle,
.map-header__title,
.map-header__bc,
.map-header__bc a,
.map-header__stat-label {
  color: hsl(0 0% 100% / 0.82);
}

.radio-player__icon,
.radio-section__icon,
.layer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.radio-player__icon svg,
.radio-section__icon svg,
.layer-icon svg {
  width: 1.125rem;
  height: 1.125rem;
}

.radio-about__content li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.radio-about__bullet {
  flex: 0 0 auto;
  min-width: 2rem;
  padding: 0.125rem 0.25rem;
  border: 1px solid hsl(var(--chart-1) / 0.34);
  border-radius: calc(var(--av-radius) - 2px);
  background: hsl(var(--chart-1) / 0.1);
  color: hsl(var(--primary));
  font-family: var(--font-sans);
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.radio-player__icon {
  border-radius: var(--av-radius);
  background: hsl(var(--chart-1) / 0.14);
  color: hsl(var(--chart-1));
}

.radio-player__progress-track,
.radio-player__volume-slider {
  accent-color: hsl(var(--chart-1));
}

.map-page {
  background: hsl(var(--background));
}

.map-layer-btn {
  gap: 0.45rem;
  min-height: 2.25rem;
}

/* Utility public pages: legal text, CMS static pages and 404. */
.legal-page-shell,
.static-page-shell,
.not-found-shell {
  padding: 2rem 0 4rem;
}

.legal-page-card,
.static-page-card,
.not-found-card {
  max-width: 54rem;
  margin-inline: auto;
}

.legal-page-meta {
  margin: 0 0 1.5rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.875rem;
}

.legal-page-body,
.static-page-body {
  color: hsl(var(--foreground));
}

.not-found-card {
  text-align: center;
}

.not-found-code {
  color: hsl(var(--primary));
  font-size: clamp(4rem, 14vw, 6.5rem);
  font-weight: 800;
  line-height: 0.95;
  margin-bottom: 0.75rem;
}

.not-found-title {
  color: hsl(var(--foreground));
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 750;
  margin: 0 0 0.75rem;
}

.not-found-text {
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  margin: 0 auto 1.5rem;
  max-width: 32rem;
}

.not-found-search {
  align-items: flex-end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 0 auto 1.75rem;
  max-width: 28rem;
}

.not-found-actions {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: auto;
  max-width: 30rem;
}

@media (max-width: 768px) {
  .header-inner {
    height: 52px;
  }

  :root {
    --header-h: 52px;
  }

  .logo-img {
    height: 28px;
  }

  .logo-title {
    font-size: 0.8rem;
  }

  .topic-nav {
    position: sticky;
    top: var(--header-h);
    border-bottom: 1px solid hsl(0 0% 100% / 0.08);
  }

  .topic-nav-scroll {
    padding: 0.5rem 0;
  }

  .topic-pill {
    min-height: 2rem;
    padding: 0.35rem 0.625rem;
    font-size: 0.76rem;
  }

  .mobile-quick-nav {
    top: calc(var(--header-h) + 45px);
    padding: 0.625rem 0.75rem;
    z-index: 85;
  }

  .mqn-btn {
    padding: 0.55rem 0.35rem;
    font-size: 0.68rem;
  }

  .page-header {
    padding: 1.125rem 0;
  }

  .page-header .av-page-header {
    gap: 0.875rem;
  }

  .page-header__counter {
    width: 100%;
    text-align: left;
  }

  .cat-header {
    padding: 1rem 0;
  }

  .topic-nav .container::before,
  .topic-nav .container::after {
    width: 2.25rem;
  }

  .topic-nav .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(270deg, hsl(var(--primary) / 0), hsl(var(--primary)) 76%);
  }

  .topic-nav-scroll {
    padding-left: 0.7rem !important;
    padding-right: 2.6rem !important;
    scroll-padding-inline: 0.9rem 2.8rem;
  }

  .filter-bar,
  .cat-source-pills,
  .announcements-banner {
    padding: 0.625rem;
  }

  .filter-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
    align-items: end;
  }

  .filter-form .av-field,
  .filter-form .filter-group--search,
  .filter-form .filter-group--select {
    grid-column: 1 / -1;
    flex: 1 1 100%;
    min-width: 0;
    width: 100%;
  }

  .filter-form .filter-group--date {
    grid-column: span 1;
    flex: none;
    min-width: 0;
    width: 100%;
  }

  .filter-form .av-input__label {
    display: block;
    width: 100%;
    text-align: left;
  }

  .filter-form .av-input__wrapper,
  .filter-form .av-select__wrapper {
    width: 100%;
  }

  .cat-source-pills {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 0.45rem;
  }

  .cat-source-label {
    flex: 0 0 auto;
    margin-right: 0;
  }

  .cat-source-pills__scroll {
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scroll-padding-inline: 0.1rem 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .filter-submit-btn,
  .filter-clear-btn {
    width: 2.375rem;
    height: 2.375rem;
    justify-self: start;
  }

  .view-toggle {
    margin-left: 0;
    justify-self: start;
    width: fit-content;
    max-width: 100%;
  }

  .search-type-tabs,
  .search-category-tabs {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 0.1rem 1rem;
    flex-wrap: nowrap;
  }

  .search-type-tabs .av-pill-tabs__tab,
  .search-category-tabs .av-pill-tabs__tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .search-results-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .search-results-grid .av-feed-card--horizontal {
    grid-template-columns: 6rem minmax(0, 1fr);
    align-items: stretch;
  }

  .search-results-grid .av-feed-card__media {
    min-height: 100%;
  }

  .president-tabs .container::after {
    width: 2.15rem;
  }

  .president-tabs-scroll {
    padding-left: 0.7rem;
    padding-right: 2.35rem;
    scroll-padding-inline: 0.9rem 2.4rem;
  }

  .initiatives-list-shell {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .initiatives-grid {
    grid-template-columns: 1fr;
  }

  .initiative-card-body {
    padding: 0.875rem;
  }

  .site-footer {
    padding-bottom: 1rem;
  }

  .site-footer .social-row {
    gap: 0.5rem;
  }

  .site-footer .social-row a,
  .site-footer .footer-bottom a {
    min-width: 2.75rem;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-footer .social-row a {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-footer .social-row svg {
    width: 1rem;
    height: 1rem;
  }

  .site-footer .footer-bottom {
    gap: 0.75rem;
    line-height: 1.4;
  }

  .site-footer .footer-bottom-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
  }

  .legal-page-shell,
  .static-page-shell,
  .not-found-shell {
    padding: 1.25rem 0 2.5rem;
  }

  .not-found-search,
  .not-found-actions {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   AntiFake AV DS polish pass
   ============================================================================ */
.af-dashboard {
  background: hsl(var(--background));
  border-bottom: 1px solid var(--ortcom-ds-border-soft);
  box-shadow: none;
  margin-bottom: 1rem;
  padding: 1.25rem 0 1.5rem;
}

.af-verdict-cards {
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.af-verdict-card {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-left: 0;
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  min-height: 5rem;
  padding: 0.875rem 1rem;
}

.af-verdict-card:hover {
  border-color: hsl(var(--primary) / 0.18);
  box-shadow: var(--shadow-sm);
}

.af-vc-icon {
  border-radius: calc(var(--av-radius) - 2px);
  height: 2.4rem;
  width: 2.4rem;
}

.af-vc-num {
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  letter-spacing: 0;
}

.af-vc-label {
  color: hsl(var(--muted-foreground));
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.025em;
}

.af-chart-row {
  background:
    linear-gradient(135deg, hsl(224 60% 18%) 0%, hsl(var(--primary)) 100%);
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-sm);
  margin-top: 0.875rem;
  padding: 1rem 1.125rem 0.6rem;
}

.af-chart-title {
  color: hsl(0 0% 100% / 0.86);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.035em;
  margin-bottom: 0.35rem;
}

#afEChart {
  height: 168px !important;
}

.af-layout {
  align-items: start;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr) 17.5rem;
  padding-bottom: 3rem;
}

.af-main,
.af-filterbar,
.af-grid,
.af-card,
.af-card-title,
.af-card-title a,
.af-card-snippet,
.af-card-footer,
.af-card-source {
  min-width: 0;
}

.af-filterbar {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 0.75rem;
  padding: 0.875rem;
}

.af-filter-tabs,
.af-verdict-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 0.1rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.af-filter-btn,
.af-verdict-pill,
.af-export-btn {
  border-color: var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
  flex: 0 0 auto;
  font-family: var(--font-sans);
  min-height: 2rem;
}

.af-filter-btn.active,
.af-filter-btn:hover,
.af-verdict-pill.active {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.af-export-btns {
  align-items: center;
  display: flex;
  gap: 0.45rem;
  justify-content: flex-end;
  margin-top: 0;
}

.af-search-form {
  border-color: var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
  grid-column: 1 / -1;
  min-height: 2.35rem;
  width: 100%;
}

.af-search-form--primary {
  outline: 1px solid hsl(var(--primary) / 0.08);
}

.af-search-input {
  font-family: var(--font-sans);
  min-width: 0;
}

.af-search-btn {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  height: 2.35rem;
  width: 2.35rem;
}

.af-search-btn:hover {
  color: hsl(var(--primary-foreground));
  filter: brightness(1.05);
}

.af-date-filters {
  background: hsl(var(--card));
  border-color: var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.875rem;
}

.af-date-filters input[type="date"],
.af-date-filters .af-date-apply,
.af-date-filters .af-date-reset {
  border-radius: calc(var(--av-radius) - 2px);
  min-height: 2.35rem;
}

/* Exit the legacy mobile scope for the standalone tools workbench. */
}

/* AntiFake public verification workbench. */
.af-tools-shell {
  padding-bottom: 4rem;
}

.af-home-tools-callout {
  align-items: center;
  background: hsl(var(--primary));
  border: 1px solid hsl(var(--primary));
  border-radius: var(--av-radius);
  color: hsl(var(--primary-foreground));
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin-top: 0.75rem;
  padding: 0.85rem 1rem;
}

.af-home-tools-callout strong,
.af-home-tools-callout span {
  display: block;
}

.af-home-tools-callout strong {
  font-size: 0.9rem;
  line-height: 1.35;
}

.af-home-tools-callout span {
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: 0.15rem;
  opacity: 0.78;
}

.af-home-tools-callout .af-btn {
  flex: 0 0 auto;
}

.af-role-paths {
  margin: 0.75rem 0 1.25rem;
}

.af-role-paths__head {
  margin-bottom: 0.65rem;
}

.af-role-paths__head h2 {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 1rem;
  letter-spacing: 0;
  line-height: 1.35;
  margin: 0.1rem 0 0;
}

.af-role-paths__grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.af-role-path {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  color: hsl(var(--foreground));
  display: grid;
  gap: 0.25rem;
  min-height: 7rem;
  padding: 0.85rem;
}

.af-role-path:hover,
.af-role-path:focus-visible {
  border-color: hsl(var(--primary) / 0.42);
  box-shadow: var(--shadow-sm);
  color: hsl(var(--foreground));
  transform: translateY(-1px);
}

.af-role-path strong {
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  line-height: 1.3;
}

.af-role-path span {
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
  line-height: 1.45;
}

.af-tools-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.48fr);
}

html[data-product="antifake"] .af-tools-hero {
  background: transparent;
  color: hsl(var(--foreground));
  max-width: none;
  padding: 2rem 0 1.5rem;
}

html[data-product="antifake"] .af-tools-hero h1,
html[data-product="antifake"] .af-tools-hero > p {
  color: hsl(var(--foreground));
}

.af-tools-hero > p:not(.af-kicker) {
  max-width: 48rem;
}

.af-tools-privacy {
  align-items: flex-start;
  align-self: end;
  background: hsl(var(--muted) / 0.55);
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  color: hsl(var(--foreground));
  display: flex;
  gap: 0.75rem;
  grid-column: 2;
  grid-row: 1 / span 3;
  line-height: 1.55;
  padding: 1rem;
}

.af-tools-privacy svg {
  color: hsl(var(--primary));
  flex: 0 0 auto;
  height: 1.5rem;
  width: 1.5rem;
}

.af-tools-jump {
  display: flex;
  gap: 0.45rem;
  margin: 1rem 0;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.af-tools-jump a {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
  color: hsl(var(--foreground));
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
}

.af-tools-jump a:hover,
.af-tools-jump a:focus-visible {
  border-color: hsl(var(--primary) / 0.45);
  color: hsl(var(--primary));
}

.af-tools-role-matrix {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(15rem, 0.34fr) minmax(0, 1fr);
  margin: 0 0 1rem;
  padding: 1rem;
}

.af-tools-role-matrix__intro h2 {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.32;
  margin: 0.1rem 0 0.45rem;
}

.af-tools-role-matrix__intro p:not(.af-kicker) {
  color: hsl(var(--muted-foreground));
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0;
}

.af-tools-role-matrix__grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.af-tools-role-card {
  background: hsl(var(--muted) / 0.42);
  border: 1px solid var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
  min-width: 0;
  padding: 0.8rem;
}

.af-tools-role-card span {
  color: hsl(var(--primary));
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1.25;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.af-tools-role-card strong {
  color: hsl(var(--foreground));
  display: block;
  font-size: 0.86rem;
  line-height: 1.3;
}

.af-tools-role-card p {
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
}

.af-tools-list {
  display: grid;
  gap: 0.75rem;
}

.af-tool-panel {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  scroll-margin-top: 7rem;
}

section.af-tool-panel {
  padding: 1.25rem;
}

.af-tool-panel__heading,
.af-tool-panel summary {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
}

.af-tool-panel summary {
  cursor: pointer;
  list-style: none;
  min-height: 4.75rem;
  padding: 1.25rem;
  position: relative;
}

.af-tool-panel summary::-webkit-details-marker {
  display: none;
}

.af-tool-panel summary::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: "";
  height: 0.5rem;
  margin-left: auto;
  margin-top: 0.35rem;
  rotate: 45deg;
  transition: rotate 160ms ease;
  width: 0.5rem;
}

.af-tool-panel[open] summary::after {
  rotate: 225deg;
}

.af-tool-panel__index {
  align-items: center;
  background: hsl(var(--primary) / 0.08);
  border: 1px solid hsl(var(--primary) / 0.14);
  border-radius: calc(var(--av-radius) - 2px);
  color: hsl(var(--primary));
  display: inline-flex;
  flex: 0 0 2.25rem;
  font-size: 0.72rem;
  font-weight: 800;
  height: 2.25rem;
  justify-content: center;
}

.af-tool-panel h2,
.af-tool-panel summary strong {
  color: hsl(var(--foreground));
  display: block;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  letter-spacing: 0;
  line-height: 1.3;
  margin: 0;
}

.af-tool-panel__heading p,
.af-tool-panel summary small {
  color: hsl(var(--muted-foreground));
  display: block;
  font-size: 0.86rem;
  line-height: 1.5;
  margin: 0.25rem 0 0;
}

.af-tool-panel__body {
  border-top: 1px solid var(--ortcom-ds-border);
  padding: 1rem 1.25rem 1.25rem 4.5rem;
}

.af-tool-form {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.af-tool-form label {
  color: hsl(var(--foreground));
  font-size: 0.8rem;
  font-weight: 750;
}

.af-tool-control-row {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.af-tool-form input,
.af-tool-form textarea {
  background: hsl(var(--background));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
  color: hsl(var(--foreground));
  font: inherit;
  min-height: 2.75rem;
  min-width: 0;
  padding: 0.65rem 0.75rem;
  width: 100%;
}

.af-tool-form input[type="file"] {
  padding: 0.55rem;
}

.af-tool-form textarea {
  line-height: 1.55;
  min-height: 8rem;
  resize: vertical;
}

.af-tool-form input:focus-visible,
.af-tool-form textarea:focus-visible {
  border-color: hsl(var(--ring));
  box-shadow: 0 0 0 3px hsl(var(--ring) / 0.16);
  outline: 0;
}

.af-tool-result {
  background: hsl(var(--muted) / 0.42);
  border-left: 3px solid hsl(var(--primary));
  border-radius: 0 var(--av-radius) var(--av-radius) 0;
  margin-top: 1rem;
  overflow-wrap: anywhere;
  padding: 1rem;
}

.af-tool-result--error {
  border-left-color: hsl(var(--destructive));
}

.af-tool-result h3 {
  font-size: 0.9rem;
  margin: 0 0 0.5rem;
}

.af-tool-result h3:not(:first-child) {
  margin-top: 1rem;
}

.af-tool-result dl {
  display: grid;
  gap: 0.35rem 1rem;
  grid-template-columns: minmax(7rem, 0.3fr) minmax(0, 1fr);
  margin: 0;
}

.af-tool-result dt {
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
  font-weight: 700;
}

.af-tool-result dd {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  margin: 0;
}

.af-tool-result p,
.af-tool-result li {
  font-size: 0.86rem;
  line-height: 1.55;
}

.af-tool-result__ok {
  color: hsl(var(--foreground));
  margin: 0.75rem 0 0;
}

.af-tool-external {
  align-items: center;
  color: hsl(var(--muted-foreground));
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 0.5rem 0.75rem;
  margin-top: 1rem;
}

.af-tool-external a {
  font-weight: 700;
}

.af-tools-boundary {
  align-items: end;
  background: hsl(var(--primary));
  border-radius: var(--av-radius);
  color: hsl(var(--primary-foreground));
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 1.25rem;
}

.af-tools-boundary .af-kicker,
.af-tools-boundary h2,
.af-tools-boundary p {
  color: inherit;
}

.af-tools-boundary h2 {
  font-size: 1.15rem;
  margin: 0.15rem 0 0.35rem;
}

.af-tools-boundary p {
  line-height: 1.55;
  margin: 0;
  max-width: 52rem;
  opacity: 0.84;
}

.af-tools-boundary .af-btn {
  background: hsl(var(--background));
  border-color: hsl(var(--background));
  color: hsl(var(--primary));
  flex: 0 0 auto;
}

.af-tools-boundary .af-btn:hover,
.af-tools-boundary .af-btn:focus-visible {
  background: hsl(var(--muted));
  color: hsl(var(--primary));
}

@media (max-width: 760px) {
  .af-home-tools-callout {
    align-items: stretch;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.8rem;
  }

  .af-home-tools-callout .af-btn {
    justify-content: center;
    width: 100%;
  }

  html[data-site="ortcom"] .antifake-index-page .af-insights-grid {
    display: none;
  }

  .af-role-paths__grid {
    grid-template-columns: 1fr;
  }

  .af-role-path {
    min-height: 0;
  }

  .af-tools-hero {
    display: block;
  }

  .af-tools-privacy {
    margin-top: 1rem;
  }

  .af-tools-role-matrix {
    grid-template-columns: 1fr;
    padding: 0.9rem;
  }

  .af-tools-role-matrix__grid {
    grid-template-columns: 1fr;
  }

  section.af-tool-panel,
  .af-tool-panel summary {
    padding: 1rem;
  }

  .af-tool-panel__body {
    padding: 0.9rem 1rem 1rem;
  }

  .af-tool-control-row {
    grid-template-columns: 1fr;
  }

  .af-tool-control-row .af-btn,
  .af-tool-form > .af-btn {
    justify-content: center;
    width: 100%;
  }

  .af-tool-result dl {
    grid-template-columns: 1fr;
  }

  .af-tool-result dd + dt {
    margin-top: 0.35rem;
  }

  .af-tools-boundary {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }
}

/* Resume the legacy mobile scope without changing existing page behavior. */
@media (max-width: 640px) {

.af-grid {
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.af-card {
  border-color: var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  gap: 0.7rem;
  min-height: 13.75rem;
  padding: 1rem;
}

.af-card:hover {
  border-color: hsl(var(--primary) / 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.af-card-top {
  align-items: flex-start;
}

.af-stamp {
  border-radius: calc(var(--av-radius) - 2px);
  letter-spacing: 0.04em;
}

.af-card-date {
  color: hsl(var(--muted-foreground));
  font-size: 0.76rem;
  line-height: 1.2;
}

.af-card-title,
.af-card-title a {
  overflow-wrap: anywhere;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.38;
  -webkit-line-clamp: 3;
}

.af-card-snippet {
  color: hsl(var(--muted-foreground));
  font-size: 0.84rem;
  line-height: 1.52;
  -webkit-line-clamp: 3;
}

.af-card-snippet--claim {
  background: hsl(var(--primary) / 0.045);
  border: 1px solid hsl(var(--primary) / 0.08);
  border-left: 3px solid hsl(var(--primary));
  border-radius: calc(var(--av-radius) - 3px);
  color: hsl(var(--foreground) / 0.78);
  padding: 0.6rem 0.7rem;
}

.af-card-footer {
  border-top-color: var(--ortcom-ds-border-soft);
  padding-top: 0.7rem;
}

.af-card-readmore {
  color: hsl(var(--primary));
  font-weight: 750;
}

.af-sidebar {
  gap: 0.875rem;
}

.af-sidebar-cta,
.af-tips-block,
.af-sidebar .sidebar-block,
.article-page .content-grid > aside .sidebar-block,
.article-page .content-grid > aside .af-sidebar-cta {
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
}

.af-sidebar-cta {
  background:
    radial-gradient(circle at top left, hsl(44 51% 54% / 0.14), transparent 42%),
    hsl(var(--primary));
  padding: 1.15rem;
}

.af-sidebar-cta-title {
  font-size: 1rem;
  line-height: 1.25;
}

.af-sidebar-cta-text {
  color: hsl(0 0% 100% / 0.68);
}

.af-tip,
.af-link {
  border-radius: calc(var(--av-radius) - 3px);
}

.af-tip {
  padding: 0.55rem;
}

.af-tip-icon {
  border-radius: calc(var(--av-radius) - 3px);
}

.af-literacy {
  background: hsl(var(--background));
  border-top: 1px solid var(--ortcom-ds-border-soft);
  padding: 2.25rem 0 2.75rem;
}

.af-guide-cta,
.af-literacy-card {
  border-radius: var(--av-radius);
}

.af-guide-cta {
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
  padding: 1.25rem 1.4rem;
}

.af-literacy-grid {
  gap: 1rem;
}

.af-verdict-banner {
  margin-bottom: 1.25rem;
  min-height: 0;
  padding: 1.25rem 0;
}

.af-verdict-banner--fake,
.af-verdict-banner--misleading,
.af-verdict-banner--manipulated,
.af-verdict-banner--verified,
.af-verdict-banner--digest,
.af-verdict-banner--advisory,
.af-verdict-banner--analysis,
.af-verdict-banner--debunk {
  background:
    radial-gradient(circle at 28% 0%, hsl(44 51% 54% / 0.12), transparent 34%),
    linear-gradient(90deg, hsl(224 60% 18%) 0%, hsl(var(--primary)) 100%);
}

.af-verdict-banner-inner {
  gap: 1rem;
  justify-content: center;
}

.af-verdict-banner-icon {
  background: hsl(0 0% 100% / 0.07);
  border: 1px solid hsl(0 0% 100% / 0.78);
  border-radius: 999px;
  height: 3.1rem;
  width: 3.1rem;
}

.af-verdict-banner-icon svg {
  height: 1.75rem;
  width: 1.75rem;
}

.af-verdict-banner-text {
  align-items: center;
  display: flex;
  gap: 0.8rem;
}

.af-verdict-banner-text .af-verdict-label {
  font-family: var(--font-sans);
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: 0.035em;
  line-height: 1;
}

.af-verdict-case-id {
  background: hsl(0 0% 100% / 0.08);
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: calc(var(--av-radius) - 2px);
  color: hsl(0 0% 100% / 0.68);
  margin-left: 0;
  padding: 0.3rem 0.5rem;
}

.article-page .af-verdict-banner + .container {
  padding-top: 0.25rem;
}

.article-page .af-verdict-banner + .container .content-grid {
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) 18rem;
  padding-bottom: 3.5rem;
}

.article-page .af-verdict-banner + .container .article-header {
  margin-bottom: 1.25rem;
}

.article-page .af-verdict-banner + .container .af-detail-meta-row {
  margin: 0 0 0.85rem;
}

.article-page .af-verdict-banner + .container .article-h1,
.article-page .af-detail-meta-row + .article-h1 {
  font-family: var(--font-sans);
  font-size: clamp(1.55rem, 2.55vw, 2.15rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.18;
  max-width: 52rem;
}

.article-page .af-verdict-banner + .container .article-meta {
  color: hsl(var(--muted-foreground));
  gap: 0.8rem;
}

.article-page .af-verdict-banner + .container .article-figure,
.article-page .af-video-embed {
  border-radius: var(--av-radius) !important;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.article-page .af-verdict-banner + .container .article-figure img,
.article-page .af-video-embed iframe {
  display: block;
}

.af-detail-body {
  color: hsl(var(--foreground) / 0.8);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.72;
  max-width: 52rem;
}

.af-detail-body p {
  margin: 0 0 1.05rem;
}

.af-detail-body img {
  border-radius: var(--av-radius);
  display: block;
  height: auto;
  max-width: 100%;
}

.af-detail-body i.emoji {
  background-image: none !important;
  display: inline;
  font-style: normal;
}

.af-detail-body i.emoji b {
  display: inline;
  font-weight: inherit;
}

.af-claim-block,
.af-source-block,
.af-citable-summary {
  border-radius: var(--av-radius);
}

.af-disarm-panel {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-left: 4px solid hsl(var(--primary));
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  margin: 1.25rem 0 1.5rem;
  padding: 1rem;
}

.af-disarm-panel__head {
  margin-bottom: 0.75rem;
}

.af-disarm-panel__eyebrow {
  color: hsl(var(--muted-foreground));
  display: block;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.af-disarm-panel h2 {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 1.08rem;
  line-height: 1.25;
  margin: 0;
}

.af-disarm-panel__grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.af-disarm-panel__grid div {
  background: hsl(var(--muted) / 0.42);
  border: 1px solid var(--ortcom-ds-border-soft);
  border-radius: calc(var(--av-radius) - 2px);
  padding: 0.65rem 0.75rem;
}

.af-disarm-panel__grid dt {
  color: hsl(var(--muted-foreground));
  font-size: 0.72rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.af-disarm-panel__grid dd {
  color: hsl(var(--foreground));
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
  margin: 0;
}

.af-disarm-risk {
  border-radius: 999px;
  display: inline-flex;
  padding: 0.14rem 0.5rem;
}

.af-disarm-risk--low {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.af-disarm-risk--medium {
  background: rgba(202, 138, 4, 0.14);
  color: #92400e;
}

.af-disarm-risk--high,
.af-disarm-risk--critical {
  background: rgba(220, 38, 38, 0.12);
  color: #b91c1c;
}

.af-share-buttons {
  border-bottom: 1px solid var(--ortcom-ds-border-soft);
  border-top: 1px solid var(--ortcom-ds-border-soft);
  margin: 1.5rem 0;
  padding: 1rem 0;
}

.af-share-btn {
  border-color: var(--ortcom-ds-border);
  border-radius: 999px;
}

.af-related-cluster {
  border-top-color: hsl(var(--primary));
  margin: 1.5rem 0 0;
  padding-top: 1rem;
}

.af-related-cluster h2 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  letter-spacing: 0;
}

.af-related-cluster li {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  margin-bottom: 0.55rem;
  padding: 0.8rem;
}

.af-related-cluster a {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  line-height: 1.4;
}

.af-related-cluster time {
  color: hsl(var(--muted-foreground));
}

.article-page .content-grid > aside .sidebar-block,
.article-page .content-grid > aside .af-sidebar-cta {
  margin-bottom: 1rem;
  padding: 1rem;
}

.article-page .content-grid > aside .sidebar-block-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
}

.article-page .content-grid > aside .list-item {
  border-bottom-color: var(--ortcom-ds-border-soft) !important;
}

.article-page .content-grid > aside .list-title,
.article-page .content-grid > aside .list-title a {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  line-height: 1.4;
}

@media (max-width: 1180px) {
  .af-layout,
  .article-page .af-verdict-banner + .container .content-grid {
    grid-template-columns: 1fr;
  }

  .af-sidebar {
    position: static;
  }

  .article-page .content-grid > aside {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .af-verdict-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .af-disarm-panel__grid {
    grid-template-columns: 1fr;
  }

  .af-grid {
    grid-template-columns: 1fr;
  }

  .article-page .content-grid > aside {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .af-dashboard {
    padding: 1rem 0;
  }

  .af-verdict-cards {
    gap: 0.65rem;
  }

  .af-verdict-card {
    align-items: flex-start;
    padding: 0.75rem;
  }

  .af-vc-icon {
    height: 2rem;
    width: 2rem;
  }

  #afEChart {
    height: 142px !important;
  }

  .af-filterbar {
    grid-template-columns: 1fr;
  }

  .af-export-btns {
    justify-content: flex-start;
  }

  .af-date-group {
    flex: 1 1 9rem;
  }

  .af-date-filters .af-date-apply,
  .af-date-filters .af-date-reset {
    flex: 1 1 100%;
    justify-content: center;
  }

  .af-card {
    min-height: 0;
  }

  .af-verdict-banner {
    margin-bottom: 1rem;
    padding: 0.95rem 0;
  }

  .af-verdict-banner-inner {
    justify-content: flex-start;
  }

  .af-verdict-banner-icon {
    height: 2.35rem;
    width: 2.35rem;
  }

  .af-verdict-banner-icon svg {
    height: 1.35rem;
    width: 1.35rem;
  }

  .af-verdict-banner-text {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .af-verdict-banner-text .af-verdict-label {
    font-size: 1.45rem;
    line-height: 1.08;
  }

  .article-page .af-verdict-banner + .container .article-h1,
  .article-page .af-detail-meta-row + .article-h1 {
    font-size: 1.38rem;
    line-height: 1.22;
  }

  .af-detail-body {
    font-size: 0.96rem;
    line-height: 1.68;
  }
}

@media (max-width: 520px) {
  .af-verdict-cards {
    grid-template-columns: 1fr;
  }

  .af-card-top,
  .af-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .af-guide-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* AntiFake index cleanup pass: compact dashboard, filters and cards. */
.antifake-index-page .page-header {
  margin-bottom: 0;
  padding: 1rem 0 1.1rem;
}

.antifake-index-page .page-header .container {
  gap: 0.55rem;
}

.antifake-index-page .page-header .av-page-header {
  gap: 0.9rem;
}

.antifake-index-page .page-header .av-page-header__icon {
  height: 3rem;
  width: 3rem;
}

.antifake-index-page .page-header .av-page-header__title {
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.12;
}

.antifake-index-page .page-header .av-page-header__subtitle {
  font-size: 0.9rem;
  line-height: 1.35;
}

.antifake-index-page .page-header__counter {
  min-width: 10rem;
  padding: 0.6rem 0.75rem;
}

.antifake-index-page .page-header__counter-num {
  font-size: 1.65rem;
  line-height: 1;
}

.antifake-index-page .page-header__counter-label {
  font-size: 0.68rem;
  line-height: 1.25;
}

.antifake-index-page .af-dashboard {
  margin-bottom: 0.75rem;
  padding: 0.8rem 0 0.95rem;
}

.antifake-index-page .af-verdict-cards {
  gap: 0.55rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 0.65rem;
}

.antifake-index-page .af-verdict-card {
  gap: 0.6rem;
  min-height: 4rem;
  padding: 0.6rem 0.7rem;
}

.antifake-index-page .af-vc-icon {
  height: 2rem;
  width: 2rem;
}

.antifake-index-page .af-vc-num {
  font-size: clamp(1.15rem, 1.65vw, 1.55rem);
  line-height: 1;
}

.antifake-index-page .af-vc-label {
  font-size: 0.62rem;
  letter-spacing: 0;
  line-height: 1.2;
}

.antifake-index-page .af-chart-row {
  margin-top: 0.65rem;
  padding: 0.7rem 0.9rem 0.45rem;
}

.antifake-index-page .af-chart-title {
  font-size: 0.7rem;
  margin-bottom: 0.2rem;
}

.antifake-index-page #afEChart {
  height: 132px !important;
}

.antifake-index-page .af-layout {
  gap: 1.25rem;
  padding-bottom: 2.25rem;
}

.antifake-index-page .af-filterbar {
  align-items: start;
  gap: 0.55rem 0.65rem;
  margin-bottom: 0.6rem;
  padding: 0.7rem;
}

.antifake-index-page .af-filter-tabs {
  grid-column: 1 / -1;
}

.antifake-index-page .af-verdict-pills {
  grid-column: 1;
}

.antifake-index-page .af-export-btns {
  grid-column: 2;
  grid-row: 2;
  justify-content: flex-end;
}

.antifake-index-page .af-filter-btn,
.antifake-index-page .af-verdict-pill,
.antifake-index-page .af-export-btn {
  min-height: 1.95rem;
  padding: 0.4rem 0.65rem;
}

.antifake-index-page .af-search-form {
  min-height: 2.2rem;
}

.antifake-index-page .af-search-btn {
  height: 2.2rem;
  width: 2.2rem;
}

.antifake-index-page .af-date-filters {
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem;
}

.antifake-index-page .af-date-filters input[type="date"],
.antifake-index-page .af-date-filters .af-date-apply,
.antifake-index-page .af-date-filters .af-date-reset {
  min-height: 2.2rem;
}

.antifake-index-page .af-grid {
  gap: 0.8rem;
}

.antifake-index-page .af-card {
  gap: 0.55rem;
  min-height: 11.25rem;
  padding: 0.85rem;
}

.antifake-index-page .af-card-title,
.antifake-index-page .af-card-title a {
  font-size: 0.9rem;
  line-height: 1.32;
  -webkit-line-clamp: 2;
}

.antifake-index-page .af-card-snippet {
  font-size: 0.78rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
}

.antifake-index-page .af-card-footer {
  padding-top: 0.55rem;
}

@media (max-width: 1180px) {
  .antifake-index-page .af-verdict-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .antifake-index-page .af-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .antifake-index-page .af-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .antifake-index-page .page-header {
    padding: 0.85rem 0 0.95rem;
  }

  .antifake-index-page .page-header .av-page-header {
    align-items: flex-start;
  }

  .antifake-index-page .page-header .av-page-header__icon {
    height: 2.4rem;
    width: 2.4rem;
  }

  .antifake-index-page .page-header .av-page-header__title {
    font-size: 1.28rem;
  }

  .antifake-index-page .page-header .av-page-header__subtitle {
    font-size: 0.82rem;
  }

  .antifake-index-page .page-header__counter {
    min-width: 0;
    text-align: left;
    width: 100%;
  }

  .antifake-index-page .af-dashboard {
    padding: 0.7rem 0 0.8rem;
  }

  .antifake-index-page .af-verdict-cards {
    gap: 0.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .antifake-index-page .af-verdict-card {
    min-height: 3.8rem;
    padding: 0.58rem;
  }

  .antifake-index-page #afEChart {
    height: 112px !important;
  }

  .antifake-index-page .af-filterbar {
    grid-template-columns: 1fr;
  }

  .antifake-index-page .af-verdict-pills,
  .antifake-index-page .af-export-btns {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-start;
  }

  .antifake-index-page .af-date-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .antifake-index-page .af-date-filters .af-date-apply,
  .antifake-index-page .af-date-filters .af-date-reset {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .antifake-index-page .af-verdict-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .antifake-index-page .af-chart-title {
    font-size: 0.66rem;
  }

  .antifake-index-page #afEChart {
    height: 96px !important;
  }

  .antifake-index-page .af-card {
    min-height: 0;
    padding: 0.78rem;
  }
}

/* AntiFake index redesign pass: registry-first header and controls. */
.antifake-index-page .page-header {
  padding: 0.72rem 0 0.82rem;
}

.antifake-index-page .page-header .av-breadcrumbs {
  font-size: 0.72rem;
  margin-bottom: 0.42rem;
}

.antifake-index-page .page-header .av-page-header {
  align-items: center;
  gap: 0.7rem;
}

.antifake-index-page .page-header .av-page-header__main {
  align-items: center;
  gap: 0.65rem;
}

.antifake-index-page .page-header .av-page-header__icon {
  height: 2.35rem;
  width: 2.35rem;
}

.antifake-index-page .page-header .av-page-header__icon svg {
  height: 1.65rem;
  width: 1.65rem;
}

.antifake-index-page .page-header .av-page-header__title {
  font-size: clamp(1.22rem, 2vw, 1.62rem);
  line-height: 1.08;
}

.antifake-index-page .page-header .av-page-header__subtitle {
  font-size: 0.78rem;
  line-height: 1.32;
  margin-top: 0.25rem;
}

.antifake-index-page .page-header .av-page-header__underline {
  margin-top: 0.55rem;
  max-width: 28rem;
}

.antifake-index-page .page-header__counter {
  background: hsl(0 0% 100% / 0.075);
  min-width: 7.25rem;
  padding: 0.46rem 0.58rem;
}

.antifake-index-page .page-header__counter-num {
  font-size: 1.22rem;
}

.antifake-index-page .page-header__counter-label {
  font-size: 0.58rem;
}

.antifake-index-page .af-dashboard {
  border-bottom: 0;
  margin-bottom: 0.55rem;
  padding: 0.68rem 0 0.42rem;
}

.antifake-index-page .af-dashboard > .container {
  align-items: stretch;
  display: grid;
  gap: 0.62rem;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
}

.antifake-index-page .af-verdict-cards {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  gap: 0;
  margin-bottom: 0;
  overflow: hidden;
}

.antifake-index-page .af-verdict-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 3.45rem;
  padding: 0.52rem 0.64rem;
}

.antifake-index-page .af-verdict-card + .af-verdict-card {
  border-left: 1px solid var(--ortcom-ds-border-soft);
}

.antifake-index-page .af-verdict-card:hover {
  box-shadow: none;
  transform: none;
}

.antifake-index-page .af-vc-icon {
  height: 1.75rem;
  width: 1.75rem;
}

.antifake-index-page .af-vc-icon svg {
  height: 1rem;
  width: 1rem;
}

.antifake-index-page .af-vc-num {
  font-size: 1.16rem;
}

.antifake-index-page .af-vc-label {
  font-size: 0.58rem;
}

.antifake-index-page .af-trend-strip {
  align-items: center;
  background:
    linear-gradient(135deg, hsl(224 60% 18%) 0%, hsl(var(--primary)) 100%);
  border: 1px solid hsl(0 0% 100% / 0.08);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  color: hsl(0 0% 100%);
  display: grid;
  gap: 0.6rem;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 3.45rem;
  overflow: hidden;
  padding: 0.52rem 0.66rem;
}

.antifake-index-page .af-trend-copy {
  min-width: 4.8rem;
}

.antifake-index-page .af-trend-copy span {
  color: hsl(0 0% 100% / 0.58);
  display: block;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.antifake-index-page .af-trend-copy strong {
  color: hsl(0 0% 100% / 0.9);
  display: block;
  font-size: 0.72rem;
  line-height: 1.12;
  margin-top: 0.18rem;
}

.antifake-index-page .af-trend-bars {
  align-items: end;
  display: flex;
  gap: 0.36rem;
  height: 2.65rem;
  justify-content: flex-end;
  min-width: 0;
}

.antifake-index-page .af-trend-bar {
  align-items: center;
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  gap: 0.18rem;
  height: 100%;
  justify-content: flex-end;
  min-width: 1.6rem;
}

.antifake-index-page .af-trend-bar i {
  background: hsl(44 62% 56% / 0.92);
  border-radius: 999px 999px 0 0;
  display: block;
  height: min(var(--af-bar-h), 2.15rem);
  min-height: 0.32rem;
  width: 100%;
}

.antifake-index-page .af-trend-bar--level-1 { --af-bar-h: 0.5rem; }
.antifake-index-page .af-trend-bar--level-2 { --af-bar-h: 0.65rem; }
.antifake-index-page .af-trend-bar--level-3 { --af-bar-h: 0.8rem; }
.antifake-index-page .af-trend-bar--level-4 { --af-bar-h: 0.95rem; }
.antifake-index-page .af-trend-bar--level-5 { --af-bar-h: 1.1rem; }
.antifake-index-page .af-trend-bar--level-6 { --af-bar-h: 1.25rem; }
.antifake-index-page .af-trend-bar--level-7 { --af-bar-h: 1.4rem; }
.antifake-index-page .af-trend-bar--level-8 { --af-bar-h: 1.55rem; }
.antifake-index-page .af-trend-bar--level-9 { --af-bar-h: 1.7rem; }
.antifake-index-page .af-trend-bar--level-10 { --af-bar-h: 1.85rem; }
.antifake-index-page .af-trend-bar--level-11 { --af-bar-h: 2rem; }
.antifake-index-page .af-trend-bar--level-12 { --af-bar-h: 2.15rem; }

.af-card-readmore__icon {
  margin-left: 2px;
  vertical-align: middle;
}

.antifake-index-page .af-trend-bar b {
  color: hsl(0 0% 100% / 0.62);
  font-size: 0.52rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.antifake-index-page .af-trend-empty {
  color: hsl(0 0% 100% / 0.66);
  font-size: 0.72rem;
}

.antifake-index-page .af-filterbar {
  background: transparent;
  border: 0;
  box-shadow: none;
  gap: 0.5rem;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, auto);
  margin: 0.48rem 0 0.5rem;
  padding: 0;
  position: relative;
}

.antifake-index-page .af-filter-tabs,
.antifake-index-page .af-verdict-pills {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  padding: 0.26rem;
}

.antifake-index-page .af-filter-tabs {
  grid-column: 1 / -1;
  grid-row: 1;
  padding-right: 8.75rem;
}

.antifake-index-page .af-verdict-pills {
  grid-column: 1 / -1;
  grid-row: 2;
}

.antifake-index-page .af-export-btns {
  align-self: start;
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  padding: 0.26rem;
  z-index: 1;
}

.antifake-index-page .af-filter-btn,
.antifake-index-page .af-verdict-pill,
.antifake-index-page .af-export-btn {
  border-radius: calc(var(--av-radius) - 3px);
  font-size: 0.78rem;
  min-height: 1.78rem;
  padding: 0.3rem 0.52rem;
}

.antifake-index-page .count-badge,
.antifake-index-page .af-pill-count {
  font-size: 0.66rem;
  padding: 0.08rem 0.36rem;
}

.antifake-index-page .af-search-form {
  background: hsl(var(--card));
  box-shadow: var(--shadow-xs);
  grid-column: 1;
  grid-row: 3;
  min-height: 2.1rem;
}

.antifake-index-page .af-search-input {
  font-size: 0.82rem;
}

.antifake-index-page .af-search-btn {
  height: 2.1rem;
  width: 2.1rem;
}

.antifake-index-page .af-date-filters {
  align-self: stretch;
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  gap: 0.55rem;
  grid-column: 2;
  grid-row: 3;
  grid-template-columns: repeat(2, minmax(7.25rem, 1fr)) auto;
  margin: 0;
  padding: 0.26rem;
}

.antifake-index-page .af-date-group label {
  font-size: 0.62rem;
  line-height: 1.1;
}

.antifake-index-page .af-date-filters input[type="date"],
.antifake-index-page .af-date-filters .af-date-apply,
.antifake-index-page .af-date-filters .af-date-reset {
  min-height: 2.05rem;
}

@media (max-width: 980px) {
  .antifake-index-page .af-dashboard > .container {
    grid-template-columns: 1fr;
  }

  .antifake-index-page .af-trend-strip {
    grid-template-columns: auto minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .antifake-index-page .page-header {
    padding: 0.64rem 0 0.72rem;
  }

  .antifake-index-page .page-header .av-breadcrumbs {
    margin-bottom: 0.36rem;
  }

  .antifake-index-page .page-header .av-page-header {
    align-items: flex-start;
    gap: 0.55rem;
  }

  .antifake-index-page .page-header .av-page-header__main {
    align-items: flex-start;
  }

  .antifake-index-page .page-header .av-page-header__icon {
    height: 2rem;
    width: 2rem;
  }

  .antifake-index-page .page-header .av-page-header__title {
    font-size: 1.18rem;
  }

  .antifake-index-page .page-header .av-page-header__subtitle {
    font-size: 0.74rem;
  }

  .antifake-index-page .page-header__counter {
    min-width: 7rem;
    text-align: left;
    width: auto;
  }

  .antifake-index-page .af-verdict-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .antifake-index-page .af-verdict-card:nth-child(2n + 1) {
    border-left: 0;
  }

  .antifake-index-page .af-verdict-card:nth-child(n + 3) {
    border-top: 1px solid var(--ortcom-ds-border-soft);
  }

  .antifake-index-page .af-trend-strip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .antifake-index-page .af-trend-copy {
    min-width: 0;
  }

  .antifake-index-page .af-trend-bars {
    justify-content: stretch;
  }

  .antifake-index-page .af-filterbar {
    grid-template-columns: 1fr;
  }

  .antifake-index-page .af-filter-tabs,
  .antifake-index-page .af-verdict-pills,
  .antifake-index-page .af-export-btns,
  .antifake-index-page .af-search-form,
  .antifake-index-page .af-date-filters {
    grid-column: 1;
    grid-row: auto;
  }

  .antifake-index-page .af-filter-tabs {
    padding-right: 0;
  }

  .antifake-index-page .af-export-btns {
    justify-self: stretch;
  }

  .antifake-index-page .af-filter-btn,
  .antifake-index-page .af-verdict-pill {
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .antifake-index-page .af-dashboard {
    padding-top: 0.55rem;
  }

  .antifake-index-page .page-header__counter {
    width: 100%;
  }

  .antifake-index-page .af-vc-num {
    font-size: 1.08rem;
  }

  .antifake-index-page .af-vc-label {
    font-size: 0.54rem;
  }

  .antifake-index-page .af-export-btns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .antifake-index-page .af-export-btn {
    justify-content: center;
  }

  .antifake-index-page .af-date-filters {
    grid-template-columns: 1fr;
  }

  .antifake-index-page .af-date-group {
    grid-column: 1;
  }

  .antifake-index-page .af-date-filters .af-date-apply,
  .antifake-index-page .af-date-filters .af-date-reset {
    grid-column: 1 / -1;
    justify-content: center;
    width: 100%;
  }
}

/* ЦБД service pages: bulletins and public report form. */
.af-service-hero {
  background:
    radial-gradient(circle at 16% -10%, hsl(44 51% 54% / 0.14), transparent 34%),
    linear-gradient(135deg, hsl(224 60% 18%) 0%, hsl(var(--primary)) 100%);
  padding: 3rem 0 2.5rem;
}

.af-service-hero__title {
  color: hsl(0 0% 100%);
  font-family: var(--font-sans);
  font-size: clamp(1.65rem, 2.5vw, 2.05rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 0.45rem;
}

.af-service-hero__lead {
  color: hsl(0 0% 100% / 0.68);
  font-size: 0.96rem;
  line-height: 1.55;
  margin: 0;
  max-width: 42rem;
}

.af-service-shell {
  padding: 2rem 0 3.5rem;
}

.af-bulletin-stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 13rem));
  margin-bottom: 2rem;
}

.af-bulletin-stat {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  padding: 1rem 1.1rem;
}

.af-bulletin-stat__value {
  color: hsl(var(--primary));
  font-family: var(--font-sans);
  font-size: 1.65rem;
  font-weight: 780;
  line-height: 1;
}

.af-bulletin-stat--gold .af-bulletin-stat__value {
  color: hsl(var(--accent));
}

.af-bulletin-stat__label {
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
  line-height: 1.35;
  margin-top: 0.35rem;
}

.af-bulletin-section {
  margin-bottom: 2rem;
}

.af-section-title {
  border-bottom: 2px solid hsl(var(--primary));
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0 0 1rem;
  padding-bottom: 0.55rem;
}

.af-section-title--gold {
  border-bottom-color: hsl(var(--accent));
}

.af-bulletin-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.bulletin-card {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  color: inherit;
  display: block;
  min-width: 0;
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.bulletin-card:hover,
.bulletin-card:focus-visible {
  border-color: hsl(var(--primary) / 0.25);
  box-shadow: var(--shadow-sm);
  outline: none;
  transform: translateY(-1px);
}

.bulletin-card--featured {
  border-left: 4px solid hsl(var(--primary));
}

.bulletin-card-inner {
  display: flex;
  flex-direction: column;
  min-height: 13.5rem;
  padding: 1.15rem;
}

.bulletin-card-badge {
  align-items: center;
  align-self: flex-start;
  background: hsl(var(--primary));
  border-radius: calc(var(--av-radius) - 3px);
  color: hsl(var(--primary-foreground));
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 760;
  gap: 0.4rem;
  letter-spacing: 0.045em;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.55rem;
}

.bulletin-card-badge--analysis {
  background: hsl(var(--accent));
  color: hsl(224 60% 18%);
}

.bulletin-card-title {
  color: hsl(var(--foreground));
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 760;
  line-height: 1.38;
  margin: 0 0 0.5rem;
  overflow-wrap: anywhere;
}

.bulletin-card-date {
  color: hsl(var(--muted-foreground));
  display: block;
  font-size: 0.78rem;
  margin-bottom: 0.65rem;
}

.bulletin-card-excerpt {
  color: hsl(var(--muted-foreground));
  font-size: 0.84rem;
  line-height: 1.55;
  margin: 0 0 0.85rem;
}

.bulletin-card-link {
  color: hsl(var(--accent));
  font-size: 0.84rem;
  font-weight: 760;
  margin-top: auto;
}

.af-bulletin-list {
  display: grid;
  gap: 0.45rem;
}

.bulletin-row {
  align-items: center;
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
  color: hsl(var(--foreground));
  display: grid;
  gap: 1rem;
  grid-template-columns: 6rem minmax(0, 1fr) auto;
  min-width: 0;
  padding: 0.85rem 1rem;
  text-decoration: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.bulletin-row:hover,
.bulletin-row:focus-visible {
  border-color: hsl(var(--primary) / 0.25);
  box-shadow: var(--shadow-xs);
  outline: none;
}

.bulletin-row time {
  color: hsl(var(--muted-foreground));
  font-size: 0.78rem;
  white-space: nowrap;
}

.bulletin-row-title {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.4;
  min-width: 0;
  overflow-wrap: anywhere;
}

.bulletin-row-arrow {
  color: hsl(var(--accent));
  font-weight: 760;
}

.af-report-shell {
  max-width: 43.75rem;
  padding: 2rem 0 4rem;
}

.af-report-head {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.af-report-head__icon {
  align-items: center;
  background: hsl(var(--primary));
  border-radius: var(--av-radius);
  color: hsl(var(--primary-foreground));
  display: inline-flex;
  flex: 0 0 auto;
  height: 3rem;
  justify-content: center;
  width: 3rem;
}

.af-report-title {
  color: hsl(var(--primary));
  font-family: var(--font-sans);
  font-size: clamp(1.45rem, 2.4vw, 1.8rem);
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0 0 0.35rem;
}

.af-report-lead {
  color: hsl(var(--muted-foreground));
  font-size: 0.92rem;
  line-height: 1.55;
  margin: 0;
}

.af-report-form {
  display: grid;
  gap: 1rem;
}

.af-report-field .av-input__label {
  font-weight: 720;
}

.af-report-field .av-input__wrapper,
.af-report-field .av-textarea {
  border-color: var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
}

.af-report-note {
  align-items: flex-start;
  background: hsl(var(--muted) / 0.35);
  border: 1px solid var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
  color: hsl(var(--muted-foreground));
  display: flex;
  font-size: 0.82rem;
  gap: 0.5rem;
  line-height: 1.5;
  padding: 0.8rem 0.9rem;
}

.af-report-note svg {
  color: hsl(var(--primary));
  flex: 0 0 auto;
  margin-top: 0.12rem;
}

.af-report-note a {
  color: hsl(var(--primary));
  font-weight: 700;
}

.af-report-submit {
  justify-self: start;
}

.af-report-telegram {
  border-top: 1px solid var(--ortcom-ds-border-soft);
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.af-report-telegram__label {
  color: hsl(var(--muted-foreground));
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.af-report-telegram__button {
  background: hsl(199 73% 49%);
  border-color: hsl(199 73% 49%);
  color: hsl(0 0% 100%);
}

.af-report-telegram__button:hover,
.af-report-telegram__button:focus-visible {
  background: hsl(199 73% 43%);
  border-color: hsl(199 73% 43%);
  color: hsl(0 0% 100%);
}

.af-report-success {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  box-shadow: var(--shadow-xs);
  padding: 2rem;
}

.af-report-success__icon {
  align-items: center;
  background: hsl(142 58% 92%);
  border-radius: 999px;
  color: hsl(142 53% 28%);
  display: flex;
  height: 3.5rem;
  justify-content: center;
  margin-bottom: 1.1rem;
  width: 3.5rem;
}

.af-claim-provenance {
  border-top: 1px solid var(--ortcom-ds-border-soft);
  display: grid;
  gap: 0.65rem 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1rem 0 0;
  padding-top: 1rem;
}

.af-claim-provenance div {
  min-width: 0;
}

.af-claim-provenance dt {
  color: hsl(var(--muted-foreground));
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.af-claim-provenance dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.af-evidence-section,
.af-corrections {
  border-top: 1px solid var(--ortcom-ds-border-soft);
  margin-top: 2rem;
  padding-top: 1.5rem;
}

.af-section-heading h2,
.af-accountability-grid h2,
.af-corrections h2 {
  font-size: 1.15rem;
  line-height: 1.3;
  margin: 0.25rem 0 0.9rem;
}

.af-evidence-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.35rem;
}

.af-evidence-list li {
  padding-left: 0.25rem;
}

.af-evidence-list a {
  color: hsl(var(--primary));
  font-weight: 750;
}

.af-evidence-list p {
  color: hsl(var(--muted-foreground));
  margin: 0.2rem 0 0;
}

.af-accountability-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.af-accountability-grid article {
  background: hsl(var(--muted) / 0.45);
  border: 1px solid var(--ortcom-ds-border-soft);
  border-radius: var(--av-radius);
  padding: 1rem;
}

.af-accountability-grid p,
.af-corrections p {
  margin: 0;
}

.af-corrections__current {
  border-left: 3px solid hsl(var(--primary));
  padding-left: 0.85rem;
}

.af-corrections ol {
  color: hsl(var(--muted-foreground));
  margin: 0.8rem 0 0;
  padding-left: 1.25rem;
}

.af-translation-links {
  align-items: center;
  border-top: 1px solid var(--ortcom-ds-border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
}

.af-translation-links a {
  align-items: center;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 800;
  justify-content: center;
  min-height: 40px;
  min-width: 44px;
  padding: 0.45rem 0.7rem;
}

.af-standards-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.af-standards-grid section {
  background: hsl(var(--card));
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  padding: 1.1rem;
}

.af-standards-grid h2 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.af-standards-grid p {
  color: hsl(var(--muted-foreground));
  margin: 0;
}

@media (max-width: 720px) {
  .af-service-hero {
    padding: 2rem 0 1.75rem;
  }

  .af-service-shell,
  .af-report-shell {
    padding-bottom: 2.75rem;
    padding-top: 1.5rem;
  }

  .af-bulletin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bulletin-card-inner {
    min-height: 0;
    padding: 1rem;
  }

  .bulletin-row {
    align-items: flex-start;
    gap: 0.35rem;
    grid-template-columns: 1fr;
  }

  .bulletin-row-arrow {
    justify-self: start;
  }

  .af-report-head {
    gap: 0.8rem;
  }

  .af-report-head__icon {
    height: 2.7rem;
    width: 2.7rem;
  }

  .af-report-submit {
    justify-self: stretch;
  }

  .af-claim-provenance,
  .af-accountability-grid,
  .af-standards-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage mobile detail pass. */
@media (max-width: 640px) {
  .hp-hero {
    padding-top: 0.75rem;
    padding-bottom: 1rem;
  }

  .av-home-layout {
    gap: 0;
  }

  .av-home-hero {
    border-radius: var(--av-radius) var(--av-radius) 0 0;
  }

  .av-home-hero__content {
    max-width: none;
    padding: 1.25rem 1.1rem 1rem;
  }

  .av-home-hero__title {
    font-size: clamp(1.28rem, 6vw, 1.6rem);
    line-height: 1.18;
  }

  .av-home-hero__deck {
    display: none;
  }

  .av-home-hero__date--corner {
    top: 0.875rem;
    left: 0.875rem;
    min-height: 2rem;
    padding-inline: 0.7rem;
  }

  .av-home-feed {
    max-height: none;
    overflow: visible;
  }

  .av-home-feed__list {
    max-height: none;
    overflow: visible;
  }

  .av-home-feed--daily .av-home-feed__list {
    max-height: min(22rem, 56vh);
    overflow-y: auto;
    padding-right: 0.2rem;
  }

  .av-home-feed__item {
    gap: 0.7rem;
    padding: 0.72rem 1rem;
  }

  .av-home-feed__item:nth-child(n+6) {
    display: none;
  }

  .av-home-feed__time {
    min-width: 3.25rem;
    font-size: 0.92rem;
  }

  .av-home-feed__text {
    font-size: 0.92rem;
    line-height: 1.34;
  }

  .av-home-feed__more {
    padding: 0.8rem 1rem;
  }

  .hp-hero-carousel__controls {
    justify-content: center;
    right: 0.875rem;
    left: 0.875rem;
    bottom: 0.875rem;
  }

  .av-home-section-header {
    flex-flow: row wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
  }

  .av-home-section-header__main {
    gap: 0.45rem 0.65rem;
  }

  .av-home-section-header__title {
    font-size: clamp(1.18rem, 5vw, 1.36rem);
    line-height: 1.16;
  }

  .av-home-section-header__action {
    width: auto;
    min-height: 2.2rem;
    padding: 0.48rem 0.8rem;
    font-size: 0.84rem;
  }

  .hp-pres-subtitle {
    margin-bottom: 0.75rem;
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .hp-scroll-row {
    align-items: flex-start;
    gap: 0.8rem;
    padding-bottom: 0.55rem;
    scroll-padding-inline: 1rem;
  }

  .hp-scroll-row > * {
    flex: 0 0 min(22rem, calc(100vw - 2rem));
    min-width: min(22rem, calc(100vw - 2rem));
  }

  .hp-scroll-row > * > .av-feed-card {
    height: auto;
  }

  .hp-scroll-row .av-feed-card--sm .av-feed-card__body {
    min-height: 0;
    padding: 0.9rem 0.95rem 1rem;
  }

  .hp-scroll-row .av-feed-card--sm .av-feed-card__title {
    font-size: 1.04rem;
    line-height: 1.28;
    -webkit-line-clamp: 4;
  }

  .hp-cbd {
    padding: 0.95rem 0 1.05rem;
  }

  .hp-cbd-inner {
    gap: 0.75rem;
    padding: 0.9rem;
    border-radius: calc(var(--av-radius) - 2px);
  }

  .hp-cbd-text {
    min-width: 0;
    gap: 0.65rem;
  }

  .hp-cbd-icon {
    width: 2.1rem;
    height: 2.1rem;
    flex-basis: 2.1rem;
  }

  .hp-cbd-title {
    font-size: 1rem;
    line-height: 1.2;
  }

  .hp-cbd-desc {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .hp-cbd-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.4rem;
    width: 100%;
  }

  .hp-cbd-stats .av-metric {
    min-width: 0;
    width: 100%;
    padding: 0.45rem 0.35rem;
  }

  .hp-cbd-stats .av-metric__label {
    font-size: 0.54rem;
    line-height: 1.05;
    white-space: nowrap;
  }

  .hp-cbd-stats .av-metric__value {
    font-size: 1rem;
    line-height: 1;
  }

  .hp-cbd-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem;
    width: 100%;
  }

  .hp-cbd-actions .av-btn {
    min-height: 2.15rem;
    padding-inline: 0.65rem;
    font-size: 0.72rem;
  }

  .hp-cbd-cards {
    gap: 0.75rem;
  }

  .hp-cbd-card {
    min-height: 0;
    gap: 0.6rem;
  }

  .hp-cbd-card-title {
    font-size: 0.84rem;
    line-height: 1.32;
  }

  .hp-section--briefings {
    padding: 1.5rem 0 1.75rem;
  }

  .hp-agenda-inline {
    padding: 0.95rem;
  }

  .hp-agenda-header {
    gap: 0.5rem;
    margin-bottom: 0.75rem;
  }

  .hp-agenda-all {
    width: auto;
    margin-left: auto;
  }

  .hp-agenda-scroll {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .hp-agenda-card {
    flex: 0 0 100%;
    min-height: 0;
    scroll-snap-align: start;
  }

  .hp-agenda-title {
    font-size: 0.9rem;
    line-height: 1.32;
  }

  .hp-briefings-grid {
    gap: 0.9rem;
  }

  .hp-brief-lead > .av-feed-card .av-feed-card__body {
    padding: 1rem;
  }

  .hp-brief-lead > .av-feed-card .av-feed-card__title {
    font-size: 1.12rem;
    line-height: 1.24;
  }

  .hp-brief-lead > .av-feed-card .av-feed-card__deck {
    font-size: 0.9rem;
    -webkit-line-clamp: 2;
  }

  .hp-brief-list {
    gap: 0.55rem;
  }

  .hp-brief-list .av-feed-card--horizontal .av-feed-card__media {
    width: 7rem;
  }

  .hp-brief-list .av-feed-card--horizontal .av-feed-card__body {
    padding: 0.75rem 0.85rem;
  }

  .hp-brief-list .av-feed-card--horizontal .av-feed-card__title {
    font-size: 0.96rem;
    line-height: 1.28;
    -webkit-line-clamp: 3;
  }

  .hp-map-strip {
    padding: 0.9rem 0;
  }

  .hp-map-strip .container {
    gap: 0.65rem;
  }

  .hp-region-picker {
    margin-left: 0;
    margin-top: 0;
  }

  .hp-region-btn {
    max-width: 100%;
    min-height: 2.25rem;
    padding: 0.45rem 0.7rem;
    font-size: 0.84rem;
  }

  .site-footer {
    padding-top: 1.15rem;
    padding-bottom: 0.7rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem 0.95rem;
    margin-bottom: 0.8rem;
  }

  .footer-grid > *:first-child {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .footer-logo {
    margin-bottom: 0.45rem;
  }

  .footer-logo-title {
    font-size: 0.82rem;
  }

  .footer-logo-sub {
    font-size: 0.68rem;
  }

  .footer-heading {
    margin-bottom: 0.3rem;
    font-size: 0.62rem;
  }

  .footer-links {
    gap: 0.1rem;
  }

  .site-footer .footer-links a {
    min-height: 1.35rem;
    padding: 0.02rem 0;
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .site-footer .social-row {
    gap: 0.5rem;
  }

  .site-footer .social-row a {
    width: 1.9rem;
    height: 1.9rem;
  }

  .site-footer .social-row svg {
    width: 0.9rem;
    height: 0.9rem;
  }

  .site-footer .footer-bottom a {
    min-width: auto;
    min-height: auto;
    padding: 0;
  }

  .site-footer .footer-bottom {
    display: grid;
    justify-items: start;
    gap: 0.4rem;
    padding-top: 0.65rem;
    font-size: 0.64rem;
    text-align: left;
  }

  .site-footer .footer-bottom-links {
    justify-content: flex-start;
    gap: 0.45rem 0.8rem;
  }
}

@media (max-width: 380px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hp-cbd-actions {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .site-footer {
    padding-top: 1.25rem;
    padding-bottom: 0.8rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.2rem;
    margin-bottom: 0.9rem;
  }

  .footer-grid > *:first-child {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .footer-logo {
    margin-bottom: 0.5rem;
  }

  .footer-heading {
    margin-bottom: 0.35rem;
    font-size: 0.64rem;
  }

  .footer-links {
    gap: 0.16rem;
  }

  .site-footer .footer-links a {
    min-height: 1.45rem;
    font-size: 0.76rem;
    line-height: 1.2;
  }

  .site-footer .footer-bottom {
    padding-top: 0.7rem;
    font-size: 0.66rem;
  }
}

/* Public page consolidation pass.
   Keeps existing content and routes while aligning dense service pages to AV DS rhythm. */
.site-footer {
  padding-top: clamp(0.95rem, 1.8vw, 1.35rem);
  padding-bottom: 0.65rem;
}

.footer-grid {
  gap: clamp(0.65rem, 1.2vw, 1rem);
  margin-bottom: 0.9rem;
}

.footer-logo {
  margin-bottom: 0.5rem;
}

.footer-logo-title {
  font-size: 0.86rem;
  line-height: 1.18;
}

.footer-logo-sub {
  font-size: 0.68rem;
  line-height: 1.25;
}

.footer-heading {
  margin-bottom: 0.34rem;
  font-size: 0.61rem;
}

.footer-links {
  gap: 0.12rem;
}

.footer-links a {
  font-size: 0.71rem;
  line-height: 1.18;
}

.footer-grid > div:nth-child(5) .footer-links {
  column-count: 2;
  column-gap: 0.95rem;
  display: block;
}

.footer-grid > div:nth-child(5) .footer-links a {
  display: block;
  break-inside: avoid;
  margin-bottom: 0.12rem;
}

.footer-bottom {
  padding-top: 0.58rem;
}

.initiatives-page .cat-header {
  margin-bottom: 0;
  min-height: 0;
  padding: 1.05rem 0 0.95rem;
}

.initiatives-page .cat-header .container {
  gap: 0.45rem;
}

.initiatives-page .cat-header .av-page-header {
  gap: 0.45rem;
}

.initiatives-page .cat-header .av-page-header__title {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.12;
}

.initiatives-page .cat-header .av-page-header__subtitle {
  max-width: 44rem;
  font-size: 0.86rem;
  line-height: 1.4;
}

.initiatives-page .president-tabs {
  position: relative;
  top: auto;
  z-index: 1;
}

.initiatives-page .president-tab {
  min-height: 2.5rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
}

.initiatives-page .president-tabs .container::after {
  background: linear-gradient(90deg, hsl(var(--background) / 0), hsl(var(--background)) 78%);
}

.initiatives-page .initiatives-list-shell {
  max-width: 1048px;
  padding-top: 1rem;
  padding-bottom: 2.35rem;
}

.initiatives-page .initiatives-grid {
  gap: 0.9rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.initiatives-page .initiative-card {
  min-height: 0;
}

.initiatives-page .initiative-card .card-img,
.initiatives-page .initiative-card-placeholder {
  aspect-ratio: 16 / 7.5;
  height: auto !important;
  position: relative !important;
  inset: auto !important;
  min-height: 0;
  overflow: hidden;
}

.initiatives-page .initiative-card-placeholder {
  align-items: center;
  justify-content: center;
  min-height: 0 !important;
}

.initiatives-page .initiative-card-body {
  gap: 0.52rem;
  padding: 0.85rem 0.95rem 0.95rem;
}

.initiatives-page .initiative-card-title {
  font-size: 0.96rem;
  line-height: 1.3;
}

.initiatives-page .initiative-card-lead {
  display: -webkit-box;
  font-size: 0.8rem;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.initiatives-page .initiative-card-stats {
  gap: 0.35rem;
}

.initiatives-page .initiative-card-stat {
  padding: 0.28rem 0.48rem;
}

@media (max-width: 1120px) {
  .initiatives-page .initiatives-list-shell {
    max-width: none;
  }

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

@media (max-width: 700px) {
  .initiatives-page .initiatives-grid {
    grid-template-columns: 1fr;
  }
}

.af-service-hero {
  padding: 2rem 0 1.55rem;
}

.af-service-hero__title {
  font-size: clamp(1.42rem, 2.1vw, 1.82rem);
}

.af-service-hero__lead {
  max-width: 39rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.af-service-shell {
  max-width: 1080px;
  padding-top: 1.25rem;
  padding-bottom: 2.6rem;
}

.af-bulletin-stats {
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.af-bulletin-stat {
  padding: 0.82rem 0.95rem;
}

.af-bulletin-stat__value {
  font-size: 1.38rem;
}

.af-bulletin-section {
  margin-bottom: 1.55rem;
}

.af-bulletin-grid {
  gap: 0.82rem;
}

.bulletin-card-inner {
  min-height: 11.2rem;
  padding: 0.95rem;
}

.bulletin-card-title {
  font-size: 0.9rem;
  line-height: 1.34;
}

.bulletin-card-excerpt {
  display: -webkit-box;
  font-size: 0.78rem;
  line-height: 1.48;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}

.bulletin-row {
  padding: 0.7rem 0.9rem;
}

.af-report-shell {
  max-width: 48rem;
  padding-top: 1.25rem;
  padding-bottom: 2.4rem;
}

.af-report-head {
  margin-bottom: 1.2rem;
}

.af-report-form {
  gap: 0.85rem;
}

.af-report-telegram {
  margin-top: 1.25rem;
  padding-top: 1rem;
}

.article-page .content-grid {
  gap: clamp(1.2rem, 2.4vw, 2rem);
  padding-top: 1.25rem;
  padding-bottom: 2.35rem;
}

.article-page .article-header {
  margin-bottom: 1.6rem !important;
}

.article-page .article-h1 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  line-height: 1.12;
}

.article-page .article-header p {
  max-width: 48rem;
  font-size: 0.94rem !important;
  line-height: 1.52 !important;
}

@media (max-width: 1180px) {
  .footer-grid {
    grid-template-columns: minmax(12rem, 1fr) repeat(3, minmax(8rem, 1fr));
  }

  .footer-grid > div:nth-child(5) .footer-links {
    column-count: 1;
  }
}

@media (max-width: 720px) {
  .site-footer {
    padding-top: 1rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
  }

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-links a {
    font-size: 0.7rem;
  }

  .initiatives-page .cat-header {
    padding: 0.9rem 0 0.8rem;
  }

  .initiatives-page .initiatives-list-shell,
  .af-service-shell,
  .af-report-shell {
    padding-bottom: 2rem;
  }

  .af-bulletin-stats {
    margin-bottom: 1rem;
  }
}

/* Public page rhythm pass: list, service and regional surfaces. */
.cat-header {
  padding: 1.1rem 0 1rem;
}

.cat-header .av-page-header {
  gap: 0.45rem;
}

.cat-header .av-page-header__title {
  font-size: clamp(1.38rem, 2.1vw, 1.85rem);
  line-height: 1.12;
}

.cat-header .av-page-header__subtitle {
  font-size: 0.86rem;
  line-height: 1.42;
}

.cat-source-pills,
.filter-bar {
  margin-bottom: 0.78rem;
  padding: 0.62rem 0.68rem;
}

.cat-source-pill,
.filter-form .av-input,
.filter-form .av-select {
  min-height: 2.15rem;
}

.filter-form {
  gap: 0.55rem;
}

.filter-form .filter-group--date {
  flex-basis: 9rem;
}

.filter-submit-btn,
.filter-clear-btn,
.view-toggle .view-btn {
  height: 2.15rem;
  width: 2.15rem;
}

#articlesGrid.cards-3 {
  gap: 0.95rem;
  margin-top: 0.7rem;
}

#articlesGrid .card {
  border-radius: var(--av-radius);
}

#articlesGrid .card-img,
#articlesGrid .card-img-placeholder {
  aspect-ratio: 16 / 9.6;
}

#articlesGrid .card-title,
#articlesGrid .card-title a {
  font-size: clamp(0.84rem, 0.88vw, 0.95rem);
  line-height: 1.32;
  overflow-wrap: anywhere;
}

.articles-list-view {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.articles-list-view .list-row {
  align-items: start;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: calc(var(--av-radius) - 2px);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  padding: 0.7rem 0.85rem;
}

.articles-list-view .list-row-title {
  font-size: 0.9rem;
  line-height: 1.34;
}

.president-documents-page .pres-docs-page {
  max-width: 980px;
  padding-bottom: 2.5rem;
  padding-top: 1.25rem;
}

.pres-docs-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.pres-docs-title {
  color: hsl(var(--primary));
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0;
}

.pres-docs-count {
  color: hsl(var(--muted-foreground));
  font-size: 0.84rem;
  font-weight: 550;
}

.pres-docs-type-form {
  align-items: center;
  display: flex;
  gap: 0.5rem;
}

.pres-docs-list {
  border-top: 1px solid var(--ortcom-ds-border);
}

.pres-docs-row {
  align-items: flex-start;
  border-bottom: 1px solid var(--ortcom-ds-border);
  display: grid;
  gap: 1rem;
  grid-template-columns: 5.25rem minmax(0, 1fr);
  padding: 1rem 0;
}

.pres-docs-date-col {
  text-align: right;
}

.pres-docs-date,
.pres-docs-meta-item,
.pres-docs-source {
  font-size: 0.78rem;
  line-height: 1.4;
}

.pres-docs-date,
.pres-docs-meta-item {
  color: hsl(var(--muted-foreground));
}

.pres-docs-body {
  min-width: 0;
}

.pres-docs-item-title {
  color: hsl(var(--foreground));
  font-size: 0.98rem;
  font-weight: 730;
  line-height: 1.36;
  margin: 0 0 0.36rem;
}

.pres-docs-link {
  color: inherit;
  text-decoration: none;
}

.pres-docs-link:hover,
.pres-docs-source:hover {
  color: hsl(var(--accent));
}

.pres-docs-summary {
  color: hsl(var(--muted-foreground));
  font-size: 0.84rem;
  line-height: 1.48;
  margin: 0 0 0.36rem;
}

.pres-docs-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.35rem;
}

.pres-docs-meta-item {
  align-items: center;
  display: inline-flex;
  gap: 0.25rem;
}

.pres-docs-source {
  color: hsl(var(--accent));
  font-weight: 700;
  text-decoration: none;
}

.pres-docs-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  justify-content: center;
  margin-top: 1.55rem;
}

.pres-docs-page-link,
.pres-docs-page-dots {
  border-radius: calc(var(--av-radius) - 2px);
  font-size: 0.82rem;
  min-height: 2rem;
  padding: 0.45rem 0.68rem;
}

.pres-docs-page-link {
  border: 1px solid var(--ortcom-ds-border);
  color: hsl(var(--foreground));
  text-decoration: none;
}

.pres-docs-page-link--current {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-weight: 700;
}

.pres-docs-page-dots {
  color: hsl(var(--muted-foreground));
}

.pres-docs-empty {
  color: hsl(var(--muted-foreground));
  padding: 3rem 0;
  text-align: center;
}

.pres-docs-empty-icon {
  margin-bottom: 0.75rem;
  opacity: 0.32;
}

.pres-doc-detail-badge-row {
  margin-bottom: 0.75rem;
}

.pres-doc-detail-meta {
  align-items: center;
  border-top: 1px solid var(--ortcom-ds-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.pres-doc-detail-meta-item,
.pres-doc-detail-meta-link {
  align-items: center;
  color: hsl(var(--muted-foreground));
  display: inline-flex;
  font-size: 0.875rem;
  gap: 0.35rem;
  line-height: 1.4;
}

.pres-doc-detail-meta-item--strong {
  font-weight: 600;
}

.pres-doc-detail-meta-item svg,
.pres-doc-detail-meta-link svg {
  flex: 0 0 auto;
}

.pres-doc-detail-meta-link {
  color: hsl(var(--accent));
  font-weight: 700;
  text-decoration: none;
}

.pres-doc-detail-meta-link:hover {
  color: hsl(var(--primary));
}

.pres-doc-detail-summary {
  background: hsl(var(--muted) / 0.72);
  border: 1px solid var(--ortcom-ds-border-soft);
  border-radius: var(--av-radius);
  color: hsl(var(--foreground));
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.7;
  margin: 1.5rem 0;
  padding: 1.25rem 1.5rem;
}

.pres-doc-detail-empty-state {
  padding: 3rem 1rem;
}

.pres-doc-detail-empty-copy {
  margin-bottom: 1.5rem;
}

.pres-doc-detail-source-cta {
  align-items: center;
  background: hsl(var(--primary));
  border-radius: var(--av-radius);
  color: hsl(var(--primary-foreground));
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 650;
  gap: 0.5rem;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.75rem 1.75rem;
  text-decoration: none;
}

.pres-doc-detail-source-cta:hover {
  background: hsl(var(--primary) / 0.92);
  color: hsl(var(--primary-foreground));
}

.pres-doc-detail-sidebar-nav {
  padding: 0.75rem 0;
}

.pres-doc-detail-sidebar-link {
  border-bottom: 1px solid var(--ortcom-ds-border);
  color: hsl(var(--foreground));
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.6rem 0;
  text-decoration: none;
}

.pres-doc-detail-sidebar-link:hover,
.pres-doc-detail-sidebar-link--active {
  color: hsl(var(--primary));
  font-weight: 700;
}

.digest-page .digest-shell {
  padding-top: 1rem;
}

.digest-page .digest-wrap {
  max-width: 980px;
  padding-bottom: 2.6rem;
}

.digest-page .digest-header {
  margin-bottom: 1.45rem;
}

.digest-page .digest-title {
  font-size: clamp(1.42rem, 2.1vw, 1.86rem);
  line-height: 1.14;
}

.digest-page .digest-date-nav {
  gap: 0.65rem 1rem;
}

.digest-page .digest-section {
  margin-bottom: 1.9rem;
}

.digest-page .digest-section-title {
  font-size: 1.05rem;
  margin-bottom: 0.9rem;
  padding-bottom: 0.48rem;
}

.digest-page .digest-event-list,
.digest-page .digest-ann-list,
.digest-page .digest-antifake-list {
  gap: 0.5rem;
}

.digest-page .digest-event-item,
.digest-page .digest-ann-item,
.digest-page .digest-antifake-item,
.digest-page .digest-article-card {
  border-radius: var(--av-radius);
  padding: 0.85rem 0.95rem;
}

.digest-page .digest-event-title,
.digest-page .digest-ann-title,
.digest-page .digest-antifake-title,
.digest-page .digest-article-title {
  font-size: 0.9rem;
  line-height: 1.34;
}

.monitoring-page {
  padding-bottom: 2.5rem !important;
}

.monitoring-page > .container,
.api-docs-body,
.regions-page > .container,
.rd-page > .container,
.rd-page .rd-hero .container {
  max-width: 1120px;
}

.monitoring-header {
  margin-bottom: 1.15rem !important;
  padding: 1.1rem 0 !important;
}

.monitoring-kpi-row {
  gap: 0.7rem !important;
  margin-bottom: 0.95rem !important;
}

.monitoring-kpi-row .kpi-card {
  padding: 0.85rem !important;
}

.monitoring-charts-row,
.monitoring-layout {
  gap: 0.95rem !important;
  margin-bottom: 1rem !important;
}

.monitoring-chart {
  height: 220px !important;
}

.monitoring-chart--tall {
  height: 300px !important;
}

.monitoring-section {
  margin-bottom: 1rem !important;
}

.citation-card {
  padding: 0.8rem 0.9rem !important;
}

.api-docs-header {
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem !important;
  padding: 2rem 0 1.65rem !important;
  background: linear-gradient(135deg, var(--navy) 0%, hsl(224 58% 32%) 100%);
  color: #fff;
}

.api-docs-page {
  padding-bottom: 4rem;
}

.api-docs-content {
  min-width: 0;
}

.api-docs-header h1 {
  font-size: clamp(1.42rem, 2.3vw, 1.95rem) !important;
  line-height: 1.12;
  color: #fff;
}

.api-docs-subtitle {
  color: rgb(255 255 255 / 0.85);
  font-size: 0.92rem !important;
  line-height: 1.45;
  max-width: 600px;
}

.api-docs-badge {
  display: inline-block;
  background: hsl(46 54% 58%);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.api-docs-base-url {
  margin-top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: fit-content;
  background: rgb(255 255 255 / 0.1);
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 6px;
  padding: 0.5rem 1rem;
}

.api-docs-base-url code {
  font-size: 0.95rem;
  color: var(--gold);
}

.api-docs-body {
  padding-bottom: 2.75rem;
}

.api-docs-layout {
  display: grid;
  align-items: start;
  gap: 1.5rem !important;
  grid-template-columns: 12rem minmax(0, 1fr) !important;
}

.api-docs-nav {
  position: sticky;
  top: 80px;
  padding: 1rem 0;
}

.api-docs-nav-group {
  margin-bottom: 1.5rem;
}

.api-docs-nav-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
}

.api-docs-nav-link {
  display: block;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  color: var(--text-2);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.15s;
}

.api-docs-nav-link:hover {
  color: hsl(var(--foreground));
  border-left-color: hsl(var(--border));
}

.api-docs-nav-link.active {
  color: hsl(var(--foreground));
  border-left-color: var(--gold);
  font-weight: 600;
}

.api-docs-section {
  border-bottom: 1px solid var(--ortcom-ds-border-soft);
  margin-bottom: 1.35rem !important;
  padding-bottom: 1.35rem !important;
}

.api-docs-section h2 {
  font-size: 1.13rem !important;
  color: hsl(var(--foreground));
}

.api-docs-section p {
  color: hsl(var(--foreground) / 0.82);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.api-docs-info-cards {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.api-info-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: hsl(var(--muted) / 0.62);
  border-radius: 8px;
  border: 1px solid var(--ortcom-ds-border-soft);
}

.api-info-card strong {
  display: block;
  font-size: 0.8rem;
  color: hsl(var(--foreground));
}

.api-info-card span {
  display: block;
  font-size: 0.75rem;
  color: hsl(var(--foreground) / 0.74);
}

.api-info-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.api-endpoint {
  margin-bottom: 1.5rem;
}

.api-code-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.api-method {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.api-method.get {
  background: hsl(131 56% 91%);
  color: hsl(131 49% 31%);
}

.api-code-block,
.api-try-result {
  background: #1e2330;
  overflow: hidden;
  border-radius: var(--av-radius) !important;
}

.api-code-block pre {
  padding: 1rem;
  margin: 0;
  overflow-x: auto;
  max-height: 18rem;
}

.api-code-block code,
.api-try-result code {
  font-size: 0.8rem;
  color: #c5d0e0;
}

.api-code-label {
  padding: 0.4rem 1rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.45);
  letter-spacing: 0.05em;
}

.api-code-block .api-code-header {
  padding: 0.5rem 1rem;
  background: rgb(255 255 255 / 0.05);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.api-code-block .api-code-header code {
  color: hsl(202 100% 82%);
}

.api-params-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.75rem 0;
}

.api-params-table th {
  text-align: left;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground) / 0.68);
  padding: 0.5rem 0.75rem;
  border-bottom: 2px solid var(--ortcom-ds-border-soft);
}

.api-params-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--ortcom-ds-border-soft);
  color: hsl(var(--foreground) / 0.82);
}

.api-params-table code {
  background: hsl(var(--muted) / 0.85);
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  font-size: 0.8rem;
  color: hsl(var(--primary));
}

.api-try-it {
  margin-top: 1rem;
}

.api-try-input-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1rem;
}

.api-try-input {
  flex: 1;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  background: hsl(var(--background));
}

.api-try-result {
  padding: 1rem;
  max-height: 400px;
  overflow: auto;
}

.regions-page {
  padding-bottom: 3rem;
}

.regions-header {
  margin-bottom: 1.35rem !important;
  padding: 1.6rem 0 1.35rem !important;
}

.regions-header h1 {
  font-size: clamp(1.38rem, 2.1vw, 1.82rem) !important;
  line-height: 1.12;
}

.regions-subtitle {
  opacity: 0.8;
  font-size: 0.93rem;
}

.regions-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.95rem;
}

.regions-shortcuts__item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: 999px;
  background: hsl(var(--card));
  box-shadow: var(--shadow-xs);
  color: hsl(var(--primary));
  font-size: 0.79rem;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
}

.regions-shortcuts__item:hover {
  border-color: hsl(var(--primary) / 0.18);
  background: hsl(var(--accent));
}

.regions-shortcuts__item--api {
  border-color: hsl(var(--chart-1) / 0.42);
  background: hsl(var(--chart-1) / 0.08);
}

.regions-grid {
  gap: 0.62rem !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)) !important;
  margin-bottom: 2rem !important;
}

.region-card,
.gov-body-card {
  border-radius: var(--av-radius) !important;
  background: #fff;
}

.region-card {
  align-items: center;
  display: flex;
  gap: 0.75rem;
  padding: 0.82rem 0.95rem !important;
  border: 1px solid #e8e8e8;
  color: inherit;
  text-decoration: none;
  transition: all 0.2s;
}

.region-card:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.region-card {
  min-height: 4.25rem;
}

.region-card-icon {
  color: var(--gold);
  flex-shrink: 0;
}

.region-card-body {
  flex: 1;
  min-width: 0;
}

.region-card-body h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.15rem;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.35;
}

.region-card-count {
  font-size: 0.75rem;
  color: #999;
}

.region-card-arrow {
  color: #ccc;
  flex-shrink: 0;
  transition: transform 0.2s;
}

.region-card:hover .region-card-arrow {
  color: var(--gold);
  transform: translateX(2px);
}

.regions-gov-section {
  margin-bottom: 1.45rem !important;
}

.gov-bodies-grid {
  gap: 0.62rem !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)) !important;
}

.regions-gov-section h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.gov-section-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gov-section-badge--rsk { background: #e7f5e7; color: #2a7a2a; }
.gov-section-badge--mio { background: #e7ecf5; color: #2a4a7a; }

.gov-body-card--rsk { border-left: 3px solid #4caf50; }
.gov-body-card--mio { border-left: 3px solid #5c7cba; }

.gov-body-card h4 {
  line-height: 1.4;
  min-height: calc(1.4em * 2);
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.gov-body-type-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.gov-body-type-badge.mio { background: #e7ecf5; color: #2a4a7a; }
.gov-body-type-badge.rsk { background: #e7f5e7; color: #2a7a2a; }

.gov-body-card {
  padding: 1rem;
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 8px;
  transition: background-color 0.18s;
}

.gov-body-card:hover {
  background: #f3f5f8;
}

.gov-body-link {
  display: inline-block;
  margin-top: 0.15rem;
  overflow-wrap: anywhere;
  font-size: 0.75rem;
  color: #777;
}

.regions-api-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #fdf5e6 100%);
  border: 1px solid #e4e8f0;
  border-radius: 12px !important;
  padding: 1.5rem 2rem;
}

.regions-api-cta-content {
  min-width: 0;
}

.regions-api-cta h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.regions-api-cta p {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0.5rem;
}

.regions-api-cta code {
  font-size: 0.8rem;
  color: var(--navy);
  background: rgba(255,255,255,0.7);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.regions-api-btn {
  flex-shrink: 0;
  padding: 0.6rem 1.25rem;
  background: var(--navy);
  border-radius: 6px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}

.regions-api-btn:hover {
  background: #1a3080;
}

.region-subpage .rd-hero--compact {
  padding: 1.25rem 0 1.5rem;
  margin-bottom: 0;
}

.region-news-page .rd-hero--compact h1,
.region-briefings-page .rd-hero--compact h1 {
  font-size: 1.35rem;
  margin: 0;
  font-weight: 700;
}

.region-about-page .rd-hero--compact h1 {
  font-size: 1.25rem;
  margin: 0;
  font-weight: 700;
  line-height: 1.35;
}

.rd-hero-count {
  font-size: 0.82rem;
  opacity: 0.6;
  margin-top: 0.25rem;
}

.region-subpage .rd-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #eaedf2;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.region-subpage .rd-tab {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.15rem !important;
  font-size: 0.85rem !important;
  font-weight: 500;
  color: #777;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: color 0.15s, border-color 0.15s;
}

.region-subpage .rd-tab:hover { color: var(--navy); }

.region-subpage .rd-tab--active {
  color: var(--navy);
  font-weight: 600;
  border-bottom-color: var(--gold);
}

.region-subpage .rd-tab svg { opacity: 0.5; flex-shrink: 0; }
.region-subpage .rd-tab--active svg { opacity: 1; }

.region-subpage .rd-tab-count {
  background: #eaedf2;
  color: #555;
  border-radius: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  text-align: center;
  min-width: 1.2rem;
}

.region-subpage .rd-tab--active .rd-tab-count {
  background: var(--navy);
  color: #fff;
}

.rd-subpage .is-hidden,
.is-hidden {
  display: none !important;
}

.ra-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}

.ra-section { margin-bottom: 2rem; }

.ra-section h2,
.ra-social-card h3,
.ra-contact-card h3,
.ra-parent-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--navy);
}

.ra-section h2 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.ra-section h2 svg,
.ra-social-card h3 svg,
.ra-parent-card h3 svg,
.ra-contact-card h3 svg {
  color: var(--gold);
}

.ra-about-text p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #444;
  margin-bottom: 1rem;
}

.ra-about-text strong { color: var(--navy); }

.ra-mission {
  background: #f8f9fb;
  border: 1px solid #eaedf2;
  border-radius: 8px;
  padding: 1.15rem 1.25rem;
  margin-top: 1rem;
}

.ra-mission h3 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.ra-mission ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ra-mission li {
  color: #555;
  line-height: 1.5;
  font-size: 0.85rem;
  padding: 0.35rem 0 0.35rem 1.25rem;
  position: relative;
}

.ra-mission li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.ra-no-data {
  font-size: 0.9rem;
  color: #999;
  font-style: italic;
}

.ra-staff-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ra-staff-card {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  border: 1px solid #eaedf2;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
}

.ra-staff-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f0f2f5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ra-staff-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ra-staff-name { font-size: 0.9rem; font-weight: 600; color: var(--navy); margin-bottom: 0.15rem; }
.ra-staff-pos { font-size: 0.78rem; color: #777; margin-bottom: 0.25rem; }
.ra-staff-contact { font-size: 0.75rem; color: #999; }
.ra-staff-contact a { color: var(--navy); text-decoration: none; }
.ra-staff-contact a:hover { text-decoration: underline; }

.ra-contact-card,
.ra-social-card,
.ra-parent-card {
  background: #fff;
  border: 1px solid #eaedf2;
  border-radius: 8px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.85rem;
}

.ra-contact-card h3,
.ra-social-card h3,
.ra-parent-card h3 {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.ra-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #f3f4f6;
}

.ra-contact-row:last-child { border-bottom: none; }

.ra-contact-row svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: #999;
}

.ra-contact-label {
  display: block;
  font-size: 0.68rem;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.1rem;
}

.ra-contact-val {
  display: block;
  font-size: 0.82rem;
  color: #333;
}

.ra-contact-val a.ra-contact-val,
a.ra-contact-val {
  color: var(--navy);
  text-decoration: none;
}

a.ra-contact-val:hover { text-decoration: underline; }

.ra-social-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.ra-social-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0.65rem;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: background 0.15s;
}

.ra-social-item:hover { background: #f5f7fa; }

.ra-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ra-social-icon--instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); color: #fff; }
.ra-social-icon--facebook { background: #1877f2; color: #fff; }
.ra-social-icon--telegram { background: #0088cc; color: #fff; }
.ra-social-icon--youtube { background: #ff0000; color: #fff; }
.ra-social-icon--tiktok { background: #000; color: #fff; }

.ra-social-name {
  font-size: 0.85rem;
  font-weight: 500;
  flex: 1;
}

.ra-social-arrow {
  color: #ccc;
  flex-shrink: 0;
}

.ra-social-item:hover .ra-social-arrow {
  color: var(--navy);
}

.ra-parent-card {
  background: #f8f9fb;
}

.ra-parent-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 0.6rem;
  border-radius: 6px;
  transition: background 0.15s;
}

.ra-parent-link:hover { background: #eef0f4; }

.ra-parent-name {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.ra-parent-site {
  display: block;
  font-size: 0.72rem;
  color: #999;
  margin-top: 0.15rem;
}

.rb-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #eaedf2;
}

.rb-result-count {
  font-size: 0.82rem;
  color: #999;
}

.rb-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.rb-event {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #eaedf2;
  border-radius: 8px;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.rb-event:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(0,0,0,0.06); }

.rb-event-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  background: var(--bg-offset);
  border-radius: 8px;
  padding: 0.5rem 0.4rem;
}

.rb-event-day { display: block; font-size: 1.35rem; font-weight: 700; color: var(--navy); line-height: 1.1; }
.rb-event-month { display: block; font-size: 0.7rem; color: #999; text-transform: uppercase; font-weight: 500; }
.rb-event-year { display: block; font-size: 0.62rem; color: #bbb; }

.rb-event-body { flex: 1; min-width: 0; }

.rb-event-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.rb-event-type {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  color: #fff;
  padding: 0.12rem 0.4rem;
  border-radius: 3px;
  text-transform: uppercase;
}

.rb-event-type--briefing { background: var(--navy); }
.rb-event-type--conference { background: #6b46c1; }
.rb-event-type--soyle { background: #c8a84b; color: var(--navy); }
.rb-event-type--roundtable { background: #2a7a2a; }
.rb-event-type--meeting { background: #555; }

.rb-event-status {
  font-size: 0.62rem;
  font-weight: 500;
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.rb-event-status--announced { background: #e7f5e7; color: #2a7a2a; }
.rb-event-status--live { background: #fee2e2; color: #dc2626; }
.rb-event-status--completed { background: #f3f4f6; color: #777; }
.rb-event-status--cancelled { background: #fef3c7; color: #92400e; }

.rb-event-body h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.rb-event-body p {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  color: #666;
  line-height: 1.45;
}

.rb-event-loc,
.rb-event-time {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.4rem;
  margin-right: 1rem;
  font-size: 0.72rem;
  color: #999;
}

.rb-event-loc svg,
.rb-event-time svg {
  flex-shrink: 0;
}

.rb-event-img {
  width: 120px;
  height: 90px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.rb-event-img img { width: 100%; height: 100%; object-fit: cover; }

.ra-sidebar {
  min-width: 0;
}

.rd-pagination {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.rd-page-btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 0.4rem;
  border-radius: 6px;
  font-size: 0.8rem;
  color: #555;
  text-decoration: none;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
}

.rd-page-active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.rd-page-btn:hover:not(.rd-page-active) { border-color: var(--gold); }

.rd-page-dots { color: #ccc; line-height: 32px; padding: 0 0.25rem; }
}

.gov-body-link {
  display: inline-block;
  margin-top: 0.15rem;
  overflow-wrap: anywhere;
}

.regions-api-cta {
  border-radius: var(--av-radius) !important;
  padding: 1rem 1.15rem !important;
}

.rd-hero {
  padding: 1.45rem 0 1.6rem !important;
}

.rd-hero-content {
  gap: 1.25rem !important;
}

.rd-hero-text h1 {
  font-size: clamp(1.45rem, 2.5vw, 2rem) !important;
}

.rd-stats-row {
  gap: 0.55rem !important;
}

.rd-stat {
  border-radius: var(--av-radius) !important;
  padding: 0.65rem 0.75rem !important;
}

.rd-map-card {
  border-radius: var(--av-radius) !important;
  height: 8.8rem !important;
  width: min(100%, 18rem) !important;
}

.rd-tabs {
  gap: 0.4rem !important;
  margin: 0.8rem 0 1.1rem !important;
}

.rd-tab {
  min-height: 2.2rem !important;
  padding: 0.45rem 0.65rem !important;
}

.rd-layout {
  gap: 1.25rem !important;
}

.rd-page .cards-3 {
  gap: 0.95rem !important;
}

.rd-card,
.rd-briefing-card {
  border-radius: var(--av-radius) !important;
}

html[data-site="ortcom"] .rd-accent-card.av-accent-card {
  display: grid;
  gap: 0.8rem;
}

html[data-site="ortcom"] .rd-accent-card h3,
html[data-site="ortcom"] .rd-accent-card .rd-rsk-row,
html[data-site="ortcom"] .rd-accent-card .rd-gov-item,
html[data-site="ortcom"] .rd-accent-card .rd-sidebar-link,
html[data-site="ortcom"] .rd-accent-card p,
html[data-site="ortcom"] .rd-accent-card code {
  margin: 0;
}

html[data-site="ortcom"] .category-listing-card.av-accent-card,
html[data-site="ortcom"] .region-news-card.av-accent-card {
  overflow: hidden;
}

.antifake-index-page .af-trend-strip {
  min-height: 0;
  padding: 0.58rem 0.75rem;
}

.antifake-index-page .af-trend-bars {
  min-height: 3rem;
}

.antifake-index-page .af-filterbar {
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.62rem;
}

.antifake-index-page .af-filter-tabs,
.antifake-index-page .af-verdict-pills {
  gap: 0.42rem;
}

.antifake-static-page .article-page > .container,
.antifake-guide-page .af-hero + .container {
  max-width: 1080px;
}

.antifake-static-page .article-page .content-grid {
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 18rem);
}

.antifake-static-page .article-header {
  margin-bottom: 1.2rem !important;
}

.antifake-static-page .article-header__eyebrow {
  margin-bottom: 0.55rem;
}

.antifake-static-page .article-header__lead {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  margin-top: 0.5rem !important;
}

.antifake-static-page .article-header--compact {
  margin-bottom: 1.8rem !important;
}

.af-gloss-alpha {
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}

.af-alpha-link {
  min-height: 1.85rem;
  min-width: 1.85rem;
}

.af-gloss-letter-section {
  margin: 1.7rem 0 0.45rem;
}

.af-gloss-entry {
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.af-gloss-word {
  font-size: 1.05rem;
}

.af-gloss-def {
  font-size: 0.86rem;
  line-height: 1.56;
}

.af-method-section {
  margin-bottom: 2rem;
}

.af-method-intro {
  color: var(--text-2);
  font-size: var(--text-sm);
  margin-bottom: 1.5rem;
}

.af-vt-badge-pill {
  font-size: var(--text-xs);
  padding: 6px 14px;
}

.af-vt-dot--solid {
  background: var(--navy);
}

.af-vt-dot--muted {
  background: var(--navy);
  opacity: 0.4;
}

.af-timeline-step {
  margin-bottom: 1rem;
}

.af-principles-grid,
.af-verdict-system {
  gap: 0.85rem;
}

.antifake-guide-page .af-hero {
  background: var(--navy);
  padding: 2rem 0 1.55rem !important;
}

.antifake-guide-page .af-hero h1 {
  color: #fff;
  font-size: clamp(1.45rem, 2.2vw, 1.9rem) !important;
  line-height: 1.12;
  margin-bottom: 0.5rem;
}

.antifake-guide-page .af-hero p {
  color: hsl(0 0% 100% / 0.68);
  font-size: 0.9rem !important;
  line-height: 1.48;
  margin: 0;
  max-width: 40.625rem;
}

.antifake-guide-page .af-hero + .container {
  padding-bottom: 2.65rem !important;
  padding-top: 1.35rem !important;
}

.antifake-guide-page .guide-layout {
  gap: 1.35rem !important;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 0.34fr) !important;
}

.antifake-guide-page .guide-section {
  margin-bottom: 2rem;
}

.antifake-guide-page .guide-grid {
  gap: 0.85rem;
}

.antifake-guide-page .guide-type-card,
.antifake-guide-page .guide-tool-card,
.antifake-guide-page .guide-faq-item {
  border-radius: var(--av-radius);
  padding: 0.95rem;
}

@media (max-width: 900px) {
  .monitoring-charts-row,
  .monitoring-layout,
  .api-docs-layout,
  .rd-layout,
  .ra-layout,
  .antifake-static-page .article-page .content-grid,
  .antifake-guide-page .guide-layout {
    grid-template-columns: 1fr !important;
  }

  .api-docs-nav,
  .rd-sidebar,
  .ra-sidebar,
  .antifake-static-page .article-sidebar,
  .antifake-guide-page .guide-sidebar {
    position: static !important;
  }

  .rd-map-card {
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .api-docs-layout {
    grid-template-columns: 1fr !important;
  }

  .api-docs-nav {
    display: none !important;
  }

  .api-docs-info-cards {
    flex-direction: column;
  }

  .api-try-input-row {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .cat-header {
    padding: 0.85rem 0;
  }

  .filter-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-form .filter-group--search,
  .filter-form .filter-group--select,
  .filter-form .filter-group--date {
    flex-basis: auto;
    min-width: 0;
  }

  .filter-form .filter-group--search,
  .filter-form .filter-group--select,
  .filter-actions-row {
    grid-column: 1 / -1;
  }

  .filter-actions-row {
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
  }

  .filter-actions-row .filter-submit-btn,
  .filter-actions-row .filter-clear-btn {
    width: 2.25rem;
    height: 2.25rem;
  }

  .filter-actions-row .view-toggle {
    margin-left: auto;
  }

  #articlesGrid.cards-3,
  .digest-page .digest-articles,
  .regions-grid,
  .gov-bodies-grid {
    grid-template-columns: 1fr !important;
  }

  .articles-list-view .list-row,
  .pres-docs-row {
    grid-template-columns: 1fr;
  }

  .pres-docs-date-col {
    text-align: left;
  }

  .pres-docs-head,
  .regions-api-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .pres-docs-type-form {
    width: 100%;
  }

  .pres-docs-filter,
  .pres-docs-filter .av-select,
  .pres-docs-filter .av-select__wrapper {
    width: 100%;
  }

  .pres-doc-detail-source-cta {
    width: 100%;
  }

  .monitoring-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .monitoring-chart {
    height: 190px !important;
  }

  .api-docs-base-url {
    align-items: flex-start !important;
    max-width: 100%;
  }

  .api-docs-base-url code,
  .regions-api-cta code,
  .api-code-header code {
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .rd-hero {
    padding: 1.05rem 0 1.15rem !important;
  }

  .rd-stats-row,
  .rd-tabs {
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .rd-stat,
  .rd-tab {
    flex: 0 0 auto;
  }

  .rb-event {
    flex-direction: column;
  }

  .rb-event-date {
    width: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem;
  }

  .rb-event-day,
  .rb-event-month,
  .rb-event-year {
    display: inline;
    line-height: 1.1;
  }

  .rb-event-day {
    font-size: 1rem;
  }

  .rb-event-month {
    font-size: 0.62rem;
  }

  .rb-event-year {
    font-size: 0.6rem;
  }

  .rb-event-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 0.2rem;
  }

  .antifake-index-page .af-filterbar {
    display: flex;
    flex-direction: column;
  }

  .antifake-index-page .af-export-btns {
    justify-content: flex-start;
  }

  .antifake-guide-page .af-hero + .container {
    padding-top: 1rem !important;
  }
}

@media (max-width: 520px) {
  .monitoring-kpi-row {
    grid-template-columns: 1fr !important;
  }

  .digest-page .digest-event-item,
  .digest-page .digest-ann-item,
  .digest-page .digest-antifake-item {
    flex-direction: column;
  }
}

/* Public card fit pass: remove article meta duplication and normalize card rhythm. */
.article-page .article-category-row {
  display: none !important;
}

.article-page .av-breadcrumbs {
  align-items: center;
  row-gap: 0.45rem;
}

.article-page .av-breadcrumbs__link,
.article-page .av-breadcrumbs__current {
  min-width: 0;
}

.article-page .av-breadcrumbs__current {
  max-width: min(28rem, 58vw);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-page .article-hero-img {
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 0 1.25rem;
  overflow: hidden;
}

.article-page .article-hero-img img {
  max-width: 100%;
}

html[data-site="ortcom"] .article-sidebar-card.av-accent-card {
  display: grid;
  gap: 0.8rem;
}

html[data-site="ortcom"] .article-sidebar-card .sidebar-block-title,
html[data-site="ortcom"] .article-sidebar-card .article-sidebar-block-title,
html[data-site="ortcom"] .article-sidebar-card .list-item,
html[data-site="ortcom"] .article-sidebar-card .article-useful-links {
  margin: 0;
}

html[data-site="ortcom"] .af-sidebar-card.av-accent-card {
  display: grid;
  gap: 0.8rem;
}

html[data-site="ortcom"] .af-sidebar-card .sidebar-block-title,
html[data-site="ortcom"] .af-sidebar-card .af-sidebar-cta-title,
html[data-site="ortcom"] .af-sidebar-card .af-links-list {
  margin: 0;
}

html[data-site="ortcom"] .af-sidebar-card .af-case-meta,
html[data-site="ortcom"] .af-sidebar-card .af-resource-links {
  margin: 0;
}

.article-sidebar .sidebar-block {
  padding: clamp(0.95rem, 1.8vw, 1.1rem) !important;
}

.article-sidebar .sidebar-block-title {
  margin-bottom: 0.65rem !important;
  padding-bottom: 0.7rem !important;
  font-size: 0.82rem !important;
  line-height: 1.2;
}

.article-sidebar .list-item {
  display: grid !important;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.8rem !important;
  padding: 0.72rem 0 !important;
}

.article-sidebar .list-thumb {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
}

.article-sidebar .list-title,
.article-sidebar .list-title a {
  display: -webkit-box !important;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  min-width: 0;
  max-height: calc(1.34em * 3);
  overflow: hidden;
  color: hsl(var(--foreground)) !important;
  font-size: clamp(0.82rem, 0.75rem + 0.16vw, 0.9rem) !important;
  font-weight: 650 !important;
  line-height: 1.34 !important;
  overflow-wrap: break-word;
  text-decoration: none;
}

.cards-3 > .card,
.cards-4 > .card,
#articlesGrid .card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.cards-3 > .card .card-img,
.cards-4 > .card .card-img,
#articlesGrid .card-img,
#articlesGrid .card-img-placeholder {
  flex: 0 0 auto;
}

.cards-3 > .card .card-title,
.cards-4 > .card .card-title,
#articlesGrid .card-title {
  display: block !important;
  min-height: calc(1.34em * 2 + 1.7rem);
  margin: 0 !important;
  padding: 0.82rem var(--ortcom-card-pad-x) 0.95rem !important;
  font-size: clamp(0.86rem, 0.82rem + 0.18vw, 0.95rem) !important;
  line-height: 1.34 !important;
}

.cards-3 > .card .card-title a,
.cards-4 > .card .card-title a,
#articlesGrid .card-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  overflow-wrap: break-word;
  text-decoration: none;
}

@media (max-width: 760px) {
  .article-page .av-breadcrumbs__current {
    max-width: min(22rem, 72vw);
  }

  .article-sidebar .list-item {
    grid-template-columns: clamp(5.5rem, 28vw, 7rem) minmax(0, 1fr);
  }

  .article-sidebar .list-title,
  .article-sidebar .list-title a {
    font-size: clamp(0.86rem, 3.6vw, 0.98rem) !important;
  }

  .cards-3 > .card .card-title,
  .cards-4 > .card .card-title,
  #articlesGrid .card-title {
    min-height: auto;
    padding: 0.75rem 0.9rem 0.9rem !important;
  }
}

/* Public secondary surfaces pass: normalize media, cabinet and registry cards to AV DS rhythm. */
.media-nav-link-card,
.material-card,
.event-reg-card,
.reg-stat-card,
.govpress-access-card,
.std-rule-card,
.std-template-card,
.tpl-card,
.cabinet-auth-card {
  border-radius: var(--av-radius);
}

.media-nav-link-card,
.material-card,
.event-reg-card,
.govpress-access-card,
.std-rule-card,
.std-template-card,
.tpl-card {
  border: 1px solid var(--ortcom-ds-border);
  box-shadow: var(--shadow-xs);
}

.cabinet-card-title,
.govpress-access-title,
.tpl-card-name,
.std-rule-body h3,
.std-template-card h3,
.material-info h3 {
  font-family: var(--font-sans);
  letter-spacing: 0;
  line-height: 1.3;
  color: hsl(var(--foreground));
}

.media-nav-link-card,
.material-card,
.event-reg-card,
.tpl-card {
  gap: clamp(0.75rem, 2vw, 1rem);
}

.material-card,
.event-reg-card,
.tpl-card,
.govpress-access-card,
.std-rule-card,
.std-template-card,
.cabinet-auth-card {
  padding: clamp(0.95rem, 2.4vw, 1.25rem);
}

.media-nav-card-desc,
.cabinet-quick-desc,
.material-meta,
.material-date,
.govpress-access-desc,
.tpl-card-when,
.std-tpl-body {
  line-height: 1.5;
}

.reg-stat-card {
  border-color: var(--ortcom-ds-border);
  box-shadow: var(--shadow-xs);
}

.reg-stat-num,
.media-registry .reg-stat-num {
  font-family: var(--font-sans);
  letter-spacing: 0;
  line-height: 1;
}

.cabinet-auth-title,
.cabinet-page-title {
  font-family: var(--font-sans);
  letter-spacing: 0;
}

@media (max-width: 640px) {
  .media-nav-link-card,
  .material-card,
  .event-reg-card,
  .tpl-card,
  .govpress-access-card,
  .std-rule-card,
  .std-template-card,
  .cabinet-auth-card {
    padding: 0.9rem;
  }
}

/* Public service cleanup pass: digest, accreditation and regulations now use the shared overlay. */
.digest-shell {
  padding-bottom: 4rem;
}

.digest-page .digest-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

.digest-page .digest-header {
  margin-bottom: 2rem;
}

.digest-page .digest-title {
  margin: 0 0 0.75rem;
  color: hsl(var(--foreground));
  font-size: clamp(1.5rem, 2vw, 2rem);
  font-weight: 700;
}

.digest-page .digest-date-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin: 0;
  color: var(--text-2);
  font-size: 0.9rem;
}

.digest-page .digest-date-nav a {
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--gold);
  border-radius: 0.375rem;
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.digest-page .digest-date-nav a:hover {
  background: var(--gold);
  color: #fff;
}

.digest-page .digest-date-today {
  padding: 0.25rem 0.75rem;
  border-radius: 0.375rem;
  background: var(--bg-offset);
  color: hsl(var(--foreground));
  font-weight: 600;
}

.digest-page .digest-section {
  margin-bottom: 3rem;
}

.digest-page .digest-section-title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--gold);
  color: hsl(var(--foreground));
  font-size: 1.25rem;
  font-weight: 700;
}

.digest-page .digest-section-title svg {
  flex-shrink: 0;
  color: var(--gold);
}

.digest-page .digest-section-count {
  margin-left: 0.25rem;
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--gold);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.digest-page .digest-articles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.digest-page .digest-article-card,
.digest-page .digest-event-item,
.digest-page .digest-ann-item {
  background: #fff;
  color: inherit;
  text-decoration: none;
  box-shadow: var(--shadow-xs);
}

.digest-page .digest-article-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: 0.625rem;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.digest-page .digest-article-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.digest-page .digest-article-title,
.digest-page .digest-event-title,
.digest-page .digest-ann-title {
  color: var(--navy);
  font-weight: 600;
}

.digest-page .digest-article-title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-height: 1.4;
  font-size: 0.95rem;
}

.digest-page .digest-article-lead {
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-2);
  font-size: 0.82rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.digest-page .digest-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.625rem;
  margin-top: auto;
  color: var(--text-3);
  font-size: 0.75rem;
}

.digest-page .digest-cat-badge,
.digest-page .digest-event-type-badge {
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  background: var(--bg-offset);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
}

.digest-page .digest-event-list,
.digest-page .digest-antifake-list,
.digest-page .digest-ann-list {
  display: flex;
  flex-direction: column;
}

.digest-page .digest-event-list,
.digest-page .digest-antifake-list {
  gap: 0.75rem;
}

.digest-page .digest-ann-list {
  gap: 0.625rem;
}

.digest-page .digest-event-item,
.digest-page .digest-ann-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: 0.625rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.digest-page .digest-event-item:hover {
  border-color: var(--gold);
  box-shadow: 0 2px 10px rgba(200, 168, 75, 0.15);
}

.digest-page .digest-event-time,
.digest-page .digest-ann-time {
  min-width: 48px;
  white-space: nowrap;
  font-weight: 700;
  font-size: 0.85rem;
}

.digest-page .digest-event-time {
  padding-top: 2px;
  color: var(--gold);
}

.digest-page .digest-event-info,
.digest-page .digest-ann-info,
.digest-page .digest-antifake-content {
  flex: 1;
}

.digest-page .digest-event-location {
  color: var(--text-2);
  font-size: 0.8rem;
}

.digest-page .digest-event-location-icon {
  margin-right: 3px;
  vertical-align: middle;
}

.digest-page .digest-antifake-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  border: 1px solid #f0e0c0;
  border-left: 4px solid #e5812a;
  border-radius: 0.5rem;
  background: #fff8f0;
  color: inherit;
  text-decoration: none;
  transition: box-shadow 0.15s ease;
}

.digest-page .digest-antifake-item:hover {
  box-shadow: 0 2px 10px rgba(229, 129, 42, 0.15);
}

.digest-page .digest-antifake-time {
  color: #7a4a00;
  white-space: nowrap;
  font-size: 0.75rem;
}

.digest-page .digest-verdict-badge {
  align-self: flex-start;
  padding: 0.125rem 0.5rem;
  border-radius: 0.25rem;
  background: #e5812a;
  color: #fff;
  white-space: nowrap;
  font-size: 0.7rem;
  font-weight: 700;
}

.digest-page .digest-antifake-title {
  flex: 1;
  color: #5a2d00;
  font-size: 0.9rem;
  font-weight: 600;
}

.digest-page .digest-antifake-claim {
  margin-top: 0.25rem;
  color: #7a4a00;
  font-size: 0.8rem;
}

.digest-page .digest-ann-item {
  border-left: 4px solid var(--navy);
  border-radius: 0.5rem;
}

.digest-page .digest-ann-time {
  color: var(--navy);
}

.digest-page .digest-ann-desc {
  margin-top: 0.1875rem;
  color: var(--text-2);
  font-size: 0.8rem;
}

.digest-page .digest-ann-location {
  margin-top: 0.125rem;
  color: var(--text-3);
  font-size: 0.78rem;
}

.digest-page .digest-empty {
  padding: 4rem 2rem;
  border-radius: 0.75rem;
  background: var(--bg-offset);
  color: var(--text-2);
  text-align: center;
}

.digest-page .digest-empty-icon {
  margin-bottom: 0.75rem;
  opacity: 0.4;
  font-size: 3rem;
}

.digest-page .digest-empty-text {
  font-size: 1.05rem;
}

.acc-hero,
.acc-sidebar-cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--navy);
}

.acc-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.5rem;
  padding: 2.5rem 3rem;
}

.acc-hero::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 152, 48, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.acc-hero-text {
  flex: 1;
}

.acc-hero-eyebrow {
  display: block;
  margin-bottom: 0.625rem;
  color: var(--gold);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.acc-hero-title {
  margin: 0 0 0.75rem;
  color: #fff;
  font-size: var(--text-2xl);
  font-weight: 800;
  line-height: 1.2;
}

.acc-hero-desc {
  max-width: 420px;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.acc-hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex-shrink: 0;
}

.acc-btn-primary,
.acc-btn-ghost {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.acc-btn-primary {
  padding: 0.8125rem 1.75rem;
  border-radius: var(--radius);
  background: var(--gold);
  box-shadow: 0 4px 14px rgba(232, 152, 48, 0.35);
  color: #fff;
  font-size: var(--text-base);
  font-weight: 700;
  transition: background var(--transition), transform var(--transition);
}

.acc-btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.acc-btn-ghost {
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-sm);
  font-weight: 500;
  transition: background var(--transition);
}

.acc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}

.acc-quick-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.acc-quick-card,
.acc-sidebar-card,
.reg-sidebar-block {
  border: 1px solid var(--ortcom-ds-border);
  background: var(--bg);
  box-shadow: var(--shadow-xs);
}

.acc-quick-card {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1.125rem 1.25rem;
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.acc-quick-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.acc-quick-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.acc-quick-icon--navy { background: var(--brand-light); color: var(--navy); }
.acc-quick-icon--gold { background: var(--gold-light); color: var(--gold-hover); }
.acc-quick-icon--green { background: #dcfce7; color: #166534; }

.acc-quick-card-title {
  margin-bottom: 2px;
  font-size: var(--text-sm);
  font-weight: 600;
}

.acc-quick-card-sub {
  color: var(--text-3);
  font-size: var(--text-xs);
}

.acc-layout,
.reg-layout {
  display: grid;
  align-items: start;
  gap: 2.5rem;
}

.acc-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
}

.reg-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.acc-status-block {
  margin-bottom: 1.5rem;
  padding: 1.75rem 2rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--radius);
  background: var(--bg-offset);
}

.acc-status-block h3 {
  margin: 0 0 0.5rem;
  color: var(--navy);
  font-size: var(--text-lg);
  font-weight: 700;
}

.acc-status-block p {
  margin: 0 0 1.125rem;
  color: var(--text-2);
  font-size: var(--text-sm);
}

.acc-status-form {
  display: flex;
  gap: 0.625rem;
}

.acc-status-input {
  flex: 1;
  padding: 0.5625rem 0.875rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  font-size: var(--text-sm);
  transition: border-color var(--transition);
}

.acc-status-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(21, 34, 89, 0.08);
}

.acc-status-btn {
  padding: 0.5625rem 1.25rem;
  border: none;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  font-size: var(--text-sm);
  font-weight: 600;
  transition: background var(--transition);
}

.acc-status-btn:hover {
  background: var(--navy-light);
}

.acc-steps {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
  margin: 0;
}

.acc-step {
  position: relative;
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  counter-increment: step-counter;
}

.acc-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 34px;
  bottom: -10px;
  width: 2px;
  background: var(--ortcom-ds-border);
}

.acc-step-num {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 800;
}

.acc-step-num::after {
  content: counter(step-counter);
}

.acc-step-body {
  padding-top: 5px;
}

.acc-step-title {
  margin-bottom: 3px;
  color: var(--text);
  font-size: var(--text-sm);
  font-weight: 600;
}

.acc-step-desc {
  color: var(--text-3);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.acc-sidebar,
.reg-sidebar {
  position: sticky;
  top: 80px;
}

.acc-sidebar-card,
.reg-sidebar-block {
  margin-bottom: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius);
}

html[data-site="ortcom"] .reg-sidebar-card.av-accent-card {
  display: grid;
  gap: 0.9rem;
}

.acc-sidebar-card h4,
.reg-sidebar-block h4 {
  margin: 0 0 1rem;
  padding-bottom: 0.625rem;
  border-bottom: 2px solid var(--gold);
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[data-site="ortcom"] .reg-sidebar-card h4,
html[data-site="ortcom"] .reg-sidebar-card .reg-download-link,
html[data-site="ortcom"] .reg-sidebar-card .reg-key-date,
html[data-site="ortcom"] .reg-sidebar-card .reg-contact-row,
html[data-site="ortcom"] .reg-sidebar-card .reg-sidebar-link {
  margin: 0;
}

.acc-type-card {
  margin-bottom: 0.5rem;
  padding: 0.75rem 0.875rem;
  border-left: 3px solid var(--navy);
  border-radius: var(--radius-sm);
  background: var(--bg-offset);
}

.acc-type-card--gold { border-left-color: var(--gold); }
.acc-type-card--teal { border-left-color: var(--teal); }
.acc-type-card:last-child { margin-bottom: 0; }

.acc-type-card h5 {
  margin: 0 0 0.25rem;
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 700;
}

.acc-type-card p {
  margin: 0;
  color: var(--text-3);
  font-size: var(--text-xs);
  line-height: 1.5;
}

.acc-contact-row,
.reg-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.625rem;
  color: var(--text-2);
  font-size: var(--text-sm);
}

.acc-contact-row:last-child,
.reg-contact-row:last-child {
  margin-bottom: 0;
}

.acc-contact-row svg,
.reg-contact-row svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--navy);
}

.acc-contact-row a,
.reg-contact-row a {
  color: var(--navy);
  text-decoration: none;
}

.acc-contact-row a:hover,
.reg-contact-row a:hover {
  text-decoration: underline;
}

.accreditation-box--spaced {
  margin-top: 1.5rem;
}

.acc-sidebar-cta {
  margin-bottom: 1rem;
  padding: 1.5rem;
}

.acc-sidebar-cta__tag {
  margin-bottom: 0.5rem;
  color: var(--gold);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.acc-sidebar-cta h4,
.acc-sidebar-cta__title {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: var(--text-lg);
}

.acc-sidebar-cta p,
.acc-sidebar-cta__text {
  margin: 0 0 1.125rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: var(--text-sm);
  line-height: 1.5;
}

.acc-sidebar-cta__primary,
.acc-sidebar-cta__login {
  display: block;
}

.acc-sidebar-cta__login {
  margin-top: 0.625rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: var(--text-xs);
  text-align: center;
  text-decoration: none;
}

.acc-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5625rem 0;
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
  font-size: var(--text-sm);
  text-decoration: none;
}

.acc-sidebar-link:last-child,
.acc-sidebar-link--last {
  border-bottom: none;
}

.acc-sidebar-link__icon {
  flex-shrink: 0;
  color: var(--navy);
}

.acc-sidebar-meta {
  margin-top: 0.875rem;
  padding-top: 0.875rem;
  border-top: 1px dashed var(--ortcom-ds-border);
}

.acc-sidebar-meta__label {
  margin-bottom: 0.25rem;
  color: var(--text-3);
  font-size: var(--text-xs);
}

.acc-sidebar-meta__value {
  color: var(--text-2);
  font-size: var(--text-sm);
}

.reg-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--ortcom-ds-border);
  overflow-x: auto;
  scrollbar-width: none;
}

.reg-tabs::-webkit-scrollbar {
  display: none;
}

.legal-doc {
  color: var(--text);
  font-size: var(--text-base);
  line-height: 1.8;
}

.legal-doc h2 {
  margin: 2.25rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gold);
  color: var(--navy);
  font-size: var(--text-xl);
  font-weight: 700;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc h3 {
  margin: 1.5rem 0 0.5rem;
  color: var(--navy);
  font-size: var(--text-lg);
  font-weight: 600;
}

.legal-doc p {
  margin: 0 0 0.75rem;
}

.legal-article {
  display: flex;
  gap: 0.75rem;
  margin: 0 0 0.625rem;
  padding-left: 0;
}

.legal-article-num {
  min-width: 28px;
  padding-top: 1px;
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 700;
}

.legal-article-text {
  flex: 1;
}

.legal-sub {
  margin: 0.375rem 0 0.375rem 28px;
  padding: 0;
  list-style: none;
}

.legal-sub li {
  position: relative;
  margin-bottom: 4px;
  padding-left: 24px;
  color: var(--text-2);
}

.legal-sub li::before {
  content: attr(data-letter) ".";
  position: absolute;
  left: 0;
  color: var(--navy);
  font-weight: 600;
}

.callout {
  margin: 1.25rem 0;
  padding: 0.875rem 1.125rem;
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: #eff6ff;
}

.callout--gold {
  border-left-color: var(--gold);
  background: var(--gold-light);
}

.callout--navy {
  border-left-color: var(--navy);
  background: var(--brand-light);
}

.callout p {
  margin: 0;
  color: var(--text-2);
  font-size: var(--text-sm);
}

.callout strong {
  color: var(--text);
}

.def-list {
  margin: 1rem 0;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--radius);
  overflow: hidden;
}

.def-list dt {
  padding: 0.5rem 0.875rem;
  border-bottom: 1px solid var(--ortcom-ds-border);
  background: var(--bg-offset);
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 600;
}

.def-list dd {
  margin: 0;
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--ortcom-ds-border);
  color: var(--text-2);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.def-list dd:last-child {
  border-bottom: none;
}

.reg-panel {
  display: none;
}

.reg-panel.active {
  display: block;
}

.reg-download-link {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-radius: var(--radius-sm);
  background: var(--bg-offset);
  color: var(--text);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: background var(--transition);
}

.reg-download-link:hover {
  background: var(--brand-light);
  color: var(--navy);
}

.reg-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  background: var(--navy);
  color: #fff;
}

.reg-key-date {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--ortcom-ds-border);
  font-size: var(--text-sm);
}

.reg-key-date:last-child {
  border-bottom: none;
}

.reg-key-date-label,
.reg-header-subtitle,
.reg-download-meta {
  color: var(--text-3);
}

.reg-key-date-val,
.reg-download-title {
  color: var(--navy);
  font-size: var(--text-sm);
  font-weight: 600;
}

.commission-table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
  font-size: var(--text-sm);
}

.commission-table th {
  padding: 0.625rem 0.875rem;
  background: var(--navy);
  color: #fff;
  text-align: left;
  font-weight: 600;
}

.commission-table td {
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--ortcom-ds-border);
  color: var(--text-2);
  vertical-align: top;
}

.commission-table tr:nth-child(even) td {
  background: var(--bg-offset);
}

.commission-table tr:hover td {
  background: var(--brand-light);
}

.reg-sidebar-block--highlight {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.reg-sidebar-block--highlight h4 {
  border-bottom-color: var(--gold);
  color: rgba(255, 255, 255, 0.6);
}

.reg-sidebar-link {
  display: block;
  margin-bottom: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}

.reg-sidebar-link:last-child {
  margin-bottom: 0;
}

.reg-sidebar-link--primary {
  background: var(--gold);
  color: #fff;
  text-align: center;
}

.reg-sidebar-link--ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-align: center;
}

.sector-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.sector-badge--gov {
  background: var(--brand-light);
  color: var(--navy);
}

.sector-badge--media {
  background: #dcfce7;
  color: #166534;
}

@media (max-width: 900px) {
  .acc-hero {
    flex-direction: column;
    padding: 1.75rem 1.5rem;
  }

  .acc-hero-actions {
    flex-direction: row;
    width: 100%;
  }

  .acc-btn-primary,
  .acc-btn-ghost {
    flex: 1;
  }

  .acc-quick-links {
    grid-template-columns: 1fr;
  }

  .acc-layout,
  .reg-layout {
    grid-template-columns: 1fr;
  }

  .acc-sidebar,
  .reg-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .digest-page .digest-articles {
    grid-template-columns: 1fr;
  }

  .digest-page .digest-date-nav {
    gap: 0.625rem;
  }
}

/* Public media cleanup pass: monitoring and photobank now use the shared overlay. */
.monitoring-page {
  padding-bottom: 3rem;
}

.monitoring-header {
  margin-bottom: 2rem;
  padding: 1.5rem 0;
  background: hsl(var(--card));
  color: hsl(var(--foreground));
}

.monitoring-header .av-page-header__subtitle {
  max-width: 760px;
}

.monitoring-kpi-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.kpi-card,
.monitoring-chart-card {
  min-width: 0;
}

.kpi-value {
  color: hsl(var(--primary));
  font-size: 1.95rem;
  font-weight: 700;
  line-height: 1.1;
}

.kpi-value--sm {
  font-size: 1.25rem;
  line-height: 1.25;
}

.kpi-label {
  margin-top: 0.15rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.8rem;
}

.kpi-sub {
  margin-top: 0.25rem;
  color: hsl(var(--muted-foreground));
  font-size: 0.74rem;
}

.kpi-bar {
  display: flex;
  height: 6px;
  margin-top: 0.5rem;
  border-radius: 3px;
  overflow: hidden;
  background: hsl(var(--muted) / 0.5);
}

.kpi-bar-fill {
  width: 0;
}

.kpi-bar-fill.positive {
  background: #2a7a2a;
}

.kpi-bar-fill.neutral {
  background: #999;
}

.kpi-bar-fill.negative {
  background: #dc3545;
}

.monitoring-charts-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.monitoring-chart-card h3,
.monitoring-sidebar-card h3 {
  margin-bottom: 0.75rem;
  color: hsl(var(--primary));
  font-size: 0.9rem;
  font-weight: 600;
}

.monitoring-chart {
  height: 280px;
}

.monitoring-chart--tall {
  height: 360px;
}

.monitoring-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 1.25rem;
  align-items: start;
}

.monitoring-section {
  margin-bottom: 2rem;
}

.monitoring-section h2 {
  margin-bottom: 1rem;
  color: hsl(var(--primary));
  font-size: 1.15rem;
  font-weight: 700;
}

.citations-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.citation-card {
  transition: box-shadow 0.15s;
}

.citation-card:hover {
  box-shadow: var(--shadow-sm);
}

.citation-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.citation-outlet {
  color: hsl(var(--primary));
  font-size: 0.8rem;
  font-weight: 600;
}

.citation-tone {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.citation-tone.tone-positive {
  background: rgba(42, 122, 42, 0.08);
  color: #2a7a2a;
}

.citation-tone.tone-neutral {
  background: hsl(var(--muted) / 0.5);
  color: hsl(var(--muted-foreground));
}

.citation-tone.tone-negative {
  background: rgba(220, 53, 69, 0.08);
  color: #dc3545;
}

.citation-date {
  margin-left: auto;
  color: hsl(var(--muted-foreground));
  font-size: 0.7rem;
}

.citation-title {
  margin-bottom: 0.35rem;
  font-size: 0.96rem;
  line-height: 1.38;
}

.citation-title a {
  color: hsl(var(--primary));
  text-decoration: none;
}

.citation-title a:hover {
  text-decoration: underline;
}

.citation-snippet {
  color: hsl(var(--muted-foreground));
  font-size: 0.82rem;
  font-style: italic;
  line-height: 1.48;
}

.monitoring-empty {
  padding: 3rem;
  color: hsl(var(--muted-foreground));
  text-align: center;
}

.monitoring-sidebar-card {
  margin-bottom: 1rem;
}

.outlet-rank-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--ortcom-ds-border);
}

.outlet-rank-item:last-child {
  border-bottom: none;
}

.outlet-rank-pos {
  width: 18px;
  color: hsl(var(--muted-foreground));
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
}

.outlet-rank-name {
  flex: 1;
  color: hsl(var(--foreground));
  font-size: 0.8rem;
}

.outlet-rank-count,
.tone-value {
  color: hsl(var(--primary));
  font-size: 0.8rem;
  font-weight: 700;
}

.tone-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
}

.tone-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.tone-dot.positive {
  background: #2a7a2a;
}

.tone-dot.neutral {
  background: #999;
}

.tone-dot.negative {
  background: #dc3545;
}

.tone-label,
.monitoring-about p,
.sidebar-empty {
  color: hsl(var(--muted-foreground));
}

.tone-label,
.sidebar-empty {
  font-size: 0.8rem;
}

.monitoring-about p {
  font-size: 0.8rem;
  line-height: 1.5;
}

.sidebar-empty {
  padding: 1rem 0;
  text-align: center;
}

.pb-hero {
  margin-bottom: 0;
  padding: 2.5rem 0 2rem;
  background: var(--navy);
}

.pb-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1rem;
}

.pb-hero h1 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}

.pb-hero h1 span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 400;
}

.pb-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 280px;
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, background 0.2s;
}

.pb-search:focus-within {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.15);
}

.pb-search svg {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.5);
}

.pb-search input {
  width: 100%;
  border: none;
  outline: none;
  background: none;
  color: #fff;
  font-family: inherit;
  font-size: 0.85rem;
}

.pb-search input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.pb-search-clear {
  display: none;
  padding: 2px;
  border: none;
  background: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  line-height: 0;
}

/* GovPress cleanup pass: templates, checklist, qalam tools, dashboard */
.tpl-page,
.chk-page {
  padding-bottom: 64px;
}

.tpl-page {
  padding-top: 0;
}

.tpl-page-header,
.chk-page-header {
  margin-bottom: 40px;
  padding: 40px 0 36px;
  color: #fff;
  background: var(--navy);
}

.tpl-header-inner,
.chk-header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tpl-header-icon,
.chk-header-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  color: var(--gold);
  background: rgba(200, 168, 75, 0.2);
  border: 2px solid var(--gold);
  border-radius: 12px;
}

.tpl-header-text h1,
.chk-header-text h1 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
}

.tpl-header-text p,
.chk-header-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.tpl-body,
.chk-body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.tpl-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.tpl-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  transition: box-shadow 0.15s, transform 0.15s;
}

.tpl-card:hover {
  box-shadow: 0 4px 20px rgba(21, 34, 89, 0.1);
  transform: translateY(-2px);
}

.tpl-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.tpl-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  color: var(--navy);
  background: var(--bg-offset);
  border-radius: 8px;
}

.tpl-card-name {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.05rem;
  font-weight: 700;
}

.tpl-card-when {
  color: #666;
  font-size: 0.8rem;
  line-height: 1.4;
}

.tpl-structure {
  padding: 14px 16px;
  background: var(--bg-offset);
  border-radius: 8px;
}

.tpl-structure-label {
  margin-bottom: 8px;
  color: #888;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tpl-structure-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tpl-structure-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: 0.82rem;
}

.tpl-structure-list li::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.tpl-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.tpl-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.tpl-btn--primary {
  color: #fff;
  background: var(--navy);
}

.tpl-btn--primary:hover {
  background: #1e3275;
}

.tpl-btn--secondary {
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--navy);
}

.tpl-btn--secondary:hover {
  color: #fff;
  background: var(--navy);
}

.tpl-btn--copy {
  color: #666;
  background: transparent;
  border: 1.5px solid #d1d5db;
  font-size: 0.78rem;
}

.tpl-btn--copy:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.tpl-copy-success {
  display: none;
  align-items: center;
  gap: 4px;
  color: #22c55e;
  font-size: 0.75rem;
}

.tpl-copy-success.visible {
  display: flex;
}

.chk-progress-wrap {
  position: sticky;
  top: 16px;
  z-index: 10;
  padding: 20px 24px;
  margin-bottom: 28px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(21, 34, 89, 0.08);
}

.chk-progress-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

.chk-progress-label {
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 600;
}

.chk-progress-pct {
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 800;
  transition: color 0.3s;
}

.chk-progress-pct.complete {
  color: #22c55e;
}

.chk-progress-bar-bg {
  height: 10px;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 999px;
}

.chk-progress-bar-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 999px;
  transition: width 0.35s ease;
}

.chk-progress-bar-fill.complete {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.chk-actions-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.chk-reset-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  color: #666;
  background: transparent;
  border: 1.5px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.chk-reset-btn:hover {
  color: #ef4444;
  border-color: #ef4444;
}

.chk-complete-banner {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  color: #15803d;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.chk-complete-banner.visible {
  display: flex;
}

.chk-complete-banner svg {
  flex-shrink: 0;
}

.chk-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chk-section {
  overflow: hidden;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
}

.chk-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  color: #fff;
  background: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
}

.chk-section-header svg {
  flex-shrink: 0;
  color: var(--gold);
}

.chk-section-header .chk-section-count {
  margin-left: auto;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

.chk-items {
  padding: 8px 0;
}

.chk-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  background: transparent;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  user-select: none;
  transition: background 0.1s;
}

.chk-item:last-child {
  border-bottom: none;
}

.chk-item:hover {
  background: var(--bg-offset);
}

.chk-item.checked {
  background: #f0fdf4;
}

.chk-checkbox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  transition: background 0.15s, border-color 0.15s;
}

.chk-item.checked .chk-checkbox {
  background: #22c55e;
  border-color: #22c55e;
}

.chk-checkbox::after {
  content: "";
  display: none;
  width: 11px;
  height: 7px;
  border-bottom: 2px solid #fff;
  border-left: 2px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.chk-item.checked .chk-checkbox::after {
  display: block;
}

.chk-item-text {
  flex: 1;
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.5;
}

.chk-item.checked .chk-item-text {
  color: #22c55e;
  text-decoration: line-through;
  text-decoration-color: #86efac;
}

.chk-section.full-width {
  grid-column: 1 / -1;
}

.qalam-tools-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.qalam-tool-card {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  transition: border-color 0.2s;
}

.qalam-tool-card:hover {
  border-color: #d0d0d0;
}

.qalam-tool-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.qalam-tool-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.qalam-tool-icon.summarizer {
  color: #2a4a7a;
  background: #e7ecf5;
}

.qalam-tool-icon.qa {
  color: #7a2a5a;
  background: #f5e7f0;
}

.qalam-tool-icon.factcheck {
  color: #2a7a2a;
  background: #e7f5e7;
}

.qalam-tool-header h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.05rem;
}

.qalam-tool-badge {
  display: inline-block;
  padding: 0.1rem 0.4rem;
  color: var(--navy);
  background: linear-gradient(135deg, var(--gold), #dbb755);
  border-radius: 3px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.qalam-tool-desc {
  margin-bottom: 1rem;
  color: #777;
  font-size: 0.85rem;
  line-height: 1.5;
}

.qalam-tool-textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.85rem;
  line-height: 1.5;
  resize: vertical;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
}

.qalam-tool-textarea:focus {
  border-color: var(--navy);
  outline: none;
}

.qalam-tool-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.qalam-tool-select {
  padding: 0.4rem 0.6rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 0.8rem;
}

.qalam-tool-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding: 0.55rem 1.25rem;
  color: #fff;
  background: var(--navy);
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.qalam-tool-btn:hover {
  background: #1a3080;
}

.qalam-tool-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.qalam-tool-result {
  margin-top: 1rem;
  padding: 1rem;
  color: #333;
  background: #f8f9fb;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.qalam-tool-result--hidden {
  display: none;
}

.qalam-tool-result h4 {
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-size: 0.85rem;
}

.qalam-tool-result ul {
  margin: 0;
  padding-left: 1.25rem;
}

.qalam-tool-result li {
  margin-bottom: 0.35rem;
}

.qalam-tool-message {
  color: #333;
}

.qalam-tool-message--muted {
  color: #999;
}

.qalam-tool-message--error {
  color: #dc3545;
}

.qalam-tool-item {
  margin-bottom: 0.75rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
}

.qalam-tool-item-title {
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
}

.qalam-tool-item-answer {
  margin-top: 0.35rem;
  color: #555;
  font-size: 0.8rem;
}

.qalam-factcheck-empty {
  color: #2a7a2a;
}

.qalam-factcheck-item {
  margin-bottom: 0.5rem;
  padding: 0.5rem;
  background: #fff;
  border-left: 3px solid var(--qalam-factcheck-color);
  border-radius: 0 6px 6px 0;
}

.qalam-factcheck-item--fake {
  --qalam-factcheck-color: #dc3545;
}

.qalam-factcheck-item--misleading {
  --qalam-factcheck-color: #fd7e14;
}

.qalam-factcheck-item--neutral {
  --qalam-factcheck-color: #ffc107;
}

.qalam-factcheck-item-title {
  font-size: 0.8rem;
  font-weight: 600;
}

.qalam-factcheck-item-meta {
  margin-top: 0.2rem;
  color: #777;
  font-size: 0.75rem;
}

.qalam-tools-stats {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 0;
  border-top: 1px solid #eee;
}

.qalam-stat-item {
  text-align: center;
}

.qalam-stat-value {
  display: block;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 700;
}

.qalam-stat-label {
  color: #999;
  font-size: 0.7rem;
}

.gp-dashboard-welcome {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.gp-welcome-text .cabinet-page-title {
  margin-bottom: 4px;
}

.gp-welcome-org {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--text-3);
  font-size: 0.875rem;
}

.gp-new-release-btn {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 6px;
  white-space: nowrap;
}

.gp-stats-4 {
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 14px;
  margin-bottom: 24px;
}

.gp-stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 8px;
}

.gp-stat--releases .gp-stat-icon {
  color: var(--navy);
  background: #e8edfb;
}

.gp-stat--pending .gp-stat-icon {
  color: #856404;
  background: #fff3cd;
}

.gp-stat--published .gp-stat-icon {
  color: #1a7a40;
  background: #d1f5e0;
}

.gp-stat--qalam .gp-stat-icon {
  color: var(--gold-hover);
  background: var(--gold-light);
}

.gp-stat-unit {
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 400;
}

.gp-action-grid-6 {
  grid-template-columns: repeat(6, 1fr) !important;
}

.gp-action-icon--calendar {
  color: #1a6785;
  background: #e8f4f8;
}

.gp-action-icon--releases {
  color: var(--navy);
  background: #f0f0fb;
}

.gp-action-icon--profile {
  color: #1a7a40;
  background: #f0faf5;
}

.gp-dashboard-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0;
}

.gp-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.gp-card-header .cabinet-card-title {
  margin-bottom: 0;
}

.gp-card-link {
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.gp-card-link:hover {
  text-decoration: underline;
}

.gp-release-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
}

.gp-content-type-badge {
  padding: 1px 7px;
  color: #555;
  background: #f0f0f0;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

.gp-type--press_release {
  color: var(--navy);
  background: #e8edfb;
}

.gp-type--statement {
  color: #7a4f00;
  background: #fff0d6;
}

.gp-type--factsheet {
  color: #2e7d32;
  background: #e8f5e9;
}

.gp-type--qa {
  color: #b71c1c;
  background: #fce4ec;
}

.gp-type--media_invite {
  color: #0d47a1;
  background: #e3f2fd;
}

.gp-type--comment {
  color: #6a1b9a;
  background: #f3e5f5;
}

.gp-embargo-badge {
  padding: 1px 7px;
  color: #b71c1c;
  background: #fce4ec;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
}

.gp-upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gp-upcoming-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.gp-upcoming-date {
  min-width: 42px;
  width: 42px;
  padding: 6px 4px;
  text-align: center;
  background: var(--bg-offset);
  border-radius: var(--radius);
}

.gp-upcoming-day {
  display: block;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
}

.gp-upcoming-month {
  display: block;
  margin-top: 2px;
  color: var(--text-3);
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.gp-upcoming-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.gp-upcoming-info strong {
  overflow: hidden;
  color: var(--text-1);
  font-size: 0.875rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gp-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 16px;
  text-align: center;
}

.gp-empty-state p {
  margin: 0;
  color: var(--text-3);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .tpl-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .chk-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .gp-stats-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .gp-action-grid-6 {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .gp-dashboard-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .qalam-tool-options {
    flex-direction: column;
  }

  .qalam-tools-stats {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 600px) {
  .gp-stats-4 {
    grid-template-columns: 1fr 1fr !important;
  }

  .gp-action-grid-6 {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .gp-dashboard-welcome {
    flex-direction: column;
  }

  .gp-new-release-btn {
    justify-content: center;
    width: 100%;
  }
}

/* GovPress cleanup pass: releases, calendar, qalam */
.gp-filter-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--border);
}

.gp-filter-tab {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  margin-bottom: -2px;
  color: var(--text-2);
  border-bottom: 2px solid transparent;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}

.gp-filter-tab:hover {
  color: var(--navy);
}

.gp-filter-tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

.gp-releases-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.gp-releases-table thead tr {
  background: var(--bg-offset);
  border-bottom: 2px solid var(--border);
}

.gp-releases-table th {
  padding: 10px 14px;
  color: var(--text-3);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.gp-releases-table td {
  padding: 12px 14px;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.gp-release-row:last-child td {
  border-bottom: none;
}

.gp-release-row:hover {
  background: #fafbff;
}

.gp-release-title-cell {
  max-width: 280px;
}

.gp-release-summary {
  margin: 3px 0 0;
  color: var(--text-3);
  font-size: 0.78rem;
  line-height: 1.4;
}

.gp-actions-cell {
  white-space: nowrap;
}

.qalam-score-large {
  display: inline-block;
  padding: 3px 9px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
}

.gp-cal-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  align-items: start;
  gap: 24px;
}

.gp-cal-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.gp-cal-month-title {
  flex: 1;
  margin: 0;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
}

.gp-cal-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--text-2);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.gp-cal-nav-btn:hover {
  color: #fff;
  background: var(--navy);
  border-color: var(--navy);
}

.gp-cal-today-btn {
  padding: 6px 14px;
  color: var(--navy);
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.gp-cal-today-btn:hover {
  color: #fff;
  background: var(--navy);
}

.gp-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.gp-cal-dow {
  padding: 8px 4px;
  color: rgba(255, 255, 255, 0.85);
  background: var(--navy);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.gp-cal-dow--weekend {
  background: var(--navy-light);
}

.gp-cal-cell {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-height: 88px;
  padding: 6px;
  background: #fff;
}

.gp-cal-cell--empty {
  background: #fafafa;
}

.gp-cal-cell--weekend {
  background: #fdfbf7;
}

.gp-cal-cell--today {
  background: #f0f4ff !important;
}

.gp-cal-day-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-bottom: 3px;
  color: var(--text-3);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
}

.gp-cal-day-num--today {
  color: var(--navy) !important;
  background: var(--gold);
  font-weight: 800;
}

.gp-cal-entry {
  overflow: hidden;
  padding: 2px 5px;
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 3px;
  cursor: default;
}

.gp-cal-entry--press_release {
  color: #1a3178;
  background: #dde7fb;
}

.gp-cal-entry--statement {
  color: #7a4f00;
  background: #fff0cc;
}

.gp-cal-entry--factsheet {
  color: #1a5c30;
  background: #d4f5e2;
}

.gp-cal-entry--qa {
  color: #8b1a30;
  background: #fde8ef;
}

.gp-cal-entry--media_invite {
  color: #0a3880;
  background: #cce5ff;
}

.gp-cal-entry--comment {
  color: #5c1380;
  background: #eeddf5;
}

.gp-cal-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gp-cal-list-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.gp-cal-list-item:last-child {
  border-bottom: none;
}

.gp-cal-list-date {
  min-width: 36px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.gp-cal-list-info {
  flex: 1;
  min-width: 0;
}

.gp-cal-list-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.gp-cal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gp-add-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.qalam-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.qalam-step {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qalam-step-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-size: 0.875rem;
  font-weight: 700;
}

.qalam-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: #fff;
  background: var(--navy);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}

.qalam-type-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.qalam-type-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  background: #fff;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}

.qalam-type-card:hover {
  background: #f8f9ff;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.qalam-type-card--selected {
  background: #eef1fc;
  border-color: var(--navy);
}

.qalam-hints {
  position: relative;
  min-height: 44px;
}

.qalam-hint {
  display: none;
  padding: 10px 14px;
  color: var(--text-2);
  background: var(--gold-light);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.825rem;
  line-height: 1.5;
  animation: hint-fade-in 0.2s ease;
}

.qalam-hint--active {
  display: block;
}

.qalam-submit-btn {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
}

@media (max-width: 1024px) {
  .gp-cal-layout {
    grid-template-columns: 1fr;
  }

  .gp-cal-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
}

@media (max-width: 900px) {
  .qalam-type-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gp-releases-table th:nth-child(4),
  .gp-releases-table td:nth-child(4),
  .gp-releases-table th:nth-child(5),
  .gp-releases-table td:nth-child(5) {
    display: none;
  }

  .gp-filter-tab {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .gp-cal-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .gp-cal-cell {
    min-height: 60px;
    padding: 4px;
  }

  .gp-cal-entry {
    display: none;
  }

  .gp-cal-more {
    display: block !important;
  }
}

@media (max-width: 600px) {
  .qalam-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .qalam-submit-btn {
    justify-content: center;
    width: 100%;
  }
}

.pb-search-clear.visible {
  display: block;
}

.pb-search-clear:hover {
  color: #fff;
}

.pb-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.pb-stat {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-3);
  font-size: 0.78rem;
}

.pb-stat strong {
  color: var(--text-1);
  font-weight: 600;
}

.pb-stat svg {
  width: 14px;
  height: 14px;
}

.pb-view-toggle {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.pb-view-btn {
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: none;
  color: var(--text-3);
  cursor: pointer;
  line-height: 0;
  transition: all 0.15s;
}

.pb-view-btn.active,
.pb-view-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.pb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 2rem;
}

.pb-grid.pb-grid--large {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pb-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-offset);
  cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}

.pb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.pb-card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.pb-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.pb-card:hover .pb-card-img img {
  transform: scale(1.05);
}

.pb-card-date {
  position: absolute;
  bottom: 8px;
  left: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  background: rgba(21, 34, 89, 0.8);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.pb-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 6px;
  padding: 10px;
  background: linear-gradient(transparent 40%, rgba(21, 34, 89, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.25s;
}

.pb-card:hover .pb-card-overlay {
  opacity: 1;
}

.pb-card-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  transition: background 0.15s;
}

.pb-card-action:hover {
  background: rgba(255, 255, 255, 0.35);
}

.pb-card-body {
  padding: 0.65rem 0.85rem 0.75rem;
}

.pb-card-title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pb-card a {
  color: inherit;
  text-decoration: none;
}

.pb-search-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--brand-light, #f0f4ff);
  color: var(--text-2);
  font-size: 0.85rem;
}

.pb-search-info strong {
  color: var(--navy);
}

.pb-search-info a {
  margin-left: auto;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
}

.pb-search-info a:hover {
  text-decoration: underline;
}

.pb-content-wrap {
  padding-top: 0;
}

.pb-pagination-dots {
  border: none;
  user-select: none;
}

.goverlay {
  background: rgba(21, 34, 89, 0.92) !important;
}

.glightbox-clean .gslide-description {
  background: rgba(21, 34, 89, 0.95) !important;
}

.glightbox-clean .gdesc-inner {
  padding: 16px 20px !important;
}

.glightbox-clean .gslide-title {
  margin-bottom: 4px !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

.glightbox-clean .gslide-desc {
  color: rgba(255, 255, 255, 0.6) !important;
  font-family: inherit !important;
  font-size: 0.78rem !important;
}

.glightbox-clean .gnext,
.glightbox-clean .gprev {
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.glightbox-clean .gnext:hover,
.glightbox-clean .gprev:hover {
  background: rgba(255, 255, 255, 0.2);
}

.glightbox-clean .gclose {
  top: 16px;
  right: 16px;
}

.gcounter {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 0.78rem !important;
}

@media (max-width: 900px) {
  .monitoring-kpi-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .monitoring-charts-row,
  .monitoring-layout {
    grid-template-columns: 1fr;
  }

  .pb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

  .pb-hero-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .pb-search {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .pb-hero {
    padding: 1.5rem 0 1.25rem;
  }

  .pb-hero h1 {
    font-size: 1.25rem;
  }

  .pb-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .pb-grid.pb-grid--large {
    grid-template-columns: 1fr;
  }

  .pb-card-body {
    padding: 0.5rem 0.65rem 0.6rem;
  }

  .pb-card-title {
    font-size: 0.75rem;
    -webkit-line-clamp: 2;
  }

  .pb-card-date {
    padding: 2px 6px;
    font-size: 0.58rem;
  }

  .pb-card-overlay {
    display: none;
  }

  .pb-stats {
    gap: 0.75rem;
  }
}

/* GovPress cleanup pass: newsroom */
/* Hero */
.nr-hero {
    background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-light) 100%);
    padding: 48px 0 40px;
    margin-bottom: 0;
}
.nr-hero-inner {
    max-width: 680px;
}
.nr-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: rgba(232,152,48,.15);
    color: var(--gold);
    border: 1px solid rgba(232,152,48,.35);
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
}
.nr-hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 12px;
}
.nr-hero-title__line {
    display: block;
}
.nr-hero-sub {
    font-size: .95rem;
    color: rgba(255,255,255,.7);
    margin: 0 0 16px;
    line-height: 1.6;
}
.nr-hero-stats {
    font-size: .85rem;
    color: rgba(255,255,255,.55);
}
.nr-hero-stats strong { color: var(--gold); font-weight: 700; }
/* Layout */
.nr-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    margin-top: 24px;
    align-items: start;
    padding-bottom: 48px;
}
/* Filter bar */
.nr-filter-bar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: var(--bg-offset);
    border-radius: var(--radius);
}
.nr-filter-form { display: flex; align-items: center; gap: 10px; }
.nr-filter-label { font-size: .8rem; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.nr-filter-select {
    font-size: .875rem;
    padding: 7px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    color: var(--text-1);
    cursor: pointer;
}
.nr-type-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.nr-type-pill {
    font-size: .78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1.5px solid var(--border);
    color: var(--text-2);
    text-decoration: none;
    transition: background .15s, color .15s, border-color .15s;
}
.nr-type-pill:hover { border-color: var(--navy); color: var(--navy); }
.nr-type-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.nr-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.nr-results-count { font-size: .875rem; color: var(--text-3); }
.nr-clear-filters {
    font-size: .8rem;
    color: var(--text-3);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}
.nr-clear-filters:hover { color: var(--navy); }
/* Cards grid */
.nr-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}
.nr-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow .15s, transform .15s;
}
.nr-card:hover {
    box-shadow: 0 4px 16px rgba(21,34,89,.1);
    transform: translateY(-2px);
}
.nr-card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.nr-gov-body-badge {
    font-size: .68rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: var(--navy);
    color: #fff;
    white-space: nowrap;
}
.nr-card-title {
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    flex: 1;
}
.nr-card-title a {
    color: var(--text-1);
    text-decoration: none;
}
.nr-card-title a:hover { color: var(--navy); }
.nr-card-summary {
    font-size: .8rem;
    color: var(--text-3);
    line-height: 1.5;
    margin: 0;
}
.nr-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}
.nr-card-date {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .75rem;
    color: var(--text-3);
}
.nr-card-read {
    font-size: .78rem;
    font-weight: 600;
    color: var(--gold-hover);
    text-decoration: none;
}
.nr-card-read:hover { color: var(--navy); }
.nr-card-read-icon {
    vertical-align: middle;
    margin-left: 2px;
}
/* Content type badges (shared) */
.gp-content-type-badge {
    font-size: .7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    background: #f0f0f0;
    color: #555;
    white-space: nowrap;
    display: inline-block;
}
.gp-content-type-badge--small {
    font-size: .65rem;
}
.gp-type--press_release { background: #e8edfb; color: var(--navy); }
.gp-type--statement     { background: #fff0d6; color: #7a4f00; }
.gp-type--factsheet     { background: #e8f5e9; color: #2e7d32; }
.gp-type--qa            { background: #fce4ec; color: #b71c1c; }
.gp-type--media_invite  { background: #e3f2fd; color: #0d47a1; }
.gp-type--comment       { background: #f3e5f5; color: #6a1b9a; }
.nr-auth-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: flex;
}

/* Pagination */
.nr-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 24px 0;
}
.nr-page-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .875rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius);
    border: 1.5px solid var(--navy);
    color: var(--navy);
    text-decoration: none;
    transition: background .15s, color .15s;
}
.nr-page-btn:hover { background: var(--navy); color: #fff; }
.nr-page-numbers { display: flex; gap: 4px; align-items: center; }
.nr-page-num {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .875rem;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-2);
    border: 1px solid var(--border);
    transition: background .15s, color .15s;
}
.nr-page-num:hover { background: var(--bg-offset); color: var(--navy); }
.nr-page-num--active { background: var(--navy); color: #fff !important; border-color: var(--navy); font-weight: 700; }
.nr-page-ellipsis { color: var(--text-3); font-size: .875rem; padding: 0 4px; }
/* Empty state */
.nr-empty {
    text-align: center;
    padding: 64px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.nr-empty h3 { font-size: 1.1rem; color: var(--text-2); margin: 0; }
.nr-empty p { color: var(--text-3); font-size: .9rem; margin: 0; }
/* Sidebar */
.nr-sidebar { display: flex; flex-direction: column; gap: 20px; }
.nr-subscribe-card {
    background: var(--navy);
    color: #fff;
    border-radius: var(--radius);
    padding: 20px;
}
.nr-subscribe-icon {
    width: 44px; height: 44px;
    background: rgba(232,152,48,.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 12px;
}
.nr-subscribe-card h3 { font-size: 1rem; font-weight: 700; margin: 0 0 6px; }
.nr-subscribe-card p { font-size: .8rem; color: rgba(255,255,255,.7); margin: 0 0 14px; line-height: 1.5; }
.nr-subscribe-form { display: flex; flex-direction: column; gap: 8px; }
.nr-subscribe-input {
    padding: 8px 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.1);
    color: #fff;
    font-size: .875rem;
}
.nr-subscribe-input::placeholder { color: rgba(255,255,255,.45); }
.nr-subscribe-btn {
    padding: 8px 14px;
    border-radius: var(--radius);
    background: var(--gold);
    color: var(--navy);
    font-size: .875rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background .15s;
}
.nr-subscribe-btn:hover { background: var(--gold-hover); }
.nr-latest-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}
.nr-sidebar-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--text-3);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 8px;
}
.nr-latest-list { display: flex; flex-direction: column; gap: 0; }
.nr-latest-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: background .1s;
}
.nr-latest-item:last-child { border-bottom: none; }
.nr-latest-item:hover { background: var(--bg-offset); margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
.nr-latest-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nr-latest-title { font-size: .8rem; font-weight: 600; color: var(--text-1); line-height: 1.35; }
.nr-latest-date { font-size: .72rem; color: var(--text-3); }
.nr-cta-card {
    background: var(--gold-light);
    border: 1px solid rgba(232,152,48,.3);
    border-radius: var(--radius);
    padding: 16px;
}
.nr-cta-card h3 { font-size: .9rem; font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.nr-cta-card p { font-size: .8rem; color: var(--text-3); margin: 0 0 12px; }
@media (max-width: 1100px) {
    .nr-cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
    .nr-layout { grid-template-columns: 1fr; }
    .nr-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .nr-hero-title { font-size: 1.5rem; }
}
@media (max-width: 640px) {
    .nr-cards-grid { grid-template-columns: 1fr; }
    .nr-sidebar { grid-template-columns: 1fr; }
    .nr-type-pills { gap: 4px; }
    .nr-type-pill { font-size: .72rem; padding: 4px 10px; }
}

/* GovPress cleanup pass: standards */
/* ─── Page header ─── */
.std-page-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0 24px;
    border-bottom: 3px solid var(--gold, #c9a227);
    margin-bottom: 28px;
}
.std-page-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy, #1a2744);
    margin: 0 0 6px;
    line-height: 1.2;
}
.std-page-subtitle {
    font-size: .9rem;
    color: var(--text-3, #666);
    margin: 0;
    max-width: 540px;
    line-height: 1.5;
}
.std-header-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    background: var(--navy, #1a2744);
    color: var(--gold, #c9a227);
    padding: 12px 16px;
    border-radius: var(--radius, 6px);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .05em;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─── No-sidebar layout ─── */
.std-no-sidebar { grid-column: 1 / -1; }
.cabinet-layout:has(.std-public-sidebar) {
    display: grid;
    grid-template-columns: 1fr 240px;
    gap: 24px;
    align-items: start;
}
.std-public-sidebar { display: flex; flex-direction: column; gap: 16px; }
.std-sidebar-card {}
.std-sidebar-title {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-3, #666);
    margin: 0 0 10px;
}
.std-sidebar-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.std-sidebar-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .875rem;
    color: var(--navy, #1a2744);
    text-decoration: none;
    font-weight: 500;
}
.std-sidebar-links a:hover { text-decoration: underline; }
.std-sidebar-downloads {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.std-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .8rem;
    color: var(--navy, #1a2744);
    text-decoration: none;
    font-weight: 500;
}
.std-download-btn:hover { text-decoration: underline; }
.std-file-badge {
    font-size: .65rem;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 3px;
    background: #e8edfb;
    color: var(--navy, #1a2744);
    margin-left: auto;
}
.std-sidebar-contact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    color: var(--text-3, #666);
    margin: 0;
}
.std-sidebar-contact a { color: var(--navy, #1a2744); }

/* ─── Tab nav ─── */
.std-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.std-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .85rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: var(--radius, 6px);
    border: 1.5px solid var(--border, #e0e4ef);
    background: white;
    color: var(--text-2, #444);
    cursor: pointer;
    transition: all .15s;
}
.std-tab-btn:hover {
    border-color: var(--navy, #1a2744);
    color: var(--navy, #1a2744);
}
.std-tab-btn.active {
    background: var(--navy, #1a2744);
    border-color: var(--navy, #1a2744);
    color: white;
}

/* ─── Tab panels ─── */
.std-tab-panel { display: none; }
.std-tab-panel.active { display: block; }
.std-tab-intro {
    font-size: .9rem;
    color: var(--text-2, #444);
    margin: 0 0 20px;
    padding: 12px 16px;
    background: var(--bg-offset, #f7f8fc);
    border-radius: var(--radius, 6px);
    border-left: 3px solid var(--gold, #c9a227);
}

/* ─── Section headings ─── */
.std-section { margin-bottom: 36px; }
.std-section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy, #1a2744);
    margin: 0 0 4px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gold, #c9a227);
    display: inline-block;
}
.std-section-intro {
    font-size: .875rem;
    color: var(--text-2, #444);
    margin: 8px 0 16px;
    line-height: 1.6;
}

/* ─── Press-release visual card ─── */
.std-release-card {
    border: 1.5px solid var(--border, #e0e4ef);
    border-radius: var(--radius, 6px);
    overflow: hidden;
    font-size: .85rem;
}
.std-release-block {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border, #e0e4ef);
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 6px 12px;
    align-items: start;
}
.std-release-block:last-child { border-bottom: none; }
.std-block-label {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    text-align: center;
    align-self: start;
}
.std-block-rule {
    font-size: .78rem;
    color: var(--text-3, #666);
    font-style: normal;
    grid-column: 2;
}
.std-block-example {
    grid-column: 2;
    font-size: .82rem;
    color: var(--text-1, #222);
    line-height: 1.5;
    padding: 6px 10px;
    background: var(--bg-offset, #f7f8fc);
    border-radius: 4px;
    border-left: 2px solid;
}
.std-block--headline { background: #f0f3fa; }
.std-block--headline .std-block-label { background: var(--navy, #1a2744); }
.std-block--headline .std-block-example { border-color: var(--navy, #1a2744); }
.std-block--lead { background: #fffdf0; }
.std-block--lead .std-block-label { background: var(--gold, #c9a227); }
.std-block--lead .std-block-example { border-color: var(--gold, #c9a227); }
.std-block--body { background: white; }
.std-block--body .std-block-label { background: var(--navy, #152259); }
.std-block--quote { background: #f7f8fc; }
.std-block--quote .std-block-label { background: var(--navy, #152259); }
.std-block--quote .std-block-example { border-color: var(--navy, #152259); font-style: normal; }
.std-block--background { background: #f7f8fc; }
.std-block--background .std-block-label { background: var(--navy, #152259); }
.std-block--contacts { background: var(--bg-offset, #f7f8fc); }
.std-block--contacts .std-block-label { background: var(--navy, #152259); }

/* ─── Language rules grid ─── */
.std-rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}
.std-rule-card {
    display: flex;
    gap: 12px;
    padding: 14px;
    border: 1.5px solid var(--border, #e0e4ef);
    border-radius: var(--radius, 6px);
    background: white;
    align-items: flex-start;
}
.std-rule-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.std-rule-icon--blue  { background: rgba(21,34,89,0.06); color: var(--navy, #152259); }
.std-rule-icon--gold  { background: rgba(193,124,26,0.08); color: var(--gold, #c17c1a); }
.std-rule-icon--green { background: rgba(21,34,89,0.06); color: var(--navy, #152259); }
.std-rule-icon--navy  { background: rgba(21,34,89,0.06); color: var(--navy, #152259); }
.std-rule-body { flex: 1; min-width: 0; }
.std-rule-body strong { display: block; font-size: .875rem; color: var(--text-1, #222); margin-bottom: 4px; }
.std-rule-body p { font-size: .8rem; color: var(--text-2, #444); margin: 0; line-height: 1.5; }

/* ─── Substitution list ─── */
.std-substitutions { display: flex; flex-direction: column; gap: 4px; margin-top: 4px; }
.std-sub-row { display: flex; align-items: center; gap: 6px; font-size: .78rem; }
.std-sub-old { color: #b71c1c; text-decoration: line-through; }
.std-sub-arrow { color: var(--text-3, #666); font-size: .7rem; }
.std-sub-new { color: #2e7d32; font-weight: 600; }
.std-sub-old--small { font-size: .75rem; }
.std-sub-rule-note {
  font-size: .8rem;
  color: var(--text-3, #666);
  margin-top: 6px;
}

/* ─── Visual standards table ─── */
.std-visual-table {
    border: 1.5px solid var(--border, #e0e4ef);
    border-radius: var(--radius, 6px);
    overflow: hidden;
    font-size: .85rem;
}
.std-visual-row {
    display: grid;
    grid-template-columns: 160px 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border, #e0e4ef);
    padding: 10px 16px;
    align-items: center;
}
.std-visual-row:last-child { border-bottom: none; }
.std-visual-header {
    background: var(--navy, #1a2744);
    color: white;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 8px 16px;
}
.std-visual-row:nth-child(odd):not(.std-visual-header) { background: var(--bg-offset, #f7f8fc); }
.std-visual-type { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy, #1a2744); }
.std-visual-row code { font-size: .78rem; background: #f0f0f0; padding: 2px 6px; border-radius: 4px; }
.std-download-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .78rem;
    color: var(--navy, #1a2744);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border, #e0e4ef);
    padding: 3px 8px;
    border-radius: 4px;
}
.std-download-link:hover { background: var(--bg-offset, #f7f8fc); }

/* ─── Templates grid ─── */
.std-templates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.std-template-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px;
    border: 1.5px solid var(--border, #e0e4ef);
    border-radius: var(--radius, 6px);
    background: white;
    transition: border-color .15s, box-shadow .15s;
}
.std-template-card:hover {
    border-color: var(--navy, #1a2744);
    box-shadow: 0 2px 12px rgba(26,39,68,.08);
}
.std-tpl-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.std-tpl-icon--press_release { background: #e8edfb; color: var(--navy, #1a2744); }
.std-tpl-icon--statement     { background: #fff0d6; color: #7a4f00; }
.std-tpl-icon--factsheet     { background: #e8f5e9; color: #2e7d32; }
.std-tpl-icon--qa            { background: #fce4ec; color: #b71c1c; }
.std-tpl-icon--media_invite  { background: #e3f2fd; color: #0d47a1; }
.std-tpl-icon--comment       { background: #f3e5f5; color: #6a1b9a; }
.std-tpl-body { flex: 1; }
.std-tpl-body h3 { font-size: .9rem; font-weight: 700; color: var(--navy, #1a2744); margin: 0 0 6px; }
.std-tpl-body p  { font-size: .78rem; color: var(--text-2, #444); margin: 0; line-height: 1.5; }
.std-tpl-btn { align-self: flex-start; margin-top: auto; }

/* ─── Regulations grid ─── */
.std-regs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.std-reg-block {}
.std-reg-block--crisis { background: #fffdf5; }
.std-reg-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .95rem;
    font-weight: 700;
    color: var(--navy, #1a2744);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold, #c9a227);
}
.std-reg-title--crisis { color: #b44700; border-color: #e67e22; }
.std-reg-title--crisis svg { color: #e67e22; }
.std-reg-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: .875rem;
}
.std-reg-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--navy, #1a2744);
    text-decoration: none;
    font-weight: 500;
}
.std-reg-link:hover { text-decoration: underline; }
.std-reg-list--detailed li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border, #e0e4ef);
}
.std-reg-list--detailed li:last-child { border-bottom: none; padding-bottom: 0; }
.std-reg-label { font-weight: 600; color: var(--text-2, #444); min-width: 160px; font-size: .82rem; }
.std-reg-value { font-size: .82rem; color: var(--text-1, #222); }
.std-inline-link { color: var(--navy, #1a2744); font-weight: 600; font-size: .8rem; }

/* ─── Crisis blocks ─── */
.std-crisis-item { margin-bottom: 12px; }
.std-crisis-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.std-crisis-badge--gold { background: #fff3cd; color: #856404; }
.std-crisis-badge--navy { background: #e8edfb; color: var(--navy, #1a2744); }
.std-crisis-item > p { font-size: .82rem; color: var(--text-2, #444); margin: 0; line-height: 1.5; }
.std-crisis-chain {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.std-chain-step {
    font-size: .78rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--bg-offset, #f7f8fc);
    border: 1px solid var(--border, #e0e4ef);
    color: var(--text-1, #222);
}
.std-chain-step--fact    { background: #e8edfb; color: var(--navy, #1a2744); }
.std-chain-step--action  { background: #fff3cd; color: #856404; }
.std-chain-step--contact { background: #d1f5e0; color: #1a7a40; }
.std-chain-arrow { color: var(--text-3, #999); flex-shrink: 0; }
.std-crisis-forbidden {
    margin-top: 14px;
    padding: 10px 14px;
    background: #fce4ec;
    border-radius: var(--radius, 6px);
    border-left: 3px solid #c62828;
}
.std-forbidden-title {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #c62828;
    margin-bottom: 8px;
}
.std-crisis-forbidden ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.std-crisis-forbidden li { font-size: .8rem; color: #7f0000; font-weight: 500; }
.std-crisis-forbidden li::before { content: "— "; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .std-templates-grid { grid-template-columns: repeat(2, 1fr); }
    .std-regs-grid { grid-template-columns: 1fr; }
    .cabinet-layout:has(.std-public-sidebar) { grid-template-columns: 1fr; }
    .std-public-sidebar { display: grid; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .std-page-header { flex-direction: column; }
    .std-header-badge { align-self: flex-start; flex-direction: row; }
    .std-rules-grid { grid-template-columns: 1fr; }
    .std-visual-row { grid-template-columns: 1fr 1fr; font-size: .78rem; }
    .std-visual-header { grid-template-columns: 1fr 1fr; }
    .std-templates-grid { grid-template-columns: 1fr; }
    .std-public-sidebar { grid-template-columns: 1fr; }
    .std-reg-list--detailed li { flex-direction: column; gap: 2px; }
    .std-reg-label { min-width: unset; }
}
@media (max-width: 540px) {
    .std-release-block { grid-template-columns: 1fr; }
    .std-block-label { width: fit-content; }
    .std-block-rule, .std-block-example { grid-column: 1; }
    .std-visual-row { grid-template-columns: 1fr; }
    .std-visual-header { display: none; }
}

/* President landing cleanup pass */
/* ================================================================
   PRESIDENT PAGE — Premium State-Level Design
   CSS vars: --navy: #152259, --gold: #c8a84b, --bg-offset: #f5f7fa
   ================================================================ */

/* ── Reset & page-level ── */
.pres-page { --navy: #152259; --navy-deep: #0c1638; --navy-mid: #1e3278; --gold: #c8a84b; --gold-light: #e2c97c; --gold-pale: #fdf8ee; --off-white: #f5f7fa; --border: #e2e8f0; --text-main: #1a2340; --text-muted: #64748b; --radius-sm: 6px; --radius-md: 12px; --radius-lg: 20px; }

/* ── 1. HERO ── */
.pres-hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 45%, var(--navy-mid) 100%);
  overflow: hidden;
  padding: 0;
}
.pres-hero__geo {
  position: absolute; inset: 0; pointer-events: none; opacity: .07;
}
.pres-hero__geo-inner {
  position: absolute; right: -80px; top: -80px;
  width: 700px; height: 700px;
  border: 1px solid rgba(200,168,75,.5);
  border-radius: 50%;
}
.pres-hero__geo-inner:nth-child(2) { right: -40px; top: -40px; width: 560px; height: 560px; border-color: rgba(200,168,75,.35); }
.pres-hero__geo-inner:nth-child(3) { right: 40px; top: 40px; width: 400px; height: 400px; border-color: rgba(200,168,75,.2); }
.pres-hero__geo-lines {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 100%;
  background-image: repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(200,168,75,.04) 60px, rgba(200,168,75,.04) 61px);
}
.pres-hero__wrap {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  min-height: 520px;
}
.pres-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px 60px 0;
}
.pres-hero__breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: rgba(255,255,255,.5);
  margin-bottom: 24px; letter-spacing: .04em;
}
.pres-hero__breadcrumb a { color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.pres-hero__breadcrumb a:hover { color: var(--gold-light); }
.pres-hero__breadcrumb-sep { opacity: .4; }
.pres-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(200,168,75,.12);
  border: 1px solid rgba(200,168,75,.3);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.pres-hero__name {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  letter-spacing: -.02em;
  margin: 0 0 4px;
}
.pres-hero__name-kaz {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: rgba(255,255,255,.55);
  margin: 0 0 20px;
  letter-spacing: .01em;
}
.pres-hero__title {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 600;
  color: var(--gold-light);
  margin: 0 0 8px;
  letter-spacing: .01em;
}
.pres-hero__since {
  font-size: .88rem; color: rgba(255,255,255,.6); margin: 0 0 32px;
}
.pres-hero__gold-rule {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 2px; margin-bottom: 28px;
}
.pres-hero__intro {
  font-size: .95rem; line-height: 1.7;
  color: rgba(255,255,255,.75);
  max-width: 580px; margin-bottom: 36px;
}
.pres-hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
}
.pres-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold);
  color: var(--navy-deep); font-weight: 700; font-size: .88rem;
  padding: 12px 24px; border-radius: 6px;
  text-decoration: none; transition: background .2s, transform .15s;
}
.pres-btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.pres-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff; font-weight: 600; font-size: .88rem;
  padding: 12px 24px; border-radius: 6px;
  text-decoration: none; transition: border-color .2s, background .2s;
}
.pres-btn-outline:hover { border-color: var(--gold-light); background: rgba(200,168,75,.08); }

.pres-hero__photo-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0;
  min-width: 300px;
}
.pres-hero__photo-frame {
  position: relative;
  width: 300px;
}
.pres-hero__photo-frame::before {
  content: '';
  position: absolute;
  right: -12px; bottom: 0;
  width: 260px; height: 100%;
  background: linear-gradient(to top, rgba(200,168,75,.15), transparent);
  border-right: 2px solid rgba(200,168,75,.3);
  pointer-events: none;
}
.pres-hero__photo {
  display: block;
  width: 300px;
  height: 460px;
  object-fit: cover;
  object-position: top center;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, black 20%);
  mask-image: linear-gradient(to top, transparent 0%, black 20%);
}
.pres-hero__photo-badge {
  position: absolute;
  bottom: 24px; left: -16px;
  background: var(--navy-deep);
  border: 1px solid var(--gold);
  border-radius: 8px;
  padding: 10px 16px;
  min-width: 160px;
}
.pres-hero__photo-badge-year {
  display: block;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 2px;
}
.pres-hero__photo-badge-text {
  display: block;
  font-size: .82rem; font-weight: 600; color: #fff; line-height: 1.3;
}
.pres-person-shell {
  margin-top: -40px;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 24px;
}

/* ── 2. KEY FACTS STRIP ── */
.pres-facts {
  background: var(--gold);
  padding: 0;
}
.pres-facts__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.pres-fact {
  display: flex; flex-direction: column; align-items: center;
  padding: 22px 12px;
  border-right: 1px solid rgba(0,0,0,.1);
  text-align: center;
}
.pres-fact:last-child { border-right: none; }
.pres-fact__num {
  font-size: 2rem; font-weight: 800; line-height: 1;
  color: var(--navy-deep); letter-spacing: -.03em;
}
.pres-fact__label {
  font-size: .72rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: .07em; color: rgba(21,34,89,.7);
  margin-top: 4px; line-height: 1.3;
}

/* ── 3. SECTION COMMON ── */
.pres-section {
  padding: 80px 0;
}
.pres-section--alt {
  background: var(--off-white);
}
.pres-section--dark {
  background: var(--navy); color: #fff;
}
.pres-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
}
.pres-section-header {
  margin-bottom: 48px;
}
.pres-section-header--sm {
  margin-bottom: 28px;
}
.pres-section-eyebrow {
  display: inline-block;
  font-size: .7rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.pres-section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800; color: var(--navy); line-height: 1.2;
  margin: 0;
}
.pres-section--dark .pres-section-title { color: #fff; }
.pres-section-rule {
  width: 48px; height: 3px;
  background: var(--gold);
  margin: 14px 0 0;
  border-radius: 2px;
}

/* ── NAV TABS ── */
.pres-nav {
  background: #fff;
  border-bottom: 2px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.pres-nav__inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; gap: 0; overflow-x: auto;
  scrollbar-width: none;
}
.pres-nav__inner::-webkit-scrollbar { display: none; }
.pres-nav__tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 16px 20px;
  font-size: .83rem; font-weight: 600; white-space: nowrap;
  color: var(--text-muted); text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color .2s, border-color .2s;
}
.pres-nav__tab:hover { color: var(--navy); border-bottom-color: var(--border); }
.pres-nav__tab.active { color: var(--navy); border-bottom-color: var(--gold); }
.pres-nav__tab svg { flex-shrink: 0; }

/* ── 4. TIMELINE ── */
.pres-timeline {
  position: relative;
  padding-left: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}
.pres-timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(200,168,75,.1));
  transform: translateX(-50%);
}
.pres-tl-item {
  position: relative;
  padding: 0 0 40px;
}
.pres-tl-item:nth-child(odd) {
  text-align: right;
  padding-right: 40px;
}
.pres-tl-item:nth-child(even) {
  padding-left: 40px;
  margin-top: 60px;
}
.pres-tl-item::after {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: var(--gold);
  border: 3px solid #fff;
  border-radius: 50%;
  top: 4px;
  box-shadow: 0 0 0 2px var(--gold);
}
.pres-tl-item:nth-child(odd)::after { right: -35px; }
.pres-tl-item:nth-child(even)::after { left: -35px; }
.pres-tl-year {
  display: inline-block;
  font-size: .72rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-pale);
  border: 1px solid rgba(200,168,75,.3);
  padding: 3px 10px; border-radius: 20px;
  margin-bottom: 8px;
}
.pres-tl-title {
  font-size: 1rem; font-weight: 700; color: var(--navy);
  line-height: 1.35; margin: 0 0 6px;
}
.pres-tl-desc {
  font-size: .83rem; color: var(--text-muted); line-height: 1.6; margin: 0;
}
.pres-tl-item--highlight .pres-tl-title { color: var(--gold); }
.pres-tl-item--highlight::after { background: var(--navy); box-shadow: 0 0 0 2px var(--navy); }

/* ── 5. REFORM PILLARS ── */
.pres-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pres-pillar {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: background .25s, border-color .25s, transform .2s;
}
.pres-pillar:hover {
  background: rgba(255,255,255,.09);
  border-color: rgba(200,168,75,.4);
  transform: translateY(-2px);
}
.pres-pillar__icon {
  width: 48px; height: 48px;
  background: rgba(200,168,75,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  color: var(--gold-light);
}
.pres-pillar__num {
  font-size: .68rem; font-weight: 800; letter-spacing: .1em;
  color: rgba(200,168,75,.6); text-transform: uppercase; margin-bottom: 8px;
}
.pres-pillar__title {
  font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 10px; line-height: 1.3;
}
.pres-pillar__desc {
  font-size: .83rem; color: rgba(255,255,255,.65); line-height: 1.65; margin: 0;
}

/* ── 6. CREDENTIALS ── */
.pres-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.pres-cred {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: box-shadow .2s;
}
.pres-cred:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); }
.pres-cred__icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: var(--navy);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}
.pres-cred__text {
  font-size: .88rem; font-weight: 600; color: var(--navy); line-height: 1.45;
}
.pres-cred__sub {
  font-size: .78rem; color: var(--text-muted); font-weight: 400;
  display: block; margin-top: 2px;
}
.pres-section-spacer { margin-top: 64px; }
.pres-section-header--split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.pres-section-eyebrow--light {
  color: var(--gold-light);
}
.pres-section-text {
  color: rgba(255,255,255,.7);
  margin-top: 16px;
  max-width: 640px;
  font-size: .92rem;
  line-height: 1.7;
}
.pres-doc-more--offset { margin-top: 20px; }
.pres-docs-cta {
  text-align: center;
  margin-top: 48px;
}
.pres-docs-cta .pres-btn-primary {
  display: inline-flex;
}
.pres-empty__icon {
  margin: 0 auto 16px;
  display: block;
  opacity: .3;
}

/* ── 7. ATOMS / QUOTES ── */
.pres-quotes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}
.pres-quote {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  border: 1px solid var(--border);
  position: relative;
  transition: box-shadow .2s, transform .2s;
}
.pres-quote:hover { box-shadow: 0 8px 32px rgba(21,34,89,.1); transform: translateY(-2px); }
.pres-quote::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(200,168,75,.3));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.pres-quote--key::before { background: var(--navy); }
.pres-quote__meta {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin-bottom: 14px;
}
.pres-quote__tag {
  background: var(--navy);
  color: #fff; font-size: .65rem; font-weight: 700;
  padding: 3px 10px; border-radius: 12px; letter-spacing: .05em;
}
.pres-quote__year {
  font-size: .75rem; color: var(--text-muted);
}
.pres-quote__key-badge {
  background: var(--gold); color: var(--navy-deep);
  font-size: .62rem; font-weight: 800;
  padding: 2px 8px; border-radius: 10px; letter-spacing: .04em;
  text-transform: uppercase;
  margin-left: auto;
}
.pres-quote__text {
  font-size: .9rem; line-height: 1.7;
  color: var(--text-main);
  font-style: italic;
  border-left: 3px solid var(--gold);
  padding-left: 16px;
  margin: 0 0 12px;
}
.pres-quote__paraphrase {
  font-size: .78rem; color: var(--text-muted); line-height: 1.5; margin: 0;
}
.pres-themes {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px;
}
.pres-theme-pill {
  padding: 5px 14px;
  border-radius: 20px;
  font-size: .75rem; font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: #fff;
  transition: background .15s, color .15s, border-color .15s;
}
.pres-theme-pill:hover { background: var(--off-white); border-color: var(--navy); color: var(--navy); }
.pres-theme-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ── 8. DOCUMENT SECTIONS ── */
.pres-doc-section { margin-bottom: 60px; }
.pres-doc-section:last-child { margin-bottom: 0; }
.pres-doc-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}
.pres-doc-type-title {
  display: flex; align-items: center; gap: 12px;
}
.pres-doc-type-icon {
  width: 36px; height: 36px;
  background: var(--navy);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}
.pres-doc-type-name {
  font-size: 1.2rem; font-weight: 800; color: var(--navy); margin: 0;
}
.pres-doc-type-count {
  font-size: .72rem; color: var(--text-muted); display: block;
}
.pres-doc-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  padding: 7px 14px;
  border: 1px solid rgba(200,168,75,.3);
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.pres-doc-more:hover { background: var(--gold-pale); }
.pres-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}
.pres-doc-card {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  text-decoration: none;
  transition: box-shadow .2s, transform .18s, border-color .2s;
  position: relative;
  overflow: hidden;
}
.pres-doc-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0; height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s;
}
.pres-doc-card:hover { box-shadow: 0 6px 24px rgba(21,34,89,.1); transform: translateY(-2px); border-color: rgba(200,168,75,.4); }
.pres-doc-card:hover::after { transform: scaleX(1); }
.pres-doc-card__meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.pres-doc-card__date {
  font-size: .75rem; color: var(--text-muted); font-weight: 500;
}
.pres-doc-card__location {
  font-size: .72rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 4px;
}
.pres-doc-card__title {
  font-size: .95rem; font-weight: 700; color: var(--navy);
  line-height: 1.4; margin: 0 0 8px;
}
.pres-doc-card__summary {
  font-size: .82rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 14px;
}
.pres-doc-card__source {
  font-size: .78rem; font-weight: 600; color: var(--gold);
  display: flex; align-items: center; gap: 4px;
}

/* ── EMPTY STATE ── */
.pres-empty {
  text-align: center; padding: 64px 24px;
  color: var(--text-muted); font-size: .95rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .pres-hero__wrap { grid-template-columns: 1fr; min-height: auto; }
  .pres-hero__photo-col { display: none; }
  .pres-hero__content { padding: 48px 0; }
  .pres-facts__inner { grid-template-columns: repeat(3, 1fr); }
  .pres-fact:nth-child(4), .pres-fact:nth-child(5) { border-top: 1px solid rgba(0,0,0,.1); }
  .pres-pillars { grid-template-columns: repeat(2, 1fr); }
  .pres-credentials { grid-template-columns: 1fr; }
  .pres-timeline { grid-template-columns: 1fr; padding-left: 28px; }
  .pres-timeline::before { left: 0; transform: none; }
  .pres-tl-item { text-align: left !important; padding: 0 0 32px 20px !important; margin-top: 0 !important; }
  .pres-tl-item::after { left: -21px !important; right: auto !important; }
}
@media (max-width: 600px) {
  .pres-facts__inner { grid-template-columns: repeat(2, 1fr); }
  .pres-fact:nth-child(5) { grid-column: span 2; border-right: none; }
  .pres-pillars { grid-template-columns: 1fr; }
  .pres-section { padding: 56px 0; }
  .pres-nav__tab { padding: 12px 14px; font-size: .78rem; }
}
@media (max-width: 380px) {
  .pres-facts__inner { grid-template-columns: 1fr 1fr; }
}

/* Final polish pass: mobile pill density, compact footer and dark-mode footer contrast */
@media (max-width: 900px) {
  .topic-pill {
    min-height: 2rem;
    padding-top: 0.34rem;
    padding-bottom: 0.34rem;
  }
}

@media (max-width: 480px) {
  .topic-nav-scroll {
    gap: 0.2rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .topic-pill {
    min-height: 1.95rem;
    padding-left: 0.58rem;
    padding-right: 0.58rem;
    font-size: 0.74rem;
  }

  .site-footer {
    padding-top: 1rem;
    padding-bottom: 0.75rem;
  }

  .footer-grid {
    gap: 0.6rem 0.8rem;
  }

  .footer-links a {
    min-height: unset;
    padding: 0;
    font-size: 0.69rem;
    line-height: 1.22;
  }
}

@media (max-width: 400px) {
  .topic-nav-scroll {
    padding-right: 1.8rem;
  }

  .topic-pill {
    min-height: 1.84rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    gap: 0.3rem;
  }

  .topic-pill__icon {
    width: 0.75rem;
    height: 0.75rem;
  }
}

@media (max-width: 360px) {
  .topic-pill {
    min-height: 1.75rem;
    font-size: 0.7rem;
    border-width: 1px;
  }

  .site-footer {
    padding-top: 0.85rem;
    padding-bottom: 0.65rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-logo-title {
    font-size: 0.8rem;
  }

  .footer-heading {
    font-size: 0.58rem;
  }
}

[data-site="ortcom"][data-theme="dark"] .site-footer,
[data-theme="dark"] .site-footer {
  background: hsl(224 34% 17%);
  color: hsl(0 0% 93%);
  border-top: 1px solid hsl(0 0% 100% / 0.12);
}

[data-site="ortcom"][data-theme="dark"] .site-footer .footer-links a,
[data-theme="dark"] .site-footer .footer-links a {
  color: hsl(0 0% 93% / 0.86);
}

[data-site="ortcom"][data-theme="dark"] .site-footer .footer-links a:hover,
[data-theme="dark"] .site-footer .footer-links a:hover,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-links a:focus-visible,
[data-theme="dark"] .site-footer .footer-links a:focus-visible {
  color: hsl(0 0% 100%);
}

[data-site="ortcom"][data-theme="dark"] .site-footer .social-row a,
[data-theme="dark"] .site-footer .social-row a,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-bottom a,
[data-theme="dark"] .site-footer .footer-bottom a {
  color: hsl(0 0% 93%);
}

[data-site="ortcom"][data-theme="dark"] .site-footer .social-row a:hover,
[data-theme="dark"] .site-footer .social-row a:hover {
  background: hsl(224 32% 24%);
  color: hsl(0 0% 100%);
}

/* Final stabilization pass: compact pills, safer mobile nav, softer truncation and footer readability. */
.topic-nav .container::after {
  pointer-events: none;
}

.topic-pill,
.filter-pill {
  min-height: 2rem !important;
  padding: 0.34rem 0.62rem !important;
  line-height: 1.15;
  white-space: nowrap;
}

.topic-pill svg,
.filter-pill svg {
  flex: 0 0 auto;
}

.topic-pill--gold,
.topic-pill--live,
.topic-pill--accent {
  background-image: none;
}

#mainNav {
  overscroll-behavior: contain;
  touch-action: manipulation;
}

#mainNav.open {
  display: flex !important;
}

.mobile-menu-btn,
.search-toggle,
#mainNav a,
.topic-pill {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.cards-3 > .card .card-title,
.cards-4 > .card .card-title,
#articlesGrid .card-title,
.hp-feed-text,
.hp-brief-item-body h4,
.hp-scroll-card-body h4,
.hp-agency-title,
.article-sidebar .list-title,
.article-sidebar .list-title a {
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.hp-feed-text,
.hp-brief-item-body h4 {
  -webkit-line-clamp: 3;
}

.site-footer .footer-bottom {
  align-items: flex-start;
  gap: 0.45rem 1rem;
}

.site-footer .footer-disclaimer {
  max-width: 44rem;
  margin: 0;
  color: inherit;
  font-size: 0.74rem;
  line-height: 1.45;
  opacity: 0.8;
}

[data-site="ortcom"][data-theme="dark"] .site-footer .footer-logo-sub,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-disclaimer,
[data-theme="dark"] .site-footer .footer-logo-sub,
[data-theme="dark"] .site-footer .footer-disclaimer {
  color: hsl(0 0% 92% / 0.72);
}

.media-events__heading {
  align-items: flex-start;
  gap: 0.8rem;
}

.media-events__filters {
  border: 1px solid var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--background));
  padding: 0.85rem;
  margin: 0.95rem 0 1.15rem;
  box-shadow: var(--shadow-xs);
}

.media-events__field {
  min-width: min(100%, 11rem);
}

.media-events__field--compact {
  min-width: 9rem;
  flex-basis: 10rem;
}

.media-events__filter-btn {
  align-self: flex-end;
  min-height: 2.55rem;
  border-radius: calc(var(--av-radius) - 2px);
  box-shadow: none;
}

.media-events__empty,
.rd-empty {
  border: 1px dashed var(--ortcom-ds-border);
  border-radius: var(--av-radius);
  background: hsl(var(--muted) / 0.28);
  padding: 1.15rem 1rem;
}

.rd-empty svg,
.media-events__empty svg {
  opacity: 0.75;
}

.cabinet-auth-wrap {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.cabinet-auth-sub {
  margin-bottom: 1rem;
}

.cabinet-form-meta {
  margin-top: 0.4rem;
}

.cabinet-auth-footer {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  .topic-nav-scroll {
    gap: 0.22rem;
    padding-top: 0.42rem !important;
    padding-bottom: 0.42rem !important;
  }

  .topic-pill,
  .filter-pill {
    min-height: 1.95rem !important;
    padding-inline: 0.56rem !important;
    font-size: 0.74rem !important;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
  }

  .media-events__heading {
    align-items: stretch;
  }

  .media-events__heading .section-title {
    min-width: 0;
  }

  .media-events__heading .ev-view-toggle {
    align-self: flex-start;
  }
}

@media (max-width: 720px) {
  .cards-3 > .card .card-title,
  .cards-4 > .card .card-title,
  #articlesGrid .card-title {
    min-height: unset;
    padding-top: 0.72rem !important;
    padding-bottom: 0.82rem !important;
  }

  .cards-3 > .card .card-title a,
  .cards-4 > .card .card-title a,
  #articlesGrid .card-title a,
  .hp-scroll-card-body h4,
  .hp-agency-title {
    -webkit-line-clamp: 4;
  }

  .media-events__filters {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.8rem;
  }

  .media-events__field,
  .media-events__field--compact {
    min-width: 0;
    max-width: none;
    flex: initial;
  }

  .media-events__field:first-child,
  .media-events__filter-btn {
    grid-column: 1 / -1;
  }

  .media-events__filter-btn {
    align-self: stretch;
    width: 100%;
  }

  .rd-empty,
  .media-events__empty {
    padding: 1rem 0.85rem;
  }
}

@media (max-width: 600px) {
  .topic-nav {
    border-bottom-color: hsl(0 0% 100% / 0.08);
  }

  .topic-pill,
  .filter-pill {
    min-height: 1.88rem !important;
    padding-inline: 0.52rem !important;
  }

  .site-footer .footer-disclaimer {
    font-size: 0.7rem;
  }

  .media-events__filters {
    grid-template-columns: 1fr;
  }

  .media-events__field:first-child,
  .media-events__filter-btn {
    grid-column: auto;
  }

  .ev-view-btn {
    width: 34px;
    height: 34px;
  }

  .cabinet-auth-wrap {
    padding-top: 1.25rem;
    padding-bottom: 2.35rem;
  }
}

/* Final public pass: prevent clipped topic pills and calm dense mobile service surfaces. */
@media (max-width: 768px) {
  .topic-nav-scroll {
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    padding-right: 0 !important;
    scroll-padding-inline: 0 !important;
    row-gap: 0.35rem;
  }

  .topic-pill {
    white-space: normal !important;
    min-height: 1.8rem !important;
    padding: 0.38rem 0.58rem !important;
    line-height: 1.08;
  }

  .topic-pill__icon,
  .topic-pill svg {
    margin-top: 0.02rem;
  }

  .media-nav-card {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    align-items: start;
    column-gap: 0.72rem;
    row-gap: 0.22rem;
    min-height: 0;
    padding: 0.94rem 0.98rem;
  }

  .media-nav-card-icon {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin-top: 0.05rem;
  }

  .media-nav-card .av-card__title,
  .media-nav-card-desc {
    grid-column: 2;
    min-height: 0;
  }

  .media-nav-card-count {
    grid-column: 2;
    display: inline-flex;
    width: fit-content;
    margin-top: 0.34rem;
  }

  .digest-page .digest-wrap {
    padding-inline: 0;
  }

  .digest-page .digest-header {
    margin-bottom: 1.2rem;
  }

  .digest-page .digest-date-nav {
    gap: 0.7rem;
  }

  .digest-page .digest-empty {
    max-width: 32rem;
    margin: 0.9rem auto 0;
    padding: 2rem 1.1rem;
  }

  .digest-page .digest-empty-text {
    font-size: 0.96rem;
    line-height: 1.45;
  }

  .antifake-index-page .af-export-btns {
    width: 100%;
    justify-content: stretch;
  }

  .antifake-index-page .af-export-btn {
    flex: 1 1 0;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .topic-nav-scroll {
    gap: 0.2rem !important;
    row-gap: 0.28rem;
  }

  .topic-pill {
    font-size: 0.68rem !important;
    padding-inline: 0.48rem !important;
  }

  .media-nav-card-icon {
    width: 2.3rem;
    height: 2.3rem;
  }

.media-nav-card-title {
  font-size: 0.95rem;
  line-height: 1.28;
}

.media-nav-card-desc {
  font-size: 0.78rem;
  line-height: 1.38;
  }

  .digest-page .digest-title {
    font-size: 1.38rem;
    line-height: 1.12;
  }

  .digest-page .digest-date-nav a,
  .digest-page .digest-date-today {
    padding: 0.28rem 0.62rem;
    font-size: 0.8rem;
  }
}

@media (min-width: 540px) and (max-width: 900px) {
  .hp-briefings-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hp-cbd-cards,
  .hp-agency-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Public typography polish pass: calm utility chrome, tighten pills, and unify card rhythm. */
.service-shortcuts__inner {
  gap: 0.42rem;
  min-height: 2.8rem;
  padding: 0.42rem 0;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.service-shortcuts__label {
  font-size: 0.68rem;
  font-weight: 720;
  letter-spacing: 0.04em;
}

.service-shortcuts__item {
  min-height: 1.9rem;
  padding: 0.3rem 0.62rem;
  font-size: 0.74rem;
  font-weight: 620;
  box-shadow: none;
  scroll-snap-align: start;
}

.mobile-quick-nav {
  padding: 0.5rem 0.75rem 0.42rem;
  background:
    linear-gradient(180deg, hsl(var(--background)), hsl(var(--background)) 72%, hsl(var(--muted) / 0.14));
}

.mqn-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-height: 3rem;
  padding: 0.48rem 0.38rem;
  border-radius: 0.7rem;
  font-size: 0.66rem;
  font-weight: 620;
  line-height: 1.18;
  box-shadow: none;
}

.mqn-btn svg {
  opacity: 0.84;
}

.av-home-feed--plain .av-home-feed__item {
  padding: 0.54rem 0.82rem;
  min-height: 4rem;
}

.av-home-feed--plain .av-home-feed__text {
  font-size: 0.82rem;
  font-weight: 540;
  line-height: 1.38;
}

.cat-header {
  padding: 1rem 0 0.94rem;
}

.cat-header .av-page-header {
  gap: 0.38rem;
}

.cat-header .av-page-header__title {
  line-height: 1.1;
}

.cat-header .av-page-header__subtitle {
  font-size: 0.84rem;
  line-height: 1.44;
}

.cat-source-pills,
.filter-bar,
.announcements-banner {
  padding: 0.58rem 0.64rem;
  box-shadow: none;
}

.cat-source-pills {
  gap: 0.42rem;
}

.cat-source-pills__scroll {
  gap: 0.4rem;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.cat-source-label {
  font-size: 0.78rem;
  font-weight: 620;
}

.cat-source-pill,
.topic-pill,
.filter-pill,
.search-type-tabs .av-pill-tabs__tab,
.search-category-tabs .av-pill-tabs__tab {
  min-height: 1.88rem !important;
  padding-inline: 0.58rem !important;
  font-size: 0.74rem !important;
  line-height: 1.12;
  scroll-snap-align: start;
}

.filter-form {
  gap: 0.5rem;
}

.filter-form .av-input__label {
  font-size: 0.72rem;
  font-weight: 620;
}

.filter-submit-btn,
.filter-clear-btn,
.view-toggle .view-btn {
  width: 2.05rem;
  height: 2.05rem;
}

.view-toggle {
  gap: 0.18rem;
  padding: 0.14rem;
}

.active-filter-summary {
  gap: 0.4rem;
  padding: 0.5rem 0.62rem;
}

.active-filter-chip {
  padding: 0.22rem 0.5rem;
}

.cards-3 > .card .card-title,
.cards-4 > .card .card-title,
#articlesGrid .card-title {
  min-height: calc(1.38em * 2 + 1.55rem);
  padding: 0.78rem var(--ortcom-card-pad-x) 0.88rem !important;
  font-size: clamp(0.84rem, 0.8rem + 0.16vw, 0.92rem) !important;
  line-height: 1.38 !important;
}

.cards-3 > .card .card-title a,
.cards-4 > .card .card-title a,
#articlesGrid .card-title a {
  -webkit-line-clamp: 4;
}

.search-form {
  margin-top: 0.9rem;
  margin-bottom: 1rem;
}

.search-filters {
  margin-top: 0.75rem;
  position: relative;
}

.search-results-grid {
  gap: 1rem;
}

.search-results-grid .av-feed-card--horizontal {
  grid-template-columns: clamp(6.25rem, 17vw, 7.2rem) minmax(0, 1fr);
  gap: 0.82rem;
  align-items: stretch;
}

.search-results-grid .av-feed-card__media {
  border-radius: calc(var(--av-radius) - 0.08rem);
  overflow: hidden;
}

.search-results-grid .av-feed-card__body {
  padding: 0.78rem 0.82rem 0.82rem;
}

.search-results-grid .av-feed-card__title {
  font-size: clamp(0.92rem, 0.9rem + 0.14vw, 1rem);
  line-height: 1.42;
}

.search-results-grid .av-feed-card__deck {
  font-size: 0.84rem;
  line-height: 1.48;
  color: hsl(var(--muted-foreground));
}

.service-shortcuts__inner::-webkit-scrollbar,
.cat-source-pills__scroll::-webkit-scrollbar,
.search-type-tabs::-webkit-scrollbar,
.search-category-tabs::-webkit-scrollbar {
  display: none;
}

.search-type-tabs,
.search-category-tabs {
  position: relative;
  width: 100%;
  max-width: 100%;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.search-type-tabs::after,
.search-category-tabs::after {
  content: "";
  position: sticky;
  right: 0;
  width: 1.25rem;
  flex: 0 0 1.25rem;
  align-self: stretch;
  pointer-events: none;
  background: linear-gradient(90deg, hsl(var(--background) / 0), hsl(var(--background)) 82%);
}

.search-category-tabs .av-pill-tabs__tab > span:first-child {
  display: block;
  max-inline-size: clamp(8.25rem, 17vw, 12.5rem);
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 900px) {
  .service-shortcuts__inner {
    gap: 0.36rem;
  }

  .service-shortcuts__item {
    padding-inline: 0.58rem;
  }
}

@media (max-width: 720px) {
  .mobile-quick-nav {
    padding-top: 0.46rem;
    padding-bottom: 0.36rem;
  }

  .mqn-btn {
    min-height: 2.88rem;
    padding: 0.42rem 0.34rem;
    font-size: 0.64rem;
  }

  .cat-source-pills,
  .filter-bar,
  .announcements-banner {
    padding: 0.54rem 0.58rem;
  }

  .cards-3 > .card .card-title,
  .cards-4 > .card .card-title,
  #articlesGrid .card-title {
    padding-top: 0.72rem !important;
    padding-bottom: 0.8rem !important;
    font-size: 0.88rem !important;
  }

  .search-results-grid .av-feed-card__body {
    padding: 0.72rem 0.76rem 0.76rem;
  }

  .search-results-grid .av-feed-card__title {
    font-size: 0.92rem;
  }

  .search-results-grid .av-feed-card__deck {
    font-size: 0.82rem;
    line-height: 1.44;
  }
}

@media (max-width: 480px) {
  .mobile-quick-nav {
    padding-left: 0.68rem;
    padding-right: 0.68rem;
  }

  .mqn-btn {
    min-height: 2.78rem;
    gap: 0.16rem;
  }

  .cat-source-pill,
  .topic-pill,
  .filter-pill,
  .search-type-tabs .av-pill-tabs__tab,
  .search-category-tabs .av-pill-tabs__tab {
    min-height: 1.8rem !important;
    padding-inline: 0.54rem !important;
    font-size: 0.72rem !important;
  }

  .search-results-grid .av-feed-card--horizontal {
    grid-template-columns: 5.8rem minmax(0, 1fr);
    gap: 0.72rem;
  }

  .search-category-tabs .av-pill-tabs__tab > span:first-child {
    max-inline-size: min(45vw, 10.25rem);
  }

  .search-results-grid .av-feed-card__deck {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }
}

/* Menu + pill + footer stabilization v2: prevent touch double-taps from retriggering, keep compact chips and readable dark footer. */
.topic-pill,
.filter-pill {
  min-height: 1.84rem;
  padding-top: 0.27rem;
  padding-bottom: 0.27rem;
}

#mainNav a {
  min-height: 2.6rem;
}

#mainNav a:nth-last-child(2) {
  border-bottom: none;
}

#mainNav .mobile-nav-heading {
  padding-inline: 0.82rem;
}

[data-theme="dark"],
[data-site="ortcom"][data-theme="dark"] .site-footer {
  --_ortcom-dark-footer: hsl(224 34% 16%);
}

[data-theme="dark"] .site-footer,
[data-site="ortcom"][data-theme="dark"] .site-footer {
  background: var(--_ortcom-dark-footer, hsl(224 34% 16%));
  border-top-color: hsl(0 0% 100% / 0.16);
  color: hsl(0 0% 93% / 0.92);
}

[data-theme="dark"] .site-footer .footer-links a,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-links a,
[data-theme="dark"] .site-footer .footer-bottom a,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-bottom a,
[data-theme="dark"] .site-footer .footer-logo-sub,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-logo-sub,
[data-theme="dark"] .site-footer .footer-disclaimer,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-disclaimer {
  color: hsl(0 0% 92% / 0.84);
}

[data-theme="dark"] .site-footer .footer-links a:hover,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-links a:hover,
[data-theme="dark"] .site-footer .footer-bottom a:hover,
[data-site="ortcom"][data-theme="dark"] .site-footer .footer-bottom a:hover,
[data-theme="dark"] .site-footer .social-row a:hover,
[data-site="ortcom"][data-theme="dark"] .site-footer .social-row a:hover {
  color: hsl(0 0% 99% / 0.98);
}

[data-theme="dark"] .site-footer .social-row a,
[data-site="ortcom"][data-theme="dark"] .site-footer .social-row a {
  background: hsl(0 0% 100% / 0.08);
  color: hsl(0 0% 93% / 0.92);
}

[data-theme="dark"] .site-footer .social-row a:hover,
[data-site="ortcom"][data-theme="dark"] .site-footer .social-row a:hover {
  background: hsl(0 0% 100% / 0.16);
  color: #fff;
}

@media (max-width: 900px) {
  #mainNav {
    max-height: calc(100dvh - var(--header-h, 48px) - 4px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .topic-nav-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    row-gap: 0.3rem;
    column-gap: 0.3rem;
    scrollbar-width: thin;
  }

  .topic-pill,
  .filter-pill {
    white-space: nowrap;
    min-height: 1.78rem;
    padding-inline: 0.46rem;
    font-size: 0.72rem;
  }

  .topic-pill svg,
  .filter-pill svg {
    width: 0.72rem;
    height: 0.72rem;
  }
}

@media (max-width: 430px) {
  .topic-pill,
  .filter-pill {
    line-height: 1.12;
    border-radius: 0.5rem;
  }

  .topic-nav-scroll {
    padding-right: 0.6rem;
  }

  .site-footer .footer-bottom {
    align-items: flex-start;
    text-align: left;
    gap: 0.42rem;
  }
}

/* Public full-pass cleanup: unify photobank entrypoint and calm remaining mobile data surfaces. */
.media-registry .section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.media-registry .section-title {
  max-width: 18ch;
}

.media-registry .media-regulations-link {
  flex: 0 0 auto;
  min-height: 2rem;
  padding: 0.42rem 0.68rem;
  border: 1px solid var(--ortcom-ds-border);
  border-radius: 999px;
  background: hsl(var(--card));
  font-size: 0.78rem;
  line-height: 1.18;
  white-space: nowrap;
}

html[data-site="ortcom"] .media-registry .reg-stat-card:not(.reg-stat-card--primary) {
  background: hsl(var(--card));
  border-color: var(--ortcom-ds-border);
  color: hsl(var(--card-foreground));
}

html[data-site="ortcom"] .media-registry .reg-stat-card:not(.reg-stat-card--primary) .reg-stat-num {
  color: hsl(var(--card-foreground));
}

html[data-site="ortcom"] .media-registry .reg-stat-card:not(.reg-stat-card--primary) .reg-stat-label {
  color: hsl(var(--muted-foreground));
}

.monitoring-kpi-row .kpi-card,
.monitoring-chart-card,
.monitoring-sidebar-card,
.monitoring-section {
  min-width: 0;
}

@media (max-width: 720px) {
  .media-registry .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }

  .media-registry .section-title {
    max-width: none;
  }

  .media-registry .media-regulations-link {
    align-self: flex-start;
    min-height: 1.88rem;
    padding: 0.36rem 0.62rem;
    font-size: 0.74rem;
  }

  .media-registry .reg-stats {
    gap: 0.7rem;
  }

  .media-registry .reg-stat-card {
    padding: 0.78rem 0.72rem;
  }

  .monitoring-header {
    margin-bottom: 1rem !important;
    padding: 1rem 0 0.95rem !important;
  }

  .monitoring-kpi-row {
    gap: 0.65rem !important;
    margin-bottom: 0.85rem !important;
  }

  .monitoring-kpi-row .kpi-card {
    padding: 0.72rem !important;
  }

  .kpi-value {
    font-size: 1.72rem;
  }

  .kpi-value--sm {
    font-size: 1.12rem;
  }

  .monitoring-chart-card,
  .monitoring-sidebar-card,
  .monitoring-section {
    padding: 0.82rem !important;
  }

  .monitoring-section h2,
  .monitoring-chart-card h3,
  .monitoring-sidebar-card h3 {
    margin-bottom: 0.72rem;
  }
}

/* Final decisive overrides (authoritative):
   after all earlier/mobile-pass sections, keep dropdown/menu/pills/footer stable across
   all route states and avoid regressions from duplicated rules above. */
:root[data-site="ortcom"] {
  --_ortcom-mobile-mainnav-z: 1050;
}

html[data-site="ortcom"] {
  --ortcom-main-nav-top: calc(var(--header-h, 64px) + var(--_ortcom-header-nav-gap, 0px));
}

html[data-site="ortcom"] .site-header {
  position: sticky;
  top: 0;
  z-index: 1050;
}

html[data-site="ortcom"] #mainNav {
  position: fixed !important;
  top: var(--ortcom-main-nav-top) !important;
  left: 0 !important;
  right: 0 !important;
  inset-inline: 0 !important;
  width: 100% !important;
  z-index: var(--_ortcom-mobile-mainnav-z) !important;
  display: none !important;
  flex-direction: column !important;
  background: var(--navy, #152259) !important;
  border-top: 1px solid hsl(0 0% 100% / 0.1) !important;
  box-shadow: 0 14px 28px hsl(220 40% 12% / 0.28) !important;
  max-height: calc(100dvh - var(--ortcom-main-nav-top) - 2px) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

html[data-site="ortcom"] #mainNav.open {
  display: flex !important;
}

html[data-site="ortcom"] #mainNav a {
  min-height: 2.5rem !important;
  padding-top: 0.44rem !important;
  padding-bottom: 0.44rem !important;
  padding-inline: 1rem !important;
  font-size: 0.94rem !important;
}

html[data-site="ortcom"] #mainNav .mobile-nav-heading {
  min-height: auto !important;
  line-height: 1.22 !important;
  padding: 0.58rem 1rem 0.28rem !important;
}

html[data-site="ortcom"] #mainNav .mobile-nav-lang a {
  min-height: 2.45rem !important;
  padding-top: 0.34rem !important;
  padding-bottom: 0.34rem !important;
}

html[data-site="ortcom"] #mainNav,
html[data-site="ortcom"] #mainNav * {
  touch-action: manipulation;
}

html[data-site="ortcom"] .mobile-menu-btn,
html[data-site="ortcom"] .search-toggle {
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: transparent !important;
}

html[data-site="ortcom"] .topic-pill,
html[data-site="ortcom"] .filter-pill {
  min-height: 1.78rem !important;
  padding: 0.28rem 0.54rem !important;
  line-height: 1.14 !important;
  white-space: nowrap !important;
  border-radius: 999px !important;
}

html[data-site="ortcom"] .topic-pill svg,
html[data-site="ortcom"] .filter-pill svg,
html[data-site="ortcom"] .topic-pill__icon {
  width: 0.75rem !important;
  height: 0.75rem !important;
  flex: 0 0 auto;
}

html[data-site="ortcom"][data-theme="dark"] .site-footer,
html[data-site="ortcom"].dark .site-footer {
  background: hsl(224 34% 16%) !important;
  color: hsl(0 0% 95%) !important;
  border-top-color: hsl(0 0% 100% / 0.20) !important;
}

html[data-site="ortcom"][data-theme="dark"] .site-footer .footer-links a,
html[data-site="ortcom"][data-theme="dark"] .site-footer .footer-bottom a,
html[data-site="ortcom"][data-theme="dark"] .site-footer .footer-logo-sub,
html[data-site="ortcom"][data-theme="dark"] .site-footer .footer-disclaimer,
html[data-site="ortcom"].dark .site-footer .footer-links a,
html[data-site="ortcom"].dark .site-footer .footer-bottom a,
html[data-site="ortcom"].dark .site-footer .footer-logo-sub,
html[data-site="ortcom"].dark .site-footer .footer-disclaimer {
  color: hsl(0 0% 95% / 0.92) !important;
}

html[data-site="ortcom"][data-theme="dark"] .site-footer a:hover,
html[data-site="ortcom"][data-theme="dark"] .site-footer .footer-bottom a:hover,
html[data-site="ortcom"][data-theme="dark"] .site-footer .social-row a:hover,
html[data-site="ortcom"].dark .site-footer a:focus-visible,
html[data-site="ortcom"][data-theme="dark"] .site-footer a:focus-visible {
  color: hsl(0 0% 100%) !important;
}

html[data-site="ortcom"][data-theme="dark"] .site-footer .social-row a,
html[data-site="ortcom"].dark .site-footer .social-row a {
  color: hsl(0 0% 95% / 0.92) !important;
  background: hsl(0 0% 100% / 0.08) !important;
}

html[data-site="ortcom"][data-theme="dark"] .site-footer .social-row a:hover,
html[data-site="ortcom"].dark .site-footer .social-row a:hover {
  color: #fff !important;
  background: hsl(0 0% 100% / 0.16) !important;
}

html[data-site="ortcom"] .topic-hubs-page,
html[data-site="ortcom"] .topic-hub-page {
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

html[data-site="ortcom"] .topic-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.25rem);
  margin-top: clamp(1rem, 2vw, 1.75rem);
}

html[data-site="ortcom"] .topic-hub-card {
  color: inherit;
  text-decoration: none;
}

html[data-site="ortcom"] .topic-hub-card__inner {
  height: 100%;
}

html[data-site="ortcom"] .topic-hub-card__eyebrow,
html[data-site="ortcom"] .topic-hub-hero__eyebrow,
html[data-site="ortcom"] .topic-hub-article-card__category {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  min-height: 1.55rem;
  padding: 0.18rem 0.5rem;
  border: 1px solid hsl(224 60% 22% / 0.14);
  border-radius: 999px;
  background: hsl(224 60% 22% / 0.06);
  color: hsl(224 60% 22%);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
}

html[data-site="ortcom"] .topic-hub-card__title {
  margin: 0.7rem 0 0.45rem;
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.2;
}

html[data-site="ortcom"] .topic-hub-card__desc,
html[data-site="ortcom"] .topic-hub-hero__desc,
html[data-site="ortcom"] .topic-hub-article-card__lead {
  margin: 0;
  color: var(--av-color-text-muted, hsl(224 12% 42%));
  line-height: 1.5;
}

html[data-site="ortcom"] .topic-hub-hero {
  max-width: 52rem;
  padding: clamp(1.2rem, 3vw, 2.25rem) 0 clamp(0.9rem, 2vw, 1.4rem);
}

html[data-site="ortcom"] .topic-hub-hero__title {
  margin: 0.75rem 0 0.55rem;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: 0;
}

html[data-site="ortcom"] .topic-hub-section {
  margin-top: clamp(1.3rem, 3vw, 2.5rem);
}

html[data-site="ortcom"] .topic-hub-article-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
}

html[data-site="ortcom"] .topic-hub-article-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: hsl(224 24% 92%);
}

html[data-site="ortcom"] .topic-hub-article-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

html[data-site="ortcom"] .topic-hub-article-card__body {
  display: grid;
  gap: 0.48rem;
  padding: 0.82rem 0.9rem 1rem;
}

html[data-site="ortcom"] .topic-hub-article-card .card-title {
  margin: 0;
}

html[data-site="ortcom"] .topic-hub-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

html[data-site="ortcom"] .topic-hub-related__item {
  display: inline-flex;
  min-height: 1.9rem;
  align-items: center;
  border: 1px solid hsl(224 60% 22% / 0.15);
  border-radius: 999px;
  padding: 0.32rem 0.66rem;
  color: hsl(224 60% 22%);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

html[data-site="ortcom"] .tag-index-page,
html[data-site="ortcom"] .tag-detail-page {
  padding-bottom: clamp(2rem, 4vw, 4rem);
}

html[data-site="ortcom"] .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: clamp(1rem, 2vw, 1.5rem);
}

html[data-site="ortcom"] .tag-cloud__item {
  display: inline-flex;
  min-height: 2rem;
  max-width: 100%;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid hsl(224 60% 22% / 0.14);
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  background: hsl(224 60% 22% / 0.04);
  color: hsl(224 60% 22%);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.14;
  text-decoration: none;
}

html[data-site="ortcom"] .tag-cloud__item b {
  display: inline-flex;
  min-width: 1.35rem;
  height: 1.35rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: hsl(224 60% 22%);
  color: #fff;
  font-size: 0.72rem;
}

html[data-site="ortcom"][data-theme="dark"] .topic-hub-card__eyebrow,
html[data-site="ortcom"][data-theme="dark"] .topic-hub-hero__eyebrow,
html[data-site="ortcom"][data-theme="dark"] .topic-hub-article-card__category,
html[data-site="ortcom"].dark .topic-hub-card__eyebrow,
html[data-site="ortcom"].dark .topic-hub-hero__eyebrow,
html[data-site="ortcom"].dark .topic-hub-article-card__category {
  border-color: hsl(0 0% 100% / 0.16);
  background: hsl(0 0% 100% / 0.08);
  color: hsl(44 51% 68%);
}

html[data-site="ortcom"][data-theme="dark"] .topic-hub-related__item,
html[data-site="ortcom"].dark .topic-hub-related__item {
  border-color: hsl(0 0% 100% / 0.16);
  color: hsl(44 51% 68%);
}

html[data-site="ortcom"][data-theme="dark"] .tag-cloud__item,
html[data-site="ortcom"].dark .tag-cloud__item {
  border-color: hsl(0 0% 100% / 0.14);
  background: hsl(0 0% 100% / 0.07);
  color: hsl(44 51% 68%);
}

html[data-site="ortcom"][data-theme="dark"] .tag-cloud__item b,
html[data-site="ortcom"].dark .tag-cloud__item b {
  background: hsl(44 51% 54%);
  color: hsl(224 50% 16%);
}

@media (max-width: 900px) {
  html[data-site="ortcom"] .topic-nav-scroll {
    gap: 0.22rem !important;
    padding-top: 0.42rem !important;
    padding-bottom: 0.42rem !important;
    row-gap: 0.3rem !important;
    column-gap: 0.3rem !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: thin !important;
  }

  html[data-site="ortcom"] .topic-pill,
  html[data-site="ortcom"] .filter-pill {
    min-height: 1.72rem !important;
    padding-inline: 0.5rem !important;
    font-size: 0.72rem !important;
  }

  html[data-site="ortcom"] .topic-hub-hero__title {
    font-size: clamp(1.8rem, 8vw, 2.7rem);
  }
}

@media (max-width: 480px) {
  html[data-site="ortcom"] .topic-pill,
  html[data-site="ortcom"] .filter-pill {
    line-height: 1.12 !important;
    min-height: 1.64rem !important;
    padding-inline: 0.46rem !important;
    font-size: 0.68rem !important;
    border-radius: 999px !important;
  }

  html[data-site="ortcom"] .site-footer {
    padding-top: 0.82rem !important;
    padding-bottom: 0.68rem !important;
  }

  html[data-site="ortcom"] .footer-bottom {
    align-items: flex-start !important;
    text-align: left !important;
    gap: 0.42rem !important;
  }

  html[data-site="ortcom"] .topic-hub-card__title {
    font-size: 1rem;
  }

  html[data-site="ortcom"] .topic-hub-article-card__body {
    padding: 0.72rem 0.78rem 0.9rem;
  }
}

@media (max-width: 320px) {
  html[data-site="ortcom"] .header-inner {
    gap: 0.35rem;
    height: 42px;
  }

  html[data-site="ortcom"] .logo {
    min-width: 0;
    gap: 0.42rem;
    flex: 1 1 auto;
  }

  html[data-site="ortcom"] .logo-img {
    height: 22px;
    width: auto;
    flex: 0 0 auto;
  }

  html[data-site="ortcom"] .logo-text {
    min-width: 0;
    flex: 1 1 auto;
  }

  html[data-site="ortcom"] .logo-title {
    font-size: 0.62rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  html[data-site="ortcom"] .logo-title--full {
    display: none;
  }

  html[data-site="ortcom"] .logo-title--compact {
    display: block;
    font-size: 0.74rem;
    line-height: 1;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    letter-spacing: 0.02em;
  }

  html[data-site="ortcom"] .logo-sub {
    display: none;
  }

  html[data-site="ortcom"] .header-actions {
    gap: 0.18rem;
    flex: 0 0 auto;
  }

  html[data-site="ortcom"] .search-toggle,
  html[data-site="ortcom"] .mobile-menu-btn {
    width: 2rem;
    height: 2rem;
  }

  html[data-site="ortcom"] .lang-switch {
    display: none;
  }

  html[data-site="ortcom"] .topic-nav-scroll {
    gap: 0.18rem !important;
    padding-top: 0.34rem !important;
    padding-bottom: 0.34rem !important;
    padding-left: 0.55rem !important;
    padding-right: 2rem !important;
    scroll-padding-inline: 0.55rem 2rem !important;
  }

  html[data-site="ortcom"] .topic-pill,
  html[data-site="ortcom"] .filter-pill {
    min-height: 1.54rem !important;
    padding-inline: 0.4rem !important;
    font-size: 0.64rem !important;
  }

  html[data-site="ortcom"] .mobile-quick-nav {
    gap: 0.38rem;
    padding: 0.42rem 0.58rem 0.32rem;
  }

  html[data-site="ortcom"] .mqn-btn {
    min-height: 2.58rem;
    padding: 0.34rem 0.2rem;
    font-size: 0.58rem;
    gap: 0.12rem;
    border-radius: 0.58rem;
  }

  html[data-site="ortcom"] .mqn-btn svg {
    width: 0.92rem;
    height: 0.92rem;
  }

  html[data-site="ortcom"] .av-home-hero__content {
    padding: 1rem 0.82rem 0.88rem;
  }

  html[data-site="ortcom"] .av-home-hero__title {
    font-size: clamp(0.94rem, 7vw, 1.12rem);
    line-height: 1.14;
  }

  html[data-site="ortcom"] .av-home-hero__date--corner {
    top: 0.68rem;
    left: 0.68rem;
    min-height: 1.7rem;
    padding-inline: 0.56rem;
    font-size: 0.7rem;
  }

  html[data-site="ortcom"] .hp-hero-carousel__controls {
    display: none;
  }

  html[data-site="ortcom"] .av-home-feed__item {
    gap: 0.58rem;
    padding: 0.62rem 0.78rem;
  }

  html[data-site="ortcom"] .av-home-feed__time {
    min-width: 2.85rem;
    font-size: 0.84rem;
  }

  html[data-site="ortcom"] .av-home-feed__text {
    font-size: 0.84rem;
    line-height: 1.28;
  }

  html[data-site="ortcom"] .cat-header {
    padding: 0.78rem 0 0.8rem;
  }

  html[data-site="ortcom"] .cat-header .av-page-header__title {
    font-size: 1.04rem;
    line-height: 1.06;
  }

  html[data-site="ortcom"] .cat-header .av-page-header__subtitle {
    font-size: 0.76rem;
  }

  html[data-site="ortcom"] .cat-source-pills,
  html[data-site="ortcom"] .filter-bar,
  html[data-site="ortcom"] .announcements-banner {
    padding: 0.5rem;
  }

  html[data-site="ortcom"] .cat-source-pills__scroll {
    gap: 0.32rem;
    padding-bottom: 0.14rem;
  }

  html[data-site="ortcom"] .cat-source-pill {
    min-height: 1.72rem;
    padding-inline: 0.46rem;
    font-size: 0.68rem;
  }

  html[data-site="ortcom"] .filter-form {
    grid-template-columns: 1fr !important;
    gap: 0.5rem;
  }

  html[data-site="ortcom"] .filter-form .av-field,
  html[data-site="ortcom"] .filter-form .filter-group--search,
  html[data-site="ortcom"] .filter-form .filter-group--select,
  html[data-site="ortcom"] .filter-form .filter-group--date,
  html[data-site="ortcom"] .filter-actions-row {
    grid-column: 1 / -1 !important;
    width: 100%;
  }

  html[data-site="ortcom"] .filter-form .filter-group--date {
    min-width: 0;
  }

  html[data-site="ortcom"] .filter-form .av-input__label {
    font-size: 0.68rem;
    margin-bottom: 0.18rem;
  }

  html[data-site="ortcom"] .filter-form .av-input__wrapper,
  html[data-site="ortcom"] .filter-form .av-select__wrapper {
    width: 100%;
  }

  html[data-site="ortcom"] .filter-actions-row {
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
  }

  html[data-site="ortcom"] .filter-actions-row .filter-submit-btn,
  html[data-site="ortcom"] .filter-actions-row .filter-clear-btn {
    width: 2.12rem;
    height: 2.12rem;
  }

  html[data-site="ortcom"] .filter-actions-row .view-toggle {
    margin-left: auto;
    flex: 0 0 auto;
  }
}

/* AV DS 4 adoption pass: accent cards, compact charts, enhanced registry table */
html[data-site="ortcom"] .govpress-stat-card--accent {
  display: grid;
  gap: 0.35rem;
  min-height: 100%;
  text-align: left;
}

html[data-site="ortcom"] .govpress-stat-card--accent .govpress-stat-num {
  margin: 0;
}

html[data-site="ortcom"] .govpress-stat-card--accent .govpress-stat-label {
  margin: 0;
}

html[data-site="ortcom"] .antifake-index-page .af-insights-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

html[data-site="ortcom"] .antifake-index-page .af-insight-card {
  display: grid;
  gap: 0.8rem;
}

html[data-site="ortcom"] .antifake-index-page .af-insight-card__eyebrow {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.76;
}

html[data-site="ortcom"] .antifake-index-page .af-insight-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.2;
}

html[data-site="ortcom"] .antifake-index-page .af-insight-card__bars {
  display: grid;
  gap: 0.55rem;
}

html[data-site="ortcom"] .antifake-index-page .af-insight-card__trend {
  display: flex;
  align-items: center;
}

html[data-site="ortcom"] .antifake-index-page .af-insight-card__note {
  margin: 0;
  color: hsl(224 18% 36%);
  font-size: 0.9rem;
  line-height: 1.45;
}

html[data-site="ortcom"][data-theme="dark"] .antifake-index-page .af-insight-card__note,
html[data-site="ortcom"].dark .antifake-index-page .af-insight-card__note {
  color: hsl(44 18% 78%);
}

html[data-site="ortcom"] .media-registry .av-table-toolbar {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

html[data-site="ortcom"] .media-registry .media-registry-table .av-data-table__td,
html[data-site="ortcom"] .media-registry .media-registry-table .av-data-table__th {
  vertical-align: top;
}

html[data-site="ortcom"] .media-registry .media-registry-table .av-data-table__td:first-child {
  font-weight: 700;
}

html[data-site="ortcom"] .media-registry .av-pagination {
  margin-top: 1rem;
}

@media (max-width: 900px) {
  html[data-site="ortcom"] .antifake-index-page .af-insights-grid {
    grid-template-columns: 1fr;
  }
}

html[data-site="ortcom"] .about-accent-card,
html[data-site="ortcom"] .about-platform-card,
html[data-site="ortcom"] .about-side-card,
html[data-site="ortcom"] .press-contacts-card.av-accent-card {
  display: grid;
  gap: 0.65rem;
  min-height: 100%;
}

html[data-site="ortcom"] .about-accent-card .contacts-card__title,
html[data-site="ortcom"] .about-platform-card .sidebar-block-title,
html[data-site="ortcom"] .about-side-card .sidebar-block-title,
html[data-site="ortcom"] .press-contacts-card .press-contacts-card__title {
  margin: 0;
}

html[data-site="ortcom"] .about-accent-card .contacts-card__text,
html[data-site="ortcom"] .about-platform-card .contacts-info p,
html[data-site="ortcom"] .about-side-card .contacts-info p,
html[data-site="ortcom"] .press-contacts-card .press-contacts-link {
  margin: 0;
}

html[data-site="ortcom"] .about-platform-card .contacts-info,
html[data-site="ortcom"] .about-side-card .contacts-info,
html[data-site="ortcom"] .press-contacts-card.av-accent-card {
  gap: 0.7rem;
}

html[data-site="ortcom"][data-theme="dark"] .about-accent-card .contacts-card__icon svg,
html[data-site="ortcom"][data-theme="dark"] .about-platform-card .contacts-heading-icon,
html[data-site="ortcom"][data-theme="dark"] .about-side-card .contacts-heading-icon,
html[data-site="ortcom"].dark .about-accent-card .contacts-card__icon svg,
html[data-site="ortcom"].dark .about-platform-card .contacts-heading-icon,
html[data-site="ortcom"].dark .about-side-card .contacts-heading-icon {
  stroke: currentColor;
}

html[data-site="ortcom"] .media-nav-card--accent {
  display: grid;
  gap: 0.65rem;
  min-height: 100%;
}

html[data-site="ortcom"] .media-nav-card--accent .card-title,
html[data-site="ortcom"] .media-nav-card--accent .media-nav-card-desc,
html[data-site="ortcom"] .media-nav-card--accent .media-nav-card-count {
  margin: 0;
}

html[data-site="ortcom"] .acc-quick-card__surface {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.8rem;
  min-height: 100%;
}

html[data-site="ortcom"] .acc-sidebar-cta.av-accent-card {
  display: grid;
  gap: 0.8rem;
}

html[data-site="ortcom"] .acc-sidebar-cta.av-accent-card .acc-sidebar-cta__title,
html[data-site="ortcom"] .acc-sidebar-cta.av-accent-card .acc-sidebar-cta__text {
  margin: 0;
}

html[data-site="ortcom"] .topic-hub-card__inner.av-accent-card,
html[data-site="ortcom"] .initiative-card.av-accent-card {
  display: grid;
  gap: 0.7rem;
  min-height: 100%;
}

html[data-site="ortcom"] .topic-hub-card__inner.av-accent-card .topic-hub-card__title,
html[data-site="ortcom"] .topic-hub-card__inner.av-accent-card .topic-hub-card__desc,
html[data-site="ortcom"] .initiative-card.av-accent-card .initiative-card-title,
html[data-site="ortcom"] .initiative-card.av-accent-card .initiative-card-lead,
html[data-site="ortcom"] .initiative-card.av-accent-card .initiative-card-more {
  margin: 0;
}
/* AntiFake/CCD product shell: standalone identity on the shared ORTCOM runtime. */
html[data-product="antifake"] .af-site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  color: hsl(var(--primary-foreground));
  background: var(--navy-deep);
  border-bottom: 1px solid hsl(var(--primary-foreground) / 0.14);
}

html[data-product="antifake"] .af-site-header__inner {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

html[data-product="antifake"] .af-site-brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}

html[data-product="antifake"] .af-site-brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid hsl(var(--primary-foreground) / 0.18);
  border-radius: var(--av-radius);
  background: hsl(var(--primary-foreground) / 0.06);
}

html[data-product="antifake"] .af-site-brand__mark svg {
  width: 1.45rem;
  height: 1.45rem;
}

html[data-product="antifake"] .af-site-brand__copy {
  min-width: 0;
  display: grid;
  gap: 0.1rem;
}

html[data-product="antifake"] .af-site-brand__copy strong {
  overflow: hidden;
  color: inherit;
  font-size: 0.96rem;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-product="antifake"] .af-site-brand__short {
  display: none;
}

html[data-product="antifake"] .af-site-brand__copy span {
  color: hsl(var(--primary-foreground) / 0.64);
  font-size: 0.72rem;
  line-height: 1.25;
}

html[data-product="antifake"] .af-site-header__actions,
html[data-product="antifake"] .af-site-languages {
  display: flex;
  align-items: center;
}

html[data-product="antifake"] .af-site-header__actions {
  flex: 0 0 auto;
  gap: 0.75rem;
}

html[data-product="antifake"] .af-site-report-link {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 0.9rem;
  color: var(--navy-deep);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: var(--av-radius);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

html[data-product="antifake"] .af-site-report-link svg {
  width: 1rem;
  height: 1rem;
  display: none;
}

html[data-product="antifake"] .af-site-languages {
  padding: 0.2rem;
  border: 1px solid hsl(var(--primary-foreground) / 0.16);
  border-radius: var(--av-radius);
  background: hsl(var(--primary-foreground) / 0.06);
}

html[data-product="antifake"] .af-site-languages a {
  min-width: 2rem;
  min-height: 2rem;
  display: grid;
  place-items: center;
  color: hsl(var(--primary-foreground) / 0.66);
  border-radius: calc(var(--av-radius) - 2px);
  font-size: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

html[data-product="antifake"] .af-site-languages a[aria-current="page"] {
  color: var(--navy-deep);
  background: var(--gold);
}

html[data-product="antifake"] .af-site-nav {
  border-top: 1px solid hsl(var(--primary-foreground) / 0.1);
}

html[data-product="antifake"] .af-site-nav__scroll {
  min-height: 2.75rem;
  display: flex;
  align-items: stretch;
  gap: 0.2rem;
  overflow-x: auto;
  scrollbar-width: none;
}

html[data-product="antifake"] .af-site-nav__scroll::-webkit-scrollbar {
  display: none;
}

html[data-product="antifake"] .af-site-nav a {
  position: relative;
  min-height: 2.75rem;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  padding: 0 0.75rem;
  color: hsl(var(--primary-foreground) / 0.72);
  font-size: 0.76rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

html[data-product="antifake"] .af-site-nav a:hover,
html[data-product="antifake"] .af-site-nav a[aria-current="page"] {
  color: hsl(var(--primary-foreground));
}

html[data-product="antifake"] .af-site-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0.75rem;
  bottom: 0;
  left: 0.75rem;
  height: 2px;
  content: "";
  background: var(--gold);
}

html[data-product="antifake"] .af-site-nav .af-site-nav__ortcom {
  margin-left: auto;
  color: hsl(var(--primary-foreground) / 0.55);
}

html[data-product="antifake"] .af-site-footer {
  margin-top: 3rem;
  color: hsl(var(--primary-foreground));
  background: var(--navy-deep);
}

html[data-product="antifake"] .af-site-footer__inner {
  display: grid;
  grid-template-columns: minmax(15rem, 1.2fr) minmax(18rem, 1fr);
  gap: 1.5rem 3rem;
  padding-top: 2rem;
  padding-bottom: 1.25rem;
}

html[data-product="antifake"] .af-site-footer__identity {
  display: grid;
  gap: 0.35rem;
}

html[data-product="antifake"] .af-site-footer__identity strong {
  font-size: 0.95rem;
}

html[data-product="antifake"] .af-site-footer__identity span,
html[data-product="antifake"] .af-site-footer__meta {
  color: hsl(var(--primary-foreground) / 0.58);
  font-size: 0.74rem;
  line-height: 1.55;
}

html[data-product="antifake"] .af-site-footer__links {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.85rem 1.15rem;
  flex-wrap: wrap;
}

html[data-product="antifake"] .af-site-footer__links a {
  color: hsl(var(--primary-foreground) / 0.76);
  font-size: 0.75rem;
  text-decoration: none;
}

html[data-product="antifake"] .af-site-footer__meta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--primary-foreground) / 0.12);
}

@media (max-width: 760px) {
  html[data-product="antifake"] .af-site-header__inner {
    min-height: 3.75rem;
  }

  html[data-product="antifake"] .af-site-brand__mark {
    width: 2.25rem;
    height: 2.25rem;
    flex-basis: 2.25rem;
  }

  html[data-product="antifake"] .af-site-brand__copy strong {
    max-width: none;
    font-size: 0.82rem;
  }

  html[data-product="antifake"] .af-site-brand__full {
    display: none;
  }

  html[data-product="antifake"] .af-site-brand__short {
    display: inline;
  }

  html[data-product="antifake"] .af-site-brand__copy > span {
    display: none;
  }

  html[data-product="antifake"] .af-site-report-link {
    width: 2.75rem;
    min-height: 2.75rem;
    justify-content: center;
    padding: 0;
  }

  html[data-product="antifake"] .af-site-languages a {
    min-width: 2.75rem;
    min-height: 2.75rem;
  }

  html[data-product="antifake"] .af-site-report-link svg {
    display: block;
  }

  html[data-product="antifake"] .af-site-report-link span {
    display: none;
  }

  html[data-product="antifake"] .af-site-header__actions {
    gap: 0.35rem;
  }

  html[data-product="antifake"] .af-site-nav__scroll {
    margin-right: -1rem;
    padding-right: 1rem;
  }

  html[data-product="antifake"] .af-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  html[data-product="antifake"] .af-site-footer__links {
    justify-content: flex-start;
  }

  html[data-product="antifake"] .af-site-footer__meta {
    grid-column: auto;
    display: grid;
  }
}

/* AntiFake final public pass: one reliable editorial theme and mobile ergonomics. */
html[data-product="antifake"][data-theme="dark"] {
  color-scheme: light;
  --background: 216 20% 97%;
  --foreground: 220 25% 10%;
  --border: 216 12% 88%;
  --card: 216 18% 98%;
  --card-foreground: 220 25% 10%;
  --card-border: 216 12% 92%;
  --popover: 216 18% 96%;
  --popover-foreground: 220 25% 10%;
  --popover-border: 216 12% 88%;
  --primary: 224 60% 22%;
  --primary-foreground: 0 0% 100%;
  --secondary: 216 14% 91%;
  --secondary-foreground: 220 25% 10%;
  --muted: 216 12% 92%;
  --muted-foreground: 216 10% 42%;
  --input: 216 12% 78%;
  --ring: 224 60% 22%;
  --ortcom-ds-border: #e2e5ea;
  --ortcom-ds-border-soft: #eef0f4;
}

html[data-product="antifake"] .af-site-header,
html[data-product="antifake"] .af-site-footer {
  color: hsl(0 0% 100%);
}

html[data-product="antifake"] .af-site-brand__copy span,
html[data-product="antifake"] .af-site-languages a,
html[data-product="antifake"] .af-site-nav a,
html[data-product="antifake"] .af-site-footer__links a {
  color: hsl(0 0% 100% / 0.76);
}

html[data-product="antifake"] .af-site-nav .af-site-nav__ortcom,
html[data-product="antifake"] .af-site-footer__identity span,
html[data-product="antifake"] .af-site-footer__meta {
  color: hsl(0 0% 100% / 0.62);
}

html[data-product="antifake"] .af-site-nav a:hover,
html[data-product="antifake"] .af-site-nav a[aria-current="page"],
html[data-product="antifake"] .af-site-footer__links a:hover,
html[data-product="antifake"] .af-site-footer__links a:focus-visible {
  color: hsl(0 0% 100%);
}

html[data-product="antifake"] .af-report-shell,
html[data-product="antifake"] .af-report-shell * {
  box-sizing: border-box;
}

@media (max-width: 760px) {
  html[data-product="antifake"] .af-site-brand,
  html[data-product="antifake"] .af-site-nav a,
  html[data-product="antifake"] .af-site-footer__links a {
    min-height: 2.75rem;
  }

  html[data-product="antifake"] .af-site-footer__links a {
    display: inline-flex;
    align-items: center;
  }

  html[data-product="antifake"] .af-report-shell {
    width: 100%;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  html[data-product="antifake"] .antifake-index-page .af-filter-btn,
  html[data-product="antifake"] .antifake-index-page .af-verdict-pill,
  html[data-product="antifake"] .antifake-index-page .af-export-btn,
  html[data-product="antifake"] .antifake-index-page .af-search-form,
  html[data-product="antifake"] .antifake-index-page .af-search-btn,
  html[data-product="antifake"] .antifake-index-page .af-date-filters input[type="date"],
  html[data-product="antifake"] .antifake-index-page .af-date-filters .af-date-apply,
  html[data-product="antifake"] .antifake-index-page .af-date-filters .af-date-reset {
    min-height: 2.75rem;
  }

  html[data-product="antifake"] .af-report-form .av-input,
  html[data-product="antifake"] .af-report-form .av-textarea,
  html[data-product="antifake"] .af-report-submit {
    width: 100%;
    max-width: 100%;
  }
}

/* Final antifake index layout guard.
   The overlay file contains legacy grid rules from several redesign passes; this
   scoped rule keeps the public fact-check index inside its content column. */
html[data-product="antifake"] .antifake-index-page .af-main,
html[data-product="antifake"] .antifake-index-page .af-grid,
html[data-product="antifake"] .antifake-index-page .af-card {
  max-width: 100%;
  min-width: 0;
}

html[data-product="antifake"] .antifake-index-page .af-grid {
  display: grid;
  grid-auto-columns: auto !important;
  grid-auto-flow: row !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
}

html[data-product="antifake"] .antifake-index-page .af-grid > .af-card {
  grid-column: auto !important;
  width: auto !important;
}

@media (max-width: 760px) {
  html[data-product="antifake"] .af-site-nav__scroll {
    box-sizing: border-box;
    margin-right: 0;
    max-width: 100%;
    padding-right: 1rem;
    width: 100%;
  }

  html[data-product="antifake"] .antifake-index-page .af-insights-grid {
    display: none;
  }

  html[data-product="antifake"] .antifake-index-page .af-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
