/* v11 - Блог КЛАНа · свежий взгляд на структуру v1 */

:root {
  color-scheme: dark;
  --gold: #d0a45d;
  --gold-bright: #ebcf8f;
  --gold-soft: rgba(208, 164, 93, 0.12);
  --gold-line: rgba(208, 164, 93, 0.28);
  --bg: #10060a;
  --surface: #17100f;
  --card: #1a1211;
  --card-hover: #211715;
  --card-border: rgba(208, 164, 93, 0.18);
  --text: #e8dfd0;
  --text-strong: #faf4ea;
  --muted: #a39787;
  --muted-2: #7f7468;
  --header-bg: rgba(16, 6, 10, 0.88);
  --input-bg: #120c0b;
  --chip-active-bg: #d0a45d;
  --chip-active-text: #1a1008;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Outfit", system-ui, sans-serif;
  --page-max: 1240px;
  --sidebar-w: 240px;
  --radius: 10px;
  --radius-sm: 6px;
}

html[data-theme="light"] {
  color-scheme: light;
  --gold: #9e7530;
  --gold-bright: #b8893c;
  --gold-soft: rgba(158, 117, 48, 0.1);
  --gold-line: rgba(80, 56, 24, 0.16);
  --bg: #f4efe7;
  --surface: #fffdf9;
  --card: #ffffff;
  --card-hover: #fffaf3;
  --card-border: rgba(28, 20, 16, 0.08);
  --text: #2a221c;
  --text-strong: #14100e;
  --muted: #6d6154;
  --muted-2: #8a7d6f;
  --header-bg: rgba(244, 239, 231, 0.9);
  --input-bg: #ffffff;
  --chip-active-bg: #9e7530;
  --chip-active-text: #fff;
  --shadow: 0 14px 34px rgba(28, 20, 16, 0.08);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(ellipse 70% 40% at 50% -10%, rgba(208, 164, 93, 0.09), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 20%, rgba(122, 36, 48, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

html[data-theme="light"] body {
  background:
    radial-gradient(ellipse 60% 35% at 50% 0%, rgba(208, 164, 93, 0.08), transparent 50%),
    linear-gradient(180deg, #faf6ef 0%, var(--bg) 28%);
}

img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--gold-line);
  background: var(--header-bg);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 16px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.site-header__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px 0 10px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--text-strong);
}

.menu-toggle__bars {
  width: 18px;
  height: 14px;
  display: grid;
  align-content: space-between;
}

.menu-toggle__bars i {
  display: block;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
}

.menu-toggle__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mobile-menu-backdrop {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color .15s;
}

.site-nav a:hover { color: var(--text); }

.site-nav a.is-active {
  color: var(--text-strong);
  position: relative;
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -12px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.site-logo img { height: 32px; width: auto; }

.site-header__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--gold-line);
  border-radius: 999px;
  background: var(--gold-soft);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.contact-pill svg {
  width: 13px;
  height: 13px;
  color: var(--gold);
  flex-shrink: 0;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
}

.theme-toggle:hover { background: var(--gold-soft); }
.theme-toggle svg { width: 17px; height: 17px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="light"] .theme-toggle .icon-moon { display: none; }
html[data-theme="light"] .theme-toggle .icon-sun { display: block; }

/* Layout */
.page-wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 36px 28px 0;
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* Sidebar */
.sidebar {
  position: sticky;
  top: 92px;
}

.sidebar-mobile-head,
.sidebar-search,
.sidebar-nav,
.sidebar-contacts {
  display: none;
}

.sidebar-section + .sidebar-section { margin-top: 32px; }

.sidebar-title {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.category-list button {
  width: 100%;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-align: left;
  transition: background .15s, color .15s;
}

.category-list button:hover,
.category-list button.is-active {
  color: var(--text-strong);
  background: var(--gold-soft);
}

.category-list button svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
}

.category-list .count {
  font-size: 12px;
  color: var(--muted-2);
}

.tag-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.tag-chip {
  padding: 9px 10px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  color: var(--muted);
  transition: border-color .15s, color .15s, background .15s;
}

.tag-chip:hover,
.tag-chip.is-active {
  color: var(--text-strong);
  border-color: var(--gold);
  background: var(--gold-soft);
}

.sidebar-note {
  margin-top: 32px;
  padding: 16px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  background: var(--gold-soft);
}

.sidebar-note span {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.sidebar-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* Featured */
.featured {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.featured__media {
  min-height: 280px;
  overflow: hidden;
  background: #1a1210;
}

.featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.featured:hover .featured__media img { transform: scale(1.04); }

.featured__body {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured__cat {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.featured__title {
  margin: 0 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-strong);
}

.featured__title a:hover { color: var(--gold-bright); }

.featured__excerpt {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.featured__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  font-size: 13px;
  color: var(--muted-2);
}

.featured__meta a {
  margin-left: auto;
  color: var(--gold);
  font-weight: 600;
}

.featured__meta a:hover { color: var(--gold-bright); }

/* Toolbar */
.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  align-items: center;
  margin-bottom: 14px;
}

.search-box { position: relative; }

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: var(--muted-2);
  pointer-events: none;
}

.search-box input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text);
  font-size: 14px;
}

.search-box input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.sort-select-wrap { position: relative; }

.sort-select-wrap select {
  appearance: none;
  height: 44px;
  padding: 0 36px 0 14px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  background: var(--input-bg);
  color: var(--text);
  font-size: 13px;
}

.sort-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  background: var(--card-hover);
}

.post-card.is-hidden,
.featured.is-hidden,
.featured[hidden] { display: none; }

.post-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1a1210;
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.post-card:hover .post-card__media img { transform: scale(1.05); }

.post-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__cat {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.post-card__title {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: 1.28rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-strong);
}

.post-card__title a:hover { color: var(--gold-bright); }

.post-card__excerpt {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  flex: 1;
}

.post-card__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--card-border);
  font-size: 12px;
  color: var(--muted-2);
}

.post-card__meta-left {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 0;
  min-width: 0;
}

.post-card__meta-left > * + *::before {
  content: "·";
  margin: 0 8px 0 2px;
}

.post-card__stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: inherit;
  line-height: 1;
}

.post-card__stat svg {
  width: 13px;
  height: 13px;
  flex: 0 0 auto;
}

.post-card__like {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
  transition: color .15s;
}

.post-card__like:hover,
.post-card__like.is-active {
  color: var(--gold);
}

.post-card__like.is-active svg {
  fill: currentColor;
  stroke: currentColor;
}

.post-card__read {
  color: var(--gold);
  font-weight: 600;
}

.empty-state {
  margin: 28px 0;
  padding: 28px;
  border: 1px dashed var(--gold-line);
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 36px 0 48px;
}

.page-btn {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 14px;
}

.page-btn:hover { border-color: var(--gold); color: var(--text); }

.page-btn.is-active {
  background: var(--chip-active-bg);
  border-color: var(--chip-active-bg);
  color: var(--chip-active-text);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--gold-line);
  margin-top: 8px;
}

.site-footer__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 24px 28px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img { height: 26px; }

.footer-age {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-line);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
}

.footer-note {
  margin: 0;
  max-width: 320px;
  font-size: 12px;
  color: var(--muted-2);
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.footer-copy {
  margin: 0;
  font-size: 12px;
  color: var(--muted-2);
}

/* Responsive */
@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured { grid-template-columns: 1fr; }
  .featured__media { min-height: 220px; }
}

@media (max-width: 860px) {
  .page-wrap {
    grid-template-columns: 1fr;
    padding: 24px 18px 0;
  }

  .menu-toggle { display: inline-flex; }
  .site-nav { display: none; }
  .contact-pill--address { display: none; }
  .contact-pill__text { display: none; }
  .contact-pill {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
    padding: 12px 14px;
    gap: 10px;
  }

  .site-logo {
    justify-self: center;
  }

  .site-logo img { height: 28px; }

  .toolbar .search-box { display: none; }

  .mobile-menu-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: none;
    border: 0;
    padding: 0;
    background: rgba(8, 2, 4, .58);
    cursor: pointer;
  }

  body.menu-open .mobile-menu-backdrop {
    display: block;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 70;
    width: min(360px, 88vw);
    height: 100dvh;
    margin: 0;
    padding: 18px 16px 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background:
      radial-gradient(circle at 0% 0%, rgba(208, 164, 93, .12), transparent 42%),
      var(--surface);
    border-right: 1px solid var(--gold-line);
    box-shadow: 18px 0 48px rgba(0, 0, 0, .35);
    transform: translateX(-105%);
    transition: transform .28s ease;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  body.menu-open {
    overflow: hidden;
  }

  .sidebar-mobile-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
  }

  .sidebar-mobile-kicker {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
  }

  .sidebar-mobile-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 1.55rem;
    line-height: 1.1;
    color: var(--text-strong);
  }

  .sidebar-mobile-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-line);
    border-radius: 50%;
    background: transparent;
    color: var(--muted);
    font-size: 24px;
    line-height: 1;
  }

  .sidebar-search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 48px;
    margin-bottom: 18px;
    padding: 0 14px;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius-sm);
    background: var(--input-bg);
  }

  .sidebar-search svg {
    width: 18px;
    height: 18px;
    color: var(--gold);
  }

  .sidebar-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-strong);
    font-size: 15px;
  }

  .sidebar-search input::placeholder {
    color: var(--muted-2);
  }

  .sidebar-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 24px;
  }

  .sidebar-nav a {
    min-height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
  }

  .sidebar-nav a.is-active {
    color: var(--chip-active-text);
    background: var(--chip-active-bg);
    border-color: transparent;
  }

  .sidebar-contacts {
    display: grid;
    gap: 8px;
    margin-top: 28px;
    padding-top: 8px;
  }

  .sidebar-contact {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: start;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--gold-line);
    border-radius: var(--radius-sm);
    background: var(--gold-soft);
    color: var(--text);
    font-size: 14px;
    line-height: 1.35;
  }

  .sidebar-contact svg {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    color: var(--gold);
  }

  .sidebar-contact--static {
    margin: 0;
  }

  .cards-grid { grid-template-columns: 1fr; }
  .featured__body { padding: 20px; }
  .featured__meta a { margin-left: 0; }
}

/* =========================================================
   Reader · Кабинет Дона (v5) - открывается при чтении статьи
   ========================================================= */

.reader {
  --wine: #28090d;
  --wine-deep: #170508;
  --paper: #eee8dc;
  --ink: #211d19;
  --paper-muted: #746b60;
  --line-dark: rgba(255, 237, 207, .15);
  --line-paper: rgba(42, 34, 27, .18);
  --reader-gold: #c6a15c;
  --reader-gold-bright: #e2c57e;
  --reader-white: #f7f1e5;
  --reader-serif: "Literata", Georgia, serif;
  --reader-sans: "Commissioner", var(--sans);

  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  flex-direction: column;
  background:
    radial-gradient(circle at 8% 8%, rgba(198, 161, 92, .08), transparent 28rem),
    repeating-linear-gradient(135deg, rgba(255,255,255,.008) 0 1px, transparent 1px 5px),
    var(--wine-deep);
  color: var(--reader-white);
  font-family: var(--reader-sans);
}

.reader.is-open {
  display: flex;
}

body.reader-open {
  overflow: hidden;
}

.reader-header {
  min-height: 72px;
  padding: 0 clamp(18px, 3vw, 40px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(23, 5, 8, .88);
  backdrop-filter: blur(12px);
}

.reader-back {
  justify-self: start;
  border: 0;
  background: transparent;
  color: var(--reader-gold-bright);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.reader-back:hover { color: var(--reader-white); }

.reader-header-title {
  margin: 0;
  font-family: var(--reader-serif);
  font-size: 17px;
  font-style: italic;
}

.reader-header-meta {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(247, 241, 229, .55);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.reader-status {
  padding: 6px 10px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--reader-gold-bright);
}

.reader-desk {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.35fr);
  overflow: hidden;
}

.reader-nav {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 4vw, 52px) clamp(22px, 3vw, 48px);
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line-dark);
  overflow: hidden;
}

.reader-nav-toggle {
  display: none;
}

.reader-nav-panel {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.reader-nav-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.reader-nav-close {
  display: none;
}

.reader-nav-backdrop {
  display: none;
}

.reader-overline {
  margin: 0 0 16px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--reader-gold);
}

.reader-nav-title {
  margin: 0;
  font-family: var(--reader-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.1;
}

.reader-nav-lead {
  max-width: 360px;
  margin: 14px 0 0;
  color: rgba(247, 241, 229, .58);
  font-size: 14px;
  line-height: 1.55;
}

.reader-search {
  height: 48px;
  margin-top: 28px;
  padding: 0 14px;
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-dark);
  background: rgba(255,255,255,.025);
}

.reader-search > span {
  color: var(--reader-gold);
  font-size: 18px;
}

.reader-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--reader-white);
  font-size: 14px;
}

.reader-search input::placeholder { color: rgba(247, 241, 229, .35); }

.reader-toc {
  margin-top: 28px;
  display: grid;
  gap: 2px;
}

.reader-toc-item {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  color: rgba(247, 241, 229, .64);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: padding .18s, background .18s, color .18s;
  box-sizing: border-box;
}

.reader-toc-item span {
  color: rgba(198, 161, 92, .65);
  font-family: var(--reader-serif);
  font-size: 12px;
}

.reader-toc-item em {
  font-style: normal;
  font-size: 11px;
  color: rgba(247, 241, 229, .32);
}

.reader-toc-item:hover,
.reader-toc-item.is-active {
  padding-left: 18px;
  background: rgba(198, 161, 92, .08);
  color: var(--reader-white);
}

.reader-toc-item.is-active {
  border-color: var(--reader-gold);
  color: var(--reader-white);
}

.reader-toc-item.is-active span { color: var(--reader-gold-bright); }

.save-button {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line-dark);
  background: transparent;
  color: var(--reader-white);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
}

.save-button--header { border-radius: 999px; }

.reader-answer {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 4vw, 56px) clamp(18px, 3vw, 40px) 72px;
  overflow: auto;
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at 100% 0, rgba(198,161,92,.12), transparent 35%),
    linear-gradient(180deg, rgba(0,0,0,.18), transparent 180px),
    var(--wine);
}

.reader-answer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0 11px,
      rgba(0,0,0,.035) 11px 12px
    );
  pointer-events: none;
  opacity: .35;
}

.doc-stack {
  position: relative;
  z-index: 1;
  width: min(100%, 794px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 24px;
}

/* A4 sheet - visual page of a .doc */
.doc-sheet {
  --sheet-w: min(100%, 794px);
  position: relative;
  width: var(--sheet-w);
  aspect-ratio: 210 / 297;
  max-height: none;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255,255,255,.35), transparent 42px),
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(42,34,27,.03) 31px 32px),
    var(--paper);
  color: var(--ink);
  box-shadow:
    0 1px 0 rgba(255,255,255,.35) inset,
    0 18px 28px rgba(0,0,0,.22),
    0 42px 70px rgba(0,0,0,.28);
  transform-origin: center top;
}

.doc-sheet::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(42, 34, 27, .08);
}

/* Slightly curled bottom edge */
.doc-sheet::after {
  content: "";
  position: absolute;
  left: 0.8%;
  right: 0.8%;
  bottom: -14px;
  height: 22px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background:
    radial-gradient(ellipse at 50% 0, rgba(0,0,0,.28), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.06) 60%, transparent);
  transform: perspective(90px) rotateX(18deg);
  transform-origin: top center;
  pointer-events: none;
  z-index: -1;
  filter: blur(.3px);
}

.doc-sheet__curl {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86px;
  height: 86px;
  pointer-events: none;
  z-index: 4;
  overflow: visible;
}

/* Soft shadow cast onto the sheet under the fold */
.doc-sheet__curl-shadow {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 78px;
  height: 78px;
  background:
    radial-gradient(ellipse 95% 95% at 100% 100%, rgba(28, 18, 10, .34), transparent 58%),
    linear-gradient(135deg, transparent 40%, rgba(28, 18, 10, .16) 52%, rgba(28, 18, 10, .05) 68%, transparent 78%);
  filter: blur(1.4px);
  opacity: .95;
}

/* Dark wedge where the page corner is “cut away” */
.doc-sheet__curl-under {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 62px;
  height: 62px;
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(18, 10, 8, .22) 49.5%, rgba(18, 10, 8, .08) 100%);
  clip-path: polygon(100% 0, 0 100%, 100% 100%);
}

/* Folded flap - underside of paper with curved lighting */
.doc-sheet__curl-fold {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 58px;
  height: 58px;
  background:
    radial-gradient(ellipse 120% 90% at 88% 88%, rgba(255, 250, 240, .9), transparent 42%),
    linear-gradient(
      218deg,
      #fbf6ec 0%,
      #f0e7d6 24%,
      #ddd1bb 48%,
      #c9bda5 72%,
      #b3a68e 100%
    );
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  box-shadow:
    -7px -7px 16px rgba(20, 12, 8, .28),
    -2px -2px 0 rgba(90, 70, 48, .12);
  transform: perspective(140px) rotateX(10deg) rotateY(-12deg);
  transform-origin: 100% 100%;
}

.doc-sheet__curl-fold::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(225deg, rgba(255, 255, 255, .55) 0%, transparent 38%),
    linear-gradient(135deg, transparent 46%, rgba(70, 50, 30, .18) 50%, rgba(70, 50, 30, .05) 58%, transparent 64%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.doc-sheet__curl-fold::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 47%, rgba(40, 28, 16, .35) 50%, transparent 53%);
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  mix-blend-mode: multiply;
  opacity: .55;
}

.doc-sheet__inner {
  flex: 1;
  min-height: 0;
  padding: clamp(28px, 4.2vw, 52px) clamp(28px, 5vw, 64px) clamp(36px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.doc-sheet__meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-paper);
}

.doc-sheet__meta-left p { margin: 0; }

.doc-code,
.doc-date,
.doc-category,
.doc-divider,
.doc-sheet__folio {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.doc-code { color: var(--ink); margin-bottom: 5px; }
.doc-date { color: var(--paper-muted); }
.doc-category {
  margin: 0 0 14px;
  color: #956f34;
}

.doc-seal {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #8d322f;
  border-radius: 50%;
  color: #8d322f;
  transform: rotate(-8deg);
  flex-shrink: 0;
}

.doc-seal span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px dashed currentColor;
  border-radius: 50%;
  font-family: var(--reader-serif);
  font-size: 18px;
}

.doc-title {
  margin: 0 0 18px;
  font-family: var(--reader-serif);
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.18;
  max-width: 28ch;
}

.doc-verdict {
  margin: 0 0 22px;
  padding: 14px 18px;
  border-left: 3px solid #956f34;
  background: rgba(149, 111, 52, .08);
  font-family: var(--reader-serif);
  font-size: 1.05rem;
  line-height: 1.55;
}

.doc-section {
  scroll-margin-top: 24px;
}

.doc-section + .doc-section { margin-top: 22px; }

.doc-divider {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--paper-muted);
}

.doc-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line-paper);
}

.doc-section h2,
.doc-section h3 {
  margin: 18px 0 10px;
  font-family: var(--reader-serif);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--ink);
}

.doc-section:first-of-type h2 {
  margin-top: 4px;
}

.doc-chapter-nav {
  margin: 28px 0 8px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line-paper);
}

.doc-chapter-nav__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.doc-chapter-nav__also {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--paper-muted);
}

.doc-chapter-nav__related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-chapter-link {
  border: 1px solid var(--line-paper);
  background: rgba(149, 111, 52, .06);
  color: #5a4218;
  font-family: var(--reader-serif);
  font-size: 13px;
  line-height: 1.4;
  text-align: left;
  padding: 10px 12px;
  cursor: pointer;
}

.doc-chapter-link:hover {
  border-color: #956f34;
  color: #3f2e10;
}

.doc-chapter-link--soft {
  background: transparent;
}

.doc-table-wrap {
  margin: 16px 0 8px;
  overflow-x: auto;
  border: 1px solid var(--line-paper);
  background: rgba(255,255,255,.35);
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 1.45;
  color: #3f3830;
}

.doc-table th,
.doc-table td {
  padding: 8px 10px;
  border: 1px solid rgba(42, 34, 27, .14);
  vertical-align: top;
  text-align: left;
}

.doc-table th {
  background: rgba(149, 111, 52, .12);
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.doc-sheet:has(.doc-table) {
  aspect-ratio: auto;
  min-height: 75vh;
}

.doc-sheet:has(.doc-table) .doc-sheet__inner {
  overflow: auto;
}

.doc-section p {
  margin: 0 0 12px;
  color: #4f4840;
  font-size: 14.5px;
  line-height: 1.75;
}

.doc-section p:last-child { margin-bottom: 0; }

.doc-link {
  color: #7a5524;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  word-break: break-word;
}

.doc-link:hover {
  color: #956f34;
}

.doc-list {
  margin: 4px 0 14px;
  padding: 0 0 0 1.25em;
  color: #4f4840;
  font-size: 14.5px;
  line-height: 1.55;
}

.doc-list li {
  margin: 0 0 5px;
  padding: 0;
  color: #4f4840;
}

.doc-list li:last-child {
  margin-bottom: 0;
}

.doc-list ul,
.doc-list ol {
  margin: 6px 0 0;
}

ul.doc-list {
  list-style: disc;
}

ol.doc-list {
  list-style: decimal;
}

.risk-box {
  margin-top: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(141, 50, 47, .3);
  background: rgba(141, 50, 47, .05);
}

.risk-box h4 {
  margin: 0 0 8px;
  color: #8d322f;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.risk-box p {
  margin: 0;
  color: #5a4540;
  font-size: 13.5px;
  line-height: 1.65;
}

.doc-sheet__footer {
  margin-top: auto;
  padding-top: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--line-paper);
  color: var(--paper-muted);
}

.doc-sheet__folio { margin: 0; }

.doc-sheet__footer small {
  font-size: 11px;
  letter-spacing: .02em;
}

.desk-note {
  position: absolute;
  z-index: 6;
  right: clamp(14px, 2vw, 32px);
  bottom: clamp(14px, 2vw, 28px);
  width: 210px;
  min-height: 168px;
  padding: 18px 18px 16px;
  background: var(--reader-gold);
  color: #2b2114;
  box-shadow: 0 18px 35px rgba(0,0,0,.28);
  transform: rotate(-2.2deg);
  pointer-events: auto;
}

.desk-note.is-hidden {
  display: none;
}

.desk-note__close {
  position: absolute;
  top: 4px;
  right: 4px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: rgba(43, 33, 20, .55);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border-radius: 4px;
}

.desk-note__close:hover {
  color: #2b2114;
  background: rgba(43, 33, 20, .08);
}

.desk-note > p {
  margin: 0;
  opacity: .68;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}

.desk-note blockquote {
  margin: 14px 0 16px;
  font-family: var(--reader-serif);
  font-size: 14.5px;
  line-height: 1.35;
}

.desk-note__cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #2b2114;
  border-bottom: 1px solid rgba(43, 33, 20, .45);
  padding-bottom: 1px;
  transition: border-color .15s, opacity .15s;
}

.desk-note__cta:hover {
  border-bottom-color: #2b2114;
  opacity: .85;
}

@media (max-width: 980px) {
  .reader-desk {
    grid-template-columns: 1fr;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .reader-nav {
    flex: 0 0 auto;
    z-index: 6;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(23, 5, 8, .94);
    backdrop-filter: blur(14px);
    overflow: visible;
  }

  .reader-nav-toggle {
    width: 100%;
    min-height: 58px;
    padding: 10px 14px 10px 12px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto 16px;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: var(--reader-white);
    cursor: pointer;
    text-align: left;
  }

  .reader-nav-toggle__mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-dark);
    color: var(--reader-gold-bright);
  }

  .reader-nav-toggle__mark svg {
    width: 18px;
    height: 18px;
  }

  .reader-nav-toggle__text {
    min-width: 0;
    display: grid;
    gap: 2px;
  }

  .reader-nav-toggle__label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--reader-gold);
  }

  .reader-nav-toggle__current {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    line-height: 1.25;
    color: rgba(247, 241, 229, .88);
  }

  .reader-nav-toggle__meta {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(247, 241, 229, .4);
    white-space: nowrap;
  }

  .reader-nav-toggle__chevron {
    width: 8px;
    height: 8px;
    border-right: 1.5px solid rgba(247, 241, 229, .55);
    border-bottom: 1.5px solid rgba(247, 241, 229, .55);
    transform: rotate(45deg);
    transition: transform .2s ease;
    justify-self: end;
  }

  .reader-nav.is-expanded .reader-nav-toggle__chevron {
    transform: rotate(225deg);
    margin-top: 4px;
  }

  .reader-nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    max-height: min(70vh, calc(100dvh - 132px));
    padding: 8px 14px 18px;
    border-bottom: 1px solid var(--line-dark);
    background: rgba(17, 4, 7, .98);
    box-shadow: 0 22px 48px rgba(0, 0, 0, .45);
    overflow-y: auto;
  }

  .reader-nav.is-expanded .reader-nav-panel {
    display: flex;
  }

  .reader-nav-panel__head {
    margin-bottom: 4px;
  }

  .reader-nav-panel__head .reader-overline {
    margin: 0;
  }

  .reader-nav-close {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    border: 1px solid var(--line-dark);
    background: transparent;
    color: rgba(247, 241, 229, .7);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
  }

  .reader-nav-title {
    margin-top: 10px;
    font-size: 1.55rem;
  }

  .reader-nav-lead {
    display: none;
  }

  .reader-search {
    margin-top: 14px;
    height: 44px;
  }

  .reader-toc {
    margin-top: 14px;
  }

  .reader-nav-backdrop {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: none;
    border: 0;
    padding: 0;
    background: rgba(8, 2, 4, .55);
    cursor: pointer;
  }

  .reader-nav.is-expanded ~ .reader-nav-backdrop,
  .reader-desk:has(.reader-nav.is-expanded) .reader-nav-backdrop {
    display: block;
  }

  .reader-answer {
    flex: 1;
    min-height: 0;
    overflow: auto;
  }

  .doc-sheet {
    aspect-ratio: auto;
    min-height: 70vh;
  }

  .desk-note {
    position: fixed;
    right: 14px;
    bottom: 14px;
  }
}

@media (max-width: 640px) {
  .reader-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    gap: 8px;
  }
  .reader-header-title { display: none; }
  .doc-title { max-width: none; }

  .reader-nav-toggle {
    min-height: 54px;
    padding-left: 10px;
    padding-right: 12px;
  }

  .reader-nav-toggle__meta {
    display: none;
  }

  .reader-toc-item {
    min-height: 52px;
    padding: 12px 10px;
  }
}

/* Cookie consent */
.cookie-banner {
  position: fixed;
  z-index: 80;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(16, 6, 10, 0.94);
  border-top: 1px solid var(--gold-line);
  box-shadow: 0 -16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
}

html[data-theme="light"] .cookie-banner {
  background: rgba(255, 253, 249, 0.96);
  box-shadow: 0 -12px 32px rgba(28, 20, 16, 0.1);
}

.cookie-banner[hidden] { display: none !important; }

.cookie-banner__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.cookie-banner__title {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .02em;
  color: var(--text-strong);
}

.cookie-banner__desc {
  margin: 0;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

.cookie-banner__desc a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__desc a:hover { color: var(--gold-bright); }

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-btn {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--gold-line);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  transition: background .15s, border-color .15s, color .15s;
}

.cookie-btn--ghost:hover {
  border-color: var(--gold);
  color: var(--text-strong);
}

.cookie-btn--primary {
  background: var(--chip-active-bg);
  border-color: var(--chip-active-bg);
  color: var(--chip-active-text);
}

.cookie-btn--primary:hover {
  filter: brightness(1.05);
}

@media (max-width: 860px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1 1 auto;
  }
}

/* Cookie policy page */
.policy-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 22px 80px;
}

.policy-page__back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 600;
}

.policy-page__back:hover { color: var(--gold-bright); }

.policy-page h1 {
  margin: 0 0 10px;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 400;
  color: var(--text-strong);
}

.policy-page__lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 15px;
}

.policy-page h2 {
  margin: 28px 0 10px;
  font-size: 1.05rem;
  color: var(--text-strong);
}

.policy-page p,
.policy-page li {
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.policy-page ul {
  margin: 0 0 12px;
  padding-left: 1.15em;
}

.policy-table-wrap {
  margin: 14px 0 22px;
  overflow-x: auto;
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

.policy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.policy-table th,
.policy-table td {
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--card-border);
}

.policy-table th {
  background: var(--surface);
  color: var(--text-strong);
  font-weight: 600;
  white-space: nowrap;
}

.policy-table tr:last-child td { border-bottom: 0; }

.policy-table td { color: var(--muted); }

.seo-kicker {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

.seo-keyline {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 3px solid var(--gold);
  background: var(--gold-soft);
  color: var(--text);
  font-size: 15px;
}

.seo-article__body .seo-section {
  margin: 0 0 28px;
}

.seo-article__body h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  color: var(--text-strong);
}

.seo-article__body p {
  margin: 0 0 12px;
}

.seo-article__body ul {
  margin: 0 0 14px;
  padding-left: 1.2em;
}

.seo-article__body li {
  margin: 0 0 6px;
}

.seo-article__body .doc-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.seo-faq {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gold-line);
}

.seo-faq h2 {
  margin: 0 0 14px;
}

.seo-faq details {
  margin: 0 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.seo-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text-strong);
}

.seo-faq details p {
  margin: 10px 0 0;
}
