*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7;color:#111;background:#fff}
.css-x14cp4n{max-width:900px;margin:0 auto;padding:0 28px}
.css-i6zddg7{background:#111;color:#fff;padding:64px 0;margin-bottom:48px}
.css-i6zddg7 h1{font-size:42px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.css-i6zddg7 p{font-size:18px;opacity:.7}
.css-i6zddg7 a{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.css-uju158c{padding:0}
.css-9n46unk{padding:32px 0;border-left:4px solid #111;padding-left:24px;margin-bottom:28px}
.css-9n46unk h2{font-size:24px;font-weight:700;margin-bottom:6px}
.css-9n46unk h2 a{color:#111;text-decoration:none}
.css-9n46unk h2 a:hover{text-decoration:underline}
.css-9n46unk .css-vg4oth5{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;margin-bottom:8px}
.css-9n46unk p{font-size:15px;color:#444;margin-bottom:10px}
.css-j8mhb5k{display:inline-block;background:#111;color:#fff;padding:8px 20px;font-size:13px;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:1px}
.css-j8mhb5k:hover{background:#333}
.css-4is94qj{padding-bottom:60px}
.css-4is94qj h1{font-size:38px;font-weight:800;letter-spacing:-1px;margin-bottom:10px}
.css-4is94qj time{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;display:block;margin-bottom:28px}
.css-4is94qj h2{font-size:26px;font-weight:700;margin:40px 0 14px}
.css-4is94qj h3{font-size:20px;font-weight:700;margin:32px 0 10px}
.css-4is94qj p{margin-bottom:18px;font-size:17px}
.css-4is94qj ul,.css-4is94qj ol{margin:0 0 18px 24px}
.css-4is94qj a{color:#111;font-weight:600;text-decoration:underline}
.css-4is94qj img{max-width:100%;height:auto;margin:20px 0}
.css-nvm6f14{background:#111;color:#888;padding:28px 0;margin-top:48px;text-align:center;font-size:12px}
.css-nvm6f14 a{color:#888;text-decoration:none}
.css-94ba1xa{background:#222;color:#aaa;padding:14px 20px;margin-bottom:24px;font-size:13px;font-style:italic}
.css-k6teevq{background:#1a1a1a;color:#888;padding:14px 20px;margin-top:32px;font-size:12px;border-top:3px solid #444}
.css-bsmql5g{font-size:12px;font-weight:600;text-transform:uppercase;color:#666;letter-spacing:1px;margin:-20px 0 28px;padding-left:12px;border-left:2px solid #ccc}
.css-4buzfjo{margin:0 0 24px}
.css-xmm7s8c{width:100%;height:auto;border-radius:0}
.css-mimtesi{border-left:4px solid #111;padding-left:24px;margin-top:48px}
.css-mimtesi h3{font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.css-mimtesi ul{list-style:none;padding:0}
.css-mimtesi li{padding:6px 0}
.css-mimtesi a{color:#111;text-decoration:underline;font-weight:600}
.css-0e9yuyy{border-left:4px solid #ddd;padding-left:24px;margin-top:36px}
.css-0e9yuyy ul{list-style:none;padding:0}
.css-0e9yuyy li{padding:6px 0;font-size:16px}
.css-0e9yuyy a{color:#111;text-decoration:none;font-weight:600}
.css-0e9yuyy a:hover{text-decoration:underline}
.css-0e9yuyy .css-vg4oth5{margin:0 0 0 8px}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Spectral:ital,wght@0,400;0,500;0,600;1,400&family=Barlow+Condensed:wght@500;600;700&display=swap');
body{font-family:'Spectral',Georgia,serif;color:#1E1E1E;background:#F6F7F8}
.css-i6zddg7{background:#1C2B3A;color:#fff}
.css-i6zddg7 h1{font-family:'Fraunces',serif;font-style:italic;font-weight:600;color:#fff}
.css-i6zddg7 p{color:rgba(255,255,255,.84);font-family:'Fraunces',serif;font-style:italic}
.css-i6zddg7 a{color:#fff;text-decoration:none}
.card h2{font-family:'Fraunces',serif;font-weight:600}
.card h2 a{color:#1C2B3A}
.card h2 a:hover{color:#F25C1A}
.read-more{color:#F25C1A;font-family:'Barlow Condensed',sans-serif}
.article-content h1{font-family:'Fraunces',serif;font-style:italic;font-weight:600}
.article-content h2{font-family:'Fraunces',serif;font-weight:600}
.article-content a{color:#F25C1A}
.article-content img{border-radius:4px}
.affiliate-disclosure{border-radius:4px}
.ymyl-disclaimer{border-radius:4px}
/* === Custom === */
/* ft-fitness-fr — custom.css
   Comparatif programmes maison — Romain Castel, Dijon
   Palette ardoise-orange : direct, factuel, comme un collègue à la machine à café */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Spectral:ital,wght@0,400;0,500;0,600;1,400&family=Barlow+Condensed:wght@500;600;700&display=swap');

:root {
  --primary:      #1C2B3A;
  --accent:       #F25C1A;
  --accent-dark:  #C94810;
  --rust:         #B34F2A;   /* moment color — drop caps only, ×2 max */
  --bg:           #F6F7F8;
  --bg-alt:       #EDEFF1;
  --fg:           #1E1E1E;
  --muted:        #697582;
  --border:       #D8DCE0;
  --card-bg:      #FFFFFF;
  --shadow:       rgba(28, 43, 58, 0.08);
  --r:            4px;
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body:    'Spectral', Georgia, serif;
  --font-meta:    'Barlow Condensed', 'Oswald', sans-serif;
  --max-width:    760px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  font-size: 17px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg);
  background-color: var(--bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; }

::selection {
  background-color: rgba(242, 92, 26, 0.15);
  color: var(--fg);
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary);
  margin-top: 1.6em;
  margin-bottom: 0.4em;
}

h1 { font-size: 2.5rem; text-transform: uppercase; letter-spacing: 0.04em; }
h2 { font-size: 1.75rem; font-weight: 600; }
h3 { font-size: 1.3rem;  font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 500; }

/* --- Prose --- */
p {
  margin-top: 0;
  margin-bottom: 1.3em;
  max-width: 68ch;
}

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

a:hover { color: var(--accent-dark); }

strong, b { font-weight: 600; color: var(--fg); }

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.3em;
  max-width: 68ch;
}

li { margin-bottom: 0.4em; }
li::marker { color: var(--accent); }

blockquote {
  margin: 1.75em 0;
  padding: 1em 1.5em;
  border-left: 3px solid var(--accent);
  background-color: var(--bg-alt);
  font-weight: 300;
  color: var(--muted);
  border-radius: 0 var(--r) var(--r) 0;
  max-width: 68ch;
}

blockquote p { margin-bottom: 0; max-width: none; }

hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 2.5em 0;
  max-width: 40ch;
}

/* --- Bold template: hero banner --- */
.css-i6zddg7 {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 3rem 1.5rem 2.75rem;
  text-align: center;
}

.css-i6zddg7 h1 {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.css-i6zddg7 p {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin: 0 auto;
}

.css-i6zddg7 a { color: #FFFFFF; text-decoration: none; }
.css-i6zddg7 a:hover { color: var(--accent); }

/* --- Navigation --- */
nav {
  background-color: rgba(28, 43, 58, 0.96);
  padding: 0.65rem 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

nav a:hover { color: var(--accent); }

/* --- Cards (listing page) --- */
.card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px var(--shadow);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 14px rgba(28, 43, 58, 0.12);
  border-color: #C2C9D0;
}

.card h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.card h2 a { color: var(--primary); text-decoration: none; }
.card h2 a:hover { color: var(--accent); }

.card p { color: var(--muted); font-size: 0.93rem; max-width: none; }
.card time, .card .date { font-size: 0.8rem; color: var(--muted); }

.read-more {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.read-more:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

/* --- Article content --- */
.article-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
}

.article-content h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
  line-height: 1.18;
  margin-top: 0;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 2.2em;
  padding-bottom: 0.25em;
  border-bottom: 2px solid var(--border);
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1.75em;
}

.article-content p {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 68ch;
}

.article-content a { color: var(--accent); text-underline-offset: 3px; }
.article-content a:hover { color: var(--accent-dark); }
.article-content img { border-radius: var(--r); margin: 1.75em 0; }

.article-content blockquote {
  margin: 2em 0;
  padding: 1em 1.5em;
  border-left: 3px solid var(--accent);
  background-color: var(--bg-alt);
  font-weight: 300;
  color: var(--muted);
  border-radius: 0 var(--r) var(--r) 0;
}

.article-content ul,
.article-content ol { font-size: 1rem; line-height: 1.7; max-width: 68ch; }

/* --- Post meta --- */
.post-meta, .entry-meta {
  font-size: 0.82rem;
  color: var(--muted);
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
}

/* --- Footer --- */
footer {
  background-color: var(--primary);
  color: rgba(255, 255, 255, 0.68);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
  margin-top: 3.5rem;
}

footer a { color: rgba(255, 255, 255, 0.88); }
footer a:hover { color: #FFFFFF; }

/* --- Responsive --- */
@media (max-width: 600px) {
  html { font-size: 16px; }

  .css-i6zddg7 { padding: 2rem 1rem 1.75rem; }
  .css-i6zddg7 h1 { font-size: 1.85rem; }
  .article-content { padding: 1.5rem 1rem; }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.15rem; }
}

/* === R2 fixes (2026-06-25T12:30:20.863175+00:00) === */

/* Fix 1 — paragraphes denses : plus d'air entre les lignes */
article p,
.css-4is94qj p { line-height: 1.85; }

/* Fix 2 & 5 — H2 visibles en diagonale : espace au-dessus + poids renforcé */
article h2,
.css-4is94qj h2 {
  margin-top:    2.8em;
  margin-bottom: 0.5em;
  font-size:     1.35em;
  font-weight:   700;
}

/* Fix 3 — bouton "Read Now" → français (remplacement CSS-only via pseudo-élément) */
.css-j8mhb5k { font-size: 0; white-space: nowrap; }
.css-j8mhb5k::after {
  content:        "Lire l'article";
  font-size:      0.9rem;
  font-family:    var(--font-heading);
  font-weight:    600;
  letter-spacing: 0.06em;
}

/* Fix 4 — espace sous les images inline pour lever l'ambiguïté légende/texte */
.css-h6nkaxa,
article section.css-h6nkaxa { margin-bottom: 2em; }

/* === R3 fixes (2026-06-25T13:10:20.194128+00:00) === */

/* Fix 1 — liens affiliés : fond orangé pâle pour faire ressortir les noms de programmes */
article a[href^='/r/'] {
  background-color: rgba(242, 92, 26, 0.10);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* Fix 2 — section articles connexes : fond alt + bord accent pour signaler la navigation */
.css-mimtesi {
  background-color: var(--bg-alt);
  border-left: 3px solid var(--accent);
  padding: 1em 1.5em;
  border-radius: 0 var(--r) var(--r) 0;
  margin-top: 2.5em;
}

/* Fix 3 — H2 : séparateur visuel en haut de section pour scan rapide */
article h2,
.css-4is94qj h2 {
  border-top: 1px solid var(--border);
  padding-top: 1.4em;
  margin-top: 2.2em;
}

/* Fix 4 — fin d'article : filet bas pour séparer conclusion et navigation connexes */
article > p:last-of-type,
article > :last-child {
  margin-bottom: 2.5em;
  padding-bottom: 2em;
  border-bottom: 1px solid var(--border);
}

/* === R4 fixes (2026-06-25T13:50:25.013718+00:00) === */

/* Fix 1 — mention affiliée (2e paragraphe) : note de régie visuellement séparée du récit */
article > p:nth-of-type(2) {
  font-size: 0.875em;
  color: var(--text-muted, #888888);
  border-left: 2px solid var(--border, #dddddd);
  padding-left: 0.8em;
  font-style: italic;
  margin-bottom: 1.5em;
}

/* Fix 2 — dernier paragraphe : signal visuel de conclusion pour lecture en diagonale */
article > p:last-of-type {
  border-top: 2px solid var(--accent, #F25C1A);
  padding-top: 1.2em;
  margin-top: 1.8em;
  font-weight: 500;
}

/* Fix 3 — liens affiliés : fond et bordure renforcés pour repérage en scan diagonal */
article a[href^='/r/'] {
  background-color: rgba(242, 92, 26, 0.15);
  padding: 0.15em 0.45em;
  border-radius: 3px;
  font-weight: 700;
  border: 1px solid rgba(242, 92, 26, 0.25);
}

/* Fix 4 — titre "Articles connexes" : petites capitales grises pour signaler la navigation */
.css-mimtesi h3 {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #888);
  margin-bottom: 0.6em;
}

/* === QA round-1 fixes (2026-07-29T01:47:11+0800) ===
   Editorial signature pass — Corps Tonique / Romain Castel.
   The homepage's orange accent was dead because .card/.css-i6zddg7/.read-more
   never match the obfuscated css-xxxxxx DOM. Everything below is element/
   structural so it actually lands on the live markup: one shared photo
   masthead, a hero + "picks" band on the homepage, a display voice that
   carries Romain's "guy who actually tried these" tone.
   Voices: Fraunces italic (display) · Spectral (body) · Barlow Condensed (meta).
   Moment color: burnt rust, drop caps only (×2). Element/structural selectors only. */

/* Kill the old shouty uppercase now that headings speak in Fraunces */
h1 { text-transform: none; letter-spacing: -0.01em; }

/* ---------- Shared masthead: atmospheric photo + navy wash ---------- */
body > div:first-child {
  background:
    linear-gradient(178deg, rgba(28,43,58,0.70) 0%, rgba(28,43,58,0.90) 100%),
    url("/theme-assets/hero-masthead.jpg") center 38% / cover no-repeat;
  background-color: var(--primary);
  border-bottom: 3px solid var(--accent);
  text-align: center;
}

body > div:first-child > div {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.05rem 1.5rem;
}

/* One wordmark voice — homepage <h1> and article <a> share it */
body > div:first-child h1,
body > div:first-child > div > a {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none;
}

/* Homepage masthead — tall, kicker + italic manifesto (the signature) */
body > div:first-child:has(h1) > div { padding: 3.4rem 1.5rem 2.9rem; }

body > div:first-child:has(h1) > div::before {
  content: "COMPARATIF · PROGRAMMES DE REMISE EN FORME À LA MAISON";
  display: block;
  font-family: var(--font-meta);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

body > div:first-child:has(h1) h1 {
  font-size: 3.5rem;
  line-height: 1.02;
  margin: 0 0 0.7rem;
}

body > div:first-child:has(h1) p {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.12rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.84);
  max-width: 42ch;
  margin: 0 auto;
}

/* Article masthead — same skin, slimmed to a branded bar */
body > div:first-child:has(a) { border-bottom-width: 2px; }
body > div:first-child:has(a) > div { padding: 0.95rem 1.5rem; }
body > div:first-child:has(a) > div > a { font-size: 1.55rem; }
body > div:first-child:has(a) > div > a:hover { color: var(--accent); }

/* ======================================================================
   HOMEPAGE  —  hero  →  full-width band label  →  2-up picks
   Scope: main that has card divs (main > div > h2). Article main is excluded.
   ====================================================================== */
main:has(> div > h2) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.6rem 2.2rem;
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.2rem 1.5rem 4.2rem;
}

/* ---- supporting "picks" card (base) ---- */
main:has(> div > h2) > div {
  display: flex;
  flex-direction: column;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.6rem 1.7rem 1.8rem;
  box-shadow: 0 2px 10px var(--shadow);
}

main:has(> div > h2) > div > p:first-of-type {
  font-family: var(--font-meta);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

main:has(> div > h2) > div > h2 {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 600;
  line-height: 1.18;
  margin: 0 0 0.55rem;
}
main:has(> div > h2) > div > h2 a { color: var(--primary); text-decoration: none; }
main:has(> div > h2) > div > h2 a:hover { color: var(--accent); }

main:has(> div > h2) > div > p:nth-of-type(2) {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  margin: 0 0 1.2rem;
  max-width: none;
}

/* CTA — "Read Now" → French, meta-voice underline that sits at card foot */
main:has(> div > h2) > div > a {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}
main:has(> div > h2) > div > a::after {
  content: "Lire le comparatif →";
  font-family: var(--font-meta);
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
main:has(> div > h2) > div > a:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

/* ---- HERO (first card) — THE loud voice, full width ---- */
main:has(> div > h2) > div:first-of-type {
  grid-column: 1 / -1;
  background: transparent;
  border: none;
  border-top: 3px solid var(--primary);
  border-radius: 0;
  box-shadow: none;
  padding: 2.2rem 0 0;
}

main:has(> div > h2) > div:first-of-type > p:first-of-type {
  color: var(--accent);
  font-size: 0.84rem;
  letter-spacing: 0.2em;
}
main:has(> div > h2) > div:first-of-type > p:first-of-type::before { content: "À la une — "; }

main:has(> div > h2) > div:first-of-type > h2 {
  font-size: 3rem;
  font-style: italic;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin: 0.4rem 0 0;
}

/* byline block fills the space beside the short title, no empty right column */
main:has(> div > h2) > div:first-of-type > h2::after {
  content: "PAR ROMAIN CASTEL · DIJON — 6 MIN DE LECTURE";
  display: block;
  font-family: var(--font-meta);
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  max-width: 34ch;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--border);
}

main:has(> div > h2) > div:first-of-type > p:nth-of-type(2) {
  font-family: var(--font-body);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--fg);
  max-width: 48ch;
  margin: 1.1rem 0 1.4rem;
}
main:has(> div > h2) > div:first-of-type > p:nth-of-type(2)::first-letter {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 3.2rem;
  line-height: 0.78;
  float: left;
  color: var(--rust);
  margin: 0.15rem 0.5rem -0.1rem 0;
}

/* hero CTA — outlined pill */
main:has(> div > h2) > div:first-of-type > a {
  border: 2px solid var(--accent);
  border-radius: 40px;
  padding: 0.7em 1.5em;
}
main:has(> div > h2) > div:first-of-type > a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* full-width band label introducing the picks (second confident moment) */
main:has(> div > h2) > div:first-of-type::after {
  content: "Les autres comparatifs";
  display: block;
  font-family: var(--font-meta);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--primary);
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 2px solid var(--primary);
}

/* ======================================================================
   ARTICLE  —  massive italic title, drop cap, ✦ dinkus, button CTAs
   Scope: main that has an <article> child.
   ====================================================================== */
main:has(> article) {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.6rem 1.5rem 3.5rem;
}

main:has(> article) > hgroup { margin-bottom: 2.1rem; }

main:has(> article) > hgroup > h1 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  text-transform: none;
  letter-spacing: -0.015em;
  font-size: 2.7rem;
  line-height: 1.08;
  color: var(--primary);
  margin: 0 0 0.6rem;
}
main:has(> article) > hgroup > time {
  display: block;
  font-family: var(--font-meta);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}
main:has(> article) > hgroup::after {
  content: "Par Romain Castel · Dijon";
  display: block;
  font-family: var(--font-meta);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* opening paragraph drop cap (moment color, use #2) */
main:has(> article) article > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 3.4rem;
  line-height: 0.8;
  float: left;
  color: var(--rust);
  margin: 0.2rem 0.55rem 0 0;
}

/* section headings — Fraunces + ✦ dinkus kicker (replaces the R3 hairline) */
main:has(> article) article > h2 {
  font-family: var(--font-heading);
  font-style: normal;
  font-weight: 600;
  font-size: 1.62rem;
  color: var(--primary);
  border-top: none;
  padding-top: 0;
  margin-top: 2.6em;
}
main:has(> article) article > h2::before {
  content: "✦";
  display: block;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  margin-bottom: 0.55rem;
}

/* affiliate mentions → clear tappable chips (a distinct next-step, not a highlight) */
main:has(> article) article a[href^='/r/'] {
  background: var(--accent);
  color: #fff;
  padding: 0.12em 0.5em;
  border: none;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
main:has(> article) article a[href^='/r/']:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  main:has(> div > h2) {
    grid-template-columns: 1fr;
    padding: 2.2rem 1.1rem 3rem;
    gap: 2rem;
  }
  body > div:first-child:has(h1) h1 { font-size: 2.4rem; }
  body > div:first-child:has(h1) > div::before { font-size: 0.7rem; letter-spacing: 0.16em; }
  main:has(> div > h2) > div:first-of-type > h2 { font-size: 2.1rem; max-width: none; }
  main:has(> article) > hgroup > h1 { font-size: 2rem; }
}


/* === QA tail polish (2026-07-29T07:18:03.813913+00:00) — style Lambda [SB-20] compact tail across templates === */
/* The tail wrapper is always the LAST block child of <main> on the homepage,
   containing title-only rows of older articles. Various templates use different
   inner structures (ul>li / p / direct <a>) — this handles all three. */

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article)) {
  grid-column: 1 / -1;
  max-width: min(720px, 92vw);
  margin: 88px auto 0;
  padding: 40px 0 32px;
  border-top: 2px double rgba(0, 0, 0, .16);
  background: transparent;
  box-shadow: none;
}

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article))::before {
  content: "\2014  MORE FROM THE ARCHIVE  \2014";
  display: block;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 36px;
}

/* Any list / paragraph rows: 2-col on desktop, single on mobile */
:root main > *:last-child ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 48px;
}
@media (max-width: 899px) {
  :root main > *:last-child ul { columns: 1; }
}

:root main > *:last-child li,
:root main > *:last-child > p,
:root main > *:last-child > a {
  padding: 10px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px dotted rgba(0, 0, 0, .12);
  break-inside: avoid;
  display: block;
}

:root main > *:last-child li a,
:root main > *:last-child p a,
:root main > *:last-child > a {
  text-decoration: none;
  font-weight: 600;
}

:root main > *:last-child li a:hover,
:root main > *:last-child p a:hover,
:root main > *:last-child > a:hover {
  text-decoration: underline;
}

/* dates (first inline child of li/p) — subtle mono */
:root main > *:last-child p > :first-child,
:root main > *:last-child li > :first-child:not(a) {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  opacity: .5;
  margin-right: 10px;
}
