/* The New York News: our own stylesheet, written from values measured on the old site (2026-11-30).
   No theme code copied. Fonts: Playfair Display and Raleway, self-hosted, SIL OFL 1.1 (assets/fonts).

   Design record (old site, desktop 1440 unless noted)
   - Colours: accent gold #c99e66 (labels, active links, buttons, panel header); logo copper #c28049 and black;
     headings #222; body text #555 (article text #000); muted #8d8d8d; rules #e4e4e4, #d7d7d7, #ddd; card rule
     rgba(141,141,141,.4); light panel #f7f7f7; footer #222, footer bottom and phone menu #181818.
   - Type: headings Playfair Display 400 (h1 44/57.2, panel 21/53, card 21/29.6, list 17/24, dek 19/29, tagline 13);
     body Raleway 400 16/26 (+0.3px); labels Raleway 13px 500-700 caps +1px; menu Raleway 13px 700 caps +1px;
     search placeholder Raleway 10px 500 caps +2px; footer bottom Raleway 11px 700.
   - Grid: container 1200px; hero 800 + 400; cards 4 x 282 with 24px gaps; article 780 + 40 + 380 sidebar;
     footer 4 columns.
   - Header: top bar 42px (hidden at <=700px); logo band 175px with the logo at 393x102; menu bar 55px between
     1px #e4e4e4 rules, items padded 24px; search 166x42 field + 42x42 gold button. Phone: 60px bar, logo 192x50.
   - Spacing: 30px under the menu bar; 60px above section labels; label + 22px to cards; cards end with a rule and
     47px; footer padding 68px top, 60px bottom; widget titles 32px above their content.
   Phone first: base rules are for phones; wider screens add rules at 600, 701, 1025 and 1260px. */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/v1/playfair-display-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/v1/playfair-display-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/v1/raleway-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(../fonts/v1/raleway-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/v1/raleway-latin-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/v1/raleway-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(../fonts/v1/raleway-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/v1/raleway-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(../fonts/v1/raleway-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light;
  --gold: #c99e66;
  --gold-dark: #9c7440;
  --copper: #c28049;
  --ink: #222;
  --text: #555;
  --black: #000;
  --muted: #8d8d8d;
  --muted-dark: #6f6f6f;
  --rule: #e4e4e4;
  --rule-2: #d7d7d7;
  --rule-card: rgba(141, 141, 141, .4);
  --panel: #f7f7f7;
  --footer: #222;
  --footer-2: #181818;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
  --gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: #fff; color: var(--text);
  font: 400 16px/26px var(--sans); letter-spacing: .3px;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4, h5 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.label { margin: 0; font: 700 13px/17px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 50; border: 1px solid var(--gold); }
.skip:focus { left: 12px; }
.samples-bar { background: #fff6e8; color: #7a5a2e; border-bottom: 1px solid #ecd9bb; text-align: center; font: 600 12px/18px var(--sans); padding: 6px 12px; }
.dot { margin: 0 8px; color: var(--rule-2); }

/* ---------- Top bar (tablet and desktop) ---------- */
.topbar { display: none; border-bottom: 1px solid var(--rule); }
.topbar .wrap { position: relative; height: 41px; display: flex; align-items: center; justify-content: center; }
.tagline { font: 400 13px/40px var(--serif); color: var(--gold); letter-spacing: 0; }
.social { display: flex; gap: 6px; }
.topbar .social { position: absolute; right: calc(var(--gutter) + 8px); top: 7px; }
.social a { width: 27px; height: 27px; border-radius: 50%; background: #f2f2f2; color: var(--ink); display: grid; place-items: center; font: 700 11px/1 var(--sans); letter-spacing: 0; }
.social a:hover { background: var(--gold); color: #fff; }

/* ---------- Masthead: phone first ---------- */
.masthead { position: relative; border-bottom: 1px solid var(--rule); background: #fff; }
.logo-row { height: 60px; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 192px; height: auto; }
.m-menu > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; margin-right: -8px; }
.m-menu > summary::-webkit-details-marker { display: none; }
.burger { display: block; width: 27px; height: 19px; background: repeating-linear-gradient(#222 0 1.5px, transparent 1.5px 3px); position: relative; }
.m-menu[open] .burger { background: none; }
.m-menu[open] .burger::before, .m-menu[open] .burger::after { content: ""; position: absolute; left: 0; top: 8px; width: 27px; height: 2.5px; background: #222; transform: rotate(45deg); }
.m-menu[open] .burger::after { transform: rotate(-45deg); }
.m-menu nav { position: absolute; left: 0; right: 0; top: 60px; background: var(--footer-2); z-index: 20; padding: 6px 0 10px; }
.m-menu nav a { display: block; padding: 10px var(--gutter) 10px calc(var(--gutter) + 20px); font: 700 13px/16px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.m-menu nav a:hover, .m-menu nav a[aria-current="page"] { color: var(--gold); }
.menubar { display: none; }

/* ---------- Home: lead block ---------- */
.lead { margin-top: 24px; }
.lead-main { position: relative; background: #161514; overflow: hidden; }
.lead-main .art { width: 100%; aspect-ratio: 800 / 545; object-fit: cover; }
.lead-main::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(20, 19, 18, .66); }
.lead-text { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 0 20px; }
.lead-text .kicker, .lead-text .lead-dek, .lead-text .lead-rule { display: none; }
.kicker { font: 500 13px/26px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.kicker a:hover { color: #fff; }
.lead-title { font-size: 22px; line-height: 28.6px; color: #fff; }
.lead-title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.lead-dek { font: 400 19px/29px var(--serif); letter-spacing: .3px; color: #fff; margin-top: 16px; }
.lead-rule { border: 0; border-top: 1px solid rgba(255, 255, 255, .3); margin: 26px 0 0; }
.lead-list { background: var(--panel); padding-bottom: 14px; }
.lead-list h2 { background: var(--gold); color: #fff; text-align: center; font-size: 17px; line-height: 53px; height: 55px; text-transform: capitalize; }
.lead-list ol { padding: 0 25px; }
.lead-list li { border-bottom: 1px solid var(--rule-2); min-height: 75px; display: flex; align-items: center; justify-content: center; text-align: center; }
.lead-list li:last-child { border-bottom: 0; }
.lead-list li a { font: 400 17px/24px var(--serif); color: var(--ink); padding: 12px 0; letter-spacing: 0; }
.lead-list li a:hover { color: var(--gold); }

/* ---------- Rows of cards ---------- */
.block { margin-top: 48px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.block-more { font: 700 12px/17px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.block-more::after { content: " ›"; color: var(--gold); }
.cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--gap); }
.card { border-bottom: 1px solid var(--rule-card); padding-bottom: 13px; margin-bottom: 40px; }
.card .thumb { display: block; position: relative; overflow: hidden; background: #161514; }
.card .thumb img { width: 100%; aspect-ratio: 282 / 313; object-fit: cover; transition: transform .4s ease; }
.card:hover .thumb img { transform: scale(1.03); }
.card h3 { font-size: 19px; line-height: 26px; margin: 20px 0 10px; }
.card h3 a:hover { color: var(--gold); }
.card .dek { color: var(--text); }
.meta { font: 500 11px/16px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-dark); margin-top: 10px; }
.badge { position: absolute; left: 0; top: 0; background: var(--ink); color: #fff; font: 600 10px/25px var(--sans); letter-spacing: 1px; text-transform: uppercase; padding: 0 10px; }
/* Phone: after the first card of a row, cards turn into compact rows (thumb left, title right). */
.card--compact { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 0 16px; align-items: start; margin-bottom: 20px; padding-bottom: 20px; }
.card--compact .thumb img { aspect-ratio: 1 / 1; }
.card--compact h3 { font-size: 17px; line-height: 23px; margin: 0; }
.card--compact .dek { display: none; }
.card--compact .meta { margin-top: 6px; }

/* ---------- List pages (category, explainers, tag) ---------- */
.page-head { padding-top: 28px; padding-bottom: 24px; margin-bottom: 30px; background: linear-gradient(var(--rule), var(--rule)) center bottom / calc(100% - 2 * var(--gutter)) 1px no-repeat; }
.page-head.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); }
.crumbs { font: 500 13px/27px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { margin: 0 8px; }
.page-head h1 { font-size: 28px; line-height: 36px; }
.page-intro { margin-top: 8px; }
.feature { display: grid; gap: 0 var(--gap); }
.feature-main .card .thumb img { aspect-ratio: 588 / 400; }
.feature-main .card h3 { font-size: 22px; line-height: 30px; }
.side-item { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 0 16px; margin-bottom: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--rule-card); }
.side-item .thumb { display: block; overflow: hidden; background: #161514; align-self: start; }
.side-item .thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.side-item h3 { font-size: 17px; line-height: 23px; }
.side-item .dek { display: none; }
.cards--grid .card h3 { margin: 18px 0 0; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; margin: 6px auto 50px; font: 600 13px/32px var(--sans); }
.pager a, .pager span { min-width: 32px; height: 32px; text-align: center; color: var(--ink); border-bottom: 2px solid transparent; }
.pager a:hover { color: var(--gold); }
.pager span[aria-current] { color: var(--gold); border-bottom-color: var(--gold); }
.pager .arrow { font-size: 22px; font-weight: 400; }

/* ---------- Article ---------- */
.story-head { text-align: center; padding-top: 26px; }
.story-title { font-size: 28px; line-height: 36px; color: var(--black); max-width: 840px; margin: 0 auto; }
.story-cat { margin-top: 12px; font: 700 13px/26px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); }
.story-cat a:hover { color: var(--ink); }
.story-dek { font: 400 18px/28px var(--serif); color: var(--text); max-width: 760px; margin: 12px auto 0; letter-spacing: 0; }
.story-meta { font: 500 11px/18px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-dark); margin-top: 14px; }
.story-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.story-art { width: 100%; aspect-ratio: 312 / 176; object-fit: cover; margin-bottom: 22px; background: #161514; }
.story-body { color: var(--black); }
.story-body p { margin: 0 0 16px; }
.story-body h2 { font-size: 24px; line-height: 32px; margin: 30px 0 12px; clear: both; }
.story-body h3 { font-size: 20px; line-height: 28px; margin: 24px 0 10px; }
.story-body a { color: var(--gold-dark); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 2px; }
.story-body a:hover { color: var(--ink); }
.story-body ul, .story-body ol { margin: 0 0 16px; padding-left: 22px; }
.story-body ul { list-style: disc; }
.story-body ol { list-style: decimal; }
.story-body li { margin: 4px 0; }
.story-body blockquote { margin: 22px 0; padding: 2px 0 2px 20px; border-left: 2px solid var(--gold); font: 400 19px/29px var(--serif); color: var(--ink); letter-spacing: 0; }
.story-body blockquote p { margin: 0; }
.story-body strong { font-weight: 700; }
.story-sources { clear: both; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--rule); }
.story-sources .label { margin-bottom: 14px; }
.story-sources ol { list-style: decimal; padding-left: 20px; font-size: 14px; line-height: 22px; color: var(--muted-dark); }
.story-sources li { margin-bottom: 8px; padding-left: 4px; }
.story-sources a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 2px; overflow-wrap: anywhere; }
.story-sources a:hover { color: var(--gold-dark); }
.src-meta { color: var(--muted-dark); }
.story-corrections { margin-top: 20px; padding: 14px 18px; background: var(--panel); border-left: 2px solid var(--gold); font-size: 14px; line-height: 22px; color: var(--ink); }
.story-corrections p + p { margin-top: 8px; }
.story-tags { margin-top: 26px; }
.story-tags .label { margin-bottom: 14px; }
.chips a { display: inline-block; border: 1px solid var(--rule); padding: 8px 16px; margin: 0 6px 8px 0; font: 500 10px/14px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
.chips a:hover { border-color: var(--gold); color: var(--gold-dark); }
.story-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; margin: 34px 0 40px; }
.story-nav a { padding: 24px 12px; font: 400 16px/23px var(--serif); color: var(--ink); letter-spacing: 0; }
.story-nav a:hover { color: var(--gold); }
.story-nav .prev { border-right: 1px solid #ddd; padding-left: 0; }
.story-nav .next { text-align: right; padding-right: 0; grid-column: 2; }
.nav-label { display: block; font: 700 11px/16px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.related h2 { font-size: 21px; line-height: 30px; margin-bottom: 20px; }
.ocards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.ocard { position: relative; overflow: hidden; background: #161514; }
.ocard img { width: 100%; aspect-ratio: 380 / 214; object-fit: cover; }
.ocard::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 19, 18, .15) 0%, rgba(20, 19, 18, .85) 100%); z-index: 1; }
.ocard-text { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px 16px; z-index: 2; }
.ocard h3 { font-size: 19px; line-height: 26px; color: #fff; }
.ocard h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.ocard h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.ocard-cat { font: 500 10px/16px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin-top: 6px; }
.story-side .widget { margin: 0 0 40px; }
.story-side .widget .label { margin-bottom: 22px; }
.side-list li { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--rule-card); }
.side-list a { display: block; font: 400 17px/24px var(--serif); color: var(--ink); letter-spacing: 0; }
.side-list a:hover { color: var(--gold); }
.side-list time { display: block; font: 500 11px/16px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-dark); margin-top: 6px; }

/* ---------- Archive: the old site's posts and the archive listing ----------
   The post's picture follows the old theme: full width on phones, floated left at 40% from 600px, cropped by shape
   (landscape 16:9, square 1:1, portrait 8:11). */
.story-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #161514; margin: 0 0 22px; }
.story-photo--square { aspect-ratio: 1 / 1; }
.story-photo--portrait { aspect-ratio: 8 / 11; }
.archive-body::after { content: ""; display: block; clear: both; }
.archive-body h4 { font-size: 19px; line-height: 27px; margin: 22px 0 10px; }
.archive-body h5, .archive-body h6 { font: 700 16px/24px var(--sans); letter-spacing: .3px; color: var(--ink); margin: 22px 0 8px; }
.archive-body .has-text-align-center { text-align: center; }
.archive-body .has-text-align-right { text-align: right; }
.archive-body a { overflow-wrap: anywhere; }
.archive-body .ad { clear: both; }
.archive-wrap { padding-bottom: 50px; }
.archive-wrap > * { max-width: 900px; }
.archive-nav p { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; margin-bottom: 10px; }
.archive-nav .label { width: 100%; margin-bottom: 2px; }
.archive-nav a { font: 600 14px/26px var(--sans); color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.archive-nav a:hover { color: var(--gold-dark); }
.archive-year h2 { font-size: 30px; line-height: 38px; margin: 44px 0 0; padding-bottom: 10px; border-bottom: 1px solid var(--rule); }
.archive-year h3 { font: 700 13px/17px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold); margin: 28px 0 6px; }
.archive-list li { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 2px 14px; padding: 11px 0; border-bottom: 1px solid var(--rule-card); }
.archive-list time { font: 500 11px/24px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--muted-dark); }
.archive-list a { font: 400 17px/24px var(--serif); color: var(--ink); letter-spacing: 0; }
.archive-list a:hover { color: var(--gold); }
.archive-cat { grid-column: 2; font: 500 10px/16px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--gold-dark); }

/* ---------- Ad slots: one iframe per slot (assets/js/slots.js); the box is the neutral placeholder ----------
   The placeholder shows until the slot answers "ad", and stays when it has none. The iframe sits exactly on the box
   (border included) at its own size, never scaled; every slot size is 300 pixels wide (left: 50% - 150px). */
.ad { margin: 36px auto; text-align: center; }
.ad-label { font: 500 10px/14px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 6px; }
.ad-box { position: relative; margin: 0 auto; max-width: 100%; height: auto; background: #f4f4f4; border: 1px solid var(--rule); }
.ad--rectangle .ad-box, .ad--inarticle .ad-box { width: 300px; aspect-ratio: 300 / 250; }
.ad--halfpage { display: none; }
.ad--halfpage .ad-box { width: 300px; aspect-ratio: 300 / 600; }
.ad-frame { position: absolute; top: -1px; left: calc(50% - 150px); display: block; border: 0; visibility: hidden; }
.ad--filled .ad-frame { visibility: visible; }
.ad--filled .ad-box { background: transparent; border-color: transparent; }
.lead-ad .ad { margin: 26px auto 30px; }
.story-body .ad { margin: 26px auto; }
.story-side .ad { margin: 0 0 40px; text-align: left; }
.story-side .ad-label { text-align: left; }
.story-side .ad-box { margin: 0; }

/* ---------- Pages: about, search, 404 ---------- */
.prose { color: var(--black); padding-bottom: 50px; }
.prose > * { max-width: 820px; }
.prose p { margin: 0 0 16px; }
.prose h2 { font-size: 24px; line-height: 32px; margin: 28px 0 10px; }
.prose ul { list-style: disc; padding-left: 22px; margin: 0 0 16px; }
.prose li { margin: 6px 0; }
.prose a { color: var(--gold-dark); text-decoration: underline; text-decoration-color: var(--gold); }
.draft-note { color: #7a5a2e; background: #fff6e8; border: 1px solid #ecd9bb; padding: 8px 14px; margin-bottom: 20px; font-size: 14px; }
.search-wrap { padding-bottom: 50px; }
.search-big { display: flex; max-width: 620px; }
.search-big input { flex: 1; min-width: 0; height: 48px; border: 1px solid var(--rule-2); border-right: 0; padding: 0 16px; font: 400 16px var(--sans); border-radius: 0; color: var(--ink); }
.search-big button { height: 48px; padding: 0 22px; border: 0; background: var(--gold); color: #fff; font: 700 12px var(--sans); letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.search-status { margin: 18px 0 10px; color: var(--muted-dark); }
.search-results li { padding: 18px 0; border-bottom: 1px solid var(--rule-card); max-width: 820px; }
.search-results h3 { font-size: 21px; line-height: 29px; margin: 4px 0 6px; }
.search-results .meta { margin-top: 0; }
.empty { padding-top: 60px; padding-bottom: 60px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--footer); color: var(--muted); margin-top: 40px; }
.site-footer .cols { padding-top: 60px; padding-bottom: 20px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 var(--gap); }
.site-footer section { margin-bottom: 40px; }
.site-footer .label { font-weight: 500; margin-bottom: 26px; }
.site-footer h3 { color: #fff; font-size: 21px; line-height: 29.6px; margin-bottom: 10px; }
.site-footer h3 a:hover { color: var(--gold); }
.site-footer p { font-size: 14px; line-height: 26px; color: var(--muted); }
.site-footer p a { color: #cfcfcf; }
.site-footer p a:hover { color: var(--gold); }
.site-footer .more { margin-top: 10px; }
.site-footer .social { margin-top: 26px; }
.site-footer .social a { width: 36px; height: 36px; background: #2d2d2d; color: var(--muted); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: #cfcfcf; }
.footer-links a:hover { color: var(--gold); }
.site-footer .pick .thumb { display: block; overflow: hidden; margin-bottom: 18px; }
.site-footer .pick img { width: 100%; aspect-ratio: 278 / 182; object-fit: cover; }
.footer-bottom { background: var(--footer-2); }
.footer-bottom .wrap { min-height: 90px; display: flex; align-items: center; font: 700 11px/16px var(--sans); color: #8a8a8a; letter-spacing: 0; }

/* ---------- Wider phones and tablets ---------- */
@media (min-width: 600px) {
  :root { --gutter: 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card--compact { display: block; margin-bottom: 40px; padding-bottom: 13px; }
  .card--compact .thumb img { aspect-ratio: 282 / 313; }
  .card--compact h3 { font-size: 19px; line-height: 26px; margin: 20px 0 10px; }
  .card--compact .dek { display: block; }
  .site-footer .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lead-title { font-size: 32px; line-height: 41.6px; }
  .story-title { font-size: 36px; line-height: 46px; }
  .ocards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .side-item { grid-template-columns: 200px minmax(0, 1fr); }
  .side-item .thumb img { aspect-ratio: 3 / 2; }
  .side-item .dek { display: block; margin-top: 8px; }
  .story-photo { float: left; width: 40%; margin: 7px 28px 16px 0; }
  .archive-nav .label { width: auto; margin: 0 6px 0 0; }
  .archive-list li { grid-template-columns: 64px minmax(0, 1fr) 120px; }
  .archive-cat { grid-column: auto; line-height: 24px; text-align: right; }
}
@media (min-width: 701px) {
  .topbar { display: block; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1025px) {
  :root { --gutter: 30px; }
  .masthead { border-bottom: 0; }
  .logo-row { height: 175px; justify-content: center; }
  .logo img { width: 393px; }
  .m-menu { display: none; }
  .menubar { display: flex; align-items: center; justify-content: space-between; height: 55px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); max-width: var(--wrap); margin: 0 auto; padding: 0; }
  .menubar ul { display: flex; padding-left: 4px; }
  .menubar li a { display: block; padding: 0 24px; font: 700 13px/53px var(--sans); letter-spacing: 1px; text-transform: uppercase; color: var(--ink); }
  .menubar li a:hover, .menubar li a[aria-current="page"] { color: var(--gold); }
  .search { display: flex; margin-right: 7px; }
  .search input { width: 166px; height: 42px; border: 1px solid var(--rule); border-right: 0; padding: 0 20px; outline: none; font: 500 10px/40px var(--sans); letter-spacing: 2px; text-transform: uppercase; color: var(--ink); border-radius: 0; background: #fff; }
  .search input::placeholder { color: var(--muted); opacity: 1; }
  .search input:focus { border-color: var(--gold); }
  .search button { width: 42px; height: 42px; border: 0; background: var(--gold); display: grid; place-items: center; cursor: pointer; padding: 0; }
  .search button:hover { background: var(--gold-dark); }
  /* The lead story on the left; on the right the first ad slot (in the first screen), then the latest titles. */
  .lead { margin-top: 30px; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto 1fr; }
  .lead-main { grid-row: 1 / span 2; min-height: 545px; }
  .lead-main .art { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
  .lead-ad, .lead-list { grid-column: 2; }
  .lead-ad .ad { margin: 0 auto 18px; }
  .lead-main::before { background: linear-gradient(90deg, rgba(20, 19, 18, .94) 0%, rgba(20, 19, 18, .82) 48%, rgba(20, 19, 18, .2) 100%); }
  .lead-text { padding: 0 100px 0 60px; }
  .lead-text .kicker, .lead-text .lead-dek, .lead-text .lead-rule { display: block; }
  .lead-title { font-size: 44px; line-height: 57.2px; }
  .lead-list { padding-bottom: 0; }
  .lead-list h2 { font-size: 21px; }
  .lead-list li { min-height: 80px; border-bottom: 1px solid var(--rule-2); }
  .lead-list li:last-child { border-bottom: 1px solid var(--rule-2); }
  .lead-list li a { padding: 0; }
  .block { margin-top: 60px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card { margin-bottom: 47px; }
  .card h3, .card--compact h3 { font-size: 21px; line-height: 29.61px; margin: 23px 0 10px; }
  .cards--grid .card h3 { margin: 20px 0 0; }
  .page-head { padding-top: 42px; padding-bottom: 35px; margin-bottom: 36px; }
  .page-head h1 { font-size: 44px; line-height: 57.2px; }
  .feature { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-main .card { margin-bottom: 40px; }
  .feature-side .side-item { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap); margin-bottom: 16px; padding-bottom: 0; border-bottom: 0; }
  .feature-side .side-item .card-text { border-bottom: 1px solid var(--rule-card); padding-bottom: 13px; align-self: center; }
  .feature-side .side-item h3 { font-size: 21px; line-height: 29.61px; }
  .story-head { padding-top: 25px; }
  .story-title { font-size: 44px; line-height: 57.2px; }
  .story-dek { font-size: 19px; line-height: 29px; }
  .story-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; margin-top: 40px; }
  .story-art { float: left; width: 312px; margin: 6px 20px 10px 0; }
  .story-nav { margin: 40px 0 46px; }
  .ad--halfpage { display: block; }
  .story-side .sticky { position: sticky; top: 24px; }
  .site-footer .cols { grid-template-columns: repeat(4, minmax(0, 1fr)); padding-top: 68px; padding-bottom: 60px; }
  .site-footer section { margin-bottom: 0; }
}
@media (min-width: 1260px) {
  :root { --gutter: 0px; }
  .wrap { max-width: var(--wrap); }
}
@media (prefers-reduced-motion: reduce) {
  .card .thumb img { transition: none; }
  .card:hover .thumb img { transform: none; }
}
