/* predictable.gg: the Tape design. One hand-written stylesheet, no build step.
   The tokens, the type and the rules are in docs/design-system.md. Read it
   before you change this file. */

/* The `hidden` attribute always wins. No later `display` rule can show the
   theme switch or the Pause button to a visitor without JavaScript. */
[hidden] { display: none !important; }

/* --- Fonts: self-hosted variable files, Latin and Latin Extended --------- */

@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(fonts/schibsted-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url(fonts/martian-mono-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Martian Mono';
  font-style: normal;
  font-weight: 100 800;
  font-stretch: 75% 112.5%;
  font-display: swap;
  src: url(fonts/martian-mono-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokens --------------------------------------------------------------
   Light on :root. Dark twice: for a dark system setting unless the visitor
   chose Light, and for a visitor who chose Dark. The head script sets
   data-theme before the first paint. */

:root {
  color-scheme: light;
  --bg: #F2F2EE;
  --ink: #0D0E10;
  --ink2: #2B2D31;
  --body: #1A1B1E;
  --mut: #595C61;
  --rule: #CFCFC8;
  --acc: #FF4D00;
  --on: #0D0E10;
  --inv: #0D0E10;
  --invt: #F2F2EE;
  --invs: #C9CAC4;
  --invm: #9A9C98;
  --invr: #2E3035;
  --tdate: #FF4D00;
  --tsep: #595C61;
  --frame: transparent;

  --sans: 'Schibsted Grotesk', system-ui, sans-serif;
  --mono: 'Martian Mono', ui-monospace, monospace;
  --pad: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0C0C0B;
    --ink: #EDEDE8;
    --ink2: #C9C9C3;
    --body: #D9D9D3;
    --mut: #8E8F8A;
    --rule: #2A2A28;
    --inv: #EDEDE8;
    --invt: #0C0C0B;
    --invs: #3A3B3E;
    --invm: #5A5C58;
    --invr: #C9C9C3;
    --tdate: #0C0C0B;
    --tsep: #8E8F8A;
    --frame: #2A2A28;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0C0C0B;
  --ink: #EDEDE8;
  --ink2: #C9C9C3;
  --body: #D9D9D3;
  --mut: #8E8F8A;
  --rule: #2A2A28;
  --inv: #EDEDE8;
  --invt: #0C0C0B;
  --invs: #3A3B3E;
  --invm: #5A5C58;
  --invr: #C9C9C3;
  --tdate: #0C0C0B;
  --tsep: #8E8F8A;
  --frame: #2A2A28;
}

/* Three layouts: phone below 760 px, tablet from 760 px, desktop from 1100 px. */
@media (min-width: 760px) { :root { --pad: 40px; } }
@media (min-width: 1100px) { :root { --pad: 80px; } }

/* --- Base ----------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); }
main { flex: 1 0 auto; }
h1, h2, h3, p, ol, ul { margin: 0; }
a { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

.mono { font-family: var(--mono); font-stretch: 87.5%; text-transform: uppercase; letter-spacing: .08em; }
.wrap { width: 100%; max-width: calc(1280px + 2 * var(--pad)); margin: 0 auto; padding: 0 var(--pad); }

/* The wordmark and its orange .gg chip */
.brand-name { font-weight: 900; letter-spacing: -.055em; line-height: .9; }
.gg { font-family: var(--mono); font-stretch: 87.5%; font-weight: 700; line-height: 1; background: var(--acc); color: var(--on); }

/* An image in its fixed 40:21 frame, or the placeholder when a post has none */
.pic { display: block; width: 100%; height: auto; aspect-ratio: 40 / 21; object-fit: cover; outline: 1px solid var(--frame); outline-offset: -1px; }
.ph { position: relative; background: var(--ink); }
.ph::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12%; aspect-ratio: 1; transform: translate(-50%, -50%); background: var(--acc); }

/* Square buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 52px; padding: 0 22px;
  border: 2px solid var(--ink); background: transparent; color: var(--ink);
  font-size: 16px; font-weight: 700; text-decoration: none;
}
.btn-solid { background: var(--ink); color: var(--bg); }
.btn:hover { background: var(--acc); border-color: var(--acc); color: var(--on); }

/* --- The ticker ----------------------------------------------------------- */

.ticker { display: flex; align-items: stretch; height: 36px; background: var(--inv); color: var(--invt); overflow: hidden; }
.ticker-tab {
  flex: none; display: flex; align-items: center; padding: 0 12px 0 var(--pad);
  background: var(--acc); color: var(--on);
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
}
.ticker-window { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.ticker-track { display: flex; width: max-content; }
.ticker-list { display: flex; list-style: none; padding: 0; }
.ticker-list a { display: flex; align-items: center; gap: 10px; padding-left: 18px; color: var(--invt); font-size: 13px; font-weight: 500; text-decoration: none; white-space: nowrap; }
.ticker-list a::after { content: ""; flex: none; width: 4px; height: 4px; margin-left: 8px; background: var(--tsep); }
.ticker-list a:focus-visible { outline-offset: -2px; }
.ticker-date { font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--tdate); }
.ticker-list a:hover .ticker-title { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* The Pause button, at the ticker's right end. Its label swaps between Pause
   and Play; a fixed width keeps the swap from moving the ticker. */
.ticker-pause {
  flex: none; width: 64px; margin: 0; padding: 0; border: 0; border-left: 1px solid var(--invr); border-radius: 0;
  background: var(--inv); color: var(--invt); font-size: 10px; font-weight: 600; cursor: pointer;
}
.ticker-pause:hover { background: var(--acc); color: var(--on); }
.ticker-pause:focus-visible { outline-offset: -3px; }

/* The ticker moves only with JavaScript on, so that the Pause button exists,
   and only for a visitor who has not asked for reduced motion. The second
   copy of the list makes the loop seamless; a still ticker never shows it. */
.ticker-list + .ticker-list { display: none; }
@keyframes tape { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@media (prefers-reduced-motion: no-preference) {
  .js .ticker-list + .ticker-list { display: flex; }
  .js .ticker-track { animation: tape 80s linear infinite; }
  .js .ticker:hover .ticker-track,
  .js .ticker:focus-within .ticker-track,
  .js .ticker.paused .ticker-track { animation-play-state: paused; }
  .pulse { animation: pulse 2s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-pause { display: none; }
}

@media (min-width: 1100px) {
  .ticker { height: 44px; }
  .js .ticker-track { animation-duration: 110s; }
  .ticker-pause { width: 76px; font-size: 10.5px; }
  /* The tab's text lines up with the page's left edge at any width. */
  .ticker-tab { padding: 0 22px 0 max(var(--pad), (100% - 1280px) / 2); font-size: 11px; }
  .ticker-list a { gap: 12px; padding-left: 28px; font-size: 14px; }
  .ticker-list a::after { width: 5px; height: 5px; margin-left: 16px; }
  .ticker-date { font-size: 11px; }
}

/* --- The header ------------------------------------------------------------- */

.masthead { border-bottom: 2px solid var(--ink); }
.masthead-in {
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand theme" "tag tag" "bar bar";
  column-gap: 12px; padding-top: 16px;
}
.brand { grid-area: brand; font-size: inherit; font-weight: inherit; }
.brand a { display: inline-flex; align-items: flex-start; gap: 4px; color: var(--ink); text-decoration: none; }
.brand .brand-name { font-size: clamp(30px, 30px + 16 * (100vw - 390px) / 1050, 46px); }
.brand .gg { padding: 3px 4px; font-size: 9px; }
.tagline { grid-area: tag; margin-top: 10px; font-size: 14px; font-weight: 500; color: var(--mut); }
.bar { grid-area: bar; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; border-top: 1px solid var(--rule); }
.nav { display: flex; font-size: 11px; font-weight: 600; }
.nav a { display: flex; align-items: center; min-height: 44px; padding: 0 16px; text-decoration: none; }
.nav a:first-child { padding-left: 0; }
.nav a:hover { background: var(--acc); color: var(--on); }
.stamp { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 500; letter-spacing: .06em; color: var(--mut); white-space: nowrap; }
.stamp-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pulse { flex: none; display: block; width: 7px; height: 7px; background: var(--acc); }
.theme-slot { grid-area: theme; }

/* The Auto, Light and Dark switch */
.theme { display: flex; border: 1.5px solid var(--ink); }
.theme button {
  -webkit-appearance: none; appearance: none; margin: 0; padding: 0 8px; height: 36px;
  border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font-family: var(--mono); font-stretch: 87.5%; font-size: 9.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer;
}
.theme button + button { border-left: 1.5px solid var(--ink); }
.theme button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.theme button[aria-pressed="false"]:hover { background: var(--acc); color: var(--on); }

@media (min-width: 760px) {
  .masthead-in { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "brand tag theme" "bar bar bar"; column-gap: 28px; padding-top: 22px; }
  .brand .gg { padding: 4px 5px; font-size: 12px; }
  .brand a { gap: 6px; }
  /* The 2 px divider between the wordmark and the site description */
  .tagline { display: flex; align-items: center; gap: 28px; margin-top: 0; font-size: 16px; }
  .tagline::before { content: ""; flex: none; width: 2px; height: 30px; background: var(--ink); }
  .bar { margin-top: 16px; }
  .stamp { font-size: 11px; letter-spacing: .08em; }
  .stamp-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
}

/* The one-row header needs about 1280 px: the wordmark, the description, the
   nav, the "Updated" time and the switch. Narrower desktops keep two rows. */
@media (min-width: 1280px) {
  .masthead-in { display: flex; gap: 28px; padding-top: 26px; padding-bottom: 26px; }
  .bar { flex: none; gap: 30px; margin: 0 0 0 auto; border-top: 0; }
  .nav { gap: 26px; font-size: 12px; }
  .nav a, .nav a:first-child { min-height: 0; padding: 4px 2px; }
  .theme button { height: 32px; padding: 0 11px; font-size: 10.5px; letter-spacing: .08em; }
  .pulse { width: 8px; height: 8px; }
  .stamp { gap: 9px; }
}

/* --- The footer ------------------------------------------------------------- */

.foot { margin-top: 0; padding: 36px 0 28px; background: var(--inv); color: var(--invt); }
.foot a { color: var(--invt); text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.foot a:hover { background: var(--acc); color: var(--on); }
.foot-top { display: flex; flex-direction: column; gap: 24px; }
.foot-mark { display: flex; align-items: flex-start; gap: 5px; }
.foot-mark .brand-name { font-size: clamp(50px, 50px + 38 * (100vw - 390px) / 1050, 88px); line-height: .86; }
.foot-mark .gg { padding: 4px 5px; font-size: 11px; }
.foot-text { font-size: 16px; line-height: 1.5; color: var(--invs); }
.foot-bottom { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--invr); font-size: 10px; font-weight: 500; color: var(--invm); }
.foot-bottom nav { display: flex; gap: 22px; }

@media (min-width: 1100px) {
  .foot { padding: 56px 0 36px; }
  .foot-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
  .foot-mark { grid-column: span 6; gap: 8px; }
  .foot-mark .gg { padding: 5px 6px; font-size: 16px; }
  .foot-text { grid-column: 8 / span 5; font-size: 18px; }
  .foot-bottom { flex-direction: row-reverse; justify-content: space-between; margin-top: 48px; padding-top: 20px; font-size: 11px; }
  .foot-bottom nav { gap: 26px; }
}

/* --- Shared page parts ---------------------------------------------------- */

.chip { flex: none; padding: 4px 7px; background: var(--ink); color: var(--bg); font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.kicker { display: flex; align-items: center; gap: 10px; }
.kicker-date { font-size: 10.5px; font-weight: 500; letter-spacing: .05em; color: var(--mut); }
.standfirst { font-size: clamp(18px, 18px + 5 * (100vw - 390px) / 1050, 23px); line-height: 1.42; color: var(--ink2); max-width: 680px; }
.label { padding-top: 12px; border-top: 2px solid var(--ink); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding-top: 14px; border-top: 2px solid var(--ink); }
.section-title { font-size: clamp(34px, 34px + 22 * (100vw - 390px) / 1050, 56px); font-weight: 900; line-height: 1; letter-spacing: -.045em; }
.section-title .pageno { font-size: 11px; font-weight: 500; letter-spacing: .08em; color: var(--mut); white-space: nowrap; }
.section-link { flex: none; padding: 4px 2px; font-size: 10px; font-weight: 600; text-decoration: none; }
.section-link:hover, .back:hover { background: var(--acc); color: var(--on); }
.empty { padding-top: 56px; padding-bottom: 88px; font-size: 19px; color: var(--mut); }

@media (min-width: 760px) {
  .chip { padding: 5px 8px; font-size: 11px; }
  .kicker { gap: 14px; }
  .kicker-date { font-size: 12px; letter-spacing: .06em; }
  .label { padding-top: 14px; font-size: 11px; }
  .section-head { padding-top: 18px; }
  .section-link { font-size: 12px; }
}

/* --- The front page ----------------------------------------------------------- */

/* The lead: the image first on phones and tablets, beside the headline on desktops. */
.lead { display: flex; flex-direction: column; padding-top: 24px; padding-bottom: 36px; }
.lead-pic { display: block; order: -1; margin-bottom: 18px; }
.lead-pic:hover .pic { outline: 4px solid var(--acc); outline-offset: -4px; }
.lead-title { margin-top: 16px; font-size: clamp(36px, 36px + 36 * (100vw - 390px) / 1050, 72px); font-weight: 900; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.lead-title a { text-decoration: none; }
.lead-title a:hover { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 4px; text-underline-offset: 6px; }
.lead .standfirst { margin-top: 14px; }
.lead-btn { display: flex; width: 100%; margin-top: 22px; padding: 0 18px; }

/* Latest: four image cards; rows with a thumbnail on phones */
.latest { padding-bottom: 36px; }
.cards { list-style: none; padding: 0; }
.card { display: grid; grid-template-columns: 116px minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--rule); text-decoration: none; }
.card-text { display: flex; flex-direction: column; gap: 6px; }
.card-date { font-size: 10px; font-weight: 500; letter-spacing: .05em; color: var(--mut); }
.card-title { font-size: clamp(17px, 17px + 4 * (100vw - 390px) / 1050, 21px); font-weight: 800; line-height: 1.16; letter-spacing: -.015em; }
.card:hover .card-title { text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.card:hover .pic { outline: 4px solid var(--acc); outline-offset: -4px; }

@media (min-width: 760px) {
  .lead { padding-top: 40px; padding-bottom: 56px; }
  .lead-pic { margin-bottom: 28px; }
  .lead-title { margin-top: 22px; line-height: .95; letter-spacing: -.045em; }
  .lead-title a:hover { text-decoration-thickness: 6px; text-underline-offset: 10px; }
  .lead .standfirst { margin-top: 24px; }
  .lead-btn { display: inline-flex; width: auto; align-self: flex-start; margin-top: 30px; padding: 0 22px; }
  .latest { padding-bottom: 56px; }
  .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 18px; }
  .card { display: flex; flex-direction: column; gap: 14px; padding: 0; border: 0; }
  .card-text { gap: 14px; }
  .card-date { font-size: 11px; letter-spacing: .06em; }
  .card-title { line-height: 1.15; letter-spacing: -.018em; }
}

@media (min-width: 1100px) {
  .lead { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: 56px; padding-bottom: 64px; }
  .lead-text { grid-column: span 7; display: flex; flex-direction: column; align-items: flex-start; }
  .lead-pic { grid-column: 8 / span 5; order: 0; align-self: start; margin: 44px 0 0; }
  .lead-title { margin-top: 26px; }
  .lead .standfirst { margin-top: 28px; }
  .lead-btn { margin-top: 34px; }
  .latest { padding-bottom: 72px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* --- The table: the front page's More news, the archive, a post's More news --- */

.table { padding-bottom: 40px; }
.row-head { display: none; }
.rows { list-style: none; margin-top: 12px; padding: 0; }
.row { display: flex; flex-direction: column; gap: 10px; margin: 0 calc(-1 * var(--pad)); padding: 18px var(--pad); border-bottom: 1px solid var(--rule); text-decoration: none; }
.row-date { font-size: 11px; font-weight: 600; letter-spacing: .04em; }
.row-thumb, .row-sub, .row-arrow { display: none; }
.row-text { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.row-title { font-size: clamp(20px, 20px + 5 * (100vw - 390px) / 1050, 25px); font-weight: 800; line-height: 1.14; letter-spacing: -.02em; }
.row-sub { font-size: 16px; line-height: 1.45; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-arrow { font-size: 24px; font-weight: 700; text-align: right; }
.row:hover { background: var(--acc); }
.row:hover, .row:hover * { color: var(--on); }
.pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 24px; }
.pager .btn { height: 48px; padding: 0 18px; font-size: 15px; }
.pager [rel="next"] { margin-left: auto; }
.pager-count { font-size: 11px; font-weight: 600; }
.archive { padding-top: 24px; }

@media (min-width: 760px) {
  .table { padding-bottom: 64px; }
  .row-head, .row { display: grid; grid-template-columns: 96px minmax(0, 1fr) 28px; column-gap: 24px; }
  .row-head { margin-top: 30px; padding-bottom: 10px; border-bottom: 1px solid var(--ink); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--mut); }
  .row-head span:nth-child(2) { display: none; }
  .rows { margin-top: 0; }
  .row { align-items: start; margin: 0 -16px; padding: 20px 16px; }
  .row-date { padding-top: 7px; font-size: 13px; }
  .row-sub, .row-arrow { display: block; }
  .row-title { line-height: 1.12; letter-spacing: -.022em; }
  .pager { padding-top: 30px; }
  .pager .btn { height: 52px; padding: 0 22px; font-size: 16px; }
  .pager-count { font-size: 12px; }
  .archive { padding-top: 48px; }
}

@media (min-width: 1100px) {
  .table { padding-bottom: 88px; }
  .row-head, .row { grid-template-columns: 96px 144px minmax(0, 1fr) 28px; }
  .row-head span:nth-child(2), .row-thumb { display: block; }
  .row-arrow { padding-top: 2px; }
  .archive { padding-top: 56px; }
}

/* --- The post page and About ------------------------------------------------- */

/* Phones and tablets: one column, and the rail is a band under the standfirst.
   Desktops: a 12-column grid with the rail on the left. */
.post { display: flex; flex-direction: column; padding-top: 24px; padding-bottom: 40px; }
.post-title { margin-top: 16px; font-size: clamp(36px, 36px + 28 * (100vw - 390px) / 1050, 64px); font-weight: 900; line-height: .98; letter-spacing: -.04em; text-wrap: balance; }
.post-head .standfirst { margin-top: 14px; max-width: 760px; }
.rail { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; padding: 12px 0; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--rule); }
.rail-block { display: flex; flex-direction: column; gap: 4px; font-size: 15px; font-weight: 700; }
.rail-label { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--mut); }
.back { flex: none; padding: 4px 2px; font-size: 11px; font-weight: 600; text-decoration: none; }
.post-pic { margin: 20px 0 26px; }
.rail + .post-main { margin-top: 26px; }
.post-main { min-width: 0; }

/* The body: external links underlined in the signal, links to earlier posts dashed */
.body { max-width: 680px; font-size: 17px; line-height: 1.62; color: var(--body); }
.body p { margin: 0 0 18px; }
.body h2 { margin: 36px 0 12px; color: var(--ink); font-size: 24px; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.body a, .sources-list a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.body a[href^="/"] { text-decoration-style: dashed; }
.body a:hover, .sources-list a:hover { background: var(--acc); color: var(--on); text-decoration-color: var(--on); }

/* Sources: numbered, a "Primary" chip in the signal, an outlined "Earlier post" chip */
.sources { max-width: 680px; margin-top: 22px; }
.sources-title { padding-top: 14px; border-top: 2px solid var(--ink); font-size: clamp(28px, 28px + 8 * (100vw - 390px) / 1050, 36px); font-weight: 900; line-height: 1; letter-spacing: -.035em; }
.sources-list { list-style: none; margin-top: 10px; padding: 0; }
.sources-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; column-gap: 10px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.sources-list li.internal { align-items: start; }
.sources-n { font-size: 11px; letter-spacing: 0; color: var(--mut); }
.internal .sources-n { padding-top: 3px; }
.sources-list a { font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; }
.tag { padding: 3px 6px; background: var(--acc); color: var(--on); font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.tag-out { grid-column: 2; justify-self: start; margin-top: 8px; padding: 2px 5px; border: 1.5px solid var(--ink); background: none; color: var(--ink); }

/* The disclosure band, in inverse chrome */
.disclosure { display: flex; align-items: flex-start; gap: 14px; max-width: 680px; margin-top: 28px; padding: 18px 20px; background: var(--inv); color: var(--invt); font-size: 15px; line-height: 1.5; }
.disclosure-sq { flex: none; width: 10px; height: 10px; margin-top: 6px; background: var(--acc); }
.disclosure a { color: var(--invt); text-decoration: underline; text-decoration-color: var(--acc); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.disclosure a:hover { background: var(--acc); color: var(--on); }

/* About: the post's title, and the post body's type and measure */
.about { padding-top: 24px; padding-bottom: 56px; }
.about .body { margin-top: 20px; }

@media (min-width: 760px) {
  .post { padding-top: 48px; padding-bottom: 64px; }
  .post-title { margin-top: 22px; line-height: .97; }
  .post-head .standfirst { margin-top: 24px; }
  .rail { margin-top: 28px; }
  .rail-block { font-size: 17px; }
  .back { font-size: 12px; }
  .post-pic { margin: 32px 0 40px; }
  .rail + .post-main { margin-top: 40px; }
  .body { font-size: 19px; line-height: 1.65; }
  .body p { margin-bottom: 22px; }
  .body h2 { margin-top: 44px; font-size: 28px; }
  .sources { margin-top: 34px; }
  .sources-title { padding-top: 16px; }
  .sources-list { margin-top: 14px; }
  .sources-list li, .sources-list li.internal { grid-template-columns: 44px minmax(0, 1fr) auto; column-gap: 12px; align-items: center; padding: 15px 0; }
  .sources-n, .internal .sources-n { padding-top: 0; font-size: 12px; }
  .sources-list a { font-size: 19px; }
  .tag { padding: 4px 7px; font-size: 10px; }
  .tag-out { grid-column: auto; margin-top: 0; padding: 3px 6px; }
  .disclosure { gap: 16px; margin-top: 40px; padding: 22px 26px; font-size: 16px; }
  .disclosure-sq { width: 12px; height: 12px; }
  .about { padding-top: 48px; padding-bottom: 72px; }
  .about .body { margin-top: 28px; }
}

@media (min-width: 1100px) {
  .post, .about { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; padding-top: 64px; padding-bottom: 80px; }
  .post-head { grid-column: 4 / span 8; grid-row: 1; }
  .post-title { margin-top: 24px; }
  .post-head .standfirst { margin-top: 28px; }
  .rail { grid-column: 1 / span 3; grid-row: 1 / span 3; align-self: start; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; margin: 0; padding: 0; border-bottom: 0; }
  .rail-block { gap: 8px; padding: 14px 0 18px; border-bottom: 1px solid var(--rule); font-size: 19px; }
  .rail-label { font-size: 10.5px; }
  .back { align-self: flex-start; margin-top: 18px; }
  .post-pic { grid-column: 4 / -1; grid-row: 2; margin: 40px 0 44px; }
  .post-main { grid-column: 4 / span 8; grid-row: 3; }
  .rail + .post-main { margin-top: 44px; }
  .about > * { grid-column: 4 / span 8; }
  .about { padding-bottom: 88px; }
}
