/* Region N3 — newsprint. Georgia + Helvetica. Mobile local-paper chrome. */
:root {
  --ink: #111111;
  --muted: #3a3a3a;
  --paper: #f6f5f0;
  --card: #ffffff;
  --rule: #111111;
  --hair: #c4c0b6;
  --kicker: #8b1515;
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { font-size: 17px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

/* ——— Masthead ——— */
.mast {
  background: var(--paper);
  padding: 8px 16px 0;
}

.edition {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
  padding: 0 0 6px;
  border-bottom: 1px solid var(--rule);
}

.mast-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 4px;
}

.word {
  display: block;
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(32px, 8vw, 44px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 10px 0 4px;
  text-decoration: none;
}

.word:hover { text-decoration: none; }

.brandline,
.region {
  display: block;
  text-align: center;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

.mast > .meta {
  text-align: center;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 8px;
  padding: 0 16px;
}

.nav,
.secnav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 14px;
  border-top: 3px double var(--rule);
  border-bottom: 1px solid var(--rule);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.nav a,
.secnav a {
  padding: 8px 0;
  min-height: 40px;
  text-decoration: none;
}

.nav a:hover,
.secnav a:hover { text-decoration: none; color: var(--kicker); }

.nav a.on,
.secnav a.on,
.nav a[aria-current="page"],
.secnav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--rule);
}

.secnav {
  font-size: 12px;
  gap: 0 12px;
  justify-content: flex-start;
}

.auth {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  font-family: var(--sans);
  font-size: 12px;
  padding: 6px 0 8px;
}

/* ——— Page measure ——— */
.wrap {
  max-width: 40rem;
  margin: 0 auto;
  padding: 0 16px 48px;
}

h1 {
  font-size: 1.65rem;
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

h2 {
  font-size: 1.15rem;
  line-height: 1.25;
  margin: 1.25rem 0 0.4rem;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 1.4rem 0 0.4rem;
}

.wrap > p,
.front-lead > p,
.brief p {
  font-size: 1rem;
  margin: 0 0 0.85rem;
}

/* ——— Story chrome ——— */
.desk-name,
.kicker {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--kicker);
  margin: 16px 0 4px;
}

.kicker { display: block; }

.front-lead h1 {
  font-size: 1.85rem;
  line-height: 1.12;
  margin: 0 0 0.45rem;
}

.dek {
  font-size: 1.05rem;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.byline,
.meta {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.hero { margin: 0 -16px 8px; }

.hero img,
.article-hero img {
  width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: cover;
  background: #e4e1d8;
}

.credit,
figcaption,
.hero figcaption,
.article-hero figcaption {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
  margin: 0 0 1rem;
}

figcaption {
  padding-top: 0.35rem;
  border-top: 1px solid var(--hair);
}

.read {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.88rem;
  border-top: 1px solid var(--rule);
  padding: 12px 0;
  text-decoration: none;
}

.read:hover { color: var(--kicker); }

/* ——— Rails / also today ——— */
.flag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 22px 0 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--rule);
}

.rail-item {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
}

.rail-item:hover { text-decoration: none; }
.rail-item:hover h2 { color: var(--kicker); }

.rail-item img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  background: #e4e1d8;
}

.rail-item h2 {
  font-size: 1.05rem;
  line-height: 1.25;
  margin: 0 0 4px;
}

.rail-item .desk-name { margin: 0 0 2px; }
.rail-item .byline { margin: 0; }

.rail-item > div:only-child,
.national-world .rail-item {
  grid-template-columns: 1fr;
}

.empty {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--muted);
  margin: 10px 0;
}

.national-world .empty { margin: 8px 0; }

/* ——— Cards (desk indexes, search) ——— */
.card {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--hair);
  text-decoration: none;
}

.card:hover { text-decoration: none; }
.card:hover h2 { color: var(--kicker); }

.card h2 {
  font-size: 1.15rem;
  margin: 0.2rem 0 0.35rem;
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  margin-bottom: 8px;
  background: #e4e1d8;
}

/* ——— Facts / panels / sources ——— */
.panel {
  background: var(--card);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 12px 0;
  margin: 16px 0;
}

.panel h2,
.panel figcaption {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.facts { margin: 0; }

.facts div {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid var(--hair);
  font-size: 0.92rem;
}

.facts dt {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.facts dd { margin: 0; }

.sources {
  font-size: 0.9rem;
  padding-left: 18px;
  margin: 0 0 1rem;
}

.sources li { margin: 0 0 8px; }

section.sources {
  margin-top: 1.75rem;
  padding-top: 0.85rem;
  border-top: 2px solid var(--rule);
  padding-left: 0;
}

section.sources h3 {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.next { font-size: 1rem; }

/* ——— Ads ——— */
.ad {
  margin: 12px 0;
  padding: 8px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.ad-label {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.ad-slot {
  min-height: 50px;
  background: #eceae3;
}

.ad-slot.in,
.ad-slot.rail {
  min-height: 120px;
  max-width: 300px;
}

/* ——— Footer ——— */
footer {
  border-top: 3px double var(--rule);
  padding: 16px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--muted);
}

footer p { margin: 0.35rem 0; }
footer a { color: var(--muted); }

/* ——— Forms (tips, subscribe, login) ——— */
form { margin: 1rem 0; }

label {
  display: block;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 700;
  margin: 0 0 12px;
}

input,
textarea,
select,
button {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
}

input,
textarea,
select {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  background: var(--card);
}

button,
.btn-primary {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.92rem;
  font-weight: 700;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  cursor: pointer;
}

button:hover,
.btn-primary:hover { background: #000; }

.field { margin: 0 0 12px; }

.auth-page { padding-top: 12px; }

.auth-lede,
.auth-switch {
  font-family: var(--sans);
  font-size: 0.92rem;
}

.auth-form { max-width: 22rem; }

/* ——— Meter / paywall note ——— */
#meter-gate.panel h2 {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0;
  text-transform: none;
}

.meter-rest[hidden] { display: none; }
