:root {
  --ink: #16181d;
  --muted: #5d6470;
  --rule: #d9dce1;
  --paper: #ffffff;
  --tint: #f5f3ef;
  --accent: #b4232a;
  --link: #16181d;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

.demo-strip { background: #222; color: #ddd; font-size: 12px; text-align: center; padding: 4px 16px; }
.breaking { background: var(--accent); color: #fff; font-weight: 600; padding: 10px 0; }
.breaking a { color: #fff; }
.breaking-tag { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; background: #fff; color: var(--accent); padding: 2px 8px; margin-right: 10px; border-radius: 2px; }

.masthead { border-bottom: 1px solid var(--rule); }
.masthead-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 16px 12px; gap: 12px; }
.dateline-top { font-size: 13px; color: var(--muted); }
.nameplate { font-family: var(--serif); font-weight: 700; font-size: clamp(28px, 5vw, 48px); letter-spacing: -.01em; text-align: center; white-space: nowrap; }
.nameplate:hover { text-decoration: none; }
.search { justify-self: end; }
.search input { font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--rule); border-radius: 4px; width: 200px; }
.search.big input { width: 100%; max-width: 520px; font-size: 18px; padding: 10px 14px; margin-bottom: 12px; }
.sections { border-top: 3px double var(--ink); }
.sections .wrap { display: flex; gap: 22px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; }
.sections a { font-size: 14px; font-weight: 600; white-space: nowrap; }
.sections a.active { color: var(--accent); }

main { padding-top: 24px; padding-bottom: 48px; }
.tagline { color: var(--muted); font-style: italic; font-family: var(--serif); margin: 0 0 16px; }
.kicker { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 10px 0 4px; }
.kicker a { color: inherit; }
.meta { font-size: 13px; color: var(--muted); }
.lock { color: var(--accent); font-size: .7em; vertical-align: middle; }

.front { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
.lead h2 { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.12; margin: 4px 0 8px; }
.lead .deck { font-family: var(--serif); font-size: 19px; color: #333; margin: 0 0 8px; }
.secondary { display: flex; flex-direction: column; gap: 18px; }
.secondary .card + .card { border-top: 1px solid var(--rule); padding-top: 14px; }

.card h3 { font-family: var(--serif); font-size: 20px; line-height: 1.2; margin: 6px 0; }
.card p { margin: 0 0 6px; color: #333; font-size: 15px; }
.card-sm .card-img { display: none; }
.card-sm h3 { font-size: 18px; }
.card-row { display: grid; grid-template-columns: 240px 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.card-row h3 { font-size: 22px; margin-top: 0; }

.section-block { padding-top: 26px; }
.rule { font-family: var(--sans); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; border-top: 2px solid var(--ink); padding-top: 8px; margin: 0 0 14px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.section-title { font-family: var(--serif); font-size: 40px; margin: 0 0 6px; }
.intro { color: var(--muted); max-width: 720px; }
.pager { display: flex; gap: 18px; justify-content: center; padding: 24px 0; font-size: 14px; }

.story { max-width: 760px; margin: 0 auto; }
.story h1 { font-family: var(--serif); font-size: clamp(30px, 4.5vw, 46px); line-height: 1.1; margin: 4px 0 10px; }
.story .deck { font-family: var(--serif); font-size: 21px; color: #333; margin: 0 0 14px; }
.byline { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; }
.byline strong { color: var(--ink); }
.lead-photo, .inline-photo { margin: 22px 0; }
figcaption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.credit { text-transform: uppercase; font-size: 11px; letter-spacing: .05em; }
.story-body { font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.story-body p { margin: 0 0 1.1em; }
.has-dateline .dl { font-family: var(--sans); font-weight: 700; font-size: 15px; float: left; margin-right: 6px; padding-top: 4px; }
.pull { border-left: 4px solid var(--accent); margin: 28px 0; padding: 4px 0 4px 20px; }
.pull p { font-size: 26px; line-height: 1.3; font-weight: 600; margin: 0 0 6px; }
.pull cite { font-family: var(--sans); font-size: 14px; font-style: normal; color: var(--muted); }
.factbox { background: var(--tint); padding: 16px 20px; margin: 24px 0; font-family: var(--sans); font-size: 16px; }
.factbox h4 { margin: 0 0 6px; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; color: var(--accent); }
.related { font-family: var(--sans); font-size: 16px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 10px 0; margin: 22px 0; }
.related span { font-weight: 700; color: var(--accent); }
.paywall-note { font-family: var(--sans); font-size: 14px; background: #fff4e5; border: 1px solid #f0d2a8; padding: 10px 14px; margin-bottom: 20px; }
.tags { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-family: var(--sans); font-size: 13px; background: var(--tint); padding: 3px 10px; border-radius: 3px; }
.block-embed iframe { max-width: 100%; }

.footer { border-top: 1px solid var(--rule); padding: 24px 0; font-size: 13px; color: var(--muted); }
.footer a { text-decoration: underline; }

@media (max-width: 900px) {
  .front { grid-template-columns: 1fr; }
  .grid4 { grid-template-columns: repeat(2, 1fr); }
  .masthead-inner { grid-template-columns: 1fr; text-align: center; }
  .dateline-top, .search { justify-self: center; }
}
@media (max-width: 560px) {
  .grid4 { grid-template-columns: 1fr; }
  .card-row { grid-template-columns: 1fr; }
  .search input { width: 100%; }
}
