:root {
  --ink: #050505;
  --paper: #fff;
  --accent: #e00000;
  --rule: #777;
  --rule-light: #aaa;
  --muted: #4a4a4a;
  --news-font: "Courier New", Courier, monospace;
  --micro-font: "Courier New", Courier, monospace;
  --display-font: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }

html {
  color: var(--ink);
  background: var(--paper);
  font-family: var(--news-font);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 1px;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  inset-block-start: 4px;
  inset-inline-start: 4px;
  z-index: 60;
  padding: 4px 6px;
  background: #fff;
  border: 2px solid #000;
  font: 700 12px/1 var(--news-font);
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

/* A dense newspaper sheet, but not a wall of type. */
.page {
  inline-size: 100%;
  max-inline-size: 1320px;
  margin-inline: auto;
  padding: 6px 5px 18px;
}

.view-switch { display: none; }
.ad-gap { display: none; }

.top {
  max-inline-size: 940px;
  margin-inline: auto;
  text-align: center;
}

.story-group {
  margin-block-end: 5px;
}

.story-group.standard,
.story-group.minor {
  text-align: start;
}

.story-group.lead,
.story-group.feature.top-feature {
  text-align: center;
  margin-inline: auto;
}

.story-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.story-links li + li { margin-block-start: 2px; }

.story-link {
  display: block;
  font-family: var(--news-font);
  font-weight: 700;
  line-height: 1.08;
  overflow-wrap: normal;
  word-break: normal;
}

.story-link.accent-red { color: var(--accent); }
.top .lead .story-link.accent-red { color: var(--ink); }
.story-link.emphasis-italic { font-style: italic; }

.top .lead {
  max-inline-size: 900px;
  margin-block: 2px 7px;
}

.top .lead .story-link {
  font-family: var(--display-font);
  font-size: 46px;
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.038em;
  text-transform: uppercase;
}

/* A short, single-link lead gets true Drudge-style monster treatment. */
.top .lead:has(.story-links > li:only-child) .story-link {
  font-size: 58px;
  line-height: 0.93;
  letter-spacing: -0.045em;
}

.top .lead li:nth-child(n+2) .story-link {
  font: 700 13px/1.08 var(--news-font);
  letter-spacing: 0;
  text-transform: none;
}

.top .feature.top-feature {
  max-inline-size: 790px;
  margin-block: 3px 6px;
}

.top .feature.top-feature .story-link {
  font-family: var(--display-font);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.01;
  letter-spacing: -0.014em;
  text-transform: uppercase;
}

.top .standard,
.top .minor {
  max-inline-size: 740px;
  margin-inline: auto;
  text-align: center;
}

.top .standard .story-link,
.top .minor .story-link { font-size: 13px; }

/* Pictures are editorial punctuation. Preserve their natural shape instead of card-cropping everything to 16:9. */
.group-image {
  display: block;
  inline-size: auto;
  max-inline-size: 100%;
  block-size: auto;
  margin: 5px auto 4px;
  border: 0;
}

.top .group-image {
  inline-size: auto;
  max-inline-size: min(460px, 82vw);
  max-block-size: 520px;
}

.top .lead .group-image {
  inline-size: auto;
  max-inline-size: min(620px, 88vw);
  max-block-size: 580px;
  margin-block-start: 4px;
}

.column .group-image {
  inline-size: auto;
  max-inline-size: 100%;
  max-block-size: 430px;
  margin: 4px auto 4px;
}

.image-credit {
  color: var(--muted);
  font: 400 8px/1.1 var(--micro-font);
  text-align: center;
  margin-block: -1px 4px;
}

.masthead {
  text-align: center;
  margin-block: 7px 10px;
}

/* Keep the masthead as live text so it stays resolution-independent at every zoom level. */
.logo {
  display: inline-block;
  inline-size: auto;
  block-size: auto;
  margin: 0;
  overflow: visible;
  white-space: nowrap;
  background: none;
  color: var(--ink);
  font-family: "Arial Black", Impact, Arial, Helvetica, sans-serif;
  font-size: 104px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: -0.05em;
  word-spacing: 0.03em;
  line-height: 0.82;
  text-transform: uppercase;
  transform: skewX(-5deg);
  transform-origin: center;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

.logo .ai { color: inherit; }

.edition-meta {
  margin-block-start: 9px;
  color: var(--muted);
  font: 400 9px/1 var(--micro-font);
}

.correction,
.withdrawn {
  max-inline-size: 800px;
  margin: 8px auto;
  padding: 5px 7px;
  border: 1px solid var(--rule);
  font: 700 11px/1.2 var(--news-font);
}

.columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  inline-size: 100%;
  align-items: start;
  border-block-start: 1px solid var(--rule);
}

.column {
  min-inline-size: 0;
  padding: 6px 8px 0;
  font: 700 13px/1.08 var(--news-font);
}

.column + .column { border-inline-start: 1px solid var(--rule); }

/* Controlled irregularity: clusters should accumulate, not look like cards. */
.column .story-group {
  margin-block-end: 4px;
  padding-block-end: 4px;
  border-block-end: 0;
}

.column .story-group:nth-child(3n + 1) {
  margin-block-end: 7px;
  padding-block-end: 7px;
  border-block-end: 1px solid var(--rule-light);
}

.column .story-group:nth-child(4n + 2) {
  margin-block-end: 10px;
}

.column .story-group:has(.group-image) {
  margin-block-end: 9px;
  padding-block-end: 2px;
  border-block-end: 0;
}

.column .story-link { padding-block: 0; }
.column .feature .story-link:first-child {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.03;
}
.column .minor .story-link { font-size: 12px; font-weight: 700; }

/* One strong reference line, not a tiny benchmark directory. */
.benchmark-strip {
  margin-block-start: 9px;
  padding: 7px 7px 6px;
  border-block-start: 2px solid var(--ink);
  border-block-end: 1px solid var(--rule);
  font: 700 15px/1.16 var(--news-font);
}

.benchmark-strip h2 {
  display: inline;
  margin: 0 5px 0 0;
  font: 900 12px/1 var(--news-font);
}

.benchmark-items {
  display: inline;
}

.benchmark-item {
  display: inline;
  min-inline-size: 0;
  padding: 0;
  border: 0;
}

.benchmark-item > a { font-weight: 900; }
.benchmark-snapshot { font-weight: 700; }
.benchmark-asof {
  color: var(--muted);
  font-size: 10px;
  font-weight: 400;
  white-space: nowrap;
}
.benchmark-separator { display: inline; }

footer {
  margin-block-start: 8px;
  padding: 6px 7px 0;
  border-block-start: 1px solid var(--rule);
  text-align: start;
  font: 700 10px/1.18 var(--news-font);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 2px 10px;
  margin-block-end: 3px;
  text-transform: uppercase;
}

/* Keep GA for now, but do not let consent furniture dominate the newspaper. */
.consent-banner {
  position: fixed;
  inset-inline-start: auto;
  inset-inline-end: 7px;
  inset-block-end: 7px;
  z-index: 50;
  inline-size: min(360px, calc(100vw - 14px));
  max-inline-size: 360px;
  margin: 0;
  padding: 6px 7px;
  border: 1px solid var(--ink);
  background: var(--paper);
  box-shadow: 2px 2px 0 var(--ink);
  font: 700 10px/1.16 var(--news-font);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 4px; }
.consent-actions { display: flex; gap: 5px; }
.consent-actions button {
  appearance: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  padding: 2px 6px;
  font: 700 10px/1 var(--news-font);
  cursor: pointer;
}

.simple-page {
  max-inline-size: 720px;
  margin-inline: auto;
  padding: 28px 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}
.simple-page h1 { font-size: 30px; }
.simple-page nav { margin-block: 24px; }
.simple-page nav a { margin-inline-end: 14px; }

@media (max-width: 700px) {
  .page {
    max-inline-size: none;
    padding: 4px 7px 16px;
  }

  .view-switch {
    display: block;
    margin-block: 0 3px;
    text-align: end;
    font: 700 9px/1 var(--micro-font);
    text-transform: uppercase;
  }

  .top {
    max-inline-size: none;
  }

  .top .lead {
    max-inline-size: none;
    margin-block: 3px 12px;
  }

  .top .lead .story-link {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.95;
    letter-spacing: -0.045em;
  }

  .top .lead:has(.story-links > li:only-child) .story-link {
    font-size: clamp(40px, 13vw, 56px);
    line-height: 0.92;
  }

  .top .lead li:nth-child(n+2) .story-link {
    font: 700 17px/1.05 var(--news-font);
    letter-spacing: 0;
    text-transform: none;
  }

  .top .feature.top-feature {
    max-inline-size: none;
    margin-block: 8px 12px;
  }

  .top .feature.top-feature .story-link {
    font-size: 24px;
    line-height: 0.98;
  }

  .top .standard,
  .top .minor {
    max-inline-size: none;
  }

  .top .standard .story-link,
  .top .minor .story-link {
    font-size: 16px;
    line-height: 1.05;
  }

  .top .group-image,
  .top .lead .group-image,
  .column .group-image {
    inline-size: 100%;
    max-inline-size: 100%;
    max-block-size: none;
    margin-block: 7px 6px;
  }

  .image-credit {
    font-size: 9px;
    margin-block-end: 7px;
  }

  .masthead {
    margin-block: 14px 13px;
  }

  .logo {
    max-inline-size: 100%;
    font-size: clamp(48px, 18vw, 76px);
    line-height: 0.84;
  }

  .edition-meta {
    margin-block-start: 7px;
    font-size: 10px;
  }

  .columns {
    display: block;
    border-block-start: 2px solid var(--ink);
  }

  .column {
    padding: 9px 0 0;
    font-size: 18px;
    line-height: 1.08;
  }

  .column + .column {
    margin-block-start: 10px;
    padding-block-start: 11px;
    border-inline-start: 0;
    border-block-start: 1px solid var(--rule);
  }

  .column .story-group {
    margin-block-end: 9px;
    padding-block-end: 6px;
  }

  .column .story-group:nth-child(3n + 1) {
    margin-block-end: 12px;
    padding-block-end: 10px;
  }

  .column .story-group:nth-child(4n + 2) {
    margin-block-end: 14px;
  }

  .column .story-group:has(.group-image) {
    margin-block-end: 14px;
  }

  .column .feature .story-link:first-child {
    font-size: 22px;
    line-height: 1.02;
  }

  .column .minor .story-link {
    font-size: 16px;
  }

  .story-links li + li {
    margin-block-start: 4px;
  }

  .benchmark-strip {
    margin-block-start: 14px;
    padding-inline: 0;
    font-size: 16px;
  }

  footer {
    padding-inline: 0;
    font-size: 12px;
  }

  .footer-links {
    gap: 5px 12px;
  }
}

@media (min-width: 1400px) {
  .column { font-size: 13.5px; }
  .column .minor .story-link { font-size: 12.5px; }
  .column .group-image { max-inline-size: 430px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
