/* Layout concept: three pages behind one proposal bar. The strategy reads like a short memo; the two mockups are full-bleed, built from the masthead Chuck already owns (navy, gold, condensed caps). Single light look on purpose, so the client sees the design as designed. */
:root {
  --navy: #0E2557;
  --navy-deep: #091A40;
  --navy-line: #27407A;
  --gold: #F5B82E;
  --gold-soft: #FBE3A6;
  --paper: #F4F6FA;
  --white: #FFFFFF;
  --ink: #131B2E;
  --muted: #535E74;
  --on-navy: #DCE3F2;
  --line: #D8DEE9;
  --link: #1B4AA0;
  --pin: #D92D4A;
  --display: var(--font-display), "Arial Narrow", Impact, sans-serif;
  --sans: var(--font-sans), "Helvetica Neue", Arial, sans-serif;
  --serif: var(--font-serif), Georgia, "Times New Roman", serif;
  --bar: 0px;
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.55; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--pin); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 860px; }

/* Shared buttons and labels */
.buy { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px; background: var(--gold); color: var(--navy-deep); font: 700 15px/1.2 var(--sans); text-decoration: none; border-radius: 4px; white-space: nowrap; transition: background .15s; }
.buy:hover { background: #FFCB52; }
.buy.small { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.buy.navy { background: var(--navy); color: var(--white); }
.buy.navy:hover { background: var(--navy-deep); }
.eyebrow { font: 700 13px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; }

/* Masthead */
.mast { background: var(--navy); color: var(--white); }
.mast .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding-block: 14px; }
.logo { text-decoration: none; }
.logo b { display: block; font: 700 31px/1 var(--display); color: var(--gold); letter-spacing: .01em; text-transform: uppercase; }
.logo span { display: block; margin-top: 2px; font: 600 11px/1 var(--sans); letter-spacing: .22em; color: var(--on-navy); text-transform: uppercase; }
.mnav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; margin-left: auto; }
.mnav a { font: 600 15px var(--sans); color: var(--white); text-decoration: none; }
.mnav a:hover { color: var(--gold); }
.mnav a.booksbtn { padding: 8px 14px; background: var(--gold); color: var(--navy-deep); border-radius: 4px; }

/* Homepage */
.h-hero { background: var(--navy); color: var(--white); padding-block: 36px 0; border-top: 1px solid var(--navy-line); }
.h-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.h-hero .eyebrow { color: var(--gold); margin-bottom: 12px; }
.h-hero h1 { font: 700 clamp(56px, 8.6vw, 112px)/.92 var(--display); text-transform: uppercase; color: var(--white); }
.h-hero h1 em { font-style: normal; color: var(--gold); }
.h-hero p { margin-top: 18px; max-width: 34em; font: 400 20px/1.5 var(--serif); color: var(--on-navy); }
.h-hero .cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-block: 24px 44px; }
.h-hero .cta-line small { font-size: 14px; color: var(--on-navy); }
.hero-cover { position: relative; justify-self: center; margin-bottom: -56px; z-index: 2; }
.hero-cover a { display: block; }
.hero-cover img { width: 330px; transform: rotate(2.5deg); box-shadow: 0 22px 44px rgba(3, 10, 30, .5); }

.h-latest { padding-block: 92px 56px; }
.h-latest .grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.sec-h { font: 700 34px/1 var(--display); text-transform: uppercase; color: var(--navy); padding-bottom: 10px; border-bottom: 3px solid var(--navy); }
.sec-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 8px 16px; padding-bottom: 10px; border-bottom: 3px solid var(--navy); }
.sec-row .sec-h { padding-bottom: 0; border-bottom: 0; }
.see-link { font: 700 15px var(--sans); color: var(--link); text-decoration: none; white-space: nowrap; }
.see-link:hover { text-decoration: underline; }
.ph { display: block; overflow: hidden; background: var(--navy); }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; transition: transform .3s; }
.ph:hover img { transform: scale(1.03); }
.lead-story .ph { aspect-ratio: 16 / 9; max-width: 100%; margin-bottom: 18px; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.card { min-width: 0; }
.card .ph { aspect-ratio: 3 / 2; max-width: 100%; margin-bottom: 12px; }
.card h3 { margin-top: 4px; font: 600 21px/1.25 var(--serif); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--link); }
.card .date { margin-top: 6px; }
.tile { display: flex; align-items: flex-end; padding: 18px; text-decoration: none; border-bottom: 6px solid var(--gold); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%); }
.tile span { font: 700 clamp(30px, 3.4vw, 42px)/.92 var(--display); text-transform: uppercase; color: var(--gold); }
.see-all { padding-top: 26px; }
.h-latest .book-card { position: sticky; top: calc(var(--bar) + env(safe-area-inset-top, 0px) + 20px); }
.lead-story { padding-block: 22px; border-bottom: 1px solid var(--line); }
.cat { font: 700 12px/1.3 var(--sans); letter-spacing: .09em; text-transform: uppercase; color: #8A5F00; }
.lead-story h3 { margin-top: 6px; font: 600 40px/1.12 var(--serif); }
.lead-story h3 a, .story h3 a { color: var(--ink); text-decoration: none; }
.lead-story h3 a:hover, .story h3 a:hover { color: var(--link); }
.lead-story p { margin-top: 10px; font: 400 19px/1.5 var(--serif); color: var(--muted); max-width: 36em; }
.date { font-size: 13px; color: var(--muted); }
.lead-story .date { margin-top: 10px; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; padding-block: 16px; border-bottom: 1px solid var(--line); align-items: baseline; }
.story .cat { grid-column: 1 / -1; }
.story h3 { font: 600 22px/1.25 var(--serif); }

.book-card { background: var(--white); border: 1px solid var(--line); padding: 20px; }
.book-card .eyebrow { color: #8A5F00; }
.book-card img { width: 170px; margin: 12px auto 14px; box-shadow: 0 8px 20px rgba(9, 26, 64, .25); }
.book-card h3 { font: 600 20px/1.25 var(--serif); }
.book-card p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.book-card .buy { width: 100%; margin-top: 14px; }

.h-fee { background: var(--gold); color: var(--navy-deep); padding-block: 44px; }
.h-fee .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 36px; align-items: center; }
.h-fee b { display: block; font: 700 clamp(84px, 15vw, 188px)/.86 var(--display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.h-fee p { margin-top: 12px; max-width: 32em; font: 400 22px/1.4 var(--serif); }
.h-fee small { display: block; margin-top: 10px; font-size: 13px; }
.h-fee .side { display: grid; justify-items: center; gap: 14px; }
.h-fee .side img { width: 150px; box-shadow: 0 10px 24px rgba(9, 26, 64, .35); }

.h-shelf { padding-block: 56px; background: var(--white); }
.h-shelf .sub { margin-top: 10px; font: 400 19px/1.5 var(--serif); color: var(--muted); }
.shelf { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; margin-top: 30px; }
.shelf-item { display: grid; grid-template-rows: 250px auto 1fr auto; }
.shelf-cover { display: flex; align-items: flex-end; justify-content: center; padding-bottom: 0; border-bottom: 6px solid var(--navy); }
.shelf-cover img { max-height: 232px; width: auto; box-shadow: 0 8px 18px rgba(9, 26, 64, .3); }
.shelf-item .cat { margin-top: 14px; }
.shelf-item h3 { margin-top: 4px; font: 600 18px/1.25 var(--serif); }
.shelf-item p { margin-block: 6px 12px; font-size: 14px; color: var(--muted); }
.shelf-item .buy { justify-self: start; }

.h-author { background: var(--navy-deep); color: var(--white); padding-block: 44px; }
.h-author .wrap { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; }
.h-author h2 { font: 700 clamp(32px, 4vw, 44px)/1.02 var(--display); text-transform: uppercase; color: var(--gold); }
.h-author p { margin-top: 12px; color: var(--on-navy); max-width: 36em; }
.h-author ul { display: grid; gap: 10px; color: var(--on-navy); font-size: 15px; }
.h-author li { padding-bottom: 10px; border-bottom: 1px solid var(--navy-line); }
.h-author li:last-child { border-bottom: 0; padding-bottom: 0; }

.m-foot { background: var(--navy); color: var(--on-navy); padding-block: 22px; font-size: 13px; }
.m-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }

/* Article */
.a-head { padding-block: 40px 28px; background: var(--white); }
.a-head .wrap { max-width: 1180px; }
.a-head h1 { margin-top: 10px; max-width: 16em; font: 700 clamp(42px, 6.4vw, 76px)/.98 var(--display); text-transform: uppercase; color: var(--navy); }
.a-head .dek { margin-top: 14px; max-width: 32em; font: 400 22px/1.4 var(--serif); color: var(--muted); }
.a-head .byl { margin-top: 16px; font-size: 14px; color: var(--muted); }
.a-head .byl strong { color: var(--ink); }
.a-feature { margin-top: 26px; }
.a-feature svg { display: block; width: 100%; height: auto; max-width: 100%; }
.a-feature figcaption { margin-top: 8px; font-size: 13px; color: var(--muted); }
.a-body-band { background: var(--white); padding-bottom: 56px; }
.a-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 28px; border-top: 1px solid var(--line); }
.prose { max-width: 680px; font: 400 20px/1.62 var(--serif); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; font: 700 36px/1.05 var(--display); text-transform: uppercase; color: var(--navy); }
.prose ul { display: grid; gap: .7em; }
.prose li { padding-left: 1.1em; position: relative; }
.prose li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45em; height: .45em; background: var(--gold); }

.chart { padding-block: 6px; }
.chart h3 { font: 700 15px/1.3 var(--sans); }
.bar-row { margin-top: 12px; font-family: var(--sans); }
.bar-row .lbl { font-size: 14px; color: var(--muted); }
.bar-track { margin-top: 4px; }
.bar { display: flex; align-items: center; justify-content: flex-end; height: 38px; padding-right: 10px; font: 700 18px var(--sans); font-variant-numeric: tabular-nums; }
.bar.a { background: var(--navy); color: var(--white); }
.bar.b { background: var(--gold); color: var(--navy-deep); }
.chart .note { margin-top: 10px; font: 400 13px/1.4 var(--sans); color: var(--muted); }

.inline-cta { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; padding: 18px; background: var(--paper); border-block: 3px solid var(--navy); font-family: var(--sans); align-items: start; }
.inline-cta img { width: 96px; box-shadow: 0 6px 14px rgba(9, 26, 64, .3); }
.inline-cta strong { display: block; font: 700 18px/1.3 var(--sans); color: var(--navy); }
.inline-cta p { margin-block: 4px 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }

.rail { position: sticky; top: calc(var(--bar) + env(safe-area-inset-top, 0px) + 20px); }

.a-end { background: var(--navy); color: var(--white); padding-block: 44px; }
.a-end .wrap { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 36px; align-items: center; }
.a-end img { width: 170px; box-shadow: 0 12px 26px rgba(3, 10, 30, .5); }
.a-end .eyebrow { color: var(--gold); }
.a-end h2 { margin-top: 6px; font: 700 clamp(36px, 5vw, 58px)/1 var(--display); text-transform: uppercase; color: var(--white); }
.a-end p { margin-block: 10px 18px; max-width: 36em; font: 400 19px/1.45 var(--serif); color: var(--on-navy); }

.a-more { padding-block: 44px; }
.a-more .cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 18px; }
.a-more h3 { margin-top: 6px; font: 600 21px/1.25 var(--serif); }
.a-more h3 a { color: var(--ink); text-decoration: none; }
.a-more h3 a:hover { color: var(--link); }

.mbar { display: none; }

@media (max-width: 960px) {
  .h-hero .wrap, .h-author .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-cover { margin-bottom: -40px; }
  .hero-cover img { width: 240px; }
  .h-latest { padding-block: 76px 44px; }
  .h-latest .grid, .a-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .rail, .h-latest .book-card { position: static; max-width: 360px; }
  .shelf { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .shelf-item { grid-template-rows: none; grid-template-columns: 96px minmax(0, 1fr); column-gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); }
  .shelf-cover { grid-row: 1 / span 4; border-bottom: 0; align-items: flex-start; }
  .shelf-cover img { max-height: 140px; }
  .shelf-item .cat { margin-top: 0; }
  .a-more .cols { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .cards { grid-template-columns: minmax(0, 1fr); }
  .mnav { margin-left: 0; }
  .h-fee .wrap { grid-template-columns: minmax(0, 1fr); }
  .h-fee .side { justify-items: start; grid-template-columns: 90px auto; align-items: center; }
  .h-fee .side img { width: 90px; }
  .a-end .wrap { grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: start; }
  .a-end img { width: 96px; }
  .lead-story h3 { font-size: 32px; }
  .story { grid-template-columns: minmax(0, 1fr); }
  .prose { font-size: 19px; }
  .inline-cta { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
  .inline-cta img { width: 72px; }
  .has-mbar { padding-bottom: 72px; }
  .mbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 10px; background: var(--white); border-top: 1px solid var(--line); padding: 8px max(16px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); }
  .mbar img { width: 32px; }
  .mbar span { flex: 1; min-width: 0; font: 600 13px/1.25 var(--sans); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* Site additions (beyond the mockup): skip link, page, listings, pagination, search, comments, 404 */
.skip { position: absolute; left: -9999px; top: 0; z-index: 100; padding: 10px 14px; background: var(--gold); color: var(--navy-deep); font-weight: 700; }
.skip:focus { left: 8px; top: 8px; }
.mast .logo:hover b { color: #FFCB52; }
.mnav a[aria-current="page"] { color: var(--gold); }
/* The whole picture, never enlarged past its own size (many WordPress images are small) and never cropped. */
.a-feature img { display: block; width: auto; height: auto; max-width: 100%; max-height: 640px; }
.prose img { height: auto; margin-inline: auto; }
.prose a { color: var(--link); }
.prose h3 { margin-top: 1.4em; font: 700 24px/1.2 var(--sans); color: var(--navy); }
.prose blockquote { padding-left: 18px; border-left: 4px solid var(--gold); color: var(--muted); font-style: italic; }
.prose ol { display: grid; gap: .7em; list-style: decimal; padding-left: 1.4em; }
.prose ol li { padding-left: 0; }
.prose ol li::before { display: none; }
.prose table { min-width: 0; font: 400 16px/1.4 var(--sans); }
.prose .table-scroll, .prose table { display: block; overflow-x: auto; }
.prose hr { border: 0; border-top: 1px solid var(--line); }
.prose iframe, .prose video { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

.p-head { padding-block: 40px 24px; background: var(--white); border-bottom: 1px solid var(--line); }
.p-head h1 { font: 700 clamp(40px, 6vw, 68px)/.98 var(--display); text-transform: uppercase; color: var(--navy); }
.p-head p { margin-top: 12px; max-width: 40em; font: 400 20px/1.45 var(--serif); color: var(--muted); }
.p-body { background: var(--white); padding-block: 32px 56px; }

.list-band { padding-block: 32px 56px; }
.list-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.topic-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.topic-links a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--navy); font: 600 14px var(--sans); text-decoration: none; }
.topic-links a:hover, .topic-links a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.story .meta { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.story p { grid-column: 1 / -1; margin-top: 4px; color: var(--muted); font: 400 17px/1.5 var(--serif); }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; font-weight: 700; }
.pager a { color: var(--link); text-decoration: none; }
.pager span { color: var(--muted); font-weight: 400; }

.search-form { display: flex; gap: 10px; margin-top: 18px; max-width: 640px; }
.search-form input { flex: 1; min-width: 0; min-height: 46px; padding: 10px 14px; border: 1px solid var(--muted); border-radius: 4px; font: 400 17px var(--sans); }
.search-form button { border: 0; cursor: pointer; }
.search-status { margin-top: 18px; color: var(--muted); }

.comments { margin-top: 48px; padding-top: 28px; border-top: 3px solid var(--navy); font-family: var(--sans); max-width: 680px; }
.comments h2 { font: 700 30px/1 var(--display); text-transform: uppercase; color: var(--navy); }
.c-list { display: grid; gap: 18px; margin-top: 18px; }
.c-list .c-list { margin-top: 14px; padding-left: 22px; border-left: 2px solid var(--line); }
.c-item header { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.c-item header b { color: var(--ink); }
.c-item header b a { color: var(--link); }
.c-item .c-owner { padding: 1px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--navy-deep); font-size: 12px; font-weight: 700; }
.c-item time { font-size: 13px; color: var(--muted); }
.c-body { margin-top: 6px; white-space: pre-line; font-size: 16px; line-height: 1.55; }
.c-reply { margin-top: 6px; padding: 0; background: none; border: 0; color: var(--link); font: 600 14px var(--sans); cursor: pointer; }
.c-form { display: grid; gap: 14px; margin-top: 28px; padding: 20px; background: var(--paper); border: 1px solid var(--line); }
.c-form h3 { font: 700 20px/1.2 var(--sans); color: var(--navy); }
.c-form label { display: grid; gap: 4px; font-size: 14px; font-weight: 600; }
.c-form input, .c-form textarea { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--muted); border-radius: 4px; font: 400 16px var(--sans); background: var(--white); }
.c-form textarea { min-height: 140px; resize: vertical; }
.c-form .err { color: #A3132B; font-size: 13px; font-weight: 600; }
.c-form .msg { font-weight: 600; }
.c-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.c-form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.c-form button[disabled] { opacity: .6; cursor: wait; }
.c-form .replying { font-size: 14px; color: var(--muted); }

.notfound { padding-block: 64px; }
.m-foot a { color: var(--on-navy); }
.m-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }

.book-page { padding-block: 44px 56px; background: var(--white); }
.book-page .wrap { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.book-page .cover img { width: 100%; box-shadow: 0 16px 34px rgba(9, 26, 64, .3); }
.book-page h1 { margin-top: 8px; font: 700 clamp(38px, 5.4vw, 64px)/.98 var(--display); text-transform: uppercase; color: var(--navy); }
.book-page .sub { margin-top: 10px; font: 400 21px/1.45 var(--serif); color: var(--muted); }
.book-page .prose { margin-top: 22px; }
.book-page .buy { margin-top: 24px; }

@media (max-width: 960px) {
  .list-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .book-page .wrap { grid-template-columns: minmax(0, 1fr); }
  .book-page .cover { max-width: 240px; }
}
@media (max-width: 680px) {
  .c-form .row { grid-template-columns: minmax(0, 1fr); }
  .search-form { flex-direction: column; }
}

/* Studio forms kit (public/css/forms.css, copied from lib/captive/forms/styles.css), mapped to the design's palette. */
.contact-form { --captive-form-accent: var(--navy); --captive-form-button: var(--gold); --captive-form-button-text: var(--navy-deep); --captive-form-text: var(--ink); --captive-form-muted: var(--muted); --captive-form-field-bg: var(--white); --captive-form-error: #A3132B; --captive-form-radius: 4px; --captive-form-font: var(--sans); max-width: 680px; margin-top: 28px; padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.contact-form [data-form-submit] { font-weight: 700; }

/* Old posts carry long bare URLs and runs of non-breaking spaces: let them wrap rather than widen the page on phones. */
.prose, .p-head p, .c-body, .story p { overflow-wrap: anywhere; }
.prose * { max-width: 100%; }
.p-head h1, .a-head h1, .book-page h1, .h-hero h1 { overflow-wrap: anywhere; }

/* Phones: the masthead menu stays on one line and scrolls sideways instead of wrapping onto three. */
@media (max-width: 680px) {
  .mast .wrap { gap: 8px; }
  .mnav { flex-wrap: nowrap; width: 100%; overflow-x: auto; gap: 16px; padding-bottom: 4px; scrollbar-width: none; }
  .mnav::-webkit-scrollbar { display: none; }
  .mnav a { white-space: nowrap; font-size: 14px; }
  .mnav a.booksbtn { padding: 6px 10px; }
}

/* Accessibility: story titles in lists are h2 (after the page h1); topic labels are big enough to tap. */
.story h2 { font: 600 22px/1.25 var(--serif); }
.story h2 a { color: var(--ink); text-decoration: none; }
.story h2 a:hover { color: var(--link); }
a.cat { display: inline-block; padding-block: 5px; text-decoration: none; }

/* Article lists: a small picture beside each story (topic tile when the post has no image). */
.story.row { grid-template-columns: 208px minmax(0, 1fr); gap: 0 24px; align-items: start; padding-block: 20px; }
.story.row .ph { aspect-ratio: 3 / 2; margin-top: 4px; }
.story.row .tile { padding: 12px; border-bottom-width: 4px; }
.story.row .tile span { font-size: 19px; line-height: 1; }
.row-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 24px; align-items: baseline; min-width: 0; }
.row-body .cat, .row-body p { grid-column: 1 / -1; }
@media (max-width: 680px) {
  .story.row { grid-template-columns: 112px minmax(0, 1fr); gap: 0 14px; }
  .story.row .ph { aspect-ratio: 1 / 1; }
  .story.row .tile { padding: 8px; }
  .story.row .tile span { font-size: 13px; }
  .row-body { grid-template-columns: minmax(0, 1fr); }
  .row-body h2 { font-size: 19px; }
  .row-body p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 16px; }
}

/* Tables in articles: ruled rows, a navy header row, full column width on desktop (phones keep sideways scroll). */
.prose table { margin-block: 22px 26px; border-collapse: collapse; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; overflow-wrap: normal; }
/* Header cells with or without <thead>: Studio's editor saves a table's header row as a plain first row of <th>. */
.prose th { background: var(--navy); color: var(--white); font-weight: 700; border-bottom: 0; }
/* A header cell beside data cells labels its row: bold, not a navy header. */
.prose tr:has(td) > th { background: transparent; color: var(--ink); border-bottom: 1px solid var(--line); }
.prose tr:nth-child(even) td, .prose tr:nth-child(even):has(td) > th { background: var(--paper); }
/* Studio's editor also wraps each cell's text in a <p>. */
.prose th > p, .prose td > p { margin: 0; }
@media (min-width: 681px) {
  .prose table { display: table; width: 100%; }
}
