/* ==========================================================================
   GenevaAL.com — shared stylesheet
   Used by: index.html, videos.html
   Change a color, font or size here and it updates every page.
   ========================================================================== */

/* ===== TOKENS ===== */
:root {
  --ink: #1B1D21;
  --ink-soft: #3B3F46;
  --ink-faint: #5E636B;
  --paper: #FBFAF7;
  --panel: #EEF2F7;
  --panel-line: #C5CCD6;
  --navy: #14365E;
  --navy-light: #E6EDF6;
  --red: #B42318;
  --red-light: #FBEDEB;
  --gold: #C77D06;
  --gold-light: #FDF4E3;
  --col: 660px;
  --wide: 940px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  font-size: 19px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--red); }
strong { font-weight: 700; }
:root { --anchor-offset: 58px; }
@media (max-width: 780px) { :root { --anchor-offset: 58px; } }
[id] { scroll-margin-top: var(--anchor-offset); }

/* ===== FLAG / NAMEPLATE ===== */
.flag {
  background: var(--paper);
  border-top: 6px solid var(--red);
  border-bottom: 1px solid var(--ink);
}
.flag-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 18px 22px 8px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.ear {
  font-family: 'Libre Baskerville', serif;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--ink-soft);
  border: 1px solid var(--navy);
  border-top: 4px solid var(--navy);
  padding: 7px 10px;
  max-width: 220px;
  background: #fff;
}
.ear-l { justify-self: start; }
.ear-r {
  justify-self: end;
  text-align: right;
  border-top-color: var(--red);
}
.flag-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: clamp(36px, 6.5vw, 72px);
  line-height: 1.02;
  color: var(--navy);
  text-decoration: none;
  white-space: nowrap;
  padding: 0 6px;
  letter-spacing: -0.01em;
  display: block;
  text-align: center;
}
.flag-name:hover { color: var(--navy); }
.motto {
  text-align: center;
  margin: 4px 0 0;
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.dateline {
  max-width: var(--wide);
  margin: 10px auto 0;
  padding: 5px 22px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-family: 'Libre Baskerville', serif;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ===== NAV ===== */
nav.jump {
  background: var(--navy);
  border-bottom: 4px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 20;
}
nav.jump .wrap {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: center;
}
nav.jump a {
  font-family: 'Libre Baskerville', serif;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 9px 13px;
  border-right: 1px solid rgba(255,255,255,0.25);
  text-decoration: none;
  line-height: 1.3;
}
nav.jump a:last-child { border-right: 0; }
nav.jump a:hover, nav.jump a:focus { color: #FFD58A; text-decoration: underline; }
@media (max-width: 640px) {
  nav.jump { position: static; }
  :root { --anchor-offset: 14px; }
}

/* ===== DEFINITION BLOCK ===== */
.definition-wrap {
  background: var(--navy);
  color: var(--paper);
  padding: 44px 24px;
  border-bottom: 4px solid var(--red);
}
.definition {
  max-width: var(--col);
  margin: 0 auto;
}
.def-word {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 4px;
}
.def-pron {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 19px;
  color: #FFD58A;
  margin-bottom: 4px;
}
.def-pos {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
.def-text {
  font-size: 20px;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  border-left: 4px solid var(--red);
  padding-left: 20px;
  font-style: italic;
}

/* ===== LEAD PHOTO ===== */
.lead-photo-wrap {
  max-width: var(--col);
  margin: 0 auto;
  padding: 36px 24px 0;
}
.lead-photo {
  width: 100%;
  max-width: 360px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid var(--panel-line);
  border-top: 4px solid var(--navy);
}
.lead-photo-caption {
  font-family: 'Libre Baskerville', serif;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
  margin: 10px auto 0;
  line-height: 1.65;
  max-width: 360px;
  padding-bottom: 8px;
}

/* ===== TABLE OF CONTENTS ===== */
.toc-wrap {
  background: var(--panel);
  border-top: 1px solid var(--panel-line);
  border-bottom: 4px solid var(--navy);
  padding: 28px 24px;
}
.toc-inner { max-width: var(--col); margin: 0 auto; }
.toc-label {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  display: inline-block;
  padding: 3px 9px;
  margin-bottom: 14px;
}
.toc-note {
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 13.5px;
  line-height: 1.6;
  color: #5A6472;
  margin: 16px 0 0;
  padding-top: 13px;
  border-top: 1px solid var(--panel-line);
}
.toc-list { list-style: none; }
.toc-list li {
  margin-bottom: 6px;
  font-size: 15px;
  padding: 5px 0;
  border-bottom: 1px solid var(--panel-line);
}
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  font-family: 'Crimson Pro', serif;
  color: var(--navy);
  text-decoration: none;
}
.toc-list a:hover { color: var(--red); text-decoration: underline; }

/* ===== ARTICLE BODY ===== */
.blog-wrap {
  max-width: var(--col);
  margin: 0 auto;
  padding: 56px 24px 80px;
}
.blog-wrap h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin: 54px 0 16px;
  padding-top: 36px;
  border-top: 3px double var(--panel-line);
  scroll-margin-top: var(--anchor-offset);
}
.sub-head {
  font-family: 'Playfair Display', serif;
  font-size: 20.5px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--navy);
  margin: 34px 0 10px;
  letter-spacing: -0.005em;
}
.blog-wrap h2:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}
.blog-wrap p {
  margin-bottom: 22px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.8;
}
.blog-wrap p.lede {
  font-size: 21px;
  color: var(--ink);
  font-style: italic;
  line-height: 1.7;
  border-left: 4px solid var(--red);
  padding-left: 18px;
  margin-bottom: 26px;
}

blockquote {
  margin: 40px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--navy);
  background: var(--navy-light);
  font-style: italic;
  font-size: 20px;
  color: var(--ink);
  line-height: 1.65;
  border-radius: 0;
}

.ornament-rule {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 50px 0;
}
.ornament-rule::before,
.ornament-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--panel-line);
}
.ornament-rule span { color: var(--navy); font-size: 18px; }

/* ===== SETTLEMENT BOX ===== */
.settlement-box {
  background: var(--navy);
  color: var(--paper);
  margin: 40px 0;
  padding: 32px;
  border-top: 4px solid var(--gold);
}
.settlement-box h4 {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #FFD58A;
  margin-bottom: 18px;
}
.s-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  gap: 16px;
  flex-wrap: wrap;
}
.s-row:last-child { border-bottom: none; }
.s-label {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  max-width: 60%;
}
.s-value {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.s-note {
  font-size: 13px;
  color: #FFD58A;
  font-style: italic;
  width: 100%;
  margin-top: -4px;
  padding-bottom: 4px;
}

/* ===== RELAYED MARKER ===== */
.relayed {
  border-bottom: 1px dotted var(--gold);
  text-decoration: none;
  cursor: help;
}

/* ===== RECORD TAG ===== */
.record-tag {
  font-family: 'Libre Baskerville', serif;
  font-size: 12px;
  font-style: normal;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--navy-light);
  border: 1px solid var(--panel-line);
  border-radius: 2px;
  padding: 1px 8px;
  white-space: nowrap;
}

/* ===== CTA BOX ===== */
.cta-box {
  background: var(--red-light);
  border: 1px solid var(--panel-line);
  border-left: 4px solid var(--red);
  padding: 28px;
  margin: 40px 0;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.75;
}
.cta-box strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  color: var(--red);
  margin-bottom: 10px;
  font-style: italic;
  font-weight: 700;
}

/* ===== LEGEND NOTE ===== */
.legend-note {
  font-size: 14.5px;
  font-style: italic;
  color: var(--ink-faint);
  text-align: center;
  border-top: 1px solid var(--panel-line);
  padding-top: 28px;
  margin-top: 8px;
}

/* ===== VIDEO BLOCK ===== */
.video-block {
  margin: 40px 0;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-top: 4px solid var(--navy);
  padding: 18px 18px 14px;
}
.video-block-label {
  font-family: 'Libre Baskerville', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
  display: block;
}
.video-block-inner {
  display: flex;
  justify-content: center;
}
.video-block video {
  width: 100%;
  max-width: 320px;
  height: auto;
  display: block;
  background: #000;
}
/* Landscape clips fill the column instead of the narrow portrait box */
.video-block.wide video { max-width: 100%; }
.video-caption {
  font-family: 'Libre Baskerville', serif;
  font-size: 14.5px;
  font-style: normal;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.7;
}

/* ===== DISCLAIMER ===== */
.disclaimer {
  background: var(--panel);
  border-top: 4px solid var(--navy);
  color: var(--ink-soft);
  font-size: 15px;
  text-align: center;
  padding: 56px 24px;
  line-height: 1.85;
  font-family: 'Libre Baskerville', serif;
}
.disclaimer .disclaimer-inner { max-width: var(--col); margin: 0 auto; }
.disclaimer strong {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy);
  color: #DCE4EE;
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
  font-family: 'Libre Baskerville', serif;
  letter-spacing: 0.04em;
  border-top: 4px solid var(--red);
}
footer a { color: #fff; }

a:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .flag-inner { grid-template-columns: 1fr; justify-items: center; padding-top: 14px; }
  .ear { display: none; }
  .dateline { justify-content: center; }
  .blog-wrap { padding-top: 36px; }
}

/* ==========================================================================
   PAGE HEADER BAND  (index.html + videos.html)
   ========================================================================== */
.page-head {
  background: var(--paper);
  border-bottom: 1px solid var(--panel-line);
  padding: 32px 24px 26px;
}
.page-head-inner { max-width: var(--col); margin: 0 auto; }
.kicker {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--red);
  display: inline-block;
  padding: 3px 9px;
  margin-bottom: 12px;
}
.page-head h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 46px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--navy);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}
.page-head .standfirst {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-soft);
  margin: 0;
}

/* ==========================================================================
   VIDEOS PAGE
   ========================================================================== */
.wrap-col {
  max-width: var(--col);
  margin: 0 auto;
  padding: 48px 24px 72px;
}
nav.jump a.here { background: var(--red); }

.video-entry { margin-bottom: 64px; }
.video-entry:last-of-type { margin-bottom: 24px; }

/* highlighted exhibit */
.video-entry.standout {
  background: var(--red-light);
  border: 1px solid #E8C4BF;
  border-left: 6px solid var(--red);
  padding: 26px 28px 22px;
}
.video-entry.standout .entry-num { background: var(--red); }
.video-entry.standout .figure { margin-top: 18px; }
.video-entry.standout .figure.document img { background: #fff; }
@media (max-width: 640px) {
  .video-entry.standout { padding: 20px 16px 18px; }
}
.video-entry .video-block { margin: 0; }
.entry-num {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--navy);
  display: inline-block;
  padding: 3px 9px;
  margin-bottom: 12px;
}
.video-entry h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 18px;
}

.backlink {
  margin-top: 18px;
  border-left: 4px solid var(--red);
  background: var(--red-light);
  padding: 14px 18px;
  font-size: 16.5px;
  line-height: 1.6;
}
.backlink a {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--navy);
}
.backlink a:hover { color: var(--red); border-bottom-color: var(--red); }
.backlink .ctx {
  display: block;
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 8px;
}

/* Navy variant of the call-to-action box, used on the videos page */
.cta-box.navy {
  background: var(--navy-light);
  border-left-color: var(--navy);
}
.cta-box.navy strong { color: var(--navy); }

@media (max-width: 640px) {
  .wrap-col { padding-top: 32px; }
  .video-entry { margin-bottom: 48px; }
}

/* ==========================================================================
   PHOTO FIGURES
   .figure           full column width (landscape shots)
   .figure.portrait  narrowed so tall shots don't dominate the page
   Each image links to the full-size file; clicking opens it.
   ========================================================================== */
.figure {
  margin: 36px 0;
  background: var(--panel);
  border: 1px solid var(--panel-line);
  border-top: 4px solid var(--navy);
  padding: 16px 16px 12px;
}
.figure-label {
  font-family: 'Libre Baskerville', serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 12px;
  display: block;
}
.figure a { display: block; line-height: 0; }
.figure img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #fff;
}
.figure.portrait img { max-width: 440px; }
.figure.document img { max-width: 520px; border: 1px solid var(--panel-line); }
.figure figcaption {
  font-family: 'Libre Baskerville', serif;
  font-size: 14.5px;
  color: var(--ink-soft);
  margin-top: 14px;
  line-height: 1.7;
  text-align: left;
}
.figure .enlarge {
  display: block;
  margin-top: 8px;
  font-family: 'Libre Baskerville', serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
  font-style: italic;
}

/* Side-by-side pair on wide screens, stacked on phones */
.figure-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.figure-pair .figure { margin: 0; }
.figure-pair .figure.portrait img { max-width: 100%; }
@media (max-width: 640px) {
  .figure-pair { grid-template-columns: 1fr; }
  .figure { padding: 12px 12px 10px; }
}

/* Group heading on the evidence page ("Video", "Photographs & Documents") */
.group-head {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 900;
  color: #fff;
  background: var(--navy);
  display: block;
  padding: 7px 14px;
  margin: 0 0 30px;
  letter-spacing: 0.01em;
}
.ornament-rule + .group-head { margin-top: 0; }

/* Understated paired photo — deliberately small, centred, no label */
.figure.quiet-pair {
  max-width: 470px;
  margin-left: auto;
  margin-right: auto;
  border-top-width: 2px;
  padding: 12px 12px 10px;
}
.figure.quiet-pair .qp-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.figure.quiet-pair a { display: block; line-height: 0; }
.figure.quiet-pair img { width: 100%; height: auto; display: block; }
.figure.quiet-pair figcaption { font-size: 13px; margin-top: 10px; }

.figure figcaption .doc-link{display:block;margin-top:.5rem;font-weight:600;}

.satire-note{font-family:Georgia,'Times New Roman',serif;font-style:italic;font-size:.95rem;
  color:#6B6257;border-left:3px solid #B03A2E;padding:.15rem 0 .15rem .8rem;margin:0 0 1.6rem;}
.satire-note a{color:#14365E;}

.nav-satire::before{content:"";display:inline-block;width:1.05em;height:1.05em;margin-right:.4em;vertical-align:-0.18em;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E %3Ccircle cx='16' cy='16' r='14.2' fill='%23F2C94C' stroke='%238A5E00' stroke-width='1.6'/%3E %3C%21-- eyes: squeezed shut, laughing --%3E %3Cpath d='M8.2 13.8 q3.4 -4.4 6.8 0' fill='none' stroke='%232E2100' stroke-width='2.7' stroke-linecap='round'/%3E %3Cpath d='M17 13.8 q3.4 -4.4 6.8 0' fill='none' stroke='%232E2100' stroke-width='2.7' stroke-linecap='round'/%3E %3C%21-- big open laughing mouth --%3E %3Cpath d='M9.6 19.2 h12.8 a6.4 6.4 0 0 1 -12.8 0 z' fill='%232E2100'/%3E %3Cpath d='M13 25.1 a3.6 3.6 0 0 0 6 0 a3 3 0 0 0 -6 0 z' fill='%23E86A7C'/%3E %3C%21-- tear on the cheek, clear of the mouth --%3E %3Cpath d='M6.2 16.4 q2.9 3.9 0 6 q-2.9 -2.1 0 -6 z' fill='%234FA8E8' stroke='%232273B0' stroke-width='0.8'/%3E %3C/svg%3E") no-repeat center/contain;}
.nav-new{display:inline-block;margin-left:.45em;padding:.07em .42em;border-radius:3px;background:#FFD58A;color:#14365E;font-family:Georgia,serif;font-weight:700;font-size:.62em;letter-spacing:.06em;vertical-align:.18em;text-transform:uppercase;}

/* video loading notice (shown only until metadata arrives) */
.video-block .vid-wrap { position: relative; display: block; width: 100%; max-width: 320px; margin: 0 auto; line-height: 0; }
.video-block.wide .vid-wrap { max-width: 100%; }
.video-block .vid-wrap video { max-width: 100%; }
.vid-loading { display: none; }
.vid-wrap.loading .vid-loading {
  display: block; position: absolute; left: 0; right: 0; bottom: 11%;
  background: rgba(20,54,94,.88); color: #FBFAF7;
  font-family: Georgia,'Times New Roman',serif; font-size: 12.5px;
  letter-spacing: .09em; text-transform: uppercase; text-align: center;
  line-height: 1.5; padding: 7px 6px; pointer-events: none;
}

/* headline + definition, side by side */
.split-wrap { background: var(--navy); border-bottom: 4px solid var(--red); }
.split-inner { max-width: var(--wide); margin: 0 auto; padding: 34px 24px 32px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.split-head .kicker { display:inline-block; background: var(--red); color:#fff;
  font-family:'Libre Baskerville',serif; font-size:11.5px; letter-spacing:.14em;
  text-transform:uppercase; padding:5px 11px; margin:0 0 14px; }
.split-head h1 { font-family:'Playfair Display',serif; font-weight:900;
  font-size: 30px; line-height:1.16; color:#FBFAF7; margin:0 0 12px; }
.split-head .standfirst { font-family:'Libre Baskerville',serif; font-style:italic;
  font-size:15px; line-height:1.65; color:#D7DEE8; margin:0; }
.split-def { padding: 2px 0; }
.split-def .def-word { font-family:'Playfair Display',serif; font-weight:900;
  font-size:30px; color:#FBFAF7; line-height:1.1; }
.split-def .def-pron { font-family:'Libre Baskerville',serif; font-style:italic;
  color:#E3B23C; font-size:15px; margin-top:2px; }
.split-def .def-pos { font-family:'Libre Baskerville',serif; font-size:11px;
  letter-spacing:.16em; text-transform:uppercase; color:#9FB0C4; margin:7px 0 10px; }
.split-def .def-text { font-family:'Libre Baskerville',serif; font-style:italic;
  font-size:15px; line-height:1.65; color:#EDF1F6; }
@media (max-width: 820px) {
  .split-inner { grid-template-columns: 1fr; gap: 26px; padding: 26px 20px 28px; }
  .split-def { border-top:3px solid var(--red); padding:16px 0 0; }
}

/* four meter positions, matched frames */
.install-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:26px 0 6px; }
.install-grid .install-cell { margin:0; }
.install-grid .install-cell img { width:100%; height:auto; display:block; border:1px solid var(--panel-line); }
.install-grid .install-cell figcaption { margin-top:8px; }
.grid-note { font-family:'Libre Baskerville',serif; font-style:italic; font-size:14px;
  color: var(--ink-soft); text-align:center; margin:4px 0 26px; }
@media (max-width: 680px) { .install-grid { grid-template-columns:1fr; gap:22px; } }
/* two document pages stacked in one exhibit box */
.figure.document.stacked img { max-width:520px; margin:0 auto 4px; }
.figure.document.stacked .sub-cap { font-family:'Libre Baskerville',serif; font-size:13.5px;
  font-style:italic; color:var(--ink-soft); text-align:center; margin:0 0 18px; }
.figure.document.stacked .sub-cap:last-of-type { margin-bottom:10px; }

/* two short videos side by side */
.video-pair { display:grid; grid-template-columns:1fr 1fr; gap:22px; margin:26px 0; align-items:start; }
.video-pair .video-block { margin:0; }
.video-pair .video-block .vid-wrap { max-width:200px; }
.video-pair .video-caption { font-size:13.5px; line-height:1.6; }
@media (max-width: 680px) {
  .video-pair { grid-template-columns:1fr; gap:26px; }
  .video-pair .video-block .vid-wrap { max-width:260px; }
}

/* side-panel profile box */
.who-box {
  background: var(--paper-2, #F3F1EC);
  border: 1px solid var(--panel-line);
  border-left: 5px solid var(--red);
  padding: 22px 26px;
  margin: 34px 0;
}
.who-box .who-label {
  display: block;
  font-family: 'Libre Baskerville', serif;
  font-size: 11.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}
.who-box p { margin: 0; font-size: 16.5px; line-height: 1.75; }

/* in-body dictionary panel for a legal term */
.term-box {
  background: var(--navy);
  border-top: 6px solid var(--red);
  padding: 26px 30px 28px;
  margin: 34px 0;
}
.term-box .term-label {
  font-family: 'Libre Baskerville', serif;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}
.term-box .term-word {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 900;
  color: #FBFAF7;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.term-box .term-pos {
  font-family: 'Crimson Pro', serif;
  font-style: italic;
  font-size: 17px;
  color: #FFD58A;
  margin-bottom: 16px;
}
.term-box .term-text {
  font-size: 17.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  border-left: 4px solid var(--red);
  padding-left: 18px;
}
.term-box .term-text em { color: #FFD58A; font-style: italic; }
@media (max-width: 640px) {
  .term-box { padding: 22px 20px 24px; }
  .term-box .term-word { font-size: 28px; }
  .term-box .term-text { font-size: 16.5px; padding-left: 14px; }
}
