/* CashIn Sports — chalk paper, field navy, signal orange.
   Big Shoulders Display (stadium lettering) carries headlines; Archivo carries UI; Source Serif 4 carries reading text. */

:root {
  --paper: #F3F4F0;
  --paper-2: #E7E9E2;
  --ink: #111A2C;
  --ink-2: #4B556A;
  --note: #1D3557;      /* field navy: links, buttons */
  --note-2: #2B4C7E;
  --hot: #E4572E;       /* signal orange: accents, live */
  --hot-ink: #B83D14;   /* orange that reads as text on paper */
  --bar: #14213D;       /* scoreboard bar */
  --bar-ink: #C9D3E3;
  --seal: #B42318;      /* corrections */
  --brass: #8C6B22;     /* sponsored */
  --rule: #D3D7CE;
  --focus: #E4572E;
  --display: "Big Shoulders Display", "Archivo Narrow", "Arial Narrow", "Roboto Condensed", sans-serif;
  --head: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --read: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0D1320; --paper-2: #151D2D; --ink: #E8ECF2; --ink-2: #A3AEC2;
    --note: #8DB4F0; --note-2: #A9C6F5; --hot: #FF7A50; --hot-ink: #FF9670; --bar: #080C15; --bar-ink: #B6C2D6;
    --seal: #F08A7A; --brass: #D4B566; --rule: #263247; --focus: #FF7A50;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0D1320; --paper-2: #151D2D; --ink: #E8ECF2; --ink-2: #A3AEC2;
  --note: #8DB4F0; --note-2: #A9C6F5; --hot: #FF7A50; --hot-ink: #FF9670; --bar: #080C15; --bar-ink: #B6C2D6;
  --seal: #F08A7A; --brass: #D4B566; --rule: #263247; --focus: #FF7A50;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--read);
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--note); color: var(--paper); padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
button, input, textarea, select { font: inherit; color: inherit; }

/* ---------------------------------------------------------------- masthead */
.masthead { background: var(--paper); }
.masthead__band { height: 22px; overflow: hidden; background: var(--bar); color: #fff; border-bottom: 3px solid var(--hot); }
.pitch { display: block; width: 100%; height: 100%; opacity: .62; }
.masthead__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 12px 28px; padding-top: 14px; padding-bottom: 10px; }
.wordmark { text-decoration: none; display: inline-flex; gap: .22em; align-items: baseline; color: var(--ink); font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: .86; letter-spacing: .005em; text-transform: uppercase; }
.wordmark__sports { color: var(--hot); font-weight: 800; position: relative; }
.wordmark__sports::after { content: ""; position: absolute; left: .04em; right: .04em; bottom: -.1em; height: .07em; background: currentColor; transform: skewX(-18deg); }
.wordmark--small { font-size: 1.35rem; }
.masthead__date { margin: 0; font: 600 .82rem/1.35 var(--head); color: var(--ink-2); }
.masthead__tag { display: block; font-weight: 400; }
.search input { width: 220px; max-width: 100%; padding: 8px 12px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper-2); font: 500 .9rem var(--head); }
.search input:focus { background: var(--paper); }
.sections-bar { background: var(--bar); }
.sections { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; padding-bottom: 0; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); }
.sections a:last-child { margin-right: 40px; }
.sections::-webkit-scrollbar { display: none; }
.sections a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 11px 11px 9px; text-decoration: none; font: 700 .86rem var(--head); font-stretch: 86%; letter-spacing: .03em; text-transform: uppercase; color: var(--bar-ink); border-bottom: 3px solid transparent; }
.sections a::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--sec, var(--hot)); box-shadow: 0 0 0 1px rgb(255 255 255 / .28); }
.sections a.sections__home::before { display: none; }
.sections a:hover { color: #fff; border-bottom-color: rgb(255 255 255 / .35); }
.sections a[aria-current="page"] { color: #fff; border-bottom-color: var(--hot); }
.sections a:focus-visible { outline-color: #fff; outline-offset: -3px; }
.notice { margin: 12px auto 0; padding: 10px 16px; background: var(--paper-2); border-left: 4px solid var(--seal); font: 600 .95rem var(--head); }

/* ---------------------------------------------------------------- ads (LBM) */
.ad { display: grid; justify-items: center; gap: 4px; margin: 28px auto; }
.ad__label { font: 500 .72rem/1 var(--head); color: var(--ink-2); letter-spacing: .02em; }
.ad .lbm-slot { max-width: 100%; }
.ad-top .ad { margin: 14px auto 6px; }
.ad--leaderboard .lbm-slot { width: 728px; min-height: 90px; }
.ad--sidebar .lbm-slot { width: 300px; min-height: 250px; }
.ad--incontent { padding: 14px 0; border-block: 1px solid var(--rule); }
.ad--incontent .lbm-slot { width: 100%; min-height: 100px; }
.ad--video .lbm-slot { width: 100%; max-width: 640px; aspect-ratio: 16 / 9; }
.ad--mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; margin: 0; padding: 4px 0 calc(4px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--rule); box-shadow: 0 -6px 18px rgb(0 0 0 / .08); }
.ad--mobile .ad__label { display: none; }
.ad--mobile .lbm-slot { width: 320px; height: 50px; }
.ad__close { position: absolute; right: 6px; top: -30px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--rule); background: var(--paper); font: 700 1.1rem/1 var(--head); cursor: pointer; }
.ad--empty, .ad[hidden] { display: none !important; }
@media (max-width: 767px) { body:has(.ad--mobile:not(.ad--empty)) { padding-bottom: 66px; } }

/* ---------------------------------------------------------------- seals & tags */
.seal { --seal: var(--note); flex: none; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: #fff; background: var(--seal); box-shadow: inset 0 -4px 0 rgb(0 0 0 / .18), inset 0 0 0 1px rgb(255 255 255 / .12); font: 800 .84rem/1 var(--head); font-stretch: 72%; letter-spacing: .03em; }
.seal--lg { width: 64px; height: 64px; border-radius: 13px; font-size: 1.15rem; box-shadow: inset 0 -6px 0 rgb(0 0 0 / .18), inset 0 0 0 1px rgb(255 255 255 / .12); }
.seal--sm { width: 30px; height: 30px; border-radius: 7px; font-size: .64rem; box-shadow: inset 0 -3px 0 rgb(0 0 0 / .18); }
.kicker { font: 800 .78rem/1.2 var(--head); letter-spacing: .05em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.kicker:hover { color: var(--hot-ink); }
.meta { font: 500 .8rem/1.4 var(--head); color: var(--ink-2); display: flex; flex-wrap: wrap; gap: 4px 12px; }
.tag-ai { color: var(--hot-ink); font-family: var(--head); font-weight: 650; }
.tag-sponsored { color: var(--brass); font: 700 .8rem/1.4 var(--head); }

/* ---------------------------------------------------------------- front page */
.lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 40px; padding: 26px 0 30px; border-bottom: 1px solid var(--rule); }
.lead__story { display: grid; gap: 14px; align-content: start; }
.lead__top { display: flex; gap: 14px; align-items: center; }
.lead h1, .lead h2.lead__title { margin: 0; font: 800 clamp(2.4rem, 5.8vw, 4.6rem)/.94 var(--display); letter-spacing: .002em; text-wrap: balance; }
.lead__title a { text-decoration: none; }
.lead__title a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-decoration-color: var(--hot); }
.lead__dek { margin: 0; font: 400 1.28rem/1.45 var(--read); color: var(--ink-2); max-width: 46ch; }
.tape { border-left: 1px solid var(--rule); padding-left: 24px; }
.tape h2, .rail h2, .shelf__head h2, .block h2 { margin: 0 0 12px; font: 800 1.3rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.tape h2::before, .rail h2::before { content: ""; display: inline-block; width: .5em; height: .5em; margin-right: .4em; border-radius: 50%; background: var(--hot); vertical-align: .08em; }
.tape ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.tape li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 10px; }
.tape time { font: 700 .78rem/1.5 var(--head); color: var(--hot-ink); font-variant-numeric: tabular-nums; }
.tape a { font: 620 1rem/1.3 var(--head); font-stretch: 92%; text-decoration: none; }
.tape a:hover { text-decoration: underline; }

.front, .reading { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding: 26px 0 44px; }
.rail { display: grid; gap: 30px; align-content: start; }
.rail__sticky { position: sticky; top: 12px; display: grid; gap: 26px; }
.rail .ad { margin: 0; }

.feed { display: grid; gap: 0; }
.row { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.row:first-child { padding-top: 0; }
.row h3 { margin: 2px 0 6px; font: 750 1.62rem/1.04 var(--display); text-wrap: balance; }
.row h3 a { text-decoration: none; }
.row h3 a:hover { text-decoration: underline; }
.row p { margin: 0 0 8px; color: var(--ink-2); font-size: 1rem; line-height: 1.5; }
.feed .ad--incontent { margin: 0; border-top: 0; padding: 18px 0; border-bottom: 1px solid var(--rule); }

.shelf { padding: 30px 0 6px; }
.shelf__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.shelf__head h2 { margin: 0; flex: 1; font-size: 1.55rem; }
.shelf__head a.more { font: 650 .85rem var(--head); color: var(--note); }
.shelf__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.shelf__grid article { border-top: 4px solid var(--sec, var(--note)); padding-top: 10px; }
.shelf__grid h3 { margin: 0 0 6px; font: 750 1.32rem/1.08 var(--display); }
.shelf__grid h3 a { text-decoration: none; }
.shelf__grid p { margin: 0 0 6px; font-size: .95rem; color: var(--ink-2); line-height: 1.45; }

.ranked { list-style: none; counter-reset: r; margin: 0; padding: 0; display: grid; gap: 12px; }
.ranked li { counter-increment: r; display: grid; grid-template-columns: 1.8rem 1fr; gap: 8px; }
.ranked li::before { content: counter(r); font: 900 1.7rem/.9 var(--display); color: var(--hot); }
.ranked a { font: 600 .98rem/1.28 var(--head); font-stretch: 92%; text-decoration: none; }
.ranked a:hover { text-decoration: underline; }

.box { background: var(--paper-2); padding: 18px; border-radius: 4px; }
.box p { margin: 0 0 10px; font-size: .95rem; }
.box h2 { margin-bottom: 6px; }

/* ---------------------------------------------------------------- story page */
.story { min-width: 0; }
.story__head { display: grid; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--rule); }
.story__head h1 { margin: 0; font: 800 clamp(2.3rem, 5.6vw, 4rem)/.96 var(--display); text-wrap: balance; }
.story__dek { margin: 0; font: 400 1.3rem/1.45 var(--read); color: var(--ink-2); }
.byline { display: flex; align-items: center; gap: 12px; }
.byline strong { font: 700 .9rem var(--head); display: block; }
.disclose { margin: 0; font: 500 .85rem/1.45 var(--head); color: var(--ink-2); }
.disclose a { color: var(--note); }
.sponsor-line { margin: 0; padding: 8px 12px; border-left: 4px solid var(--brass); background: color-mix(in srgb, var(--brass) 10%, var(--paper)); font: 600 .9rem var(--head); }
.correction { margin: 18px 0 0; padding: 12px 14px; border-left: 4px solid var(--seal); background: color-mix(in srgb, var(--seal) 8%, var(--paper)); font-size: .98rem; }
.correction strong { font-family: var(--head); color: var(--seal); }

.body { font-size: 1.16rem; line-height: 1.72; max-width: 68ch; padding-top: 8px; }
.body p { margin: 0 0 1.05em; }
.body h2, .body h3 { font: 780 1.6rem/1.1 var(--display); margin: 1.5em 0 .5em; }
.body h3 { font-size: 1.2rem; }
.body ul, .body ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.body li { margin-bottom: .35em; }
.body blockquote { margin: 1.2em 0; padding: 2px 0 2px 18px; border-left: 3px solid var(--hot); font-style: italic; color: var(--ink-2); }
.body a { color: var(--note); }
.body .ad { max-width: 100%; }

.sources { margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule); max-width: 68ch; }
.sources h2, .made h2, .engage h2, .talk h2 { font: 750 1.1rem/1.2 var(--head); margin: 0 0 10px; }
.sources ol { margin: 0; padding-left: 1.3em; font-size: .98rem; }
.sources li { margin-bottom: 6px; }
.sources small { color: var(--ink-2); font-family: var(--head); }
.made { margin-top: 18px; max-width: 68ch; }
.made summary { cursor: pointer; font: 650 .95rem var(--head); color: var(--note); }
.made dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0 0; font-size: .95rem; }
.made dt { font: 600 .85rem var(--head); color: var(--ink-2); }
.made dd { margin: 0; }

.engage { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 26px 0 0; padding: 16px 0; border-block: 1px solid var(--rule); }
.engage h2 { margin: 0 8px 0 0; font-size: 1rem; }
.btn, .chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--note); background: var(--note); color: var(--paper); font: 650 .9rem/1 var(--head); text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--note-2); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.chip { background: transparent; color: var(--ink); border-color: var(--rule); }
.chip:hover { border-color: var(--note); }
.chip[aria-pressed="true"] { background: var(--note); color: var(--paper); border-color: var(--note); }
.chip .n { font-variant-numeric: tabular-nums; }

.talk { margin-top: 34px; max-width: 68ch; }
.talk__intro { margin: -4px 0 14px; color: var(--ink-2); font-size: .98rem; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 5px; font: 600 .85rem var(--head); }
.form input:not([type="checkbox"]):not([type="radio"]), .form textarea, .form select { width: 100%; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper); font: 400 1rem/1.45 var(--read); }
.form textarea { min-height: 110px; resize: vertical; }
.form .hp { position: absolute; left: -5000px; }
.form .btn { justify-self: start; }
.form__msg { margin: 0; font: 600 .9rem var(--head); color: var(--note); }
.form__msg.bad { color: var(--seal); }
.thread { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 18px; }
.thread li { display: grid; gap: 4px; }
.thread .who { font: 700 .88rem var(--head); }
.thread .who small { font-weight: 500; color: var(--ink-2); margin-left: 8px; }
.thread .who .ai { color: var(--hot-ink); }
.thread p { margin: 0; font-size: 1rem; }
.qa { border-left: 3px solid var(--hot); padding-left: 14px; }
.qa .q { font-weight: 600; }

.related { padding: 8px 0 40px; border-top: 1px solid var(--rule); }

/* ---------------------------------------------------------------- sections, search, static */
.section-head { display: flex; gap: 16px; align-items: center; padding: 26px 0 8px; }
.section-head h1 { margin: 0; font: 900 clamp(2.3rem, 5.2vw, 3.6rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; }
.section-head p { margin: 4px 0 0; color: var(--ink-2); }
.page { max-width: 70ch; padding: 26px 0 50px; }
.page h1 { font: 850 clamp(2.3rem, 5.2vw, 3.4rem)/.98 var(--display); margin: 0 0 14px; }
.page h2 { font: 780 1.55rem/1.12 var(--display); margin: 1.6em 0 .5em; }
.page p, .page li { font-size: 1.08rem; }
.empty { padding: 30px; background: var(--paper-2); border-radius: 4px; font-family: var(--head); }
.pager { display: flex; gap: 10px; padding: 20px 0; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 18px 0; }
.tier { border: 1px solid var(--rule); border-radius: 4px; padding: 16px; display: grid; gap: 10px; align-content: start; background: var(--paper); }
.tier h3 { margin: 0; font: 800 1.45rem var(--display); }
.tier p { margin: 0; font-size: .95rem; color: var(--ink-2); }
.refbox { padding: 16px; border: 2px dashed var(--hot); border-radius: 8px; margin: 16px 0; }
.refbox code { font: 800 1.5rem var(--head); letter-spacing: .06em; color: var(--note); }

/* ---------------------------------------------------------------- footer */
.footer { margin-top: 30px; background: var(--paper-2); }
.footer__band { height: 18px; overflow: hidden; background: var(--bar); color: #fff; border-top: 3px solid var(--hot); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-top: 26px; padding-bottom: 18px; }
.footer h2 { font: 800 .8rem var(--head); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 10px; }
.footer nav a { display: block; font: 500 .9rem/1.9 var(--head); text-decoration: none; color: var(--ink-2); }
.footer nav a:hover { color: var(--ink); text-decoration: underline; }
.footer__about { font-size: .95rem; color: var(--ink-2); max-width: 36ch; }
.footer__legal { font: 500 .78rem var(--head); color: var(--ink-2); padding-bottom: 26px; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 980px) {
  .lead { grid-template-columns: 1fr; gap: 26px; }
  .tape { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); padding-top: 18px; }
  .front, .reading { grid-template-columns: minmax(0, 1fr); }
  .rail__sticky { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .masthead__inner { grid-template-columns: 1fr; gap: 8px; }
  .masthead__date { display: none; }
  .search input { width: 100%; }
  .shelf__grid { grid-template-columns: 1fr; gap: 18px; }
  .row { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .row .seal { width: 30px; height: 30px; border-radius: 7px; font-size: .62rem; }
  .row h3 { font-size: 1.42rem; }
  .body { font-size: 1.1rem; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { .ad, .masthead__band, .sections-bar, .search, .rail, .engage, .talk, .footer { display: none !important; } }
@media (min-width: 768px) { .lbm-mobile-only { display: none !important; } }
@media (max-width: 767px) { .lbm-desktop-only { display: none !important; } }

/* ---------------------------------------------------------------- editions (divisions) */
.brand { display: grid; gap: 6px; justify-items: start; }
.edition { position: relative; font-family: var(--head); }
.edition summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; padding: 4px 10px 4px 8px; border: 1px solid var(--rule); border-radius: 8px; font: 700 .85rem/1.2 var(--head); color: var(--note); background: var(--paper); }
.edition summary::-webkit-details-marker { display: none; }
.edition summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 2px; }
.edition[open] summary { border-color: var(--note); }
.edition__panel { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(340px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; padding: 12px; background: var(--paper); border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 12px 30px rgb(0 0 0 / .14); }
.edition__panel input { width: 100%; padding: 8px 10px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-2); font: 500 .9rem var(--head); margin-bottom: 8px; }
.edition__group { padding: 6px 0; border-top: 1px solid var(--rule); }
.edition__group:first-of-type { border-top: 0; }
.edition__group h3, .edition__group h2 { margin: 2px 0 4px; font: 700 .78rem/1.3 var(--head); color: var(--ink-2); }
.edition__panel a { display: block; padding: 5px 6px; border-radius: 4px; text-decoration: none; font: 550 .92rem/1.3 var(--head); }
.edition__panel a:hover { background: var(--paper-2); }
.edition__panel a[aria-current="true"] { color: var(--note); font-weight: 750; }
.edition__all { margin-top: 6px; color: var(--note); }
[data-hidden] { display: none !important; }

.kickers { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.place { font: 600 .8rem/1.2 var(--head); color: var(--ink-2); text-decoration: none; padding: 1px 7px; border: 1px solid var(--rule); border-radius: 999px; }
.place:hover { color: var(--ink); border-color: var(--ink-2); }
.meta .place { font-size: .74rem; }
.place--lead { display: inline-block; margin-bottom: 6px; color: var(--hot-ink); border-color: color-mix(in srgb, var(--hot) 45%, transparent); }
.shelf--places .shelf__grid article { border-top-color: var(--note); }

.facets { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 14px; }
.facets .chip { padding: 6px 12px; font-size: .85rem; }
.facets .chip .n { color: var(--ink-2); font-weight: 500; }
.facets .chip[aria-current="true"] { background: var(--note); color: var(--paper); border-color: var(--note); }
.facets .chip[aria-current="true"] .n { color: inherit; opacity: .8; }
.facets--sections { margin-top: -6px; }
.searchform { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto; align-items: end; max-width: 720px; margin-bottom: 14px; }
.searchform .btn { margin-bottom: 2px; }

.page--wide { max-width: 980px; }
.edition-find { width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: var(--paper-2); font: 500 1rem var(--head); margin: 6px 0 18px; }
.edition-dir { columns: 3 240px; column-gap: 32px; }
.edition-dir .edition__group { break-inside: avoid; margin-bottom: 16px; border-top: 0; }
.edition-dir ul { list-style: none; margin: 0; padding: 0; }
.edition-dir li { padding: 5px 0; border-bottom: 1px dashed var(--rule); }
.edition-dir li a { font: 700 1.2rem var(--display); text-decoration: none; }
.edition-dir li a:hover { text-decoration: underline; }
.edition-dir li small { display: block; color: var(--ink-2); font: 500 .8rem var(--head); }
.edition-next { columns: 3 180px; padding-left: 1.1em; font-family: var(--head); color: var(--ink-2); }

.footer__grid { grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .footer__grid { grid-template-columns: 1fr; }
  .searchform { grid-template-columns: 1fr; }
  .brand { grid-auto-flow: column; justify-content: space-between; align-items: center; width: 100%; }
  .edition__panel { left: auto; right: 0; }
}
