/*
Theme Name:   Cycling Free Press
Theme URI:    https://cyclingfreepress.example.com/
Description:  Child theme for a "deadly serious", text-and-data-first pro cycling news site. Dark ink-on-near-black, no photographs — typography + owned inline-SVG data graphics carry the whole aesthetic. Dense wire feed (Today / Yesterday / Last Week) + original in-depth band, stage recaps with owned profiles/charts. Pairs with a `cfp_headline` custom post type.
Author:       Cycling Free Press
Author URI:   https://cyclingfreepress.example.com/
Template:     twentytwentyfour
Version:      1.9.5
License:      GNU General Public License v2 or later
License URI:  https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  cyclingfreepress
*/

/* -- self-hosted fonts (v1.6.0) — same-origin woff2, font-display:swap.
   Removes the render-blocking fonts.googleapis.com request; headline text
   stays the Largest Contentful Paint element.
   DISPLAY = Archivo Black (blunt, hard "say the thing" headlines) — replaces
   Playfair as of the "deadly serious" type shift. IMPACT = Anton (ultra-
   condensed poster) reserved for the gut-punch beat + OG cards. BODY = Source
   Serif 4. FIGURES/META = JetBrains Mono. Archivo/Anton have one master each,
   so the weight range maps every requested weight to the black cut. -- */
@font-face{ font-family:'Archivo Black'; font-style:normal; font-weight:100 900; font-display:swap; src:url('/assets/fonts/archivo-black.woff2') format('woff2'); }
@font-face{ font-family:'Anton'; font-style:normal; font-weight:100 900; font-display:swap; src:url('/assets/fonts/anton.woff2') format('woff2'); }
@font-face{ font-family:'Source Serif 4'; font-style:normal; font-weight:100 900; font-display:swap; src:url('/assets/fonts/sourceserif-var.woff2') format('woff2'); }
@font-face{ font-family:'JetBrains Mono'; font-style:normal; font-weight:400; font-display:swap; src:url('/assets/fonts/jetbrainsmono-400.woff2') format('woff2'); }
@font-face{ font-family:'JetBrains Mono'; font-style:normal; font-weight:600; font-display:swap; src:url('/assets/fonts/jetbrainsmono-600.woff2') format('woff2'); }
@font-face{ font-family:'JetBrains Mono'; font-style:normal; font-weight:700; font-display:swap; src:url('/assets/fonts/jetbrainsmono-700.woff2') format('woff2'); }

/* ===========================================================================
   CYCLING FREE PRESS — dark "Ink" design system (v1.5.0)
   All selectors are prefixed .cfp- (or scoped under .cfp-root) so they never
   collide with the parent theme. This file is the SINGLE source of truth:
   the dark palette, the single-line CFP masthead, the article page, and every
   owned data-graphic component. (v1.5.0 folded in the per-template inline
   critical CSS that steps 3-4 shipped; those inline blocks are now removed.)
   =========================================================================== */

/* Google Fonts are loaded via functions.php so the theme header stays clean. */

/* -- palette (LOCKED: dark "Ink") ---------------------------------------- */
.cfp-root{
  --cfp-display: 'Archivo Black', 'Arial Black', system-ui, sans-serif;  /* blunt, hard headlines */
  --cfp-impact: 'Anton', 'Arial Narrow', var(--cfp-display);             /* the gut-punch face (impact beat + OG) */
  --cfp-body: 'Source Serif 4', Georgia, serif;
  --cfp-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --cfp-bg: #15150f;      /* warm near-black */
  --cfp-paper2: #20201a;  /* inset panels / graphic frames / table lead row */
  --cfp-ink: #f1ece0;     /* warm off-white foreground */
  --cfp-dim: #9a968a;     /* meta / gaps / source tags (~6.5:1, AA) */
  --cfp-rule: #39372e;    /* hairline dividers */
  --cfp-yellow: #f0c400;  /* leader accent — the ONLY UI accent */
  --cfp-measure: 1100px;
}
.cfp-root{
  background: var(--cfp-bg);
  color: var(--cfp-ink);
  color-scheme: dark;
  font-family: var(--cfp-body);
  min-height: 100vh;
  padding: 26px 20px 60px;
  box-sizing: border-box;
}
.cfp-root *{ box-sizing: border-box; }
.cfp-root ::selection{ background: var(--cfp-yellow); color: #111; }
.cfp-wrap{ max-width: var(--cfp-measure); margin: 0 auto; }
.cfp-sr-only{
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* -- 70/30 layout (feed + sidebar) --------------------------------------- */
.cfp-grid{
  display: grid;
  grid-template-columns: minmax(0, 70fr) minmax(0, 30fr);
  gap: 40px;
  margin-top: 16px;
}
.cfp-main{ min-width: 0; }
.cfp-side{ padding-left: 24px; min-width: 0; }
.cfp-side .cfp-side-block{
  margin-bottom: 32px; padding-bottom: 16px;
  border-bottom: 1px dotted var(--cfp-rule);
}
.cfp-side .cfp-side-block:last-child{ border-bottom: none; }
.cfp-side h3{
  font-family: var(--cfp-display);
  font-size: 13px; margin: 0 0 10px 0;
  text-transform: uppercase; letter-spacing: 0.22em; font-weight: 800;
}
.cfp-ad-slot{
  min-height: 250px; border: 1px dashed var(--cfp-rule);
  display: flex; align-items: center; justify-content: center;
  color: var(--cfp-dim); font-family: var(--cfp-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 20px;
}

/* "In Depth" sidebar block — monthly roundup originals (no thumbnails). */
.cfp-originals-list{ list-style: none; margin: 0; padding: 0; }
.cfp-originals-item{
  margin: 0 0 12px; padding: 0 0 12px;
  border-bottom: 1px dotted var(--cfp-rule);
}
.cfp-originals-item:last-child{ margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.cfp-originals-link{ display: block; text-decoration: none; color: var(--cfp-ink); }
.cfp-originals-headline{
  display: block; font-family: var(--cfp-display);
  font-weight: 700; font-size: 15px; line-height: 1.25; color: var(--cfp-ink);
}
.cfp-originals-link:hover .cfp-originals-headline{ text-decoration: underline; }
.cfp-originals-meta{
  display: block; margin-top: 5px;
  font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.cfp-originals-cat{ font-weight: 600; }
/* Race label above a card headline, so a race can be found at a glance (2026-11-09). */
.cfp-originals-race{
  display: block; margin: 0 0 6px;
  font-family: var(--cfp-mono); font-size: 11px; font-weight: 700; line-height: 1.3;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cfp-yellow);
}
.cfp-kicker-inner .cfp-kicker-race{ color: var(--cfp-yellow); }
.cfp-originals-archive{ margin: 14px 0 0; }
.cfp-originals-archive a{
  font-family: var(--cfp-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--cfp-ink); text-decoration: none;
  border-bottom: 1px solid var(--cfp-ink); padding-bottom: 1px;
}
.cfp-originals-archive a:hover{ color: var(--cfp-dim); border-color: var(--cfp-dim); }

/* In Depth archive page — multi-column card grid. */
.cfp-archive-grid{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 16px;
}
.cfp-archive-grid .cfp-originals-item{ margin: 0; padding: 0; border-bottom: none; }
.cfp-archive-grid .cfp-originals-headline{ font-size: 17px; }
@media (max-width: 900px){ .cfp-archive-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px){ .cfp-archive-grid{ grid-template-columns: 1fr; } }
.cfp-archive .cfp-main{ margin-top: 16px; }

@media (max-width: 640px){
  .cfp-grid{ grid-template-columns: 1fr; gap: 24px; }
  .cfp-side{ padding-left: 0; border-top: 1px solid var(--cfp-rule); padding-top: 24px; }
}

/* -- single-line CFP masthead (CFP · date · tagline · nav) ---------------- */
.cfp-mast{
  display: flex; justify-content: space-between; align-items: baseline;
  flex-wrap: wrap; gap: 4px 24px;
  text-align: left; border-bottom: none; padding: 0; margin: 0;
}
.cfp-mast-left{ display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-width: 0; }
.cfp-wordmark{
  font-family: var(--cfp-mono); font-weight: 700; font-size: 10px; line-height: 1.5;
  letter-spacing: 0.16em; text-transform: uppercase; margin: 0; color: var(--cfp-ink);
}
.cfp-wordmark a,
.cfp-wordmark a:link,
.cfp-wordmark a:visited,
.cfp-wordmark a:hover{ color: inherit; text-decoration: none; }
.cfp-mast-meta{
  font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim);
  text-transform: uppercase; letter-spacing: 0.16em; line-height: 1.5;
}

/* -- masthead nav (trust-page links), right-aligned ---------------------- */
.cfp-nav{
  display: flex; justify-content: flex-end; align-items: baseline;
  gap: 6px 16px; padding: 0; margin: 0;
  font-family: var(--cfp-body); font-size: 14px; line-height: 1.3;
}
.cfp-nav a,
.cfp-nav a:link,
.cfp-nav a:visited{ color: var(--cfp-ink); text-decoration: underline; text-underline-offset: 2px; }
.cfp-nav a:hover,
.cfp-nav a:focus{ color: var(--cfp-dim); }
@media (max-width: 640px){
  .cfp-nav{ flex-wrap: wrap; justify-content: flex-start; gap: 8px 16px; font-size: 13px; padding: 6px 0 0; }
}

/* -- section heads (TODAY / YESTERDAY / LAST WEEK) ------------------------ */
.cfp-sec{
  margin-top: 28px; margin-bottom: 8px;
  border-top: 2px solid var(--cfp-ink); padding-top: 8px;
  display: flex; align-items: baseline; justify-content: space-between;
}
.cfp-sec h1,
.cfp-sec h2{
  font-family: var(--cfp-display); font-size: 15px; margin: 0;
  text-transform: uppercase; letter-spacing: 0.22em; font-weight: 800;
}
.cfp-sec .cfp-meta{
  font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim);
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* -- headline (wire) rows ------------------------------------------------- */
.cfp-feed{ list-style: none; margin: 0; padding: 0; }
.cfp-row{
  padding: 4px 0; border-bottom: 1px dotted var(--cfp-rule);
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap; line-height: 1.3;
}
.cfp-ago{
  font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim);
  margin-right: 6px; font-variant-numeric: tabular-nums; flex-shrink: 0; min-width: 28px;
}
.cfp-hd,
.cfp-hd:link,
.cfp-hd:active,
.cfp-hd:visited{
  color: var(--cfp-ink);
  font-size: 15px; font-weight: 500; font-family: var(--cfp-body);
  text-decoration: none; flex: 1; min-width: 200px; line-height: 1.3;
}
.cfp-hd:hover,
.cfp-hd:focus{ text-decoration: underline; }
.cfp-row.cfp-big .cfp-hd{ font-family: var(--cfp-display); font-size: 19px; font-weight: 800; }
.cfp-src{
  color: var(--cfp-dim); font-family: var(--cfp-mono); font-size: 10px; font-weight: 600;
  text-transform: lowercase; letter-spacing: 0.02em; white-space: nowrap;
}
.cfp-empty{ padding: 24px 0; color: var(--cfp-dim); font-style: italic; text-align: center; }

/* ===========================================================================
   ARTICLE PAGE (single-cfp.php) — the dark flagship
   =========================================================================== */
.cfp-kicker{ border-bottom: 2px solid var(--cfp-ink); padding-bottom: 8px; margin: 22px 0 22px; }
.cfp-kicker-inner{
  font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim);
  text-transform: uppercase; letter-spacing: 0.15em;
}
.cfp-kicker-inner b,
.cfp-kicker-inner span{ color: var(--cfp-ink); font-weight: 700; }

.cfp-article{ max-width: 680px; margin: 0 auto; }
.cfp-article-title{
  font-family: var(--cfp-display); font-weight: 900;
  font-size: clamp(30px, 4.4vw, 46px); line-height: 1.06; letter-spacing: -0.015em;
  margin: 0 0 20px; color: var(--cfp-ink);
}
.cfp-standfirst{
  font-family: var(--cfp-body); font-size: 22px; line-height: 1.5; color: var(--cfp-dim);
  margin: 0 0 22px;
}
.cfp-article-byline{
  font-family: var(--cfp-mono); font-size: 11px; letter-spacing: 0.03em; color: var(--cfp-dim);
  border-top: 1px dotted var(--cfp-rule); border-bottom: 1px dotted var(--cfp-rule);
  padding: 10px 0; margin: 0 0 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.cfp-article-byline b{ color: var(--cfp-ink); font-weight: 600; }
.cfp-article-byline a,
.cfp-article-byline a:link,
.cfp-article-byline a:visited{ color: var(--cfp-ink); text-decoration: underline; text-underline-offset: 2px; }
.cfp-article-byline a:hover,
.cfp-article-byline a:focus{ color: var(--cfp-dim); }

.cfp-article-body{ font-family: var(--cfp-body); font-size: 19px; line-height: 1.62; color: var(--cfp-ink); }
.cfp-article-body p{ margin: 0 0 20px; }
.cfp-article-body h2{
  font-family: var(--cfp-display); font-weight: 800; font-size: 24px; line-height: 1.15;
  letter-spacing: -0.01em; margin: 36px 0 12px; color: var(--cfp-ink);
}
.cfp-article-body h3{
  font-family: var(--cfp-display); font-weight: 800; font-size: 19px; line-height: 1.2;
  margin: 26px 0 10px; color: var(--cfp-ink);
}
.cfp-article-body a,
.cfp-article-body a:link,
.cfp-article-body a:visited{
  color: var(--cfp-ink); text-decoration: underline; text-underline-offset: 2px;
  text-decoration-color: var(--cfp-yellow);
}
.cfp-article-body a:hover{ color: var(--cfp-yellow); }
.cfp-article-body strong{ font-weight: 700; color: var(--cfp-ink); }
.cfp-article-body em{ font-style: italic; color: var(--cfp-dim); }
.cfp-article-body ul,
.cfp-article-body ol{ margin: 0 0 20px; padding-left: 22px; }
.cfp-article-body li{ margin: 0 0 9px; line-height: 1.5; }
.cfp-article-body hr{ border: none; border-top: 1px dotted var(--cfp-rule); margin: 28px 0; }
/* a <blockquote> in the body renders as the yellow-ruled pull-quote.
   Resets (background/border-radius/box-shadow/border/font-style) override the
   pale rounded italic box WordPress core + the parent block theme give
   .wp-block-quote, which on our dark ground = off-white text on a near-white
   box. .cfp-single raises specificity so those block styles can't win. */
.cfp-single .cfp-article-body blockquote,
.cfp-single .cfp-article-body blockquote.wp-block-quote{
  font-family: var(--cfp-display); font-weight: 700; font-style: normal;
  font-size: 26px; line-height: 1.24; margin: 32px 0; padding: 4px 0 4px 22px;
  border: 0; border-left: 3px solid var(--cfp-yellow); border-radius: 0;
  background: none; box-shadow: none; color: var(--cfp-ink); quotes: none;
}
.cfp-single .cfp-article-body blockquote p{ margin: 0; color: var(--cfp-ink); font-style: normal; }
.cfp-single .cfp-article-body blockquote::before,
.cfp-single .cfp-article-body blockquote p::before{ content: none; }
/* keep the in-content source paragraph + the recap's own "Curated by" line out of view */
.cfp-article-body .cfp-source-link{ display: none; }
.cfp-article-body > .cfp-meta:first-child{ display: none; }

/* source button / transparency / related / back */
/* Primary Source label (official team / organiser announcements) */
.cfp-primary-tag{
  display: inline-block; background: var(--cfp-yellow); color: #111; font-family: var(--cfp-mono);
  font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 2px 6px; margin-right: 8px; vertical-align: 2px; line-height: 1.4; white-space: nowrap;
}
.cfp-kicker .cfp-primary-tag{ margin-right: 0; vertical-align: 1px; }
/* multi-source wire stories: the list of outlets under the summary */
.cfp-article-body .cfp-sources{ border-top: 1px dotted var(--cfp-rule); margin-top: 28px; padding-top: 14px; }
.cfp-article-body .cfp-sources h2{
  font-family: var(--cfp-mono); font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--cfp-dim); margin: 0 0 8px; border: 0; padding: 0;
}
.cfp-article-body .cfp-sources ul{ list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.cfp-article-body .cfp-sources li{ font-family: var(--cfp-mono); font-size: 12px; margin: 0; padding: 0; }
.cfp-article-body .cfp-sources li::before{ content: none; }
.cfp-article-body .cfp-sources a{ color: var(--cfp-ink); }
.cfp-article-body .cfp-sources a::after{ content: " \2197"; color: var(--cfp-dim); }
.cfp-source-cta{ margin: 32px 0 24px; }
.cfp-source-btn,
.cfp-source-btn:link,
.cfp-source-btn:visited{
  display: inline-block; background: var(--cfp-ink); color: var(--cfp-bg);
  font-family: var(--cfp-mono); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em; text-decoration: none; padding: 13px 20px;
}
.cfp-source-btn:hover,
.cfp-source-btn:focus{ background: var(--cfp-yellow); color: #111; }
.cfp-transparency{
  font-family: var(--cfp-mono); font-size: 11px; line-height: 1.6; color: var(--cfp-dim);
  border-top: 1px dotted var(--cfp-rule); padding-top: 16px; margin-top: 8px;
}
.cfp-transparency a{ color: var(--cfp-dim); }
.cfp-transparency a:hover{ color: var(--cfp-ink); }
.cfp-related-head{ max-width: 680px; margin: 44px auto 8px; }
.cfp-related{ max-width: 680px; margin: 0 auto; }
.cfp-back{
  max-width: 680px; margin: 36px auto 0; font-family: var(--cfp-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
}
.cfp-back a,
.cfp-back a:link,
.cfp-back a:visited{ color: var(--cfp-dim); text-decoration: none; }
.cfp-back a:hover{ text-decoration: underline; }

/* rich content for trust Pages (About, Editorial Policy, etc.) reuses .cfp-article-body */

/* ===========================================================================
   HOMEPAGE DEPTH BAND — "In Depth" hero + card stack (no photos)
   =========================================================================== */
.cfp-depth{
  display: grid; grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
  gap: 36px; margin-top: 4px; align-items: start;   /* columns take natural height; no pinned-to-bottom gap */
}
.cfp-hero{ min-width: 0; padding-right: 4px; }
.cfp-hero-kicker{
  font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim);
  text-transform: uppercase; letter-spacing: 0.15em; margin: 2px 0 8px;
}
.cfp-hero-kicker span{ color: var(--cfp-ink); font-weight: 600; }
.cfp-hero-hd{
  font-family: var(--cfp-display); font-weight: 900;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.06;
  letter-spacing: -0.015em; margin: 0 0 12px; color: var(--cfp-ink);
}
.cfp-hero-hd a,
.cfp-hero-hd a:link,
.cfp-hero-hd a:visited{ color: inherit; text-decoration: none; }
.cfp-hero-hd a:hover{ text-decoration: underline; }
.cfp-hero-dek{
  font-family: var(--cfp-body); font-size: 17px; line-height: 1.5;
  color: var(--cfp-dim); margin: 0 0 10px;
}
.cfp-hero-more,
.cfp-hero-more:link,
.cfp-hero-more:visited{
  font-family: var(--cfp-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--cfp-ink); text-decoration: none;
  border-bottom: 1px solid var(--cfp-ink); padding-bottom: 1px;
}
.cfp-hero-more:hover{ color: var(--cfp-dim); border-color: var(--cfp-dim); }

.cfp-depth-stack{ min-width: 0; display: flex; flex-direction: column; }
.cfp-depth-card{ padding: 0 0 14px; margin: 0 0 14px; border-bottom: 1px dotted var(--cfp-rule); }
.cfp-depth-card:last-child{ border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.cfp-depth-tag{
  font-family: var(--cfp-mono); font-size: 9px; color: var(--cfp-dim);
  text-transform: uppercase; letter-spacing: 0.15em; display: block; margin-bottom: 4px;
}
.cfp-depth-tag b{ color: var(--cfp-ink); font-weight: 600; }
.cfp-depth-hd{ font-family: var(--cfp-display); font-weight: 700; font-size: 18px; line-height: 1.25; margin: 0 0 4px; }
.cfp-depth-hd a,
.cfp-depth-hd a:link,
.cfp-depth-hd a:visited{ color: var(--cfp-ink); text-decoration: none; }
.cfp-depth-hd a:hover{ text-decoration: underline; }
.cfp-depth-dek{ font-family: var(--cfp-body); font-size: 13.5px; line-height: 1.45; color: var(--cfp-dim); margin: 0; }
.cfp-depth-archive{ margin: 14px 0 0; margin-top: auto; padding-top: 14px; }
.cfp-depth-archive a,
.cfp-depth-archive a:link,
.cfp-depth-archive a:visited{
  font-family: var(--cfp-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--cfp-ink); text-decoration: none;
  border-bottom: 1px solid var(--cfp-ink); padding-bottom: 1px;
}
.cfp-depth-archive a:hover{ color: var(--cfp-dim); border-color: var(--cfp-dim); }
@media (max-width: 900px){ .cfp-depth{ grid-template-columns: 1fr; gap: 24px; } }

/* ===========================================================================
   TOPIC HUBS — homepage hub strip + hub-page editorial intro
   =========================================================================== */
.cfp-hubs{
  border-top: 1px solid var(--cfp-ink); border-bottom: 1px dotted var(--cfp-rule);
  margin-top: 22px; padding: 10px 0;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px;
  justify-content: space-between;   /* spread the label + links edge to edge */
}
@media (max-width: 640px){ .cfp-hubs{ justify-content: flex-start; } }
.cfp-hubs-label{
  font-family: var(--cfp-mono); font-size: 9px; color: var(--cfp-dim);
  text-transform: uppercase; letter-spacing: 0.18em;
}
.cfp-hubs a,
.cfp-hubs a:link,
.cfp-hubs a:visited{ font-family: var(--cfp-body); font-size: 14px; font-weight: 600; color: var(--cfp-ink); text-decoration: none; }
.cfp-hubs a:hover{ text-decoration: underline; }
.cfp-hub-intro{
  max-width: 720px; font-family: var(--cfp-body); font-size: 17px; line-height: 1.55;
  color: var(--cfp-ink); margin: 4px 0 20px;
}
.cfp-hub-intro p{ margin: 0 0 14px; }

/* ===========================================================================
   CLASSIFICATION STRIP — "Where the Race Stands" (home.php)
   home.php ALSO inlines the layout of this block (id="cfp-standings-inline")
   so it survives a stale cached bundle; these rules mirror it.
   =========================================================================== */
.cfp-standings{
  border-top: 1px solid var(--cfp-ink); border-bottom: 1px dotted var(--cfp-rule);
  margin-top: 22px; padding: 14px 0 16px;
}
.cfp-standings-label{
  display: block; font-family: var(--cfp-mono); font-size: 9px; color: var(--cfp-dim);
  text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 12px;
}
.cfp-standings-cols{ display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; }
@media (max-width: 640px){ .cfp-standings-cols{ grid-template-columns: 1fr; gap: 22px; } }
.cfp-standings-h{
  font-family: var(--cfp-display); font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.18em; margin: 0 0 10px; color: var(--cfp-ink);
}
.cfp-gc-list{ list-style: none; margin: 0; padding: 0; }
.cfp-gc-list li{ display: flex; align-items: baseline; gap: 10px; padding: 3px 0; border-bottom: 1px dotted var(--cfp-rule); }
.cfp-gc-list li:last-child{ border-bottom: none; }
.cfp-gc-rank{ font-family: var(--cfp-mono); font-size: 11px; color: var(--cfp-dim); min-width: 16px; text-align: right; font-variant-numeric: tabular-nums; flex-shrink: 0; }
.cfp-gc-name{ flex: 1; font-family: var(--cfp-body); font-size: 14px; color: var(--cfp-ink); min-width: 0; }
.cfp-gc-gap{ font-family: var(--cfp-mono); font-size: 12px; color: var(--cfp-dim); font-variant-numeric: tabular-nums; white-space: nowrap; flex-shrink: 0; }
.cfp-jer-list{ list-style: none; margin: 0; padding: 0; }
.cfp-jer-list li{ display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; border-bottom: 1px dotted var(--cfp-rule); }
.cfp-jer-list li:last-child{ border-bottom: none; }
.cfp-jer-chip{ width: 13px; height: 13px; border-radius: 2px; flex-shrink: 0; margin-top: 3px; }
.cfp-jer-text{ display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cfp-jer-kicker{ font-family: var(--cfp-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cfp-dim); }
.cfp-jer-line{ display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.cfp-jer-holder{ font-family: var(--cfp-body); font-size: 14px; color: var(--cfp-ink); }
.cfp-jer-detail{ font-family: var(--cfp-mono); font-size: 11px; color: var(--cfp-dim); font-variant-numeric: tabular-nums; }
.cfp-jer-yellow{ background: var(--cfp-yellow); }
.cfp-jer-green{ background: #1e9e57; }
.cfp-jer-white{ background: #fff; box-shadow: inset 0 0 0 1px #b0b0b0; }
.cfp-jer-polka{ background: radial-gradient(#c0392b 34%, transparent 36%) 0 0 / 6px 6px, #fff; box-shadow: inset 0 0 0 1px #ddd; }
/* horizontal jersey row variant */
.cfp-jerrow{ display: flex; flex-wrap: wrap; gap: 12px 30px; list-style: none; margin: 0; padding: 0; }
.cfp-jerrow li{ display: flex; align-items: center; gap: 8px; }
.cfp-jerrow .cfp-jer-chip{ margin-top: 0; }
.cfp-jer-tag{ font-family: var(--cfp-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cfp-dim); }
.cfp-jerrow .cfp-jer-holder{ font-family: var(--cfp-body); font-size: 15px; color: var(--cfp-ink); }
.cfp-jerrow .cfp-jer-detail{ font-family: var(--cfp-mono); font-size: 11px; color: var(--cfp-dim); font-variant-numeric: tabular-nums; }
.cfp-standings-body{ font-family: var(--cfp-body); font-size: 15px; line-height: 1.5; color: var(--cfp-ink); margin: 0; }
.cfp-standings-more,
.cfp-standings-more:link,
.cfp-standings-more:visited{
  display: inline-block; margin-top: 14px;
  font-family: var(--cfp-mono); font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--cfp-ink); text-decoration: none;
  border-bottom: 1px solid var(--cfp-ink); padding-bottom: 1px;
}
.cfp-standings-more + .cfp-standings-more{ margin-left: 18px; }
.cfp-standings-more:hover{ color: var(--cfp-dim); border-color: var(--cfp-dim); }

/* ===========================================================================
   SEARCH — header search bar (.cfp-topstrip) + results (search.php)
   =========================================================================== */
.cfp-topstrip{ display: flex; justify-content: center; align-items: center; padding: 12px 0 4px; margin-top: 10px; }
.cfp-search-form{ display: flex; gap: 6px; align-items: stretch; margin: 0; width: 100%; max-width: 460px; }
.cfp-search-label{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.cfp-search-input{
  flex: 1; min-width: 0; border: 1px solid var(--cfp-rule);
  background: var(--cfp-paper2); color: var(--cfp-ink);
  padding: 8px 11px; font-family: var(--cfp-body); font-size: 14px; line-height: 1.2;
  outline: none; border-radius: 0;
}
.cfp-search-input::placeholder{ color: var(--cfp-dim); font-family: var(--cfp-mono); font-size: 11px; letter-spacing: 0.05em; }
.cfp-search-input:focus{ border-color: var(--cfp-ink); }
.cfp-search-button{
  border: 1px solid var(--cfp-ink); background: var(--cfp-ink); color: var(--cfp-bg);
  padding: 6px 16px; font-family: var(--cfp-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.18em; cursor: pointer; border-radius: 0;
}
.cfp-search-button:hover,
.cfp-search-button:focus{ background: var(--cfp-bg); color: var(--cfp-ink); }
.cfp-search-back{ margin: 18px 0 0; font-family: var(--cfp-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }
.cfp-search-back a{ color: var(--cfp-ink); text-decoration: none; border-bottom: 1px solid var(--cfp-ink); padding-bottom: 1px; }
.cfp-search-back a:hover{ color: var(--cfp-dim); border-color: var(--cfp-dim); }
.cfp-search-pagination{ margin: 20px 0; font-family: var(--cfp-mono); font-size: 13px; }
.cfp-search-pagination .nav-links{ display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; }
.cfp-search-pagination a,
.cfp-search-pagination .current{ color: var(--cfp-ink); text-decoration: none; }
.cfp-search-pagination .current{ font-weight: 700; text-decoration: underline; }
.cfp-search-pagination a:hover{ color: var(--cfp-dim); }
@media (max-width: 640px){ .cfp-search-form{ max-width: 100%; } }

/* ===========================================================================
   OWNED DATA-GRAPHICS — one house style, CFP maker's mark, no photos.
   Used on the article (dossier / WALL / gap chart / results / jerseys) AND
   on the homepage hero (stage profile fills the old photo slot). The
   non-cfp-prefixed helper classes are scoped under .cfp-root so they never
   touch parent-theme CSS.
   =========================================================================== */
.cfp-gfx{ margin: 24px 0; border: 1px solid var(--cfp-rule); background: var(--cfp-paper2); }
.cfp-gfx--big{ border-color: var(--cfp-dim); }
.cfp-gfx-head{ display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 12px; border-bottom: 1px solid var(--cfp-rule); }
.cfp-gfx-title{ font-family: var(--cfp-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cfp-ink); }
.cfp-gfx-title .s{ color: var(--cfp-dim); }
.cfp-gfx-mark{ font-family: var(--cfp-mono); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--cfp-dim); display: inline-flex; align-items: center; gap: 6px; }
.cfp-gfx-mark::before{ content: ""; width: 7px; height: 7px; background: var(--cfp-yellow); border-radius: 1px; }
.cfp-gfx-body{ padding: 12px; }
.cfp-gfx-body svg{ display: block; width: 100%; height: auto; }
.cfp-gfx-foot{ padding: 2px 12px 11px; font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim); letter-spacing: 0.03em; text-transform: uppercase; }
.cfp-gfx-foot .note{ display: block; font-size: 9px; opacity: 0.72; margin-top: 3px; text-transform: none; letter-spacing: 0; }

/* stage profile / dossier silhouette */
.cfp-root .prof-wrap{ position: relative; }
.cfp-root .prof-wrap svg{ cursor: crosshair; touch-action: none; }
.cfp-root .pf-fill{ fill: var(--cfp-ink); opacity: 0.08; }
.cfp-root .pf-line{ fill: none; stroke: var(--cfp-ink); stroke-width: 1.6; stroke-linejoin: round; }
.cfp-root .pf-base{ stroke: var(--cfp-ink); stroke-width: 1; }
.cfp-root .pf-grid{ stroke: var(--cfp-rule); stroke-width: 1; }
.cfp-root .pf-climb{ stroke: var(--cfp-ink); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.5; }
.cfp-root .pf-axis{ font-family: var(--cfp-mono); font-size: 11px; fill: var(--cfp-dim); }
.cfp-root .pf-lab{ font-family: var(--cfp-mono); font-size: 11px; fill: var(--cfp-ink); }
.cfp-root .pf-cat{ font-family: var(--cfp-mono); font-size: 9px; fill: var(--cfp-dim); letter-spacing: 0.06em; }
.cfp-root .pf-flag{ fill: var(--cfp-yellow); stroke: var(--cfp-ink); stroke-width: 0.75; }
.cfp-root .pf-dot{ fill: var(--cfp-ink); }
/* dossier moment pins + the crash gut-punch */
.cfp-root .pin-line{ stroke: var(--cfp-ink); stroke-width: 1; opacity: 0.55; }
.cfp-root .pin-b{ fill: var(--cfp-bg); stroke: var(--cfp-ink); stroke-width: 1.4; }
.cfp-root .pin-b.on{ fill: var(--cfp-ink); }
.cfp-root .pin-n{ font-family: var(--cfp-mono); font-size: 10px; font-weight: 700; fill: var(--cfp-ink); }
.cfp-root .pin-n.inv{ fill: var(--cfp-bg); }
.cfp-root .crash-line{ stroke: var(--cfp-yellow); stroke-width: 2; }
.cfp-root .crash-x{ stroke: var(--cfp-ink); stroke-width: 2; }
.cfp-root .crash-lab{ font-family: var(--cfp-display); font-weight: 900; font-size: 13px; fill: var(--cfp-ink); letter-spacing: 0.02em; }
.cfp-root .crash-sub{ font-family: var(--cfp-mono); font-size: 8.5px; fill: var(--cfp-dim); letter-spacing: 0.12em; text-transform: uppercase; }
/* scrub crosshair */
.cfp-root .xh-line{ stroke: var(--cfp-yellow); stroke-width: 1; opacity: 0.9; }
.cfp-root .xh-dot{ fill: var(--cfp-yellow); stroke: var(--cfp-bg); stroke-width: 1.5; }
.cfp-root .xh-box{ fill: var(--cfp-bg); stroke: var(--cfp-rule); }
.cfp-root .xh-t{ font-family: var(--cfp-mono); font-size: 11px; fill: var(--cfp-ink); font-variant-numeric: tabular-nums; }
.cfp-root .xh-hide{ display: none; }
/* play-by-play legend */
.cfp-root .beats{ list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 7px 22px; }
.cfp-root .beats li{ display: flex; gap: 9px; align-items: baseline; font-family: var(--cfp-body); font-size: 13.5px; color: var(--cfp-ink); line-height: 1.35; }
.cfp-root .beats .n{ font-family: var(--cfp-mono); font-size: 10px; font-weight: 700; color: var(--cfp-bg); background: var(--cfp-ink); width: 17px; height: 17px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cfp-root .beats .km{ font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim); }
.cfp-root .beats li.crash .n{ background: var(--cfp-yellow); color: #111; }
@media (max-width: 560px){ .cfp-root .beats{ grid-template-columns: 1fr; } }

/* THE WALL — final-climb gradient ribbon */
.cfp-root .ribbon{ display: flex; gap: 2px; align-items: flex-end; height: 104px; margin-top: 4px; }
.cfp-root .ribbon .c{ flex: 1; position: relative; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.cfp-root .ribbon .bar{ width: 100%; background: var(--cfp-ink); border-radius: 2px 2px 0 0; }
.cfp-root .ribbon .g{ position: absolute; top: -15px; left: 0; right: 0; text-align: center; font-family: var(--cfp-mono); font-size: 9px; color: var(--cfp-dim); font-variant-numeric: tabular-nums; }
.cfp-root .ribbon-k{ display: flex; gap: 2px; margin-top: 2px; }
.cfp-root .ribbon-k .k{ flex: 1; text-align: center; font-family: var(--cfp-mono); font-size: 8px; color: var(--cfp-dim); }

/* GC gap chart (+ optional movement column) */
.cfp-gap-chart{ padding: 12px 14px; }
.cfp-gap-row{ display: grid; grid-template-columns: 112px 1fr 56px; align-items: center; gap: 10px; padding: 4px 0; }
.cfp-gap-chart.has-mv .cfp-gap-row{ grid-template-columns: 32px 104px 1fr 56px; }
.cfp-gap-name{ font-family: var(--cfp-body); font-size: 14px; color: var(--cfp-ink); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cfp-gap-track{ position: relative; height: 13px; background: linear-gradient(var(--cfp-rule),var(--cfp-rule)) left center/100% 1px no-repeat; }
.cfp-gap-bar{ position: absolute; left: 0; top: 0; height: 100%; background: var(--cfp-ink); opacity: 0.30; border-radius: 0 2px 2px 0; }
.cfp-gap-bar.lead{ background: var(--cfp-yellow); opacity: 1; width: 5px; border-radius: 1px; }
.cfp-gap-val{ font-family: var(--cfp-mono); font-size: 12px; color: var(--cfp-dim); font-variant-numeric: tabular-nums; text-align: right; }
.cfp-gap-val.lead{ color: var(--cfp-yellow); }
.cfp-gap-mv{ font-family: var(--cfp-mono); font-size: 11px; font-variant-numeric: tabular-nums; text-align: center; color: var(--cfp-dim); }
.cfp-gap-mv.up{ color: var(--cfp-yellow); }
.cfp-gap-mv.big{ font-weight: 700; }
@media (max-width: 560px){
  .cfp-gap-row{ grid-template-columns: 88px 1fr 50px; }
  .cfp-gap-chart.has-mv .cfp-gap-row{ grid-template-columns: 26px 84px 1fr 50px; }
}

/* by-the-numbers stat rail */
.cfp-btn{ display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--cfp-rule); border: 1px solid var(--cfp-rule); margin: 0 0 32px; }
.cfp-btn > div{ background: var(--cfp-bg); padding: 14px 12px; text-align: center; }
.cfp-btn .num{ font-family: var(--cfp-display); font-weight: 800; font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; display: block; }
.cfp-btn .lab{ font-family: var(--cfp-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cfp-dim); display: block; margin-top: 7px; line-height: 1.3; }
@media (max-width: 560px){ .cfp-btn{ grid-template-columns: repeat(2,1fr); } }

/* results / standings tables */
.cfp-results{ width: 100%; border-collapse: collapse; margin: 14px 0 8px; font-size: 16px; }
.cfp-results caption{ font-family: var(--cfp-display); font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: 0.16em; text-align: left; border-top: 2px solid var(--cfp-ink); padding: 10px 0 12px; color: var(--cfp-ink); }
.cfp-results th{ font-family: var(--cfp-mono); font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cfp-dim); text-align: left; padding: 0 8px 8px 0; border-bottom: 1px solid var(--cfp-ink); }
.cfp-results td{ padding: 9px 8px 9px 0; border-bottom: 1px dotted var(--cfp-rule); vertical-align: baseline; }
.cfp-results td.rank{ font-family: var(--cfp-mono); color: var(--cfp-dim); font-variant-numeric: tabular-nums; width: 30px; }
.cfp-results td.team{ font-family: var(--cfp-body); font-size: 13px; color: var(--cfp-dim); }
.cfp-results td.time{ font-family: var(--cfp-mono); font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.cfp-results tr.lead td{ background: var(--cfp-paper2); }
@media (max-width: 560px){
  .cfp-results{ font-size: 14px; }
  .cfp-results td.team{ font-size: 11px; }
}

/* jersey strip (article) */
.cfp-jstrip{ border-top: 1px solid var(--cfp-ink); border-bottom: 1px dotted var(--cfp-rule); margin: 24px 0; padding: 14px 0 16px; }
.cfp-jstrip-label{ display: block; font-family: var(--cfp-mono); font-size: 9px; color: var(--cfp-dim); text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 12px; }
.cfp-jrow{ display: flex; flex-wrap: wrap; gap: 14px 34px; list-style: none; margin: 0; padding: 0; }
.cfp-jrow li{ display: flex; align-items: center; gap: 9px; }
.cfp-chip{ width: 13px; height: 13px; border-radius: 2px; flex-shrink: 0; }
.cfp-chip.yellow{ background: var(--cfp-yellow); }
.cfp-chip.green{ background: var(--cfp-green, #1e9e57); }
.cfp-chip.white{ background: var(--cfp-white, #fff); box-shadow: inset 0 0 0 1px #b0b0b0; }
.cfp-chip.polka{ background: radial-gradient(var(--cfp-polka, #c0392b) 34%,transparent 36%) 0 0/6px 6px,#fff; box-shadow: inset 0 0 0 1px #ddd; }
.cfp-jtag{ font-family: var(--cfp-mono); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cfp-dim); }
.cfp-jhold{ font-family: var(--cfp-body); font-size: 15px; }
.cfp-jdet{ font-family: var(--cfp-mono); font-size: 11px; color: var(--cfp-dim); font-variant-numeric: tabular-nums; }

/* IMPACT beat — mid-prose typographic gut-punch ([cfp_impact]); the Anton
   poster face + uppercase makes the money moment hit hardest. */
.cfp-impact{ border-top: 2px solid var(--cfp-ink); border-bottom: 2px solid var(--cfp-ink); margin: 30px 0; padding: 24px 0; text-align: center; }
.cfp-impact .big{ font-family: var(--cfp-impact); font-weight: 400; font-size: clamp(34px,6.6vw,66px); line-height: 1.02; letter-spacing: 0.01em; text-transform: uppercase; margin: 0; }
.cfp-impact .cap{ font-family: var(--cfp-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cfp-dim); margin-top: 12px; }
.cfp-impact .cap b{ color: var(--cfp-yellow); }

/* ===========================================================================
   FLAGSHIP v2 — two-column format (opt-in: cfp_stage_data.layout="flagship2")
   Full-width head + hero dossier, then a two-column body: dispersed story
   graphics in the main column, a sticky scoreboard rail on the side.
   =========================================================================== */
.cfp-article--flag2{ max-width: 1080px; }
.cfp-article--flag2 .cfp-article-title{ max-width: none; }
.cfp-flag-grid{ display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 40px; align-items: start; }
.cfp-col-main{ min-width: 0; }
.cfp-col-rail{ position: sticky; top: 18px; align-self: start; display: grid; gap: 18px; }
.cfp-col-rail .cfp-gfx{ margin: 0; }
.cfp-col-rail .cfp-btn{ margin: 0; }
@media (max-width: 860px){
  .cfp-flag-grid{ grid-template-columns: 1fr; gap: 0; }
  .cfp-col-rail{ position: static; margin-top: 10px; }
}
/* rail stat rail (2x2) */
.cfp-btn--rail{ grid-template-columns: 1fr 1fr; }
.cfp-btn--rail .num{ font-size: 22px; }
.cfp-btn--rail .lab{ font-size: 8px; }
/* race-shape gap chart */
.cfp-root .cfp-gap2 svg{ display: block; width: 100%; height: auto; }
.cfp-root .cfp-gp-fill{ fill: var(--cfp-yellow); opacity: 0.10; }
.cfp-root .cfp-gp-line{ fill: none; stroke: var(--cfp-yellow); stroke-width: 2; stroke-linejoin: round; }
.cfp-root .cfp-gp-grid{ stroke: var(--cfp-rule); stroke-width: 1; }
.cfp-root .cfp-gp-ax{ font-family: var(--cfp-mono); font-size: 11px; fill: var(--cfp-dim); }
.cfp-root .cfp-gp-axr{ font-family: var(--cfp-mono); font-size: 10px; fill: var(--cfp-dim); }
.cfp-root .cfp-gp-pin{ stroke: var(--cfp-ink); stroke-width: 1; opacity: 0.5; }
.cfp-root .cfp-gp-dot{ fill: var(--cfp-yellow); stroke: var(--cfp-bg); stroke-width: 1.4; }
.cfp-root .cfp-gp-lab{ font-family: var(--cfp-mono); font-size: 10px; fill: var(--cfp-ink); letter-spacing: 0.02em; }
.cfp-root .cfp-gp-sub{ font-family: var(--cfp-mono); font-size: 8.5px; fill: var(--cfp-dim); text-transform: uppercase; letter-spacing: 0.08em; }
/* separation ladder */
.cfp-ladder{ padding: 6px 6px 2px 4px; }
.cfp-lad-row{ display: grid; grid-template-columns: 66px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px dotted var(--cfp-rule); }
.cfp-lad-row:last-child{ border-bottom: 0; }
.cfp-lad-km{ font-family: var(--cfp-mono); font-size: 15px; color: var(--cfp-yellow); text-align: right; font-variant-numeric: tabular-nums; padding-top: 1px; line-height: 1.05; }
.cfp-lad-km .u{ display: block; font-size: 8px; color: var(--cfp-dim); letter-spacing: 0.12em; margin-top: 2px; }
.cfp-lad-ev{ font-family: var(--cfp-display); font-weight: 700; font-size: 17px; margin: 0 0 4px; letter-spacing: -0.01em; color: var(--cfp-ink); }
.cfp-lad-ri{ font-family: var(--cfp-body); font-size: 13.5px; color: var(--cfp-dim); line-height: 1.45; margin: 0; }
/* data-driven article-specific story graphics ([cfp_story]); copy and structure
   come from cfp_stage_data so post bodies contain no style or figure markup */
.cfp-story-graphic{ margin: -12px; }
.cfp-sg-sequence,
.cfp-sg-columns,
.cfp-sg-split{ display: grid; gap: 1px; background: var(--cfp-rule); }
.cfp-sg-sequence{ grid-template-columns: repeat(3,minmax(0,1fr)); }
.cfp-sg-columns,
.cfp-sg-split{ grid-template-columns: repeat(2,minmax(0,1fr)); }
.cfp-sg-step,
.cfp-sg-column,
.cfp-sg-metric,
.cfp-sg-detail{ min-width: 0; padding: 20px 18px; background: var(--cfp-paper2); }
.cfp-sg-step{ container-type: inline-size; }
.cfp-sg-num{ display: block; color: var(--cfp-yellow); font-family: var(--cfp-impact); font-size: clamp(48px,8vw,84px); font-size: min(clamp(48px,8vw,84px), calc(160cqi / var(--len,4))); line-height: .82; letter-spacing: -.04em; overflow-wrap: anywhere; }
.cfp-sg-step:nth-child(2) .cfp-sg-num{ color: var(--cfp-red,#e2231a); }
.cfp-sg-step h3,
.cfp-sg-column h3,
.cfp-sg-detail h3,
.cfp-sg-poster h3{ margin: 16px 0 7px; color: var(--cfp-ink); font-family: var(--cfp-display); font-size: 18px; line-height: 1.08; text-transform: uppercase; }
.cfp-sg-step p,
.cfp-sg-poster p{ margin: 0; color: var(--cfp-dim); font-family: var(--cfp-mono); font-size: 10px; line-height: 1.55; }
.cfp-sg-metric{ display: flex; flex-direction: column; justify-content: center; }
.cfp-sg-metric>b{ color: var(--cfp-yellow); font-family: var(--cfp-impact); font-size: clamp(54px,10vw,96px); line-height: .82; letter-spacing: -.04em; text-transform: uppercase; overflow-wrap: anywhere; }
.cfp-sg-split.is-verdict .cfp-sg-metric>b{ color: var(--cfp-red,#e2231a); }
.cfp-sg-metric>span{ margin-top: 15px; color: var(--cfp-ink); font-family: var(--cfp-mono); font-size: 10px; font-weight: 700; line-height: 1.45; letter-spacing: .08em; text-transform: uppercase; }
.cfp-sg-detail h3{ margin-top: 0; }
.cfp-sg-detail ul,
.cfp-sg-column ul{ list-style: none; margin: 0; padding: 0; }
.cfp-sg-detail li{ display: grid; grid-template-columns: 82px minmax(0,1fr); gap: 10px; padding: 10px 0; border-bottom: 1px dotted var(--cfp-rule); }
.cfp-sg-detail li:last-child{ border-bottom: 0; }
.cfp-sg-detail li b{ color: var(--cfp-yellow); font-family: var(--cfp-mono); font-size: 10px; text-transform: uppercase; }
.cfp-sg-detail li span,
.cfp-sg-column li{ color: var(--cfp-dim); font-family: var(--cfp-mono); font-size: 10px; line-height: 1.5; }
.cfp-sg-tag{ display: inline-block; padding: 5px 8px; background: var(--cfp-yellow); color: #111; font-family: var(--cfp-mono); font-size: 10px; font-weight: 900; line-height: 1; letter-spacing: .1em; text-transform: uppercase; }
.cfp-sg-column:nth-child(even) .cfp-sg-tag{ background: var(--cfp-red,#e2231a); color: #fff; }
.cfp-sg-column li{ position: relative; padding: 3px 0 3px 14px; }
.cfp-sg-column li::before{ content: ""; position: absolute; left: 0; top: .78em; width: 4px; height: 4px; background: var(--cfp-yellow); }
.cfp-sg-poster{ padding: 26px 20px 24px; text-align: center; }
.cfp-sg-poster>b{ display: block; color: var(--cfp-red,#e2231a); font-family: var(--cfp-impact); font-size: clamp(72px,16vw,144px); line-height: .76; letter-spacing: -.05em; text-transform: uppercase; }
.cfp-sg-poster h3{ max-width: 680px; margin: 22px auto 9px; font-size: clamp(20px,3vw,30px); }
.cfp-sg-poster p{ max-width: 640px; margin: 0 auto; }
.cfp-sg-punch{ margin: 0; padding: 12px 16px; border-top: 1px solid var(--cfp-rule); color: var(--cfp-yellow); font-family: var(--cfp-mono); font-size: 10px; font-weight: 800; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 620px){
  .cfp-sg-sequence,
  .cfp-sg-columns,
  .cfp-sg-split{ grid-template-columns: 1fr; }
  .cfp-sg-detail li{ grid-template-columns: 74px minmax(0,1fr); }
}
/* v1.9.5 no-orphan story grids (2026-09-30). The grid background is the rule
   colour, so any unfilled cell shows as a blank tile. The renderer allows 1-4
   sequence steps and 1-3 columns; size the grid to the actual item count so
   every row is full: sequence 1 -> 1 col, 2 -> 2, 3 -> 3, 4 -> 2x2;
   columns 1 -> 1, 2 -> 2, 3 -> 3. Desktop only: mobile stays one column. */
@media (min-width: 621px){
  .cfp-sg-sequence:has(> .cfp-sg-step:only-child),
  .cfp-sg-columns:has(> .cfp-sg-column:only-child){ grid-template-columns: 1fr; }
  .cfp-sg-sequence:has(> .cfp-sg-step:nth-child(2):last-child),
  .cfp-sg-sequence:has(> .cfp-sg-step:nth-child(4):last-child){ grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cfp-sg-columns:has(> .cfp-sg-column:nth-child(3):last-child){ grid-template-columns: repeat(3,minmax(0,1fr)); }
  /* Browsers without :has() keep the fixed grids; the last orphan stretches
     across the empty cells instead of leaving them blank. */
  @supports not selector(:has(a)){
    .cfp-sg-sequence > .cfp-sg-step:last-child:nth-child(3n+1){ grid-column: 1 / -1; }
    .cfp-sg-sequence > .cfp-sg-step:last-child:nth-child(3n+2){ grid-column: span 2; }
    .cfp-sg-columns > .cfp-sg-column:last-child:nth-child(odd){ grid-column: 1 / -1; }
  }
}
/* jerseys-in-play tracker */
.cfp-jip{ display: grid; gap: 15px; }
.cfp-jip-h{ display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--cfp-ink); padding-bottom: 5px; margin-bottom: 9px; }
.cfp-jip-t{ font-family: var(--cfp-mono); font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cfp-ink); display: flex; align-items: center; gap: 7px; }
.cfp-jip-t .cfp-chip{ width: 11px; height: 11px; }
.cfp-jip-tag{ font-family: var(--cfp-mono); font-size: 8px; letter-spacing: 0.1em; text-transform: uppercase; color: #111; background: var(--cfp-yellow); padding: 2px 6px; }
.cfp-jip-tag.cool{ background: var(--cfp-rule); color: var(--cfp-dim); }
.cfp-jip-r{ display: grid; grid-template-columns: 1fr 52px; gap: 8px; align-items: center; padding: 5px 0 7px; }
.cfp-jip-nm{ font-family: var(--cfp-body); font-size: 13px; color: var(--cfp-ink); position: relative; padding-bottom: 5px; }
.cfp-jip-bar{ position: absolute; left: 0; bottom: 0; height: 2px; background: var(--cfp-dim); }
.cfp-jip-r.lead .cfp-jip-bar{ background: var(--cfp-yellow); height: 3px; }
.cfp-jip-v{ font-family: var(--cfp-mono); font-size: 12px; color: var(--cfp-dim); text-align: right; font-variant-numeric: tabular-nums; }
.cfp-jip-r.lead .cfp-jip-v{ color: var(--cfp-ink); }
.cfp-jip-note{ font-family: var(--cfp-mono); font-size: 8.5px; color: var(--cfp-dim); opacity: 0.82; margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.4; }
.cfp-jip-grp.has-schema .cfp-jip-h{ border-bottom: 2px solid var(--cfp-jip-accent); }
.cfp-jip-grp.has-schema .cfp-jip-r.lead .cfp-jip-bar{ background: var(--cfp-jip-accent); }
.cfp-jip-grp.has-schema .cfp-jip-r.lead .cfp-jip-v{ color: var(--cfp-jip-accent); }
/* WALL v2 steepness legend */
.cfp-root .cfp-wall-leg{ display: flex; justify-content: space-between; align-items: center; margin-top: 12px; font-family: var(--cfp-mono); font-size: 9px; color: var(--cfp-dim); text-transform: uppercase; letter-spacing: 0.06em; }
.cfp-root .cfp-wall-leg .scale{ display: flex; gap: 0; }
.cfp-root .cfp-wall-leg .sw{ width: 20px; height: 9px; display: inline-block; }
/* rail results table */
.cfp-results--rail{ font-size: 14px; }
.cfp-results--rail th{ padding-bottom: 7px; }
.cfp-results--rail td{ padding: 8px 6px 8px 0; }
.cfp-results--rail td.nm{ font-family: var(--cfp-body); font-size: 13.5px; color: var(--cfp-ink); }
.cfp-results--rail td.nm .tm{ display: block; font-family: var(--cfp-mono); font-size: 10px; color: var(--cfp-dim); }
.cfp-results--rail td.time{ font-family: var(--cfp-mono); font-size: 12px; text-align: right; color: var(--cfp-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cfp-results--rail tr.lead td{ background: var(--cfp-paper2); }
.cfp-results--rail tr.lead td.nm{ color: var(--cfp-yellow); }
/* "More Headlines" feed → full article width + two columns under the flagship layout */
.cfp-flag2 .cfp-related-head{ max-width: 1080px; }
.cfp-flag2 .cfp-related{ max-width: 1080px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 44px; row-gap: 0; }
@media (max-width: 860px){ .cfp-flag2 .cfp-related{ grid-template-columns: 1fr; } }

/* ===========================================================================
   PRINT — force ink-on-white; graphics stay as line art
   =========================================================================== */
@media print{
  .cfp-root{ background: #fff; color: #000; }
  .cfp-root, .cfp-root *{ --cfp-bg:#fff; --cfp-paper2:#f2f2f2; --cfp-ink:#000; --cfp-dim:#444; --cfp-rule:#bbb; }
  .cfp-nav, .cfp-topstrip, .cfp-source-cta, .cfp-back, .cfp-foot{ display: none; }
  .cfp-originals-race, .cfp-kicker-race{ color: #000 !important; }
}

/* -- trust pages (page-cfp.php): quieter page heading + buffer under the
   masthead nav, with a hairline rule. Scoped to .cfp-page so the flagship
   article title (.cfp-single) and the homepage are untouched. (v1.9.1) */
.cfp-page .cfp-article{ margin-top: 30px; border-top: 1px solid var(--cfp-rule); padding-top: 26px; }
.cfp-page .cfp-article-title{ font-size: clamp(26px, 3.2vw, 34px); line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 20px; }

/* ===========================================================================
   SITE FOOTER (v1.9.3, 2026-08-11) — cfp_render_footer() in functions.php.
   About / Editorial Policy / Corrections / Privacy moved out of the masthead
   nav and down here; the masthead keeps Home / Images / Contact.

   Sits inside .cfp-wrap on every template that renders its own shell, so it
   inherits the 1100px measure and needs no width of its own. Heavy 2px rule
   on top mirrors .cfp-sec so the page closes the way sections open.
   =========================================================================== */
.cfp-foot{
  margin-top: 56px; padding: 18px 0 40px;
  border-top: 2px solid var(--cfp-ink);
}
/* Link typography is deliberately IDENTICAL to the topic-hub strip
   (.cfp-hubs a, ~line 398): same family, size, weight, no underline until
   hover. Change one, change the other — they read as one navigation system. */
.cfp-foot-nav{
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 8px 22px; margin: 0; padding: 0;
}
.cfp-foot-nav a,
.cfp-foot-nav a:link,
.cfp-foot-nav a:visited{
  font-family: var(--cfp-body); font-size: 14px; font-weight: 600;
  color: var(--cfp-ink); text-decoration: none;
}
.cfp-foot-nav a:hover,
.cfp-foot-nav a:focus{ text-decoration: underline; }
.cfp-foot-legal{
  margin: 14px 0 0; color: var(--cfp-dim);
  font-family: var(--cfp-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
}
@media (max-width: 640px){
  .cfp-foot{ margin-top: 40px; padding-bottom: 28px; }
  .cfp-foot-nav{ gap: 8px 16px; }
  /* No font-size override here on purpose: .cfp-hubs a has none either, and
     the two must stay identical at every breakpoint. */
}
