/* Famous Quotations Network – "night reading" brand, light pages for reading. Since 1998. */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/playfair-display-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 500; font-display: swap; src: url("/static/fonts/playfair-display-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/playfair-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap; src: url("/static/fonts/source-sans-3-latin-700-normal.woff2") format("woff2"); }

/*
  Two layers of colour:
  - Brand (fixed in both themes): the night slate and gold used by the header, hero, footer and share cards.
  - Reading (switches with the theme): light paper by default, night when the visitor or their device picks dark.
  Gold (#e7be69) is only ever text on dark backgrounds or a fill behind dark text; on light pages, text uses --accent.
*/
:root {
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Brand, same in both themes */
  --night: #18222b;
  --night-2: #1e2a34;
  --night-3: #2e3c48;
  --night-deep: #121a21;
  --night-ink: #e9eef2;
  --night-muted: #a9b6c1;
  --gold: #e7be69;
  --gold-ink: #18222b;           /* text on gold */

  /* Reading layer, light */
  --page: #faf7f0;
  --band: #f2ecdf;
  --paper: #ffffff;
  --panel: #f6f1e6;
  --ink: #1b262f;
  --heading: #1b262f;
  --muted: #5c6670;
  --line: #e2d9c6;
  --line-strong: #c9bea8;
  --accent: #8a5a0b;             /* gold, deepened to pass 4.5:1 on paper */
  --link: #8a5a0b;
  --link-hover: #5f3d05;
  --chip: #ffffff;
  --chip-on: #1b262f;
  --chip-on-ink: #faf7f0;
  --mark: #fbf0d2;
  --ok: #2e7d4f;
  --warn: #a14f0c;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #18222b;
    --band: #1e2a34;
    --paper: #18222b;
    --panel: #1e2a34;
    --ink: #e9eef2;
    --heading: #e9eef2;
    --muted: #a9b6c1;
    --line: #2e3c48;
    --line-strong: #435564;
    --accent: #e7be69;
    --link: #e7be69;
    --link-hover: #f3d79c;
    --chip: transparent;
    --chip-on: #e7be69;
    --chip-on-ink: #18222b;
    --mark: #2b2a1f;
    --ok: #3f9a64;
    --warn: #c96f2a;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #18222b;
  --band: #1e2a34;
  --paper: #18222b;
  --panel: #1e2a34;
  --ink: #e9eef2;
  --heading: #e9eef2;
  --muted: #a9b6c1;
  --line: #2e3c48;
  --line-strong: #435564;
  --accent: #e7be69;
  --link: #e7be69;
  --link-hover: #f3d79c;
  --chip: transparent;
  --chip-on: #e7be69;
  --chip-on-ink: #18222b;
  --mark: #2b2a1f;
  --ok: #3f9a64;
  --warn: #c96f2a;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 17px/1.6 var(--sans);
}
a { color: var(--link); text-decoration: none; text-underline-offset: 3px; }
a:hover { color: var(--link-hover); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--gold); color: var(--gold-ink);
  padding: 10px 16px; border-radius: 22px; font-weight: 700;
}
.skip-link:focus { top: 12px; text-decoration: none; }

.wrap { min-height: 100vh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }

/* ---------- Header (brand layer) ---------- */
.site-header { background: var(--night); color: var(--night-ink); border-bottom: 2px solid var(--gold); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-main { font: 700 26px/1 var(--serif); color: var(--night-ink); letter-spacing: 0.01em; }
.logo-main em { font-style: italic; font-weight: 500; color: var(--gold); }
.logo-sub { font-size: 11px; color: var(--night-muted); letter-spacing: 0.32em; text-transform: uppercase; margin-top: 7px; }
.header-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.tabs { display: flex; gap: 2px 22px; flex: 1 1 auto; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--night-ink);
  font-size: 15px; font-weight: 600; border-bottom: 2px solid transparent;
}
.tabs a:hover { color: var(--gold); text-decoration: none; }
.tabs a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }

.search { display: flex; align-items: center; gap: 8px; margin: 0; position: relative; }
.search label { color: var(--night-muted); font-size: 14px; }
.search-field { position: relative; }
.search input {
  width: 240px; max-width: 52vw; height: 44px; border: 1px solid var(--line-strong); border-radius: 22px;
  padding: 0 16px; font: inherit; font-size: 15px; background: var(--paper); color: var(--ink);
}
.site-header .search input, .mobile-search input { border-color: var(--night-3); background: var(--night-2); color: var(--night-ink); }
.site-header .search input::placeholder, .mobile-search input::placeholder { color: var(--night-muted); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px;
  background: var(--gold); color: var(--gold-ink); border: 0; border-radius: 22px; font-weight: 700; font-size: 15px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; color: var(--gold-ink); filter: brightness(1.06); }
.btn-dark { background: transparent; color: var(--night-ink); border: 1px solid var(--night-3); }
.btn-dark:hover { color: var(--gold); border-color: var(--gold); filter: none; }
.btn-ghost { background: transparent; color: var(--link); border: 1px solid var(--line-strong); }
.btn-ghost:hover { color: var(--link-hover); background: var(--panel); filter: none; }

.theme-toggle {
  width: 44px; height: 44px; border-radius: 22px; border: 1px solid var(--night-3); background: transparent; color: var(--gold);
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none;
}
.theme-toggle:hover { border-color: var(--gold); }
.theme-toggle svg { display: none; }
.theme-toggle .auto { display: block; }
:root[data-theme="light"] .theme-toggle .auto, :root[data-theme="dark"] .theme-toggle .auto { display: none; }
:root[data-theme="light"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: block; }

/* A–Z strip */
.az-bar { background: var(--band); border-bottom: 1px solid var(--line); }
.az-bar .container { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.az-bar-label { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.az-bar nav { display: flex; flex-wrap: wrap; gap: 0; flex: 1 1 auto; justify-content: space-between; }
.az-bar a {
  min-width: 34px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 22px;
  font: 500 19px/1 var(--serif); color: var(--muted);
}
.az-bar a:hover, .az-bar a[aria-current="page"] { color: var(--heading); background: var(--paper); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Mobile sticky search */
.mobile-search { display: none; }
@media (max-width: 720px) {
  .mobile-search {
    display: flex; position: fixed; left: 0; right: 0; top: 0; z-index: 30; gap: 8px; padding: 8px 12px;
    background: var(--night); border-bottom: 2px solid var(--gold); transform: translateY(-110%); transition: transform .2s ease;
  }
  .mobile-search.is-visible { transform: none; }
  .mobile-search .search-field { flex: 1; }
  .mobile-search input { width: 100%; max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .mobile-search { transition: none; } }

/* ---------- Hero: quote of the day (brand layer) ---------- */
.hero { background: var(--night); color: var(--night-ink); }
.hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 32px 56px; padding-top: 72px; padding-bottom: 80px; }
.hero-quote { flex: 999 1 600px; min-width: 0; }
.eyebrow {
  margin: 0 0 22px; display: flex; align-items: center; gap: 14px; font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.hero blockquote { margin: 0; font: 500 clamp(30px, 4.6vw, 56px)/1.14 var(--serif); color: var(--night-ink); }
.hero-side { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-author { font-size: 21px; font-weight: 700; color: var(--night-ink); }
.hero-author:hover { color: var(--gold); }
.hero-stats { margin: 0; font-size: 14px; color: var(--night-muted); }
.hero .quote-actions { margin: 6px 0 0; }
.hero .act { color: var(--night-ink); border-color: var(--night-3); }
.hero .act:hover { color: var(--gold); border-color: var(--gold); background: transparent; }
.hero .act-card { background: var(--gold); color: var(--gold-ink); border-color: var(--gold); }
.hero .act-card:hover { color: var(--gold-ink); background: var(--gold); filter: brightness(1.06); }

/* ---------- Page band: author / topic heading (reading layer) ---------- */
.page-band { background: var(--band); border-bottom: 1px solid var(--line); }
.page-band .container { padding-top: 40px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.band-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; }
.band-row > div:first-child { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.stats { display: flex; gap: 32px; margin: 0; }
.stats div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font: 500 36px/1.1 var(--serif); color: var(--accent); }
.stats dt { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---------- Layout ---------- */
.cols { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 0 48px; padding-top: 40px; padding-bottom: 64px; flex: 1 0 auto; }
.col-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.col-right { flex: 1 1 280px; max-width: 100%; display: flex; flex-direction: column; gap: 20px; }

.box { display: flex; flex-direction: column; gap: 6px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 22px 22px 18px; }
.box-title { margin: 0 0 6px; font: 500 21px/1.25 var(--serif); color: var(--heading); }
.box-title.dark { color: var(--heading); }
.box-dark { background: var(--night); border-color: var(--night); color: var(--night-ink); }
.box-dark .box-title { color: var(--gold); font: 700 12px/1.4 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; }
.box-dark a { color: var(--gold); }
.arrow-list { list-style: none; margin: 0; padding: 0; }
.arrow-list li { padding: 9px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.arrow-list li:last-child { border-bottom: 0; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.grid3 li:last-child { border-bottom: 1px solid var(--line); }
@media (max-width: 760px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .grid3 { grid-template-columns: minmax(0, 1fr); } }

h1, h2.section { font-family: var(--serif); color: var(--heading); margin: 0; font-weight: 500; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.06; }
h1 em { font-style: italic; color: var(--accent); }
h2.section { font-size: 28px; line-height: 1.2; }
.lede { margin: 0; font-size: 18px; color: var(--muted); }
.meta { color: var(--muted); font-size: 15px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.count { color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }

/* Home: three ranked columns */
.home-intro { display: flex; flex-direction: column; gap: 10px; }
.home-intro h1 { font-size: clamp(28px, 3.4vw, 38px); }
.ranked-cols { display: flex; flex-wrap: wrap; gap: 40px 48px; }
.ranked-cols > section { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ranked { list-style: none; margin: 0 0 10px; padding: 0; counter-reset: rank; }
.ranked li { counter-increment: rank; display: flex; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ranked li::before { content: counter(rank, decimal-leading-zero); width: 24px; flex: none; font-size: 13px; color: var(--accent); font-variant-numeric: tabular-nums; }
.ranked a { flex: 1; color: var(--ink); }
.ranked a:hover { color: var(--link); }
.sub { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.more { font-weight: 700; }

/* Pills */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 16px; border-radius: 22px;
  background: var(--chip); color: var(--ink); border: 1px solid var(--line-strong); font-size: 15px; cursor: pointer;
}
a.pill:hover { text-decoration: none; border-color: var(--ink); color: var(--ink); }
.pill .count { font-size: 13px; }
.pill[aria-pressed="true"] { background: var(--chip-on); color: var(--chip-on-ink); border-color: var(--chip-on); }
.pill[aria-pressed="true"] .count { color: var(--chip-on-ink); }
.pill-sm { min-height: 32px; padding: 2px 12px; font-size: 13px; }

/* ---------- Quotes ---------- */
.quote-list { display: flex; flex-direction: column; }
.quote { border-bottom: 1px solid var(--line); padding: 28px 0; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 80px; }
.quote:first-child { padding-top: 4px; }
.quote:target { background: var(--mark); box-shadow: 0 0 0 16px var(--mark); border-radius: 4px; }
.quote blockquote { margin: 0; font: 500 25px/1.38 var(--serif); color: var(--heading); }
.quote-author { font-size: 16px; font-weight: 700; }
.quote-author a { color: var(--link); }
.quote-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--muted); }
.quote-actions { display: none; flex-wrap: wrap; gap: 6px; margin-left: auto; }
.js .quote-actions { display: flex; }
.act {
  display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 16px; border-radius: 22px;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); font-size: 14px; font-weight: 600; cursor: pointer;
}
.act:hover { background: var(--panel); border-color: var(--ink); text-decoration: none; }
.act svg { width: 16px; height: 16px; flex: none; }
.act-engrave { background: var(--night); color: var(--gold); border-color: var(--night); }
.act-engrave:hover { background: var(--night-3); border-color: var(--night-3); }
/* Source-check labels. One line always (never wraps, never squeezed), same size and shape for every label,
   and the same colours in both themes: each passes 4.5:1 with white text. Wording lives in STATUS in build.py. */
.badge {
  display: inline-flex; align-items: center; flex: none; height: 24px; padding: 0 10px; border-radius: 12px;
  white-space: nowrap; color: #fff; font: 700 12px/1 var(--sans); letter-spacing: 0.02em; vertical-align: middle;
}
.badge.ok { background: #2e7d4f; }
.badge.warn { background: #9a5408; }
.badge.neutral { background: #56636f; }
.badge.bad { background: #a3312a; }
a.badge:hover { color: #fff; text-decoration: none; filter: brightness(1.12); }
.status-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.status-list li { display: grid; grid-template-columns: 8.5em minmax(0, 1fr); gap: 4px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.status-list li:last-child { border-bottom: 0; }
.status-list .badge { justify-self: start; }
@media (max-width: 480px) { .status-list li { grid-template-columns: minmax(0, 1fr); } }
.source { font-style: normal; color: var(--muted); font-size: 14px; flex-basis: 100%; order: -1; }
.quote-meta .badge { order: -2; }
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 60; background: var(--night); color: var(--night-ink);
  border: 1px solid var(--gold); padding: 10px 20px; border-radius: 22px; font-size: 15px; box-shadow: 0 4px 16px rgba(0,0,0,.25);
}

/* Advertising slots (only rendered when "ads_enabled" is true in site.json) */
.ad-slot { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border: 1px dashed var(--line-strong); border-radius: 12px; background: var(--paper); }
.quote-list .ad-slot { margin: 24px 0; }
.ad-label { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ad-unit { min-height: 90px; }
.ad-side .ad-unit { min-height: 250px; }

/* Author / topic header */
.page-head { display: flex; flex-direction: column; gap: 8px; }
.filter-note { font-size: 15px; color: var(--muted); margin: 0; }

.pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pager a, .pager span {
  min-width: 44px; height: 44px; padding: 0 14px; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: 22px; color: var(--ink); font-weight: 600;
}
.pager span[aria-hidden="true"] { border-color: transparent; }
.pager a:hover { text-decoration: none; border-color: var(--ink); }
.pager [aria-current="page"] { background: var(--chip-on); border-color: var(--chip-on); color: var(--chip-on-ink); }

.related { border-top: 1px solid var(--line); padding-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.letter-group { display: flex; flex-direction: column; gap: 10px; }
.notice { padding: 12px 16px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); }

/* ---------- Search suggestions ---------- */
.suggest {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 40; min-width: 100%; width: max-content; max-width: min(420px, 92vw);
  margin: 0; padding: 6px 0; list-style: none; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.suggest[hidden] { display: none; }
.suggest li { padding: 9px 16px; cursor: pointer; display: flex; justify-content: space-between; gap: 14px; font-size: 15px; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--panel); }
.suggest .kind { color: var(--muted); font-size: 13px; }
.suggest mark { background: none; color: inherit; font-weight: 700; }

/* ---------- Engrave preview ---------- */
dialog.engrave {
  border: 0; border-radius: 16px; padding: 0; width: min(560px, 94vw); background: var(--paper); color: var(--ink);
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
dialog.engrave::backdrop { background: rgba(18, 26, 33, 0.65); }
.engrave-body { padding: 24px 26px; display: flex; flex-direction: column; gap: 16px; }
.engrave-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.engrave-head h2 { margin: 0; font: 500 24px/1.2 var(--serif); color: var(--heading); }
.close-btn { width: 44px; height: 44px; border: 0; background: transparent; color: var(--muted); font-size: 26px; cursor: pointer; border-radius: 22px; }
.close-btn:hover { background: var(--panel); }
.metal {
  position: relative; margin: 4px auto; width: 100%; max-width: 440px; padding: 34px 30px 30px; border-radius: 10px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, rgba(0,0,0,.03) 1px 3px),
    linear-gradient(135deg, #e9ecef 0%, #c9ced3 35%, #f4f6f7 55%, #b9bfc5 80%, #dfe3e6 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -2px 6px rgba(0,0,0,.18), 0 6px 18px rgba(0,0,0,.25);
  color: #4d5862; text-align: center;
}
.metal::before {
  content: ""; position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #6b747c, #2c3236); box-shadow: inset 0 1px 2px rgba(0,0,0,.6);
}
.metal-text { margin: 10px 0 0; font: 500 21px/1.45 var(--serif); text-shadow: 0 1px 0 rgba(255,255,255,.8), 0 -1px 0 rgba(0,0,0,.25); }
.metal-author { margin-top: 12px; letter-spacing: 2px; font-size: 15px; text-shadow: 0 1px 0 rgba(255,255,255,.8); }
.metal.long .metal-text { font-size: 16px; }
.engrave-note { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- Footer (brand layer) ---------- */
.site-footer { background: var(--night-deep); color: var(--night-muted); border-top: 2px solid var(--gold); }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 24px; padding-top: 32px; padding-bottom: 32px; font-size: 14px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-row a { color: var(--night-ink); }
.footer-row a:hover { color: var(--gold); }
.footer-row .logo-main { font-size: 20px; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 960px) {
  .header-row { gap: 10px 20px; }
  .tabs { order: 3; flex-basis: 100%; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container { padding-left: 16px; padding-right: 16px; }
  .header-tools { width: 100%; }
  .header-tools .search { flex: 1; }
  .header-tools .search-field { flex: 1; }
  .header-tools .search input { width: 100%; max-width: none; }
  .header-tools .search label { display: none; }
  .hero-row { padding-top: 48px; padding-bottom: 52px; }
  .page-band .container { padding-top: 28px; padding-bottom: 24px; }
  .cols { padding-top: 28px; padding-bottom: 40px; }
  .az-bar .container { flex-wrap: nowrap; padding-right: 0; }
  .az-bar-label { flex: none; }
  .az-bar nav { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-right: 16px; }
  .az-bar nav::-webkit-scrollbar { display: none; }
  .az-bar a { min-width: 36px; flex: none; font-size: 17px; }
  .quote blockquote { font-size: 21px; }
  .quote-actions { margin-left: 0; }
  .stats dd { font-size: 30px; }
}
