/* Bonivitas site styles
   Fonts: Bonivitas Reading Sans (Atkinson Hyperlegible by the Braille Institute, modified, OFL) for reading and interface,
   Literata (OFL) for headlines. Marigold is reserved for highlighted figures. */

@font-face { font-family: "Bonivitas Reading Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bonivitas-reading-sans-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Bonivitas Reading Sans"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/bonivitas-reading-sans-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Bonivitas Reading Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bonivitas-reading-sans-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Literata"; font-style: normal; font-weight: 200 900; font-display: swap; src: url("../fonts/literata-var.woff2") format("woff2-variations"), url("../fonts/literata-var.woff2") format("woff2"); }

:root {
  --paper: #FFFFFF;
  --ink: #1A2B3C;
  --ink-soft: #46566B;
  --blue: #1F4E8C;
  --blue-deep: #173B6A;
  --blue-tint: #EEF3FA;
  --marigold: #FFD25A;
  --sage: #EEF3EC;
  --sage-ink: #2F5D43;
  --rule: #D5DCE4;
  --mist: #F5F7FA;
  --font-body: "Bonivitas Reading Sans", "Segoe UI", Arial, sans-serif;
  --font-head: "Literata", Georgia, "Times New Roman", serif;
  --wrap: 1200px;
  --gutter: 16px;
  --radius-img: 6px;
  --radius-panel: 12px;
}

@media (min-width: 640px) { :root { --gutter: 24px; } }

*, *::before, *::after { box-sizing: border-box; }

html { font-size: 118.75%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (min-width: 640px) { html { font-size: 125%; } }
html[data-text="2"] { font-size: 131.25%; }
html[data-text="3"] { font-size: 143.75%; }
@media (min-width: 640px) {
  html[data-text="2"] { font-size: 137.5%; }
  html[data-text="3"] { font-size: 150%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  font-kerning: normal;
  overflow-wrap: break-word;
}

img { max-width: 100%; height: auto; display: block; }
picture { display: block; }

a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; color: var(--blue-deep); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; box-shadow: 0 0 0 6px var(--marigold); border-radius: 2px; }
main:focus { outline: none; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 620; line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.005em; font-optical-sizing: auto; }

mark {
  color: inherit;
  padding: 0 0.12em;
  background-color: transparent;
  background-image: linear-gradient(100deg, rgba(255, 210, 90, 0) 0.1em, var(--marigold) 0.3em, var(--marigold) calc(100% - 0.3em), rgba(255, 210, 90, 0) calc(100% - 0.1em));
  background-size: 100% 80%;
  background-position: 0 72%;
  background-repeat: no-repeat;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--blue); color: #fff; padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* Buttons and forms */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4em;
  min-height: 48px; padding: 0.55em 1.15em; border: 2px solid var(--blue); border-radius: 8px;
  background: var(--blue); color: #fff; font: 700 0.95rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: #fff; }
.btn-quiet { background: #fff; color: var(--blue); }
.btn-quiet:hover { background: var(--blue-tint); color: var(--blue-deep); }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-underline-offset: 0.18em; cursor: pointer; }

input[type="text"], input[type="email"], input[type="search"], input:not([type]), select, textarea {
  width: 100%; min-height: 52px; padding: 0.5em 0.75em; border: 2px solid #7D8B9C; border-radius: 8px;
  background: #fff; color: var(--ink); font: 1rem/1.4 var(--font-body);
}
textarea { min-height: 180px; resize: vertical; }
label { font-weight: 700; display: block; margin-bottom: 0.35em; }

/* Top bar */
.topbar { border-bottom: 1px solid var(--rule); background: var(--mist); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 48px; }
.topbar-note { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }
.text-size { display: flex; align-items: center; gap: 6px; }
.text-size-label { font-size: 0.9rem; color: var(--ink-soft); margin-right: 4px; }
.text-size button {
  min-width: 40px; min-height: 40px; border: 1px solid var(--rule); border-radius: 8px; background: #fff; color: var(--ink);
  font-family: var(--font-body); font-weight: 700; cursor: pointer; line-height: 1;
}
.text-size button[data-size="1"] { font-size: 15px; }
.text-size button[data-size="2"] { font-size: 19px; }
.text-size button[data-size="3"] { font-size: 23px; }
.text-size button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
@media (max-width: 639px) { .topbar-note { display: none; } .topbar-inner { justify-content: flex-end; } }

/* Masthead */
.masthead { border-bottom: 1px solid var(--rule); background: #fff; }
.masthead-inner { display: flex; align-items: center; gap: 20px; padding-block: 18px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--blue-deep); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--blue-deep); }
.brand-name { font-family: var(--font-head); font-weight: 680; font-size: 1.7rem; letter-spacing: -0.015em; color: var(--ink); line-height: 1; }
.brand-mark { flex: none; color: var(--blue-deep); }
.site-search { display: flex; gap: 8px; flex: 0 1 380px; }
.site-search input { min-height: 48px; }
.site-search button { min-height: 48px; padding: 0 1em; border: 2px solid var(--blue); border-radius: 8px; background: #fff; color: var(--blue); font: 700 0.95rem var(--font-body); cursor: pointer; }
.site-search button:hover { background: var(--blue-tint); }
.menu-toggle { display: none; }

.topic-nav { border-top: 1px solid var(--rule); }
.topic-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 24px; }
@media (min-width: 1100px) { html:not([data-text="2"]):not([data-text="3"]) .topic-nav ul { flex-wrap: nowrap; justify-content: space-between; column-gap: 12px; } }
.topic-nav a { display: inline-block; padding: 14px 0 11px; color: var(--ink); font-weight: 700; font-size: 0.9rem; text-decoration: none; border-bottom: 3px solid transparent; white-space: nowrap; }
.topic-nav a:hover { color: var(--blue); border-bottom-color: var(--rule); }
.topic-nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue); }

@media (max-width: 899px) {
  .masthead-inner { gap: 14px; }
  .brand-name { font-size: 1.45rem; }
  .site-search { order: 3; flex: 1 1 100%; }
  .menu-toggle {
    display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; border: 2px solid var(--ink); border-radius: 8px;
    background: #fff; color: var(--ink); font: 700 0.95rem var(--font-body); cursor: pointer;
  }
  .menu-toggle[aria-expanded="true"] { background: var(--ink); color: #fff; }
  .topic-nav { display: none; }
  .topic-nav.is-open { display: block; }
  .topic-nav ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding-block: 8px; }
  .topic-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--rule); }
  .topic-nav a[aria-current="page"] { border-bottom: 1px solid var(--rule); text-decoration: underline; }
}
@media (max-width: 420px) { .topic-nav ul { grid-template-columns: 1fr; } }

/* Stories */
.story { position: relative; }
.story-img { display: block; overflow: hidden; border-radius: var(--radius-img); background: var(--mist); }
.story-img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story-cat { display: inline-block; font-weight: 700; font-size: 0.9rem; color: var(--sage-ink); text-decoration: none; margin-bottom: 0.25em; }
.story-cat:hover { text-decoration: underline; color: var(--sage-ink); }
.story-title { margin: 0 0 0.35em; }
.story-title a { color: var(--ink); text-decoration: none; }
.story-title a:hover { color: var(--blue); text-decoration: underline; text-decoration-thickness: 2px; }
.story-excerpt { margin: 0; color: var(--ink-soft); }
.story-meta { margin: 0.6em 0 0; font-size: 0.9rem; color: var(--ink-soft); }
.story-text { padding-top: 14px; }

.story-lead .story-title { font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.35rem); line-height: 1.13; font-weight: 640; }
.story-lead .story-excerpt { font-size: 1.1rem; max-width: 40em; }
.story-feature .story-title { font-size: 1.5rem; line-height: 1.18; }
.story-card .story-title { font-size: 1.15rem; line-height: 1.25; }
.story-card .story-excerpt { font-size: 0.95rem; }

.story-thumb { display: grid; grid-template-columns: 112px 1fr; gap: 16px; align-items: start; padding-block: 16px; border-top: 1px solid var(--rule); }
.story-thumb .story-text { padding-top: 0; }
.story-thumb .story-img { border-radius: 4px; }
.story-thumb .story-title { font-size: 1.05rem; line-height: 1.3; margin: 0; }
@media (min-width: 640px) { .story-thumb { grid-template-columns: 150px 1fr; } }

/* Home: lead */
.home-lead { display: grid; gap: 32px; padding-block: 32px 48px; }
@media (min-width: 1000px) {
  .home-lead { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px; padding-top: 40px; }
  .lead-side { border-left: 1px solid var(--rule); padding-left: 40px; }
}
.lead-side h2 { font-size: 1.2rem; margin-bottom: 0.6em; }
.dates-panel { background: var(--sage); border-radius: var(--radius-panel); padding: 22px 24px 10px; margin-bottom: 28px; }
.dates-panel ul { list-style: none; margin: 0; padding: 0; }
.dates-panel li { padding: 10px 0 14px; border-top: 1px solid rgba(47, 93, 67, 0.25); display: grid; gap: 2px; }
.dates-panel li:first-child { border-top: 0; padding-top: 0; }
.date-when { font-weight: 700; font-size: 1.05rem; }
.date-what a { color: var(--ink); }
.date-what a:hover { color: var(--blue); }
.story-list .story-text { padding: 14px 0; border-top: 1px solid var(--rule); }
.also-new h2 + .story-list .story-text { border-top: 0; padding-top: 2px; }
.lead-more { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--rule); }
.lead-more h2 { font-family: var(--font-body); font-size: 0.9rem; font-weight: 700; color: var(--sage-ink); margin: 0 0 0.5em; }
.lead-more ul { list-style: none; margin: 0; padding: 0; }
.lead-more li { padding: 10px 0; border-top: 1px solid var(--rule); }
.lead-more li:first-child { border-top: 0; padding-top: 0; }
.lead-more a { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; line-height: 1.3; color: var(--ink); text-decoration: none; }
.lead-more a:hover { color: var(--blue); text-decoration: underline; }
.story-list .story-cat { font-size: 0.85rem; }
.story-list .story-title { font-size: 1.1rem; line-height: 1.3; margin: 0; }
@media (min-width: 1000px) {
  .story-lead .story-img img { aspect-ratio: 16 / 9; object-position: 50% 30%; }
}

/* Section heads */
.section-head { display: grid; gap: 4px 32px; align-items: end; margin-bottom: 24px; }
.section-head h2 { font-size: 1.85rem; margin: 0; }
.section-head h2 a { color: var(--ink); text-decoration: none; }
.section-head h2 a:hover { color: var(--blue); text-decoration: underline; }
.section-head p { margin: 0; color: var(--ink-soft); max-width: 38em; }
@media (min-width: 1000px) { .section-head { grid-template-columns: auto 1fr; } }

.picks { padding-block: 48px; border-top: 1px solid var(--rule); }
.grid-4, .grid-3 { display: grid; gap: 36px 28px; }
@media (min-width: 640px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Category bands */
.cat-band { padding-block: 52px; border-top: 1px solid var(--rule); }
.band-body { display: grid; gap: 28px; }
@media (min-width: 1000px) {
  .band-body { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; }
  .cat-band-flip .band-lead { order: 2; }
  .cat-band-flip .band-body { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}
.band-list .story-thumb:first-child { border-top: 0; padding-top: 0; }
.band-more { margin: 8px 0 0; padding-top: 16px; border-top: 1px solid var(--rule); font-weight: 700; }

.standards { padding-block: 24px 64px; }
.standards-inner { background: var(--sage); border-radius: var(--radius-panel); padding: 32px clamp(20px, 4vw, 48px); }
.standards-inner h2 { font-size: 1.5rem; }
.standards-inner p { max-width: 46em; margin: 0 0 0.8em; }
.standards-inner p:last-child { margin: 0; font-weight: 700; }

/* Ads */
.ad-slot { margin-block: 32px; padding-block: 10px 16px; border-block: 1px solid var(--rule); text-align: center; }
.ad-label { margin: 0 0 8px; font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
.ad-body { min-height: 90px; display: flex; justify-content: center; }
.ad-slot.wrap { max-width: calc(var(--wrap) - 2 * var(--gutter)); }
.aside-ad { border: 0; margin-top: 32px; }

/* Breadcrumb */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 22px 0 0; font-size: 0.9rem; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb [aria-current] { color: var(--ink-soft); }

/* Category page */
.cat-header { padding-block: 18px 32px; border-bottom: 1px solid var(--rule); margin-bottom: 36px; }
.cat-header h1 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); margin-bottom: 0.25em; }
.cat-intro { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 0.4em; max-width: 38em; }
.cat-count { margin: 0; font-weight: 700; font-size: 0.9rem; }
.cat-grid { margin-bottom: 48px; }
.pager { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-block: 8px 56px; }
.pager > a:not(.btn), .pager-current { display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; border-radius: 8px; border: 1px solid var(--rule); font-weight: 700; text-decoration: none; }
.pager-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Article */
.article-header { max-width: 820px; padding-block: 18px 28px; }
.article-header h1 { font-size: clamp(2rem, 1.35rem + 2vw, 2.75rem); line-height: 1.12; font-weight: 650; margin-bottom: 0.35em; }
.article-dek { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 1em; max-width: 36em; }
/* Dividers sit on the left of each item; the first item on every line has
   its divider clipped, so wrapped lines never start or end with a stray rule. */
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 0.9rem; color: var(--ink-soft); margin-left: -17px; clip-path: inset(0 0 0 17px); }
.article-meta p { margin: 0 16px 0 0; padding-left: 16px; border-left: 1px solid var(--rule); }
.article-figure { margin: 0 0 40px; }
.article-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 50% 35%; border-radius: 8px; }
.article-figure figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--ink-soft); max-width: 60em; }
.credit { display: inline-block; margin-left: 8px; }
.credit a { color: inherit; }
@media (min-width: 1000px) { .article-figure img { aspect-ratio: 16 / 9; } }

.article-layout { display: grid; gap: 40px; }
.article-main { max-width: 740px; min-width: 0; }
@media (min-width: 1100px) {
  .article-layout { grid-template-columns: minmax(0, 740px) 300px; justify-content: space-between; }
  .article-aside { position: relative; }
  .toc { position: sticky; top: 24px; }
}
@media (max-width: 1099px) { .article-aside { display: none; } }

.takeaways { background: var(--sage); border-radius: var(--radius-panel); padding: 24px 28px 18px; margin-bottom: 36px; }
.takeaways h2 { font-size: 1.25rem; margin-bottom: 0.6em; }
.takeaways ul { list-style: none; margin: 0; padding: 0; }
.takeaways li { position: relative; padding-left: 36px; margin-bottom: 0.75em; }
.takeaways li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 24px; height: 24px; border-radius: 50%;
  background: var(--sage-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.5-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}

.prose { font-size: 1.05rem; }
.prose > * { max-width: 36em; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.6rem; margin: 1.7em 0 0.55em; }
.prose h3 { font-size: 1.25rem; margin: 1.4em 0 0.4em; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.5em; padding-left: 0.2em; }
.prose li::marker { color: var(--sage-ink); font-weight: 700; }
.prose strong { font-weight: 700; }
.callout { background: var(--blue-tint); border-left: 6px solid var(--blue); border-radius: 0 var(--radius-panel) var(--radius-panel) 0; padding: 18px 22px 4px; margin: 0 0 1.4em; }
.callout p { margin-bottom: 0.8em; }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; max-width: 100% !important; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.prose thead th { background: var(--mist); border-bottom: 2px solid var(--ink); font-weight: 700; }
.prose tbody th { font-weight: 700; }

.sources { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--rule); font-size: 0.95rem; }
.sources h2 { font-size: 1.3rem; }
.sources ul { padding-left: 1.2em; }
.sources li { margin-bottom: 0.5em; }
.disclaimer { background: var(--mist); border-radius: var(--radius-panel); padding: 20px 24px 6px; margin-top: 28px; font-size: 0.9rem; color: var(--ink-soft); }
.disclaimer p { margin: 0 0 0.9em; }
.article-tools { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.toc h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 0.6em; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--rule); counter-reset: toc; }
.toc li { counter-increment: toc; }
.toc a { display: block; padding: 7px 0 7px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-soft); text-decoration: none; font-size: 0.9rem; line-height: 1.35; }
.toc a:hover { color: var(--blue); text-decoration: underline; }
.toc a[aria-current="true"] { color: var(--ink); border-left-color: var(--blue); font-weight: 700; }

.related { padding-block: 56px 24px; margin-top: 56px; border-top: 1px solid var(--rule); }
.related h2 { font-size: 1.7rem; margin-bottom: 1em; }
.sponsored { padding-block: 32px 48px; }
.sponsored h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 0.2em; padding-top: 16px; border-top: 2px solid var(--ink); }
.sponsored-by { font-weight: 400; color: var(--ink-soft); }
.sponsored-note { font-size: 0.85rem; color: var(--ink-soft); margin: 0 0 16px; }

/* Info pages, search, contact */
.info-page h1, .search-page h1, .not-found h1, .narrow > h1 { font-size: clamp(2rem, 1.5rem + 1.5vw, 2.6rem); margin-top: 0.4em; }
.page-intro { font-size: 1.2rem; color: var(--ink-soft); margin: 0 0 1.4em; max-width: 36em; }
.page-updated { font-size: 0.9rem; color: var(--ink-soft); margin-block: 2em 4em; }
.info-page .prose { margin-bottom: 1em; }
.search-big { margin: 8px 0 28px; max-width: 640px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; }
.result-count { font-weight: 700; }
.result-list { margin-bottom: 64px; }
.result-list .story-thumb:first-child { border-top: 0; }
.empty-state { padding-block: 16px 48px; }
.chip-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 12px 0 28px; }
.chip-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; font-weight: 700; color: var(--ink); }
.chip-list a:hover { border-color: var(--blue); color: var(--blue); }
.all-guides-group { margin-bottom: 36px; }
.all-guides-group h2 { font-size: 1.4rem; padding-top: 20px; border-top: 1px solid var(--rule); }
.all-guides-group ul { padding-left: 1.2em; }
.all-guides-group li { margin-bottom: 0.4em; }

.contact-layout { display: grid; gap: 40px; margin-bottom: 64px; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; } }
.contact-details { font-size: 0.95rem; }
.contact-details h2 { font-size: 1.3rem; }
.contact-details address { font-style: normal; margin-bottom: 1.4em; }
.field { margin-bottom: 22px; }
.field-hint { font-size: 0.85rem; color: var(--ink-soft); margin: 6px 0 0; }
.field-check { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.field-check input { width: 24px; height: 24px; margin: 4px 0 0; accent-color: var(--blue); }
.field-check label { font-weight: 400; }
.hp { position: absolute; left: -9999px; }
.notice { border-radius: var(--radius-panel); padding: 18px 22px; margin-bottom: 24px; }
.notice h2 { font-size: 1.2rem; margin-bottom: 0.3em; }
.notice ul { margin: 0; padding-left: 1.2em; }
.notice-ok { background: var(--sage); border-left: 6px solid var(--sage-ink); }
.notice-error { background: #FDF1EF; border-left: 6px solid #A3312A; }

/* Footer */
.site-footer { background: var(--blue-deep); color: #fff; margin-top: 24px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: #fff; }
.site-footer :focus-visible { outline-color: #fff; }
.footer-grid { display: grid; gap: 36px; padding-block: 56px 36px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); gap: 40px; } }
.brand-footer { color: #fff; margin-bottom: 14px; }
.brand-footer .brand-name { color: #fff; font-size: 1.45rem; }
.brand-footer .brand-mark { color: #fff; }
.footer-about p { font-size: 0.95rem; margin: 0 0 1em; max-width: 30em; }
.footer-independent { padding: 12px 14px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 8px; }
.footer-col h2 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 0.8em; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.55em; font-size: 0.95rem; }
.footer-company address { font-style: normal; font-size: 0.95rem; line-height: 1.7; margin-bottom: 0.8em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.28); padding-block: 22px 32px; font-size: 0.85rem; display: grid; gap: 8px; }
.footer-bottom p { margin: 0; max-width: 60em; }

/* Cookie bar */
.cookie-bar { position: fixed; inset: auto 0 0 0; z-index: 50; background: #fff; border-top: 4px solid var(--blue); box-shadow: 0 -6px 24px rgba(26, 43, 60, 0.18); }
.cookie-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-block: 16px; }
.cookie-inner p { margin: 0; flex: 1 1 420px; font-size: 0.95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.img-missing { aspect-ratio: 3 / 2; background: var(--mist); border-radius: var(--radius-img); }

/* Print */
@media print {
  .topbar, .topic-nav, .site-search, .menu-toggle, .article-aside, .ad-slot, .sponsored, .related, .site-footer, .cookie-bar, .article-tools, .breadcrumb { display: none !important; }
  html { font-size: 12pt; }
  .article-figure img { max-height: 9cm; object-fit: cover; }
  .prose a::after { content: " (" attr(href) ")"; font-size: 0.85em; color: #444; }
  .takeaways, .callout, .disclaimer { border: 1px solid #999; background: none; }
}

/* Admin draft preview notice */
.preview-bar { background: #fff4c2; color: #3b2f00; border-bottom: 1px solid #e6cf6b; padding: .75rem 1rem; text-align: center; font-size: 1rem; }
.preview-bar a { color: inherit; font-weight: 700; }
