/* news_watcher_v2 — editorial broadsheet.
   Palette: ink on warm paper, one crimson accent. Serif display, sans body.
   Deliberate non-default touch: a hanging crimson rule + oversized section
   numeral feel via the masthead rule and the ¶ colophon mark. */

:root {
  --paper:  #f4f1ea;
  --ink:    #18130f;
  --muted:  #6b6258;
  --accent: #a8201a;
  --line:   #d8d0c2;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.masthead {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 32px 8px;
}
.masthead .rule {
  height: 6px;
  background: var(--accent);
  width: 84px;
  margin-bottom: 18px;
}
.kicker {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--muted);
}
.logo {
  margin: 4px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(40px, 7vw, 76px);
  letter-spacing: -.02em;
  line-height: .98;
}

.feed {
  max-width: 1080px;
  margin: 28px auto 0;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);            /* hairline grid lines */
  border-top: 1px solid var(--line);
}

.story {
  background: var(--paper);
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* First story spans full width — a deliberate asymmetric lead. */
.story:first-child { grid-column: 1 / -1; flex-direction: row; align-items: flex-start; }
.story:first-child .thumb { flex: 0 0 46%; }
.story:first-child .headline { font-size: clamp(26px, 3.4vw, 40px); }

.thumb { display: block; overflow: hidden; background: #e7e0d3; }
.thumb img {
  display: block; width: 100%; height: 100%;
  aspect-ratio: 16 / 10; object-fit: cover;
  filter: saturate(.92) contrast(1.03);
}

.meta-row { display: flex; flex-wrap: wrap; gap: 6px; }
.source {
  align-self: flex-start;
  font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 2px 8px; border-radius: 2px;
}
.more {
  font-size: 13px; font-weight: 600; color: var(--accent); text-decoration: none;
  margin-top: 2px;
}
.more:hover { text-decoration: underline; text-underline-offset: 3px; }
.headline {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700; font-size: 22px; line-height: 1.15;
  letter-spacing: -.01em;
}
.headline a { color: var(--ink); text-decoration: none; }
.headline a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.dek { margin: 0; color: var(--muted); font-size: 15px; }

.colophon {
  max-width: 1080px;
  margin: 40px auto;
  padding: 18px 32px 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.colophon .mark { color: var(--accent); font-weight: 700; font-size: 16px; }
.colophon strong { color: var(--ink); }

/* ---- topic detail page ---- */
.masthead .back { color: var(--accent); text-decoration: none; font-weight: 700; }
.masthead .back:hover { text-decoration: underline; }
.topic { max-width: 760px; margin: 18px auto 0; padding: 0 32px; }
.topic .hero { margin: 0 0 20px; }
.topic .hero img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover;
  filter: saturate(.92) contrast(1.03); background: #e7e0d3;
}
.topic-title {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: clamp(28px, 4.6vw, 48px); line-height: 1.08; letter-spacing: -.015em; margin: 0;
}
.topic-dek { font-size: 18px; color: var(--muted); margin: 12px 0 28px; }
.coverage-h {
  font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink);
  border-bottom: 2px solid var(--accent); display: inline-block; padding-bottom: 3px;
}
.sources { list-style: none; padding: 0; margin: 14px 0 0; }
.src {
  display: flex; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.src .src-title {
  font-family: Georgia, serif; font-size: 18px; color: var(--ink); text-decoration: none;
}
.src .src-title:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.src .when { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }

@media (max-width: 720px) {
  .feed { grid-template-columns: 1fr; }
  .story:first-child { flex-direction: column; }
  .story:first-child .thumb { flex: none; width: 100%; }
  .src .when { margin-left: 0; }
}
