/* The Rushmore Courier: newspaper typography on the school's design system. Needs design/tokens.css, base.css, components.css.
   Mobile first: one column. From 760px the teasers run in two columns; from 1100px the story body runs in two newspaper columns.
   Hairline rules carry the structure; the only colour is the antique gold of the marks. Print rules at the end. */
.paper-site { background: var(--bg); }
.paper-site main.paper-main { max-width: var(--container); padding: var(--s-5) var(--gutter) var(--s-8); }
.paper-site p { max-width: none; }

/* Nameplate. The school's top bar (design/header.css) sits above it and carries the paper's navigation; this is the paper's own name. */
.masthead { text-align: center; padding: var(--s-5) var(--gutter) 0; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; }
.masthead-name { margin: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); padding: var(--s-4) 0; }
.masthead-name a { display: inline-flex; align-items: center; justify-content: center; gap: var(--s-4); min-height: 44px; color: var(--text); text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 5.2vw, 3rem); letter-spacing: .12em; text-transform: uppercase; line-height: 1; text-wrap: balance; }
.masthead-line { margin: 0; padding: var(--s-2) 0; border-bottom: 1px solid var(--line); font-family: var(--font-text); font-variant-caps: small-caps; letter-spacing: .08em; font-size: var(--fs-2); color: var(--text-soft); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 4px var(--s-3); }
.dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold); vertical-align: middle; }
@media (max-width: 480px) { .masthead { padding-top: var(--s-4); } .masthead-line { font-size: var(--fs-1); } }

/* Issue front */
.issue-head { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: var(--s-2) var(--s-4); margin: var(--s-4) 0 var(--s-6); text-align: center; }
.issue-title { font-family: var(--font-heading); font-size: var(--fs-3); font-style: italic; color: var(--text-soft); }
.caps { font-family: var(--font-display); font-size: var(--fs-0); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-text); font-weight: 600; }
.label { display: inline-block; font-family: var(--font-display); font-size: var(--fs-0); letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--gold-text); }
.label-commentary { color: var(--oxblood); }
.story-eyebrow { display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-3); font-family: var(--font-ui); font-size: var(--fs-0); color: var(--muted); letter-spacing: .04em; }
.story-eyebrow .section::before { content: ''; display: inline-block; width: 18px; border-top: 1px solid var(--line-strong); vertical-align: middle; margin-right: var(--s-3); }
.lead { text-align: center; max-width: 820px; margin: 0 auto var(--s-7); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line-strong); }
.lead .story-eyebrow { justify-content: center; }
.lead-link { color: inherit; text-decoration: none; display: block; }
.lead-link:hover .lead-head { color: var(--gold-text); }
.lead-head { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.08; margin: 0 0 var(--s-3); text-wrap: balance; }
.deck { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.35; color: var(--text-soft); margin: 0 0 var(--s-3); text-wrap: pretty; }
.byline { font-family: var(--font-ui); font-size: var(--fs-0); color: var(--muted); display: flex; align-items: center; gap: var(--s-3); margin: 0 0 var(--s-4); flex-wrap: wrap; }
.lead .byline { justify-content: center; }
.byline .by { font-family: var(--font-text); font-variant-caps: small-caps; letter-spacing: .08em; font-size: var(--fs-2); color: var(--text); }
.byline .corrected { color: var(--oxblood); font-weight: 600; }
.lead-excerpt { font-family: var(--font-text); font-size: var(--fs-2); max-width: 60ch; margin: 0 auto var(--s-4); text-align: left; }
.lead-excerpt::first-letter { font-family: var(--font-heading); font-size: 3.2em; float: left; line-height: .8; padding: .08em .08em 0 0; color: var(--gold-text); }
.read-on { font-family: var(--font-text); font-variant-caps: small-caps; letter-spacing: .08em; font-size: var(--fs-2); }
.issue-grid { display: grid; gap: var(--s-6) var(--s-7); grid-template-columns: 1fr; margin: 0 0 var(--s-7); }
.teaser { padding-top: var(--s-4); border-top: 1px solid var(--line); }
.teaser-link { color: inherit; text-decoration: none; display: block; }
.teaser-link:hover .teaser-head { color: var(--gold-text); }
.teaser-head { font-family: var(--font-heading); font-weight: 500; font-size: var(--fs-4); line-height: 1.15; margin: 0 0 var(--s-2); }
.teaser .deck { font-size: var(--fs-2); }
.teaser .byline { margin: 0; }
@media (min-width: 760px) { .issue-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .issue-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s-6); } .issue-grid .teaser { padding: var(--s-4) var(--s-5) 0; border-left: 1px solid var(--line); } .issue-grid .teaser:nth-child(3n + 1) { border-left: 0; padding-left: 0; } }

/* Boxes: question of the week, fact check, newsletter, archive */
.boxes { display: grid; gap: var(--s-5); margin: 0 0 var(--s-7); }
@media (min-width: 760px) { .boxes { grid-template-columns: 1fr 1fr; } }
.box, .newsletter, .archive, .corrections-box, .sources { border: 1px solid var(--line-strong); padding: var(--s-5); position: relative; }
.box::before, .newsletter::before, .corrections-box::before { content: ''; position: absolute; inset: 5px; border: 1px solid var(--line); pointer-events: none; }
.box-title { font-family: var(--font-display); font-size: var(--fs-0); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin: 0 0 var(--s-3); }
.box-big { font-family: var(--font-heading); font-size: clamp(1.4rem, 2.6vw, 1.9rem); line-height: 1.25; margin: 0; }
.fc-claim, .fc-verdict { margin: 0 0 var(--s-2); }
.fc-claim .caps, .fc-verdict .caps { display: block; margin-bottom: 2px; }
.newsletter { margin: 0 0 var(--s-7); max-width: 640px; margin-left: auto; margin-right: auto; }
.newsletter-form .row { gap: var(--s-2); align-items: stretch; }
.newsletter-form input[type="email"] { flex: 1 1 220px; }
.newsletter-form .check { display: flex; align-items: center; gap: var(--s-2); margin: var(--s-3) 0 var(--s-2); color: var(--text); font-size: var(--fs-1); }
.newsletter-form .check input { min-height: 0; width: 18px; height: 18px; }
.nl-extra { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.archive { margin: 0 0 var(--s-6); }
.archive-list { list-style: none; padding: 0; margin: 0; }
.archive-list li { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; padding: var(--s-2) 0; border-top: 1px solid var(--line); }
.archive-list li:first-child { border-top: 0; }

/* The story page */
.story { max-width: 960px; margin: 0 auto; }
.story-head { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2rem, 5.2vw, 3.6rem); line-height: 1.06; margin: 0 0 var(--s-3); text-wrap: balance; }
.story-deck { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }
.issue-ref { margin: 0 0 var(--s-5); }
.commentary-note { font-family: var(--font-ui); font-size: var(--fs-1); color: var(--oxblood); border-top: 1px solid var(--oxblood); border-bottom: 1px solid var(--oxblood); padding: var(--s-2) 0; margin: 0 0 var(--s-5); }
.commentary-note a { color: inherit; }
.corrections-box { margin: 0 0 var(--s-5); }
.corrections-box p { margin: 0 0 var(--s-2); }
.corrections-box time { font-family: var(--font-ui); font-size: var(--fs-0); color: var(--muted); }
.story-body { font-family: var(--font-reading); font-size: var(--fs-2); line-height: 1.6; border-top: 1px solid var(--line-strong); padding-top: var(--s-5); }
.story-body > p:first-child::first-letter { font-family: var(--font-heading); font-size: 3.4em; float: left; line-height: .78; padding: .1em .1em 0 0; color: var(--gold-text); }
.story-body h2 { font-family: var(--font-heading); font-size: var(--fs-4); font-weight: 500; margin: var(--s-5) 0 var(--s-3); break-after: avoid; }
.story-body blockquote { margin: var(--s-5) 0; padding-left: var(--s-4); border-left: 1px solid var(--gold); font-family: var(--font-heading); font-size: var(--fs-3); font-style: italic; break-inside: avoid; }
.story-body figure { margin: var(--s-5) 0; break-inside: avoid; }
.story-body figcaption { font-family: var(--font-ui); font-size: var(--fs-0); color: var(--muted); margin-top: var(--s-2); }
.story-body .missing-visual { font-family: var(--font-ui); font-size: var(--fs-0); color: var(--muted); }
@media (min-width: 1100px) { .story-body { column-count: 2; column-gap: var(--s-7); column-rule: 1px solid var(--line); } .story-body > p:first-child { margin-top: 0; } }
.story-end { margin: var(--s-6) 0 var(--s-4); font-family: var(--font-heading); font-style: italic; font-size: var(--fs-3); color: var(--text-soft); }
.rule-mark { display: inline-block; width: 36px; border-top: 1px solid var(--gold); vertical-align: middle; margin-right: var(--s-2); }
.share { margin: 0 0 var(--s-6); display: flex; align-items: center; gap: var(--s-3); flex-wrap: wrap; }
.share-note { font-family: var(--font-ui); font-size: var(--fs-0); color: var(--ok); }
.sources { margin: 0 0 var(--s-6); }
.sources ol { margin: 0 0 var(--s-3); padding-left: 1.4em; font-family: var(--font-ui); font-size: var(--fs-1); color: var(--text-soft); }
.sources .caps { font-size: 10px; margin-left: 4px; }

/* Plain pages: about, standards, corrections, messages */
.page { max-width: var(--reading); margin: 0 auto; }
.page h1 { font-family: var(--font-heading); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); margin: 0 0 var(--s-4); }
.page h2 { font-family: var(--font-display); font-size: var(--fs-0); letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin: var(--s-6) 0 var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line); }
.page .lead { font-family: var(--font-heading); font-size: var(--fs-3); }
.page li { margin: var(--s-2) 0; }
.corrections-list { list-style: none; padding: 0; margin: 0; }
.corrections-list li { padding: var(--s-4) 0; border-top: 1px solid var(--line); }
.corrections-list time { font-family: var(--font-ui); font-size: var(--fs-0); color: var(--muted); margin-right: var(--s-3); }
.corrections-list p { margin: var(--s-2) 0 0; }
.retracted-head { font-style: italic; color: var(--muted); }

/* Footer */
.paper-foot { max-width: var(--container); margin: 0 auto; padding: var(--s-6) var(--gutter) calc(var(--s-7) + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-strong); text-align: center; }
.from-school { font-family: var(--font-text); font-size: var(--fs-2); color: var(--text-soft); max-width: 62ch; margin: 0 auto var(--s-4); }
.from-school .caps { display: block; margin-bottom: var(--s-2); }
.foot-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 var(--s-4); margin: 0 0 var(--s-4); }
.foot-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 2px; font-family: var(--font-ui); font-size: var(--fs-0); color: var(--muted); }
.foot-meta { font-family: var(--font-ui); font-size: var(--fs-0); color: var(--muted); margin: 0; }

/* Print: the page, not the site */
@media print {
  .paper-site { background: #fff; color: #000; }
  .foot-nav, .share, .newsletter, .skip-link, .archive, .read-on, .issue-ref a::after { display: none !important; }
  .masthead-name { border-color: #000; }
  .story-body { column-count: 2; column-gap: 24pt; column-rule: 1px solid #999; font-size: 11pt; line-height: 1.45; }
  .story-head { font-size: 26pt; }
  .story-body a::after, .sources a::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #444; }
  .paper-foot { border-top: 1px solid #000; }
  .label-commentary { color: #000; }
  a { color: #000; text-decoration: none; }
}
