/* ============================================================================
   SV News theme. One file for every news site the engine builds.
   Brand: the SV family's two sites, combined.
     svinnovation.com - paper #f6f4ed / ink #070c09, Bodoni Moda headlines,
                        JetBrains Mono for small print. Editorial, quiet.
     sv-academy.org   - green #16A34A as the one accent, the terminal >_ mark
                        with the logo's three traffic dots, Outfit for text.
   Theme follows the system; [data-theme] (the header button) overrides it.
   ========================================================================== */

/* Bodoni Moda and JetBrains Mono come from fonts.css as woff2 (the TTF copies
   from svinnovation.com were 238 KB; the woff2 subsets are 57 KB). */
@font-face { font-family: "Outfit"; src: url("fonts/outfit-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --paper: #f6f4ed;
  --paper-2: #eeebe1;
  --ink: #070c09;
  --ink-2: #2b2f2a;
  --muted: #65675e;
  --line: #d4d4c9;
  --accent: #15803d;        /* green text on paper, AA */
  --accent-mark: #16a34a;   /* the brand green, marks and rules */
  --accent-soft: rgba(22, 163, 74, 0.08);
  --mark-bg: #070c09;
  --mark-fg: #f0eee5;
  --dot-red: #ff5f57; --dot-amber: #febc2e; --dot-green: #28c840;

  --serif: "Bodoni Moda", "Trirong", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Sarabun", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", "Sarabun", ui-monospace, Menlo, monospace;

  --wrap: 1200px;
  --read: 680px;
  --gutter: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #070c09; --paper-2: #0c1410; --ink: #f0eee5; --ink-2: #d6d8cf;
    --muted: #acb1a7; --line: #343c35; --accent: #4ade80; --accent-mark: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.1); --mark-bg: #121b16; --mark-fg: #f0eee5;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #070c09; --paper-2: #0c1410; --ink: #f0eee5; --ink-2: #d6d8cf;
  --muted: #acb1a7; --line: #343c35; --accent: #4ade80; --accent-mark: #22c55e;
  --accent-soft: rgba(34, 197, 94, 0.1); --mark-bg: #121b16; --mark-fg: #f0eee5;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; font-synthesis: none; overflow-x: hidden; font-variant-numeric: lining-nums; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent-mark); outline-offset: 3px; }
.skip { position: absolute; left: 16px; top: 0; transform: translateY(-150%); background: var(--ink); color: var(--paper); padding: 10px 14px; z-index: 5; font-family: var(--mono); font-size: 12px; }
.skip:focus { transform: none; }

.label, .kicker, .byline, .mast-bar, .mast-tag, .mast-nav, .tags, .foot, figcaption { font-family: var(--mono); }
.label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 500; }
.crumbs { font: 12px/1.4 var(--sans); color: var(--muted); margin: 0 0 10px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover, .crumbs a:focus-visible { color: var(--ink); text-decoration: underline; }
.kicker { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 0 0 14px; font-weight: 600; }
.byline { font-size: 12px; color: var(--muted); margin: 0; letter-spacing: -0.01em; }

/* ---- Masthead ------------------------------------------------------------ */
.mast { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); text-align: center; }
.mast-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; color: var(--muted); padding: 10px 0; border-bottom: 1px solid var(--line); }
.mast-bar a { text-decoration: underline; text-underline-offset: 3px; }
.mast-owner { flex: 1; text-align: center; }
.theme { width: 44px; height: 32px; border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; cursor: pointer; font-size: 15px; line-height: 1; }
.theme:hover { border-color: var(--ink); }
.mast-brand { display: inline-flex; align-items: center; gap: 16px; text-decoration: none; margin: 28px auto 6px; }
.mast-name { font-family: var(--serif); font-weight: 400; white-space: nowrap; font-size: clamp(44px, 10vw, 104px); letter-spacing: -0.055em; line-height: 0.95; margin: 0; }
/* Sized in em off one font-size: percentage padding would resolve against the
   link around the mark, not the mark, and squash its contents to nothing. */
.mark { display: inline-flex; flex-direction: column; justify-content: space-between; font-size: clamp(44px, 8vw, 72px); width: 1em; height: 1em; background: var(--mark-bg); border-radius: 0.22em; padding: 0.15em 0.16em 0.13em; box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06); flex-shrink: 0; }
.mark .dots { display: flex; gap: 0.07em; }
.mark .dots i { width: 0.12em; height: 0.12em; border-radius: 50%; background: var(--dot-red); }
.mark .dots i:nth-child(2) { background: var(--dot-amber); }
.mark .dots i:nth-child(3) { background: var(--dot-green); }
.mark .prompt { font-family: var(--mono); font-weight: 700; color: #22c55e; font-size: 0.36em; line-height: 1; letter-spacing: -0.04em; }
.mast-tag { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 12px 0 18px; }
.mast-nav { display: flex; justify-content: center; gap: 4px 28px; flex-wrap: wrap; font-size: 12px; padding: 10px 0; border-top: 3px double var(--ink); border-bottom: 1px solid var(--line); }
.mast-nav a { text-decoration: none; padding: 6px 2px; min-height: 32px; display: inline-flex; align-items: center; }
.mast-nav a:hover { color: var(--accent); }

/* ---- Home ---------------------------------------------------------------- */
.home { max-width: var(--wrap); margin: 0 auto; padding: 32px var(--gutter) 56px; }
.card { display: grid; gap: 14px; align-content: start; }
.card a { text-decoration: none; }
.card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); border-radius: 2px; }
.card-title { font-family: var(--serif); font-weight: 500; font-size: 24px; line-height: 1.12; letter-spacing: -0.03em; margin: 0 0 8px; }
.card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.card-dek { color: var(--ink-2); margin: 0 0 10px; font-size: 16px; }
.card.lead { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.card.lead .card-title { font-size: clamp(34px, 5.6vw, 64px); line-height: 1.1; letter-spacing: -0.045em; }
.card.lead .card-dek { font-size: clamp(17px, 1.8vw, 21px); max-width: 60ch; }
@media (min-width: 860px) {
  .card.lead { grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center; }
}
.grid { display: grid; gap: 36px 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.empty { color: var(--muted); font-family: var(--mono); }

/* ---- Article --------------------------------------------------------------- */
.article { padding: 0 var(--gutter) 64px; }
.art-head { max-width: 900px; margin: 0 auto; padding: 44px 0 28px; text-align: center; }
.art-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(36px, 6.4vw, 72px); line-height: 1.1; letter-spacing: -0.045em; margin: 0 0 20px; text-wrap: balance; }
.dek { font-size: clamp(18px, 2vw, 22px); color: var(--ink-2); margin: 0 auto 22px; max-width: 46ch; line-height: 1.45; text-wrap: pretty; }
.hero { max-width: 880px; margin: 0 auto 40px; }
.hero img { width: 100%; background: var(--paper-2); border-radius: 2px; }
figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.art-body { max-width: var(--read); margin: 0 auto; }
.art-body > p, .art-body li { font-size: 18px; line-height: 1.72; color: var(--ink); }
.art-body p { margin: 0 0 1.2em; }
.art-body > p:first-of-type:not(.empty):not(.no-cap)::first-letter { font-family: var(--serif); float: left; font-size: 4.4em; line-height: 0.82; padding: 0.06em 0.1em 0 0; color: var(--accent-mark); }
.art-body h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.12; letter-spacing: -0.035em; margin: 2.2em 0 0.7em; }
.art-body h3 { font-family: var(--serif); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; margin: 1.8em 0 0.5em; }
.art-body a { color: var(--accent); }
.art-body ul, .art-body ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.art-body li { margin-bottom: 0.4em; }
.art-body blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent-mark); }
.art-body blockquote p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; letter-spacing: -0.02em; margin: 0; color: var(--ink); }
.art-body figure { margin: 2.2em 0; }
.art-body figure img { max-height: 78vh; width: auto; max-width: 100%; margin-inline: auto; }
.art-body blockquote footer { font-family: var(--mono); font-size: 12px; letter-spacing: 0.04em; color: var(--muted); margin-top: 12px; }
.art-body figure img { width: 100%; border-radius: 2px; background: var(--paper-2); }
/* A chart or logo with a transparent background still needs white behind it. */
.art-body figure img[src$=".png"], .hero img[src$=".png"] { background: #fff; }
.art-body code { font-family: var(--mono); font-size: 0.85em; background: var(--paper-2); padding: 1px 5px; border-radius: 4px; }
.art-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

/* Portrait figures sit beside founder profiles on wide screens. */
@media (min-width: 760px) {
  .art-body h3 + figure { float: right; width: 38%; margin: 0.4em 0 1em 28px; }
  .art-body h3 { clear: both; }
}

.facts { border: 1px solid var(--line); border-top: 3px solid var(--accent-mark); background: var(--accent-soft); padding: 20px 22px 8px; margin: 0 0 2.2em; }
.facts ul { list-style: none; padding: 0; margin: 0; }
.facts li { font-size: 15px; line-height: 1.55; padding: 0 0 12px 22px; position: relative; margin: 0; }
.facts li::before { content: ">"; position: absolute; left: 0; font-family: var(--mono); color: var(--accent); font-weight: 700; }

.faq { margin-top: 2.6em; border-top: 1px solid var(--line); clear: both; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 10px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--muted); font-size: 18px; }
.faq details[open] summary::after { content: "\2212"; } /* a minus sign, not a dash */
.faq summary h3 { margin: 0; font-size: 19px; }
.faq details p { font-size: 16px; color: var(--ink-2); }

.disclosure { margin: 2.6em 0 1.4em; padding: 16px 18px 4px; border: 1px dashed var(--line); font-size: 14px; color: var(--muted); clear: both; }
.disclosure p { font-size: 14px; line-height: 1.6; }
.disclosure a { color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.4em 0 0; }
.tags span { font-size: 11px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; color: var(--muted); }

.more { max-width: var(--wrap); margin: 72px auto 0; padding-top: 28px; border-top: 3px double var(--ink); }

/* ---- Footer ---------------------------------------------------------------- */
.foot { max-width: var(--wrap); margin: 0 auto; padding: 28px var(--gutter) 40px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); line-height: 1.7; display: flex; flex-wrap: wrap; gap: 8px 32px; justify-content: space-between; }
.foot p { margin: 0; max-width: 70ch; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .mast-bar { font-size: 10px; }
  .mast-date { display: none; }
  .mast-owner { text-align: left; }
  .art-body > p, .art-body li { font-size: 17px; }
}
@media (prefers-reduced-motion: no-preference) {
  .card-img img { transition: opacity 0.2s; }
  .card-img:hover img { opacity: 0.88; }
}

/* ==== Portal layer (2026-10-18): sections, rail, rows, two languages ======
   Patterned on the trade portals that carried SV Academy into Google and AI
   answers (Techsauce, Thairath, TechCrunch): lead story beside a numbered
   rail, one block per section, and on phones a dense list, not tall cards. */

.mast-tools { display: inline-flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none !important; font-size: 12px; color: var(--ink); }
.lang:hover { border-color: var(--ink); }
/* Industry sites wear a monogram in their accent colour instead of SV's >_. */
.mark.mark-text { justify-content: center; align-items: center; padding: 0; background: var(--accent-mark); }
.mark.mark-text span { font-family: var(--mono); font-weight: 700; font-size: 0.36em; line-height: 1; letter-spacing: -0.05em; color: #fff; }

/* The section nav scrolls sideways on a phone. The fade on its right edge says
   there is more; without it the last tab looks like the end of the list. */
.mast-nav { padding: 0; position: relative; }
.nav-track { display: flex; justify-content: center; gap: 2px 22px; overflow-x: auto; scrollbar-width: none; padding: 8px 4px; -webkit-overflow-scrolling: touch; }
.nav-track::-webkit-scrollbar { display: none; }
.nav-track a { white-space: nowrap; min-height: 36px; padding: 4px 2px; }
.mast-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent-mark); }
@media (max-width: 860px) {
  .nav-track { justify-content: flex-start; padding-right: 40px; }
  .mast-nav::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 44px; pointer-events: none; background: linear-gradient(90deg, transparent, var(--paper)); }
}

/* Front block: lead + top-stories rail */
.front { display: grid; gap: 28px; padding-bottom: 32px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.front .card.lead { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
@media (min-width: 980px) {
  .front { grid-template-columns: minmax(0, 2.15fr) minmax(260px, 1fr); gap: 40px; align-items: start; }
  .front .card.lead { grid-template-columns: 1fr; gap: 18px; }
  .front .card.lead .card-title { font-size: clamp(34px, 3.6vw, 52px); }
}
.rail { border-top: 3px double var(--ink); padding-top: 12px; }
.rail .label { margin-bottom: 4px; }
.card.rank { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.card.rank:last-child { border-bottom: 0; }
.rank-n { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--accent-mark); font-variant-numeric: tabular-nums; }
.card.rank .card-title { font-size: 19px; line-height: 1.22; margin: 0; }
.card.rank .kicker { margin-bottom: 6px; }
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; }

/* Section blocks */
.sec-block { padding: 34px 0 6px; }
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 4px 16px; border-top: 3px solid var(--ink); padding-top: 12px; margin-bottom: 22px; }
.sec-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; margin: 0; line-height: 1.05; }
.sec-head h2 a { text-decoration: none; }
.sec-head p { grid-column: 1; margin: 0; color: var(--muted); font-size: 14px; }
.sec-all { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-family: var(--mono); font-size: 12px; text-decoration: none; color: var(--accent); white-space: nowrap; min-height: 44px; display: inline-flex; align-items: center; }
.sec-block .grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 28px 24px; }
.sec-block .card-title { font-size: 21px; }
.sec-block .card-dek { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sec-page-head { padding: 10px 0 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.sec-page-head h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 6vw, 68px); letter-spacing: -0.045em; line-height: 1.08; margin: 0 0 10px; }
.sec-page-head p { margin: 0; color: var(--ink-2); max-width: 60ch; }
.sec-page-head + .card.lead { margin-top: 0; }

/* Phone: tiles become rows (thumbnail beside headline), so a section block
   costs about one screen instead of four. */
@media (max-width: 640px) {
  .sec-block .card.tile, .more .card.tile, .home > .grid .card.tile { grid-template-columns: 1fr 104px; gap: 12px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
  .sec-block .card.tile .card-img, .more .card.tile .card-img, .home > .grid .card.tile .card-img { grid-column: 2; grid-row: 1; }
  .sec-block .card.tile .card-img img, .more .card.tile .card-img img, .home > .grid .card.tile .card-img img { aspect-ratio: 1; }
  .sec-block .card.tile .card-dek, .more .card.tile .card-dek, .home > .grid .card.tile .card-dek { display: none; }
  .sec-block .card-title, .more .card-title, .home > .grid .card-title { font-size: 18px; }
  .sec-block .grid, .more .grid, .home > .grid { gap: 16px; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-all { grid-column: 1; grid-row: auto; min-height: 32px; }
}

figcaption .credit { display: block; margin-top: 4px; opacity: 0.85; }
.lang-note { margin: 14px 0 0; font-family: var(--mono); font-size: 12px; }
.lang-note a { color: var(--accent); }
.card-title a, .card-title { overflow-wrap: anywhere; }
.nb { white-space: nowrap; }

/* Thai: Trirong for headlines, Sarabun for text. No uppercase or wide
   tracking (Thai has no capitals and tracking breaks its clusters), and a
   taller line-height for vowel and tone marks above and below the line. */
:lang(th) { --serif: "Trirong", Georgia, serif; --sans: "Sarabun", system-ui, sans-serif; --mono: "Sarabun", "JetBrains Mono", ui-monospace, monospace; }
:lang(th) body, body:lang(th) { line-height: 1.75; }
:lang(th) .label, :lang(th) .kicker, :lang(th) .mast-tag { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-weight: 600; font-size: 13px; }
:lang(th) .art-head h1, :lang(th) .card-title, :lang(th) .sec-head h2, :lang(th) .sec-page-head h1 { letter-spacing: -0.01em; line-height: 1.32; font-weight: 600; }
:lang(th) .art-head h1 { font-size: clamp(30px, 5vw, 52px); }
:lang(th) .card.lead .card-title { font-size: clamp(28px, 4vw, 44px); line-height: 1.3; }
:lang(th) .art-body > p, :lang(th) .art-body li { line-height: 1.85; }
:lang(th) .art-body > p:first-of-type::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; font-family: inherit; }
:lang(th) .byline, :lang(th) .nav-track, :lang(th) .foot { font-family: var(--sans); }
:lang(th) .art-body blockquote p { font-style: normal; line-height: 1.5; }

.mast-name.long { font-size: clamp(30px, 7.2vw, 88px); letter-spacing: -0.045em; }
@media (max-width: 420px) {
  .mast-brand { gap: 10px; }
  .mast-name.long { font-size: 7.4vw; }
  .mast-brand .mark { font-size: 40px; }
}

/* Wide screens: sections sit two to a row, so a section with one or two
   stories does not leave half the page empty. */
@media (min-width: 980px) {
  .sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; align-items: start; }
  .sec-grid .sec-block .grid { grid-template-columns: 1fr 1fr; }
  .sec-grid .sec-head h2 { font-size: 28px; }
}

/* "In this story": the companies and people the story names, each linking to
   its profile page on this site. */
.in-story { margin: 2.4em 0 0; padding-top: 14px; border-top: 1px solid var(--line); clear: both; }
.in-story ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.in-story li { margin: 0; }
.in-story a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: 14px; color: var(--ink); }
.in-story a:hover { border-color: var(--accent-mark); color: var(--accent); }
.profile-links { font-family: var(--mono); font-size: 13px; margin-top: 12px !important; }
.profile-links a { color: var(--accent); }
.profile-disc { font-size: 13px; color: var(--muted) !important; margin-top: 8px !important; }

.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2.4em 0 0; clear: both; }
.share .label { margin: 0 6px 0 0; }
.share a { display: inline-flex; align-items: center; min-height: 36px; padding: 4px 14px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-family: var(--mono); font-size: 12px; }
.share a:hover { background: var(--accent-mark); }

/* Tablets: two sections side by side, each a list of thumbnail rows, so a
   768px screen is not four screens of stacked picture cards. */
@media (min-width: 720px) and (max-width: 979px) {
  .sec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; align-items: start; }
  .sec-grid .sec-block .grid { grid-template-columns: 1fr; gap: 14px; }
  .sec-grid .sec-block .card.tile { grid-template-columns: 1fr 96px; gap: 12px; align-items: start; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .sec-grid .sec-block .card.tile .card-img { grid-column: 2; grid-row: 1; }
  .sec-grid .sec-block .card.tile .card-img img { aspect-ratio: 1; }
  .sec-grid .sec-block .card.tile .card-dek { display: none; }
  .sec-grid .sec-block .card-title { font-size: 18px; }
  .sec-grid .sec-head { grid-template-columns: 1fr; }
  .sec-grid .sec-all { grid-column: 1; grid-row: auto; min-height: 32px; }
  .front .card.lead { grid-template-columns: 1fr; }
}

.correction { margin: 16px auto 0; max-width: 46ch; padding: 10px 14px; border-left: 3px solid var(--accent-mark); background: var(--accent-soft); font-size: 15px; text-align: left; }
.correction .label { display: block; margin: 0 0 4px; }
.corrections { list-style: none; padding: 0; }
.corrections li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.corrections li p { margin: 6px 0 0; font-size: 16px; }

/* Past the content width the article stops padding the "More from" block,
   so it gets the same inner gutter as the masthead and footer (56 px at 1280). */
@media (min-width: 1232px) {
  .more { padding-inline: var(--gutter); }
}

/* "More from" holds four stories: one row of four, not three and a lone card. */
@media (min-width: 980px) {
  .more .grid { grid-template-columns: repeat(4, 1fr); }
}

/* The label above a section or profile title: the same gap as a story kicker. */
.sec-page-head .label { margin: 0 0 14px; }

/* A two-line tagline splits evenly instead of leaving "Thailand" alone. */
.mast-tag { text-wrap: balance; }
