/* ==========================================================================
   D10 — Gazette 1937
   Visual evocation of 1930s Estonian broadsheet: aged cream paper, oxblood
   rubric, period serif type, double-rule dividers, broadsheet columns.
   ========================================================================== */

:root {
  /* Paper & ink */
  --newsprint:       #F2EAD3;
  --newsprint-deep:  #E8DDB5;
  --ink:             #181410;
  --ink-mute:        #5A4A30;
  --oxblood:         #8A1414;
  --oxblood-deep:    #6E0E0E;
  --rule:            #3C2E20;
  --rule-mute:       #6B5840;
  --gilt:            #7D5A14;

  /* Type */
  --f-masthead: "Old Standard TT", "EB Garamond", "Times New Roman", serif;
  --f-display:  "Playfair Display", "Times New Roman", serif;
  --f-body:     "IM Fell English", "Old Standard TT", Georgia, serif;
  --f-mono:     "IBM Plex Mono", "Consolas", monospace;
  --f-frak:     "UnifrakturMaguntia", "Old Standard TT", serif;

  /* Geometry */
  --col-w:      19.5em;     /* column width target */
  --gutter:     24px;
  --rh:         1.55;       /* body line-height */
  --rule-gap:   3px;

  /* Audio player theme */
  --uap-bg:        var(--newsprint-deep);
  --uap-fg:        var(--ink);
  --uap-mute:      var(--ink-mute);
  --uap-accent:    var(--oxblood);
  --uap-border:    var(--rule);
  --uap-radius:    0;
  --uap-font:      var(--f-mono);

  /* Search component theme */
  --us-bg:         var(--newsprint);
  --us-fg:         var(--ink);
  --us-accent:     var(--oxblood);
  --us-border:     var(--rule);
  --us-radius:     0;
  --us-mute:       var(--ink-mute);
  --us-font:       var(--f-body);
}

/* ---------- reset & base ------------------------------------------------- */

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

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  hyphens: auto;
  hyphenate-character: "-";
}

html.scroll-locked,
html.scroll-locked body { overflow: hidden; }

body {
  margin: 0;
  background-color: var(--newsprint);
  /* Subtle paper-texture noise SVG */
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.094  0 0 0 0 0.078  0 0 0 0 0.063  0 0 0 0.040 0'/></filter><rect width='180' height='180' filter='url(%23n)' opacity='0.7'/></svg>");
  background-size: 180px 180px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: var(--rh);
  font-feature-settings: "kern", "liga", "calt", "onum";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* Strong text figures in running prose; lining figures in UI. */
.mono { font-family: var(--f-mono); font-feature-settings: "kern", "lnum", "tnum"; letter-spacing: 0.02em; }

a {
  color: var(--oxblood);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  text-decoration-skip-ink: auto;
}
a:hover, a:focus-visible { color: var(--oxblood-deep); }

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--oxblood);
  outline-offset: 3px;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

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

code {
  font-family: var(--f-mono);
  font-size: 0.92em;
  background: rgba(58, 46, 32, 0.06);
  padding: 0.05em 0.3em;
  border-radius: 0;
}

::selection {
  background: rgba(138, 20, 20, 0.18);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 1em;
  background: var(--newsprint);
  color: var(--oxblood);
  padding: 0.6em 1em;
  border: 2px solid var(--rule);
  font-family: var(--f-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.85em;
  z-index: 10000;
}
.skip-link:focus { left: 1em; }

/* ---------- container ---------------------------------------------------- */

#content {
  max-width: 70rem;       /* ~1120px broadsheet width */
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

/* ---------- MASTHEAD ----------------------------------------------------- */

.masthead {
  max-width: 70rem;
  margin: 0 auto;
  padding: 1.5rem 2rem 0;
}

.masthead-inner {
  border-top: 6px double var(--rule);
  padding-top: 1.5rem;
}

/* Publisher line — small mono caps above the title. */
.masthead-eyebrow {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 0.2rem;
}

.brandmark {
  font-family: var(--f-masthead);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 8.5rem);
  line-height: 0.95;
  color: var(--oxblood);
  text-align: center;
  margin: 0.3rem 0 0.35rem;
  letter-spacing: -0.02em;
  font-feature-settings: "kern", "liga";
  /* Slight ink-bleed: subtle red shadow to mimic press */
  text-shadow: 0 1px 0 rgba(138, 20, 20, 0.18);
}

/* One calm meta line beneath the title: issue · place · date. */
.masthead-meta {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.55em;
  font-family: var(--f-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--ink);
  margin: 0.2rem 0 0.9rem;
  flex-wrap: wrap;
}

.masthead-meta .meta-issue { color: var(--oxblood); }
.meta-sep { color: var(--ink-mute); }

/* Double-rule beneath the title, framing the rubric bar from above. */
.masthead-rule {
  border-top: 1px solid var(--rule);
  box-shadow: 0 var(--rule-gap) 0 -2px var(--rule);
  height: 0;
  margin: 0.4rem 0;
}

/* ---------- rubric bar (navigation) -------------------------------------- */

.rubric-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 0.7rem 0 0.7rem;
  border-bottom: 1px solid var(--rule);
}

.rubric-link {
  font-family: var(--f-mono);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4em 0.85em;
  background: none;
  border-right: 1px solid var(--rule-mute);
  position: relative;
  background-image: none;
  transition: color 120ms ease;
}
.rubric-link:last-of-type { border-right: none; }
.rubric-link:hover, .rubric-link:focus-visible {
  color: var(--oxblood);
}
.rubric-link.active {
  color: var(--oxblood);
}
.rubric-link.active::after {
  content: "";
  position: absolute;
  left: 12%; right: 12%;
  bottom: 0.15em;
  border-top: 1px solid var(--oxblood);
  box-shadow: 0 3px 0 -2px var(--oxblood);
  height: 0;
}

.rubric-search {
  font-family: var(--f-mono);
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 0.4em 0.85em;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  border-left: 1px solid var(--rule);
}
.rubric-search svg { width: 14px; height: 14px; }
.rubric-search:hover, .rubric-search:focus-visible { color: var(--oxblood); }

.rubric-menu {
  display: none;
  padding: 0.4em 0.6em;
  color: var(--ink);
}
.rubric-menu svg { width: 20px; height: 20px; }

/* ---------- mobile drawer ------------------------------------------------ */

.mobile-drawer {
  position: fixed;
  inset: 0;
  background-color: var(--newsprint);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.094  0 0 0 0 0.078  0 0 0 0 0.063  0 0 0 0.060 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  background-size: 180px 180px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}
.mobile-drawer[hidden] { display: none !important; }

.drawer-rule-top {
  border-top: 6px double var(--rule);
  padding-bottom: 1rem;
  height: 0;
}

.drawer-head {
  text-align: center;
  position: relative;
  margin-bottom: 1rem;
}

.drawer-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}

.drawer-brand {
  font-family: var(--f-masthead);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  color: var(--oxblood);
  margin: 0.4rem 0;
  letter-spacing: -0.02em;
}

.drawer-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  border: 1px solid var(--rule);
}
.drawer-close svg { width: 22px; height: 22px; }

.drawer-rule {
  border-top: 1px solid var(--rule);
  box-shadow: 0 var(--rule-gap) 0 -2px var(--rule);
  margin: 0.8rem 0;
  height: 0;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 0.6em;
}
.drawer-nav a {
  font-family: var(--f-display);
  font-size: 2rem;
  color: var(--ink);
  background: none;
  padding: 0.3em 1em;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.drawer-nav a.active { color: var(--oxblood); font-style: italic; }
.drawer-nav a:hover, .drawer-nav a:focus-visible { color: var(--oxblood); }

.drawer-colophon {
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 1rem 0 0;
}

/* ---------- search modal ------------------------------------------------- */

.search-modal {
  position: fixed;
  inset: 0;
  background: rgba(24, 20, 16, 0.45);
  z-index: 6000;
  display: grid;
  place-items: start center;
  padding: 8vh 1.5rem 2rem;
  overflow-y: auto;
}
.search-modal[hidden] { display: none !important; }

.search-card {
  width: 100%;
  max-width: 38rem;
  background: var(--newsprint);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.094  0 0 0 0 0.078  0 0 0 0 0.063  0 0 0 0.050 0'/></filter><rect width='180' height='180' filter='url(%23n)'/></svg>");
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 4px;
  padding: 2rem 1.6rem 1.5rem;
  position: relative;
  box-shadow: 0 12px 32px rgba(24, 20, 16, 0.25);
}

.search-close {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  width: 36px;
  height: 36px;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.search-close svg { width: 18px; height: 18px; }
.search-close:hover { color: var(--oxblood); }

.search-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 0.3rem;
}

.search-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.05;
  margin: 0 0 0.4rem;
  color: var(--ink);
}

.search-dek {
  font-family: var(--f-body);
  font-style: italic;
  color: var(--ink-mute);
  margin: 0 0 1.2rem;
}

.search-foot {
  font-size: 0.74rem;
  color: var(--ink-mute);
  margin: 1rem 0 0;
  letter-spacing: 0.06em;
}

/* Theme the shared <urantia-search> via its CSS-vars contract. */
urantia-search {
  display: block;
  margin: 0 0 0.5rem;
}

/* ---------- running head (page-top) ------------------------------------- */

.running-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding: 0.6rem 0 0.4rem;
  border-bottom: 1px solid var(--rule-mute);
  margin-bottom: 1.5rem;
}

.rh-right { letter-spacing: 0.12em; }

/* ---------- breadcrumbs ------------------------------------------------- */

.crumbs {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1.8rem;
}
.crumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}
.crumbs li:not(:last-child)::after {
  content: " · ";
  margin-left: 0.5em;
  color: var(--ink-mute);
}
.crumbs a { color: var(--ink-mute); }
.crumbs a:hover { color: var(--oxblood); }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- section rule (1pt + gap + 1pt) ------------------------------ */

.rule-double {
  border-top: 1px solid var(--rule);
  box-shadow: 0 var(--rule-gap) 0 -2px var(--rule);
  margin: 2.5rem 0 2.2rem;
  height: 0;
}

.fleuron {
  text-align: center;
  color: var(--oxblood);
  margin: 1.6rem 0 2.4rem;
}
.fleuron .orn-fleuron {
  width: 80px;
  height: auto;
  display: inline-block;
}

.tailpiece {
  text-align: center;
  color: var(--oxblood);
  margin: 1.5rem 0;
}
.tailpiece .orn-tail { width: 130px; height: auto; display: inline-block; }

/* ---------- home: lead section ------------------------------------------ */

.lead-section {
  text-align: center;
  margin: 0 auto 2rem;
  max-width: 50rem;
}

.lead-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 0.6rem;
}

.lead-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.02;
  color: var(--oxblood);
  margin: 0.1rem 0 0.8rem;
  letter-spacing: -0.01em;
  font-feature-settings: "kern", "liga", "swsh";
}

.lead-dek {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 1.22rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 auto 0.8rem;
  max-width: 38rem;
  text-align: justify;
  text-align-last: center;
}

.lead-link {
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0.6rem 0 0;
}
.lead-link a { color: var(--oxblood); }

/* ---------- home: three columns ----------------------------------------- */

.three-col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  margin: 0 0 1.5rem;
}
.col {
  padding: 0 1.1rem;
  border-right: 1px solid var(--rule-mute);
}
.col:first-child { padding-left: 0; }
.col:last-child  { padding-right: 0; border-right: none; }

.col-head {
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule-mute);
}

.col-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 0.3rem;
}

.col-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.05;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.col-subtitle {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
}

.col-prose p {
  font-size: 1rem;
  line-height: 1.55;
  text-align: justify;
  margin: 0 0 0.8em;
  hyphens: auto;
}
.col-prose p:first-child { text-indent: 0; }
.col-prose p + p { text-indent: 1.2em; }

.col-more {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0.8rem 0 0;
}

.col-empty {
  font-family: var(--f-mono);
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 1rem 0;
}

/* "Selle nädala mõte" pull-quote column */
.weekly-quote {
  margin: 0;
  text-align: center;
}

.wq-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 1.3rem;
  text-align: center;
  border-bottom: 1px solid var(--rule-mute);
  padding-bottom: 0.8rem;
}

.wq-body {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.18rem;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 0 1rem;
  text-align: left;
  hyphens: auto;
}

.quote-initial {
  font-family: var(--f-display);
  font-weight: 900;
  font-style: normal;
  font-size: 4em;
  line-height: 0.78;
  color: var(--oxblood);
  float: left;
  margin: 0.1em 0.12em 0 -0.05em;
  padding-top: 0.05em;
}

.wq-cite {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0;
  text-align: right;
}
.wq-cite .cite {
  color: var(--oxblood);
}

/* News stack items */
.news-stack-item {
  border-top: 1px solid var(--rule-mute);
  padding: 0.8rem 0;
}
.news-stack-item:first-of-type { border-top: none; padding-top: 0; }
.news-stack-item:last-of-type { padding-bottom: 0; }

.nsi-date {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--oxblood);
  margin: 0 0 0.25rem;
  display: block;
}
.nsi-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.18;
  margin: 0 0 0.4rem;
}
.nsi-title a { color: var(--ink); background: none; }
.nsi-title a:hover { color: var(--oxblood); }
.nsi-excerpt {
  font-size: 0.96rem;
  line-height: 1.4;
  margin: 0 0 0.3rem;
  text-align: justify;
  hyphens: auto;
}
.nsi-meta {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0.3rem 0 0;
}

/* ---------- home: audio strip ------------------------------------------- */

.audio-strip { margin: 0 0 1.5rem; }

.strip-head {
  text-align: center;
  margin: 0 0 1.6rem;
  border-bottom: 1px solid var(--rule-mute);
  padding-bottom: 0.8rem;
}

.strip-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 0.35rem;
}

.strip-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.strip-dek {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-mute);
  margin: 0 auto 0;
  max-width: 38rem;
}

.audio-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule-mute);
  border: 1px solid var(--rule-mute);
}

.audio-card {
  background: var(--newsprint);
  padding: 0.9rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  color: var(--ink);
  background-image: none;
  transition: background 120ms ease;
}
.audio-card:hover, .audio-card:focus-visible {
  background: var(--newsprint-deep);
  color: var(--oxblood);
}

.ac-num {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--oxblood);
  font-weight: 600;
}
.ac-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 0.96rem;
  line-height: 1.18;
  color: inherit;
  min-height: 2.4em;
}
.ac-dur {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--ink-mute);
  margin-top: auto;
}

.strip-more {
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--oxblood);
  text-align: center;
  margin: 1.2rem 0 0;
}

/* ---------- home: groups strip ------------------------------------------ */

.groups-strip { margin: 0 0 1.5rem; }

.groups-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.grp-row {
  display: grid;
  grid-template-columns: 11em 1fr 12em;
  gap: 1rem;
  padding: 0.8rem 0.4rem;
  border-bottom: 1px solid var(--rule-mute);
  align-items: baseline;
}
.grp-row:last-child { border-bottom: none; }
.grp-city {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
}
.grp-loc {
  font-family: var(--f-body);
  font-style: italic;
  color: var(--ink);
}
.grp-sch {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--oxblood);
  text-align: right;
}

/* ---------- broadsheet prose (long-form columns) ----------------------- */

.broadsheet-prose {
  font-family: var(--f-body);
  font-size: 1.05rem;
  line-height: 1.55;
  text-align: justify;
  hyphens: auto;
}

.broadsheet-prose p { margin: 0 0 0.7em; }
.broadsheet-prose p + p { text-indent: 1.2em; }

.broadsheet-prose p.lead {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.5;
  text-indent: 0;
  margin-bottom: 1rem;
}

.broadsheet-prose p.with-dropcap {
  text-indent: 0;
  min-height: 4em;
}
.broadsheet-prose p.with-dropcap::first-letter {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 4em;
  line-height: 0.86;
  color: var(--oxblood);
  float: left;
  margin: 0.08em 0.12em 0 -0.04em;
  padding-top: 0.04em;
  font-feature-settings: "kern", "liga";
}

/* In a 3-column body, tone down inherited <strong> so the drop cap
   stays the focal element. */
.broadsheet-prose p.with-dropcap strong { font-weight: 400; }
.broadsheet-prose p strong { font-weight: 700; color: var(--ink); }

.broadsheet-prose .cite,
.broadsheet-prose a.cite,
a.cite {
  font-family: var(--f-mono);
  font-size: 0.78em;
  letter-spacing: 0.08em;
  background: rgba(138, 20, 20, 0.08);
  color: var(--oxblood);
  padding: 0.05em 0.4em;
  border: 1px solid rgba(138, 20, 20, 0.3);
  background-image: none;
  vertical-align: 0.05em;
  margin: 0 0.05em;
  white-space: nowrap;
}
a.cite:hover { background: rgba(138, 20, 20, 0.18); }

a.term-chip {
  color: var(--ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  font-style: italic;
}
a.term-chip:hover { color: var(--oxblood); }

.broadsheet-prose figure.pull-quote {
  margin: 1.6em 0;
  padding: 0;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1rem 1.5rem;
  page-break-inside: avoid;
  break-inside: avoid;
}
.pq-fleuron {
  color: var(--oxblood);
  margin: 0.2em 0 0.5em;
}
.pq-fleuron-bottom { margin: 0.5em 0 0.2em; transform: scaleY(-1); }
.pq-fleuron .orn-rub { width: 32px; height: auto; }

.pq-body {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 1.32;
  margin: 0;
  color: var(--ink);
  text-align: center;
  text-indent: 0;
}

/* ---------- topic broadsheet pages ------------------------------------- */

.topic-broadsheet { margin: 0 0 1.5rem; }

.topic-header {
  text-align: center;
  margin: 0 0 1rem;
}

.topic-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 0.5rem;
}

.topic-headline {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 0.4rem;
  letter-spacing: -0.005em;
  font-feature-settings: "kern", "liga", "swsh";
}

.topic-body {
  /* 3-column broadsheet body */
  column-count: 3;
  column-gap: var(--gutter);
  column-rule: 1px solid var(--rule-mute);
  max-width: 100%;
}
.topic-body > p,
.topic-body > .pull-quote,
.topic-body > figure {
  break-inside: avoid;
}
.topic-body figure.pull-quote {
  column-span: all;
  margin: 1.5em 0;
}

/* ---------- audiobook broadsheet --------------------------------------- */

.audiobook-broadsheet { margin-bottom: 1.5rem; }

.ab-hero {
  text-align: center;
  margin: 0 0 1.2rem;
}

.ab-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 0.5rem;
}

.ab-headline {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.ab-dek {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink-mute);
  margin: 0.4rem auto 0;
  max-width: 42rem;
  text-align: center;
}

.ab-cols {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}

.ab-col {
  padding: 0 1.2rem;
  border-right: 1px solid var(--rule);
}
.ab-col:first-child { padding-left: 0; }
.ab-col:last-child { padding-right: 0; border-right: none; }

.ab-col-h {
  text-align: center;
  border-bottom: 6px double var(--rule);
  margin: 0 0 1rem;
  padding-bottom: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}

.ab-col-roman {
  font-family: var(--f-masthead);
  font-weight: 700;
  font-size: 3rem;
  line-height: 0.95;
  color: var(--oxblood);
}

.ab-col-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--ink);
  line-height: 1.05;
}

.ab-col-sub {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.ab-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ab-row {
  border-bottom: 1px dotted var(--rule-mute);
}

.ab-link {
  display: grid;
  grid-template-columns: 2.5em 1fr 4.5em;
  gap: 0.7em;
  padding: 0.5em 0.1em;
  color: var(--ink);
  background: none;
  background-image: none;
  align-items: baseline;
}
.ab-link:hover, .ab-link:focus-visible { color: var(--oxblood); background: rgba(138, 20, 20, 0.04); }
.ab-link.active { color: var(--oxblood); background: rgba(138, 20, 20, 0.06); }

.ab-num {
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  color: var(--oxblood);
  font-weight: 600;
}

.ab-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 0.99rem;
  line-height: 1.15;
}

.ab-dur {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
  text-align: right;
}

.ab-player {
  padding: 0.6em 0.1em 0.8em;
  background: var(--newsprint-deep);
  border-top: 1px solid var(--rule-mute);
}
.ab-player[hidden] { display: none; }

/* Helilint frame (audio player wrap) */
.helilint-frame {
  margin: 0;
  padding: 0.6em;
  background: var(--newsprint-deep);
  border: 1px solid var(--rule);
  outline: 1px solid var(--rule);
  outline-offset: 3px;
  position: relative;
}
.helilint-frame::before {
  content: "HELILINT · " attr(data-paper);
  position: absolute;
  top: -0.7em;
  left: 1em;
  background: var(--newsprint);
  padding: 0 0.5em;
  font-family: var(--f-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--oxblood);
}

/* Theme the audio player itself (web component css-vars) */
urantia-audio-player {
  display: block;
  --uap-bg: var(--newsprint-deep);
  --uap-fg: var(--ink);
  --uap-accent: var(--oxblood);
  --uap-radius: 0;
}

/* ---------- terminology ------------------------------------------------- */

.dict-hero,
.news-hero,
.contact-hero,
.links-hero,
.vid-hero,
.kkk-hero,
.sec-hero,
.err-hero { text-align: center; margin: 0 0 1rem; }

.dict-eyebrow, .news-eyebrow, .contact-eyebrow, .links-eyebrow,
.vid-h-eyebrow, .kkk-eyebrow, .sec-eyebrow, .err-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin: 0 0 0.5rem;
}

.dict-headline, .news-headline, .contact-headline, .links-headline,
.vid-h-headline, .kkk-headline, .sec-headline, .err-headline {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 0.4rem;
}

.dict-dek, .news-dek, .contact-dek, .links-dek,
.vid-h-dek, .sec-dek, .err-dek {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--ink-mute);
  margin: 0.4rem auto 0;
  max-width: 42rem;
  text-align: center;
}

.kkk-dek {
  max-width: 42rem;
  margin: 0.4rem auto 0;
  text-align: center;
  font-style: italic;
  color: var(--ink-mute);
}

/* Letter board (terminology index) */
.letter-board { margin: 0 0 2rem; }
.letter-board-head {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 1rem;
}

.letter-board-grid {
  display: grid;
  /* 25 letters in 5 rows × 5 columns — symmetric period block */
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--rule-mute);
  border: 1px solid var(--rule-mute);
}

.letter-stamp {
  background: var(--newsprint);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 0.4rem 0.7rem;
  color: var(--ink);
  background-image: none;
  position: relative;
  min-height: 88px;
}
.letter-stamp:hover, .letter-stamp:focus-visible {
  background: var(--newsprint-deep);
  color: var(--oxblood);
}
.letter-stamp.ls-empty {
  opacity: 0.5;
}
.letter-stamp.active {
  background: var(--newsprint-deep);
  color: var(--oxblood);
}
.letter-stamp.active::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid var(--oxblood);
  pointer-events: none;
}
.ls-letter {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--oxblood);
}
.letter-stamp.ls-empty .ls-letter { color: var(--ink-mute); }
.ls-count {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin-top: 0.3rem;
}

/* Letter strip (inside letter page) */
.letter-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1px;
  background: var(--rule-mute);
  padding: 1px;
  margin: 0 0 1rem;
}
.letter-stamp-small {
  min-height: 60px;
  padding: 0.5em 0.6em 0.4em;
}
.letter-stamp-small .ls-letter {
  font-size: 1.3rem;
}
.letter-stamp-small .ls-count {
  font-size: 0.62rem;
}

/* Prominent term cards on terminology index */
.prom-block { margin: 0 0 2rem; }
.prom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.prom-entry {
  padding: 1.2rem 1.2rem;
  border-right: 1px solid var(--rule-mute);
  text-align: center;
}
.prom-entry:nth-child(3n) { border-right: none; }
.prom-entry:nth-child(n+4) { border-top: 1px solid var(--rule-mute); }

.prom-letter {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}
.prom-term {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 0.4rem;
  font-style: italic;
}
.prom-term a {
  color: var(--ink);
  background-image: none;
}
.prom-term a:hover { color: var(--oxblood); }
.prom-def {
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
  text-align: left;
  hyphens: auto;
}

/* Dictionary letter block (one letter page) */
.dict-letter-block { margin: 0 0 1.5rem; }

.dlb-head {
  display: flex;
  align-items: center;
  gap: 1.5em;
  border-bottom: 6px double var(--rule);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.dlb-initial {
  font-family: var(--f-masthead);
  font-weight: 700;
  font-size: 7rem;
  line-height: 0.86;
  color: var(--oxblood);
}

.dlb-meta { padding-top: 1rem; }

.dlb-eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--ink-mute);
  margin: 0 0 0.2rem;
  text-transform: uppercase;
}

.dlb-letter {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1;
  margin: 0 0 0.3rem;
  color: var(--ink);
}

.dlb-count {
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  margin: 0;
  text-transform: uppercase;
}

.term-list {
  column-count: 2;
  column-gap: var(--gutter);
  column-rule: 1px solid var(--rule-mute);
}

.term-entry {
  break-inside: avoid;
  margin: 0 0 1.5em;
}

.term-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.18rem;
  line-height: 1.18;
  font-style: italic;
  margin: 0 0 0.3em;
  color: var(--ink);
}

.term-def {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.45;
  margin: 0 0 0.4em;
  text-align: justify;
  hyphens: auto;
}

.term-refs {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin: 0;
}
.term-refs span:first-child {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-right: 0.4em;
}
.term-refs .cite { margin-right: 0.2em; }

/* Empty letter state */
.empty-letter {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--rule);
  margin: 1rem 0;
}
.el-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  color: var(--oxblood);
  margin: 0 0 0.6rem;
}
.el-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 0 0 0.8rem;
  font-style: italic;
}
.el-dek {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 auto 1rem;
  max-width: 30rem;
}
.el-cta {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ---------- news (notices) --------------------------------------------- */

.notices { margin: 0 0 1.5rem; }
.notices-empty {
  text-align: center;
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  padding: 2rem 0;
}

.notice {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 1.4rem 1.4rem 1.2rem;
  margin: 1rem 0;
  text-align: center;
  outline: 1px solid var(--rule);
  outline-offset: 4px;
  background: rgba(232, 221, 181, 0.3);
}

.notice-date {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--oxblood);
  margin: 0 0 0.5rem;
}

.notice-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 0 0 0.7rem;
  color: var(--ink);
}

.notice-body {
  font-family: var(--f-body);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.45;
  max-width: 40rem;
  margin: 0 auto 0.9rem;
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}

.notice-fields {
  display: inline-grid;
  grid-template-columns: auto auto;
  gap: 0.3em 1em;
  font-size: 0.84rem;
  text-align: left;
  margin: 0.6rem auto 0;
  letter-spacing: 0.04em;
}
.notice-fields dt {
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
}
.notice-fields dd {
  margin: 0;
  color: var(--ink);
}

/* Archive list */
.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.archive-row {
  display: grid;
  grid-template-columns: 11em 1fr 8em;
  gap: 1rem;
  padding: 0.8rem 0.4rem;
  border-bottom: 1px solid var(--rule-mute);
  align-items: baseline;
}
.archive-row:last-child { border-bottom: none; }

.ar-date {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--oxblood);
}
.ar-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--ink);
  background: none;
}
.ar-title:hover { color: var(--oxblood); }
.ar-cat {
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-align: right;
}

/* Individual news post */
.post-header { text-align: center; margin: 0 0 1rem; }
.post-date {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--oxblood);
  margin: 0 0 0.4rem;
}
.post-title {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 0.4rem;
}
.post-cat {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--ink-mute);
  margin: 0.3rem 0 0;
}

.post-rule {
  border-top: 1px solid var(--rule);
  box-shadow: 0 var(--rule-gap) 0 -2px var(--rule);
  margin: 1.5rem 0;
}

.post-body { margin: 0 0 1.5rem; }
.post-body p { margin: 0 0 0.8em; }
.post-body p + p { text-indent: 1.2em; }

.other-notices { margin: 0 0 1.5rem; }
.other-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.other-row {
  display: grid;
  grid-template-columns: 11em 1fr;
  gap: 1rem;
  padding: 0.7rem 0.4rem;
  border-bottom: 1px solid var(--rule-mute);
  align-items: baseline;
}
.other-row:last-child { border-bottom: none; }
.or-date {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--oxblood);
}
.or-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--ink);
  background: none;
}
.or-title:hover { color: var(--oxblood); }

/* ---------- video ------------------------------------------------------ */

.vid-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 0 0 1.5rem;
}

.vid-tile {
  background: var(--newsprint-deep);
  border: 1px solid var(--rule);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.vid-thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-color: var(--ink);
  position: relative;
  /* Halftone-style monochrome treatment */
  filter: grayscale(100%) contrast(115%) sepia(15%);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 200ms ease;
}
.vid-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(24, 20, 16, 0.32) 0.8px, transparent 1px);
  background-size: 3px 3px;
  background-position: 0 0;
  pointer-events: none;
}
.vid-thumb:hover, .vid-thumb:focus-visible {
  filter: grayscale(80%) contrast(115%) sepia(0%);
}

.vid-play {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  background: var(--oxblood);
  color: var(--newsprint);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  border: 2px solid var(--newsprint);
  outline: 2px solid var(--oxblood);
}

.vid-meta {
  padding: 0.8rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.vid-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--oxblood);
  margin: 0;
}
.vid-id {
  font-size: 0.74rem;
  color: var(--ink-mute);
  margin: 0;
}
.vid-link {
  font-size: 0.92rem;
  margin: 0.3rem 0 0;
}

/* When a video is loaded into an iframe, replace the thumb */
.video-iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* ---------- contact (officers) ---------------------------------------- */

.officers-block { margin: 0 0 1.5rem; }

.officers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin: 1.2rem 0 0;
}

.officer {
  padding: 1.5rem 1.4rem;
  border-right: 1px solid var(--rule-mute);
  border-bottom: 1px solid var(--rule-mute);
  text-align: center;
}
.officer:nth-child(even) { border-right: none; }
.officer:nth-child(n+3) { border-bottom: none; }

.of-role {
  font-size: 0.74rem;
  letter-spacing: 0.24em;
  color: var(--oxblood);
  margin: 0 0 0.6rem;
}

.of-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 0.6rem;
}

.of-line {
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0;
}
.of-line a { color: var(--oxblood); }

.ob-subtitle {
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.22em;
  color: var(--ink-mute);
  margin: 0 0 1rem;
}

.biblio-block {
  margin: 0 0 1.5rem;
}

.biblio {
  margin: 1.2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.b-row {
  display: grid;
  grid-template-columns: 13em 1fr;
  gap: 1.5rem;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--rule-mute);
  align-items: baseline;
}
.b-row:last-child { border-bottom: none; }
.b-row dt {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--ink-mute);
  margin: 0;
}
.b-row dd {
  margin: 0;
  font-size: 1.02rem;
  color: var(--ink);
}

/* ---------- partner links --------------------------------------------- */

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.link-row {
  display: grid;
  grid-template-columns: 13em 1fr;
  gap: 1.5rem;
  padding: 0.9rem 0.4rem;
  border-bottom: 1px solid var(--rule-mute);
  align-items: baseline;
}
.link-row:last-child { border-bottom: none; }

.lr-country {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.18rem;
  font-style: italic;
  color: var(--ink);
}
.lr-url {
  font-size: 0.9rem;
  color: var(--oxblood);
}

/* ---------- section card grids ----------------------------------------- */

.sec-prose { margin: 0 0 1.5rem; max-width: 50rem; margin-left: auto; margin-right: auto; }
.sec-prose p { margin: 0 0 1em; line-height: 1.55; text-align: justify; hyphens: auto; }

.sec-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  margin: 0 0 1.5rem;
}

.sec-card {
  padding: 1.4rem 1.4rem;
  border-right: 1px solid var(--rule-mute);
  border-bottom: 1px solid var(--rule-mute);
  display: flex;
  flex-direction: column;
  gap: 0.5em;
}
.sec-card:nth-child(3n) { border-right: none; }
.sec-card:nth-last-child(-n+3) { border-bottom: none; }

.sc-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--oxblood);
  margin: 0;
}
.sc-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.1;
  margin: 0;
}
.sc-title a {
  color: var(--ink);
  background-image: none;
}
.sc-title a:hover { color: var(--oxblood); }
.sc-dek {
  font-family: var(--f-body);
  font-size: 0.98rem;
  line-height: 1.45;
  margin: 0;
  flex: 1;
}
.sc-cta {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--oxblood);
  margin: 0.4rem 0 0;
}

/* ---------- KKK -------------------------------------------------------- */

.kkk-list { margin: 0 0 1.5rem; }

.kkk-item {
  border-top: 1px solid var(--rule);
  padding: 0.8rem 0;
}
.kkk-item:last-of-type { border-bottom: 1px solid var(--rule); }

.kkk-item summary {
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1em;
  align-items: baseline;
  padding: 0.4em 0.2em;
  list-style: none;
}
.kkk-item summary::-webkit-details-marker { display: none; }
.kkk-item summary:hover .kkk-q { color: var(--oxblood); }

.kkk-q {
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.25;
  color: var(--ink);
}

.kkk-arrow {
  font-family: var(--f-mono);
  color: var(--oxblood);
  font-size: 1.4rem;
  line-height: 1;
  width: 30px;
  text-align: center;
}
.kkk-item[open] .kkk-arrow { transform: rotate(45deg); transition: transform 180ms ease; }

.kkk-a {
  padding: 0.6em 0.2em 0.4em;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.55;
}
.kkk-a p { margin: 0 0 0.8em; }
.kkk-a p + p { text-indent: 1.2em; }

/* ---------- table of contents ----------------------------------------- */

.toc-part { margin: 0 0 2.5rem; }
.toc-part-head {
  text-align: center;
  margin: 0 0 1.2rem;
  border-bottom: 6px double var(--rule);
  padding-bottom: 0.8rem;
}
.toc-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  color: var(--oxblood);
  margin: 0 0 0.4rem;
}
.toc-part-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}

.toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 3;
  column-gap: var(--gutter);
  column-rule: 1px solid var(--rule-mute);
}
.toc-row { break-inside: avoid; margin: 0; }

.toc-link {
  display: grid;
  grid-template-columns: 2.5em 1fr;
  gap: 0.6em;
  padding: 0.35em 0.1em;
  color: var(--ink);
  background-image: none;
  align-items: baseline;
  border-bottom: 1px dotted var(--rule-mute);
}
.toc-link:hover { color: var(--oxblood); background: rgba(138, 20, 20, 0.04); }

.toc-num {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--oxblood);
}
.toc-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: 0.98rem;
  line-height: 1.18;
}

/* ---------- tsitaadid (quotes page) ----------------------------------- */

.tsi-blocks { margin: 0 0 1.5rem; }

.tsi-section { margin: 0 0 2rem; }

.tsi-section-head { text-align: center; margin: 0 0 1.2rem; }
.tsi-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--oxblood);
  margin: 0 0 0.3rem;
}
.tsi-section-title {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2.1rem;
  margin: 0 0 0.6rem;
  font-style: italic;
  color: var(--ink);
}

.tsi-quote {
  margin: 1.4rem auto;
  text-align: center;
  border-top: 1px solid var(--rule-mute);
  border-bottom: 1px solid var(--rule-mute);
  padding: 1rem 1.2rem;
  max-width: 42rem;
}
.tsi-body {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.4;
  margin: 0 0 0.6rem;
  text-align: justify;
  text-align-last: center;
  hyphens: auto;
}
.tsi-cite {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--ink-mute);
  margin: 0;
}

.tsi-prose {
  font-family: var(--f-body);
  font-size: 1.02rem;
  line-height: 1.5;
  max-width: 42rem;
  margin: 0.5rem auto 0.7rem;
  text-align: justify;
  hyphens: auto;
}

/* ---------- related-terms block ---------------------------------------- */

.rt-block { margin: 0 0 1.5rem; }

.rt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--rule-mute);
  border: 1px solid var(--rule-mute);
}

.rt-card {
  background: var(--newsprint);
  padding: 0.7rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
  color: var(--ink);
  background-image: none;
}
.rt-card:hover { background: var(--newsprint-deep); color: var(--oxblood); }

.rt-letter {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--oxblood);
}
.rt-term {
  font-family: var(--f-display);
  font-weight: 500;
  font-style: italic;
  font-size: 1.02rem;
  color: inherit;
}

.next-topic-nav {
  text-align: center;
  margin: 1.2rem 0;
}
.next-topic {
  display: inline-block;
  font-size: 0.84rem;
  letter-spacing: 0.18em;
  color: var(--oxblood);
  border: 1px solid var(--rule);
  padding: 0.65em 1.3em;
  background-image: none;
}
.next-topic:hover {
  background: var(--newsprint-deep);
}

/* ---------- articles --------------------------------------------------- */

.article-section-h {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--ink);
  margin: 2rem 0 0.8rem;
  border-top: 6px double var(--rule);
  padding-top: 1.2rem;
}

.article-subhead {
  font-family: var(--f-display);
  font-weight: 600;
  font-style: italic;
  font-size: 1.3rem;
  margin: 1.4em 0 0.6em;
  color: var(--oxblood);
  text-align: center;
  column-span: all;
}

/* ---------- 404 -------------------------------------------------------- */

.err-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  margin: 2rem 0;
}
.err-nav a {
  color: var(--oxblood);
  border-bottom: 1px solid var(--oxblood);
  padding-bottom: 0.2em;
  background-image: none;
}

/* ---------- COLOPHON (footer) ----------------------------------------- */

.colophon {
  max-width: 70rem;
  margin: 2.5rem auto 0;
  padding: 0 2rem 2.5rem;
}

.colophon-rule {
  border-top: 6px double var(--rule);
  margin-bottom: 0.7rem;
}

/* A single small tailpiece — the one decorative ornament that closes
   the page. Restrained and tight, not floating in a void. */
.colophon-fleuron {
  text-align: center;
  color: var(--oxblood);
  margin: 0 0 0.6rem;
}
.colophon-fleuron .orn-fleuron { width: 44px; height: auto; }

.colophon-inner { /* unconstrained */ }

.colophon-title {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0 0 1.3rem;
  color: var(--ink);
  font-style: italic;
}

.colophon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-mute);
  border: 1px solid var(--rule-mute);
  margin-bottom: 1.3rem;
}

.colophon-block {
  background: var(--newsprint);
  padding: 1.3rem 1.2rem;
}

.cb-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--oxblood);
  margin: 0 0 0.6rem;
}

.cb-body {
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.4;
  margin: 0 0 0.4rem;
  color: var(--ink);
}
.cb-body.small {
  font-size: 0.88rem;
  color: var(--ink-mute);
}
.cb-body.mono { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.04em; }

.cb-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--f-mono);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.cb-nav li { margin: 0 0 0.35rem; }
.cb-nav a { color: var(--ink); }

.colophon-bottom {
  text-align: center;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  padding-top: 1rem;
  border-top: 1px solid var(--rule-mute);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6em;
}
.colophon-sep { color: var(--ink-mute); }

/* ---------- responsive: tablet (≤ 1024px) ------------------------------ */

@media (max-width: 1024px) {
  #content { padding: 0 1.5rem 3rem; }

  .three-col {
    grid-template-columns: 1fr 1fr;
  }
  .col { padding: 0 0.9rem; }
  .col:nth-child(2) { border-right: none; padding-right: 0; }
  .col:nth-child(3) {
    grid-column: 1 / -1;
    border-right: none;
    padding: 1.2rem 0 0;
    border-top: 1px solid var(--rule-mute);
    margin-top: 0.6rem;
  }

  .audio-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .topic-body { column-count: 2; }

  .ab-cols {
    grid-template-columns: 1fr 1fr;
  }
  .ab-col:nth-child(2) { border-right: none; }
  .ab-col:nth-child(3) {
    grid-column: 1 / -1;
    padding: 1rem 0 0;
    border-top: 1px solid var(--rule);
    border-right: none;
    margin-top: 1rem;
  }

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

  .sec-card-grid { grid-template-columns: repeat(2, 1fr); }
  .sec-card:nth-child(3n) { border-right: 1px solid var(--rule-mute); }
  .sec-card:nth-child(2n) { border-right: none; }

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

  .prom-grid { grid-template-columns: 1fr 1fr; }
  .prom-entry:nth-child(3n) { border-right: 1px solid var(--rule-mute); }
  .prom-entry:nth-child(2n) { border-right: none; }
  .prom-entry:nth-child(n+3) { border-top: 1px solid var(--rule-mute); }

  .term-list { column-count: 2; }

  .toc-list { column-count: 2; }
}

/* ---------- responsive: mobile (≤ 760px) ------------------------------- */

@media (max-width: 760px) {
  body { font-size: 1.04rem; }

  #content { padding: 0 1.2rem 3rem; }

  .masthead { padding: 1rem 1.2rem 0; }
  .masthead-eyebrow { font-size: 0.66rem; letter-spacing: 0.2em; }

  .brandmark {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }
  .masthead-meta {
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    gap: 0.4em;
  }

  /* Mobile: collapse rubric bar to hamburger; hide most links */
  .rubric-bar { padding: 0.4rem 0; }
  .rubric-link { display: none; }
  .rubric-search { border-left: none; }
  .rubric-menu { display: inline-flex; align-items: center; justify-content: center; }

  .running-head {
    font-size: 0.66rem;
    letter-spacing: 0.12em;
  }
  .running-head .rh-right { display: none; }

  /* Single-column layout */
  .three-col { grid-template-columns: 1fr; }
  .col { padding: 0; border-right: none; border-bottom: 1px solid var(--rule-mute); padding-bottom: 1.5rem; margin-bottom: 1.5rem; }
  .col:last-child { border-bottom: none; }

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

  .topic-body { column-count: 1; column-rule: none; }

  .ab-cols { grid-template-columns: 1fr; }
  .ab-col {
    padding: 0;
    border-right: none;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--rule-mute);
  }
  .ab-col:last-child { border-bottom: none; }
  .ab-link { grid-template-columns: 2.5em 1fr 4em; gap: 0.4em; }
  .ab-title { font-size: 0.94rem; }

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

  .sec-card-grid { grid-template-columns: 1fr; }
  .sec-card { border-right: none !important; border-bottom: 1px solid var(--rule-mute); }
  .sec-card:last-child { border-bottom: none; }

  .prom-grid { grid-template-columns: 1fr; }
  .prom-entry { border-right: none !important; border-top: 1px solid var(--rule-mute); }
  .prom-entry:first-child { border-top: none; }

  .officers-grid { grid-template-columns: 1fr; }
  .officer { border-right: none !important; border-bottom: 1px solid var(--rule-mute); }
  .officer:last-child { border-bottom: none; }

  .colophon { padding: 0 1.2rem 2rem; }
  .colophon-grid { grid-template-columns: 1fr; }
  .colophon-block { border-bottom: 1px solid var(--rule-mute); }
  .colophon-block:last-child { border-bottom: none; }
  .colophon-bottom { flex-direction: column; gap: 0.2em; }
  .colophon-sep { display: none; }

  .term-list { column-count: 1; column-rule: none; }
  .toc-list { column-count: 1; column-rule: none; }

  .dlb-head { gap: 1rem; }
  .dlb-initial { font-size: 5rem; }
  .dlb-letter { font-size: 1.9rem; }

  .b-row { grid-template-columns: 1fr; gap: 0.3rem; padding: 0.8rem 0.4rem; }
  .b-row dt { font-size: 0.68rem; }

  .link-row { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.8rem 0.4rem; }
  .archive-row { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.8rem 0.4rem; }
  .grp-row { grid-template-columns: 1fr; gap: 0.3rem; padding: 0.8rem 0.4rem; }
  .grp-sch { text-align: left; }
  .other-row { grid-template-columns: 1fr; gap: 0.2rem; padding: 0.7rem 0.4rem; }

  .lead-title { font-size: clamp(2rem, 8vw, 3rem); }

  .notice { padding: 1rem 1rem; outline-offset: 3px; }
  .notice-fields { grid-template-columns: 1fr; gap: 0.2em; text-align: center; }
}

/* ---------- print ------------------------------------------------------ */

@media print {
  body {
    background: white;
    color: black;
    font-size: 11pt;
    font-family: "IM Fell English", Georgia, serif;
  }
  .masthead, .colophon, .rubric-bar, .mobile-drawer, .search-modal,
  .crumbs, .running-head, .err-nav, .next-topic-nav { display: none !important; }

  #content { max-width: 100%; padding: 0; }

  .brandmark, .topic-headline, .post-title, .lead-title, .sec-headline, .ab-headline {
    color: black;
  }

  .lead-title, .topic-headline { font-size: 28pt; }
  .topic-body { column-count: 2; }
  .archive-row, .link-row, .grp-row, .b-row, .other-row { display: grid; }
}

/* ---------- reduced motion -------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
