/* The Daily — newspaper look (Franklin, Nov 20, 2026). Black and white only. */
/* Blackletter masthead font is self-hosted (fonts/UnifrakturMaguntia.ttf) so
   the nameplate renders identically everywhere, no CDN dependency. */
@font-face { font-family: "UnifrakturMaguntia"; src: url("fonts/UnifrakturMaguntia.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
.daily-paper { background: #fdfcf6 !important; color: #111 !important;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif; }
.daily-paper .top-nav { background: #fdfcf6 !important; border-bottom: 2px solid #111 !important; }
.daily-paper .top-nav a { color: #111 !important; text-decoration: none; }
.daily-paper .top-nav .nav-sub { color: #555 !important; }
.daily-paper .menu-btn span { background: #111 !important; }
.daily-paper #menu-drawer { background: #fdfcf6 !important; }
.daily-paper #menu-drawer a { color: #111 !important; }
.daily-paper .page { background: transparent !important; color: #111 !important; }
.daily-paper .crumb { color: #111 !important; }
.daily-paper .crumb-nav { border-bottom: 1px solid #999; padding-bottom: 10px; }
.daily-paper a { color: #111; }
.daily-paper footer { color: #111 !important; border-top: 1px solid #111 !important; }
.daily-paper footer a { color: #111 !important; }

/* nameplate */
.daily-nameplate { text-align: center; margin: 6px 0 0; padding: 0 0 14px;
  border-bottom: 4px double #111; }
.np-top { display: flex; justify-content: space-between; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border-top: 2px solid #111; border-bottom: 1px solid #111; padding: 5px 2px; margin: 0 0 10px; }
.np-name { font-family: "UnifrakturMaguntia", Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 15vw, 128px); font-weight: 400; line-height: .95; margin: 0; }
.np-sub { font-size: 13px; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; margin: 8px 0 0; }
.np-dateline { font-size: 13px; font-style: italic; margin: 6px 0 0; }

/* The masthead title is a link back to the Daily hub (Franklin, Nov 24,
   2026) — it looks exactly like the plain title, no underline. */
.np-name a { color: #111; text-decoration: none; }

/* Daily-only section nav (Franklin, Nov 24, 2026): sits under the masthead,
   links the paper's own sections — Home, Feature (current lead story),
   World News, Classifieds, Archives. Relative links, so it works from any
   page inside /the-daily/. */
.daily-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0;
  border-bottom: 1px solid #111; padding: 8px 0; margin: 0 0 4px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.daily-nav a { color: #111; text-decoration: none; padding: 2px 10px; white-space: nowrap; }
.daily-nav a + a { border-left: 1px solid #999; }
.daily-nav a:hover { text-decoration: underline; }

/* LATE EDITION stamp (the gimmick, hub only) */
.daily-stamp { display: inline-block; margin: 14px 0 0; padding: 4px 12px;
  border: 2px solid #111; border-radius: 3px; transform: rotate(-2deg);
  font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }

/* ad slots — real AdSense units (created Nov 20, 2026; see builder docstring) */
.ad-slot { margin: 22px auto; text-align: center; max-width: 100%; }
.ad-leaderboard, .ad-rectangle, .ad-skyscraper { max-width: 100%; }
.ad-slot .ad-label { display: block; font-family: "Source Sans 3", sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: #666; margin-bottom: 4px; }

/* article */
.daily-paper .article { color: #111 !important; }
.daily-paper .article h1 { font-family: "Playfair Display", Georgia, serif;
  font-weight: 900; font-size: clamp(30px, 6vw, 46px); line-height: 1.08; margin: 18px 0 10px; }
.daily-paper .article h2 { font-family: "Playfair Display", Georgia, serif;
  font-weight: 800; font-size: 26px; line-height: 1.15; margin: 26px 0 8px;
  border-top: 1px solid #111; padding-top: 14px; }
.daily-paper .article p { font-size: 17px; line-height: 1.65; }
.daily-paper .article a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.daily-paper .article .byline { font-size: 13px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 2px; }
.daily-paper .article .date { font-size: 14px; font-style: italic; margin: 0 0 16px; color: #111 !important; }
.daily-lede::first-letter { font-family: "Playfair Display", Georgia, serif;
  font-size: 64px; font-weight: 900; float: left; line-height: .85; padding: 6px 10px 0 0; }
.daily-song { overflow: auto; }
.daily-photo { float: right; width: 220px; margin: 8px 0 14px 20px; }
.daily-photo.left { float: left; margin: 8px 20px 14px 0; }
.daily-photo img { width: 100%; height: auto; display: block; border: 1px solid #111; }
.daily-photo figcaption { font-size: 12px; font-style: italic; line-height: 1.4; color: #111;
  margin-top: 6px; border-top: 1px solid #999; padding-top: 4px; }
/* feature cover (Article 3, Nov 22, 2026) — runs in COLOUR (Franklin's
   direction): the rain photo's colour is the story. The paper stays B/W. */
.daily-cover { max-width: 520px; margin: 0 auto 18px; }
.daily-cover img { width: 100%; height: auto; display: block; border: 1px solid #111; }
.daily-cover figcaption { font-size: 12px; font-style: italic; line-height: 1.4; color: #111;
  margin-top: 6px; border-top: 1px solid #999; padding-top: 4px; text-align: center; }
.daily-pull { font-family: "Playfair Display", Georgia, serif; font-size: 24px;
  font-weight: 700; font-style: italic; line-height: 1.35; text-align: center;
  margin: 30px auto; padding: 18px 10px; border-top: 2px solid #111; border-bottom: 2px solid #111; }
.daily-paper .article .credit { font-size: 13px; line-height: 1.6; border-top: 1px solid #999;
  padding-top: 12px; margin-top: 28px; }
.daily-paper .article .labels { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.daily-paper .share-btn { background: #111 !important; color: #fdfcf6 !important;
  border: 1px solid #111 !important; }
.daily-paper .share-btn:hover { background: #333 !important; }
.daily-paper .post-nav a { color: #111 !important; }

/* article + skyscraper rail (desktop only) */
.daily-article-wrap { display: flex; gap: 32px; align-items: flex-start; }
.daily-article-wrap .article { flex: 1; min-width: 0; }
.daily-rail { flex: 0 0 160px; padding-top: 24px; }
.daily-rail .ad-slot { margin: 0; position: sticky; top: 20px; }

/* front page (hub) */
.daily-front .front-kicker { font-size: 12px; font-weight: 800; letter-spacing: .3em;
  text-transform: uppercase; text-align: center; margin: 20px 0 6px; }
.daily-front .front-headline { font-family: "Playfair Display", Georgia, serif;
  font-weight: 900; font-size: clamp(30px, 6.5vw, 52px); line-height: 1.05;
  text-align: center; margin: 0 0 12px; }
.daily-front .front-headline a { text-decoration: none; }
.daily-front .front-deck { font-size: 17px; font-style: italic; line-height: 1.55;
  text-align: center; max-width: 640px; margin: 0 auto 18px; }
.daily-front figure { max-width: 520px; margin: 0 auto 10px; }
.daily-front figure img { width: 100%; height: auto; display: block;
  border: 1px solid #111; filter: grayscale(1); }
/* Front-page feature photos (Franklin, Nov 27, 2026): one consistent 3:2
   frame for the lead + feature blocks on the front page. The whole photo
   is resized to fit inside the frame — object-fit: contain — never
   cropped, so nothing of the photo is ever lost. */
.daily-front .front-lead figure > a { display: block; aspect-ratio: 3/2; }
.daily-front .front-lead figure > a img { width: 100%; height: 100%; object-fit: contain; }
/* lead in colour (Article 3, Nov 22, 2026 — Franklin's direction): the rain
   photo's colour is the story. The grayscale above stays the default. */
.daily-front figure.colour img { filter: none; }
/* Hub redesign (Nov 26, 2026): backstory lines under the features. */
.backstory { font-size: .85rem; color: #555; border-top: 1px solid #ddd; padding-top: 8px; margin-top: 14px; }
.backstory .backstory-label { font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; color: #111; }
.backstory a { color: #111; }
/* Hub redesign v2 (Nov 26, 2026): section feature blocks. */
.section-feature { margin-top: 14px; border-top: 1px solid #ddd; padding-top: 14px; }
.section-feature .sf-row { display: flex; gap: 18px; align-items: center; }
.section-feature .sf-photo { flex: 0 0 200px; margin: 0; }
.section-feature .sf-photo img { width: 200px; height: auto; display: block; }
.section-feature .sf-photo figcaption { font-size: .8rem; color: #555; margin-top: 6px; }
.section-feature .sf-headline { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; line-height: 1.2; margin: 0 0 8px; }
.section-feature .sf-headline a { color: #111; text-decoration: none; }
.section-feature .sf-deck { margin: 0 0 10px; }
@media (max-width: 480px) {
  .section-feature .sf-row { display: block; }
  .section-feature .sf-photo { margin: 0 auto 12px; width: 220px; }
  .section-feature .sf-photo img { width: 220px; }
}
/* Hub redesign v3 (Nov 26, 2026): "more in the section" line under a full-story section feature. */
.section-more { font-size: .85rem; margin-top: 10px; }
.section-more a { color: #111; }
/* A&E section listing (Nov 26, 2026): each story with its cover image. */
.front-index li.ae-item { overflow: hidden; }
.front-index li.ae-item figure { float: left; width: 150px; margin: 0 14px 8px 0; }
.front-index li.ae-item img { width: 150px; height: auto; display: block; }
@media (max-width: 480px) {
  .front-index li.ae-item figure { float: none; width: 200px; margin: 0 auto 8px; }
  .front-index li.ae-item img { width: 200px; }
}
/* Archives landing page (Nov 26, 2026): hairline rule between entries — the
   stories were running together. Scoped to .archive-month so the hub's
   front-index and the section pages (same ae-item markup, no .archive-month
   wrapper) are untouched. Matches the paper's other list dividers
   (1px solid #999, see .archive-list / .daily-classifieds). */
.archive-month ol li.ae-item { border-top: 1px solid #999; padding-top: 18px; margin-top: 18px; }
.archive-month ol li.ae-item:first-child { border-top: none; padding-top: 0; margin-top: 0; }
/* Section pages (Nov 26, 2026): hairline rule between entries, same as the
   archives landing page. Scoped to .front-index.section-list so the hub's
   "In Today's Daily" list (same .front-index container, no section-list
   class) is untouched. Add class="section-list" to a new section page's
   front-index section to opt it in. The double class (0,2,2) is deliberate:
   it beats .daily-front .front-index li (0,2,1), whose margin: 4px 0 would
   otherwise override margin-top: 18px — the archives rule wins the same
   way (.archive-month ol li.ae-item, 0,2,2). Matches the paper's other
   list dividers (1px solid #999). */
.front-index.section-list ol li { border-top: 1px solid #999; padding-top: 18px; margin-top: 18px; }
.front-index.section-list ol li:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.daily-front figcaption { font-size: 12px; font-style: italic; text-align: center; margin-top: 6px; }
.daily-front .front-byline { text-align: center; font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; }
.daily-front .front-cta { text-align: center; margin: 14px 0 0; }
.daily-front .front-cta a { font-family: "Playfair Display", Georgia, serif; font-weight: 800;
  font-size: 17px; letter-spacing: .05em; color: #111; text-decoration: none;
  border: 2px solid #111; padding: 8px 18px; display: inline-block; }
.daily-front .front-index { border-top: 2px solid #111; border-bottom: 1px solid #111;
  padding: 12px 0; margin: 26px 0; }
.daily-front .front-index h3, .daily-classifieds h3 { font-family: "Playfair Display", Georgia, serif;
  font-size: 20px; font-weight: 800; margin: 0 0 8px; text-align: center; }
.daily-front .front-index ol { margin: 0; padding-left: 22px; }
.daily-front .front-index li { font-size: 16px; line-height: 1.5; margin: 4px 0; }
.daily-front .front-index a { text-decoration: underline; text-underline-offset: 2px; }
.daily-classifieds { border: 2px solid #111; padding: 14px 16px; margin: 0 0 26px; }
.daily-classifieds ul { margin: 0; padding: 0; list-style: none; }
.daily-classifieds li { font-size: 14px; line-height: 1.55; padding: 8px 0;
  border-top: 1px solid #999; }
.daily-classifieds li:first-child { border-top: none; }
.daily-classifieds strong { letter-spacing: .08em; }
.daily-classifieds a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 899px) {
  .daily-rail { display: none; }
  .daily-photo, .daily-photo.left { float: none; width: 100%; max-width: 320px;
    margin: 10px auto 14px; }
  .np-top { font-size: 10px; letter-spacing: .08em; }
}

/* Past Articles — archive at the bottom of the hub (Franklin, Nov 21, 2026) */
.archive-section { border-top: 2px solid #111; margin: 28px 0 0; padding-top: 12px; }
.archive-section h3 { font-family: "Playfair Display", Georgia, serif;
  font-size: 24px; font-weight: 800; margin: 0 0 4px; text-align: center; }
.archive-section .archive-deck { font-size: 15px; font-style: italic;
  line-height: 1.55; text-align: center; max-width: 560px; margin: 0 auto 10px; }
.archive-month { border-top: 1px solid #111; margin: 18px 0 0; padding-top: 10px; }
.archive-month h4 { font-family: "Playfair Display", Georgia, serif;
  font-size: 20px; font-weight: 800; margin: 0 0 2px; }
.archive-month p { font-size: 14px; font-style: italic; margin: 0 0 6px; }
@media (max-width: 480px) {
  .front-index .archive-month p { text-align: center; }
}
.archive-list { list-style: none; margin: 0; padding: 0; }
.archive-list li { padding: 11px 0; border-top: 1px solid #999;
  font-size: 16px; line-height: 1.45; }
.archive-list li:first-child { border-top: none; }
.archive-list a { text-decoration: underline; text-underline-offset: 2px; }
.archive-date { font-size: 13px; font-style: italic; display: block; }
.archive-kicker { font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #555; display: block; margin-top: 2px; }
.archive-note { font-size: 15px; font-style: italic; line-height: 1.6;
  border-top: 2px solid #111; border-bottom: 1px solid #111;
  padding: 14px 0; margin: 28px 0 0; text-align: center; }
.archive-months { list-style: none; margin: 0; padding: 0; }
.archive-months li { padding: 11px 0; border-top: 1px solid #999; }
.archive-months li:first-child { border-top: none; }
.archive-months a { text-decoration: underline; text-underline-offset: 2px; }

/* video feature (World Music News, Nov 24, 2026): the video leads the
   article, click-to-play facade so the page stays light until play. */
.daily-video { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; cursor: pointer; overflow: hidden; margin: 0 0 8px; }
.daily-video img { width: 100%; height: 100%; object-fit: cover; display: block; }
.daily-video .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 68px; height: 48px; background: rgba(255,0,0,.9); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.daily-video .play::after { content: ""; border-style: solid; border-width: 10px 0 10px 18px; border-color: transparent transparent transparent #fff; margin-left: 4px; }
.daily-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cap { font-size: 13px; line-height: 1.5; color: #666; font-style: italic; text-align: center; margin: 0 0 20px; }

/* World Music News box (Nov 24, 2026): its own header — an inverted black
   bar with the section name in white, unlike the Classifieds box's plain
   heading. The deck line sits under the bar, then the latest headlines. */
.daily-wmn { border: 2px solid #111; padding: 0 0 14px; margin: 0 0 26px; }
.daily-wmn .wmn-head { background: #111; color: #fdfcf6; text-align: center; padding: 10px 12px; margin: 0 0 12px; }
.daily-wmn .wmn-head h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 900; font-size: 28px; letter-spacing: .08em; margin: 0; }
.daily-wmn .wmn-deck { font-size: 14px; font-style: italic; text-align: center; margin: 0 16px 12px; }
.daily-wmn ul { margin: 0; padding: 0 16px; list-style: none; }
.daily-wmn li { font-size: 15px; line-height: 1.55; padding: 8px 0; border-top: 1px solid #ccc; }
.daily-wmn li:first-child { border-top: none; }
.daily-wmn a { text-decoration: underline; text-underline-offset: 2px; }

/* CD gallery grid (Nov 25, 2026 — "Nobody Told the CD It Was Dead").
   Four album artworks in a grid: 4 across on desktop, 2 across on phones.
   Captions carry the album name + year only. */
.cd-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px 0 8px; }
.cd-grid figure { margin: 0; }
.cd-grid img { width: 100%; height: auto; display: block; }
.cd-grid figcaption { font-size: .85rem; line-height: 1.4; margin-top: 6px; color: #444; }
.cd-grid figcaption strong { display: block; font-size: .95rem; color: #111; }
.cd-grid .pressed-tag { display: block; color: #1a7a3a; font-weight: 600; }
.cd-grid .never-tag { display: block; color: #b3261e; font-weight: 600; }
.cd-grid.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 700px) {
  .cd-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cd-grid.four { grid-template-columns: repeat(2, 1fr); }
  .cd-grid figcaption { font-size: .78rem; }
}

/* Homepage ticker on the hub (Nov 25, 2026): the hub carries the
   homepage's own ticker (/ticker.js + /ticker.css), so the strip is
   identical to the home page. One override: the homepage ticker reserves
   60px at the top on phones to clear the fixed hamburger — the hub ticker
   sits mid-page under LATE EDITION, so it needs no such gap. */
@media (max-width: 767px) {
  .daily-front .ticker { margin-top: 0; }
}
/* Verse of the day in the hub ticker (Nov 25, 2026): the "Inspiration"
   tag in the Daily's gold, the quote in italics — same look as the
   merged ticker had. BBC world news + Music History (Nov 25, 2026):
   hub-only source tags for the /api/daily-extras items. */
.tick-item .q { font-style: italic; color: #f2f2f2; }
.src-inspiration { color: #ffe600; }
.src-bbc { color: #fda4af; }
.src-cbc { color: #5eead4; }
.src-guardian { color: #93c5fd; }
.src-aljazeera { color: #fca5a5; }
.src-npr { color: #fde68a; }
.src-musichistory { color: #86efac; }
