/* Newsreader, hosted here (no calls to Google before cookie consent). */
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("/home/fonts/newsreader-latin.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("/home/fonts/newsreader-italic-latin.woff2") format("woff2"); }

/* Linktwos articles. Loaded after home.css, which supplies the tokens,
   header, footer, buttons, question box and cookie banner. */

:root {
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --rule: var(--hairline);
}

/* ---- Hero banner ---- */
.article-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-bottom: 1px solid var(--hairline);
  background:
    radial-gradient(900px 420px at 78% 12%, rgba(24, 161, 229, .20), transparent 60%),
    radial-gradient(700px 380px at 12% 88%, rgba(53, 218, 190, .12), transparent 60%),
    var(--ink);
}
.article-hero .hero-network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .85; }
.article-hero .hero-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 9, 13, .1) 0%, rgba(7, 9, 13, .4) 55%, rgba(7, 9, 13, .94) 100%);
}
.article-hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: 760px; margin: 0 auto;
  padding: 56px var(--gutter) 44px;
}
.article-kicker {
  display: inline-block;
  font: 600 14px/1.3 var(--body);
  margin-bottom: 14px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.article-title {
  font: 900 clamp(34px, 5.4vw, 52px)/1.05 var(--display);
  letter-spacing: -0.03em;
  color: var(--text);
}
.article-byline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px;
  margin-top: 20px;
  font-size: 15px; color: var(--text-3);
}
.article-byline .by-name { color: var(--text); font-weight: 600; text-decoration: none; }
a.by-name:hover { text-decoration: underline; text-underline-offset: 3px; }
.article-byline .by-dot { color: var(--hairline-2); }

/* ---- Article body ---- */
.article-page {
  max-width: 700px; margin: 0 auto;
  padding: 40px var(--gutter) 96px;
}
.article-lead {
  font: 400 23px/1.6 var(--serif);
  color: var(--text);
  margin: 8px 0 32px;
}
.article-page > p,
.article-names p {
  font: 400 20px/1.75 var(--serif);
  color: #C9CED8;
  margin: 0 0 22px;
}
.article-page strong { color: var(--text); font-weight: 600; }
.article-page > p a,
.article-page li a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(53, 218, 190, .6); text-underline-offset: 3px; }
.article-page > p a:hover,
.article-page li a:hover { text-decoration-color: var(--teal); color: #fff; }

.article-page h2 {
  font: 700 28px/1.2 var(--display);
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 52px 0 18px;
  padding-top: 36px;
  border-top: 1px solid var(--hairline);
}
.article-page h3 {
  font: 700 19px/1.35 var(--display);
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 36px 0 12px;
}
.article-page ul, .article-page ol { padding-left: 1.4em; margin: 0 0 22px; }
.article-page ul { list-style: disc; }
.article-page ol { list-style: decimal; }
.article-page li { font: 400 19px/1.7 var(--serif); color: #C9CED8; margin-bottom: 8px; }

/* Punchy one-liners as pull quotes */
.article-emphasis {
  font: 700 26px/1.3 var(--display);
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 32px 0;
  padding-left: 20px;
  border-left: 3px solid var(--blue);
  border-image: linear-gradient(180deg, var(--blue), var(--teal)) 1;
}
/* Standalone one-word beat */
.article-page > p.article-beat {
  font: 900 clamp(40px, 7vw, 60px)/1.05 var(--display);
  letter-spacing: -0.03em;
  text-align: center;
  margin: 56px 0;
  color: var(--text);
}
.article-beat::before,
.article-beat::after {
  content: ""; display: block;
  width: 40px; height: 2px; margin: 24px auto;
  background: var(--grad); opacity: .8;
}

/* Named-people card */
.article-names {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--surface);
  border-radius: var(--r-card);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.article-names p { margin: 0 0 10px; font-size: 18px; color: var(--text-2); }
.article-names p:last-child { margin-bottom: 0; }
.article-names strong { color: var(--text); }

/* Question box partway down: the homepage's box in a card */
.inline-signup {
  margin: 40px 0;
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.inline-signup h3 { margin: 0 0 6px; }
.inline-signup p { margin: 0; font-size: 15px; color: var(--text-2); line-height: 1.55; }
.inline-signup .ask { margin-top: 18px; }
.inline-signup .inline-signup-note { margin-top: 12px; font-size: 13.5px; color: var(--text-3); }

/* CTA at the end */
.article-cta-wrap { margin: 44px 0 16px; text-align: center; }
.article-cta { white-space: normal; height: auto; min-height: 52px; padding: 14px 26px; font-size: 16px; line-height: 1.35; text-align: center; }

.article-foot {
  margin-top: 48px; padding-top: 22px;
  border-top: 1px solid var(--hairline);
  color: var(--text-3); font-size: 15px; line-height: 1.7;
}
.article-foot a { color: var(--text-2); }

/* Sources */
.article-sources { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hairline); }
.article-sources h2 { font-size: 17px; margin-top: 0; padding-top: 0; border-top: 0; }
.article-sources ol { padding-left: 1.4em; margin: 0; list-style: decimal; }
.article-sources li { font: 400 14px/1.6 var(--body); color: var(--text-3); margin-bottom: 12px; }
.article-sources a { color: var(--text-2); word-break: break-word; }
.article-sources a:hover { color: var(--text); }
.article-page sup a { font: 600 .72em var(--body); color: var(--teal); text-decoration: none; padding-left: 1px; }

@media (max-width: 600px) {
  .article-hero { min-height: 280px; }
  .article-hero-inner { padding-bottom: 30px; }
  .article-lead { font-size: 20px; }
  .article-page > p, .article-names p { font-size: 18px; }
  .article-page h2 { font-size: 24px; }
  .article-emphasis { font-size: 22px; }
}

/* ---- Articles index ---- */
.articles-index { max-width: 900px; margin: 0 auto; padding: clamp(40px, 7vw, 72px) var(--gutter) 96px; }
.index-kicker { display: inline-block; font: 600 14px/1.3 var(--body); margin-bottom: 12px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.index-title { font: 900 clamp(36px, 5.4vw, 52px)/1.05 var(--display); letter-spacing: -0.03em; color: var(--text); margin-bottom: 14px; }
.index-sub { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 600px; margin-bottom: 44px; }
.article-list { display: grid; gap: 18px; }
.article-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: stretch;
  text-decoration: none; overflow: hidden;
  border-radius: var(--r-card);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--hairline);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.article-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--hairline-2), 0 18px 44px -18px rgba(0, 0, 0, .7); }
.article-card-thumb {
  position: relative; min-height: 170px; overflow: hidden;
  background: radial-gradient(120% 90% at 70% 20%, rgba(24, 161, 229, .18), transparent 60%), var(--raised);
}
.article-card-thumb svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.article-card-body { padding: 24px 26px 24px 0; display: flex; flex-direction: column; justify-content: center; }
.article-card-tag { font: 600 13px/1.3 var(--body); color: var(--teal); margin-bottom: 8px; }
.article-card-title { font: 700 22px/1.25 var(--display); letter-spacing: -0.015em; color: var(--text); margin-bottom: 8px; }
.article-card-excerpt { font-size: 15.5px; line-height: 1.55; color: var(--text-2); margin-bottom: 12px; }
.article-card-meta { font-size: 13.5px; color: var(--text-3); }
@media (max-width: 640px) {
  .article-card { grid-template-columns: 1fr; gap: 0; }
  .article-card-thumb { min-height: 140px; }
  .article-card-body { padding: 20px; }
}
