*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.css-7fjut3j{max-width:1100px;margin:0 auto;padding:0 24px}
.css-liamcu6{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.css-liamcu6 h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.css-liamcu6 p{font-size:16px;opacity:.8;font-style:italic}
.css-liamcu6 .css-zbjo8hl{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.css-t7o8kmg{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.css-gpc0ted{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.css-gpc0ted:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.css-gpc0ted h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.css-gpc0ted h2 a{color:#2c3e50;text-decoration:none}
.css-gpc0ted .css-js4as8x{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.css-gpc0ted p{font-size:15px;color:#555;margin-bottom:14px}
.css-g5sdj7y{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.css-31dr13d{max-width:780px;margin:0 auto;padding:0 24px 60px}
.css-31dr13d h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.css-31dr13d .css-js4as8x{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.css-31dr13d h2{font-size:24px;margin:36px 0 14px}
.css-31dr13d h3{font-size:19px;margin:28px 0 10px}
.css-31dr13d p{margin-bottom:18px;font-size:17px}
.css-31dr13d ul,.css-31dr13d ol{margin:0 0 18px 28px}
.css-31dr13d a{color:#e74c3c}
.css-31dr13d img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.css-puwp7jk{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.css-puwp7jk a{color:#888}
.css-dml4mp5{border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:14px 0;margin-bottom:28px;font-size:14px;color:#888;font-style:italic;text-align:center}
.css-gmjucy2{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.css-0stj9wb{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.css-l33judu{margin:0 0 28px}
.css-zir8e5w{width:100%;height:auto;border-radius:4px}
.css-p9lhxtm{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.css-p9lhxtm h4{font-size:16px;text-transform:uppercase;letter-spacing:1px;margin-bottom:16px;color:#888}
.mag-related-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mag-related-item a{color:#2c3e50;text-decoration:none;font-size:15px}
.mag-related-item a:hover{color:#e74c3c}
.css-vowjmc8{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:22px 28px;margin-top:28px}
.css-vowjmc8 p{font-size:15px;padding:4px 0;margin:0}
.css-vowjmc8 .css-js4as8x{margin:0 8px 0 0;display:inline}
.css-vowjmc8 a{color:#2c3e50;text-decoration:none}
.css-vowjmc8 a:hover{color:#e74c3c}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Quicksand:wght@400;700&display=swap');
body{font-family:'Inter',sans-serif;color:#2D2D2D;background:#FFF9FA}
.css-liamcu6{background:#4A154B;color:#fff}
.css-liamcu6 h1{font-family:'Quicksand',serif;color:#fff}
.css-liamcu6 p{color:rgba(255,255,255,.75)}
.css-liamcu6 a{color:#fff;text-decoration:none}
.card h2{font-family:'Quicksand',serif}
.card h2 a{color:#4A154B}
.card h2 a:hover{color:#FF4D6D}
.read-more{color:#FF4D6D}
.article-content h1{font-family:'Quicksand',serif}
.article-content h2{font-family:'Quicksand',serif}
.article-content a{color:#FF4D6D}
.article-content img{border-radius:12px}
.affiliate-disclosure{border-radius:12px}
.ymyl-disclaimer{border-radius:12px}
/* === Custom === */
/* rd-modern-fr — magazine template
   Palette : denim-tangerine (#2B3A5E / #E2833F)
   Fonts   : Sora (heading) + Inter (body)
   Persona : Bastien Leroy — technicien IT à Rennes, ton copain honnête, jamais pickup-artist
   Distinct de se-seduc-fr (prune / corail #6B1B3D / #FF6B6B)
*/

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,500;0,9..144,600;1,9..144,500;1,9..144,600&family=Sora:wght@400;500;600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Tokens ── */
:root {
  --color-primary:      #2B3A5E;
  --color-primary-dark: #1C2740;
  --color-accent:       #E2833F;
  --color-accent-light: #EFA96C;
  --color-bg:            #FAF8F4;
  --color-surface:       #F1EDE3;
  --color-text:          #262B33;
  --color-text-muted:    #6B7280;
  --color-heading:       #1B2333;
  --color-border:        #DEDACD;
  --color-link:          #2B3A5E;
  --color-link-hover:    #E2833F;

  --font-heading:        'Sora', system-ui, sans-serif;
  --font-body:           'Inter', system-ui, sans-serif;

  --size-base:  17px;
  --size-sm:    15px;
  --size-lg:    19px;
  --size-xl:    24px;
  --size-2xl:   32px;

  --weight-heading: 600;
  --weight-body:    400;

  --lh-base:    1.7;
  --lh-heading: 1.2;

  --radius:     10px;
  --radius-sm:  5px;
  --radius-lg:  16px;

  --space:        8px;
  --max-prose:    68ch;
  --max-layout:   1160px;
}

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

html { font-size: var(--size-base); scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: var(--size-base);
  font-weight: var(--weight-body);
  line-height: var(--lh-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

:root .site-wrap {
  max-width: var(--max-layout);
  margin: 0 auto;
  padding: 0 calc(var(--space) * 2.5);
}

/* ── Typography ── */
:root h1, :root h2, :root h3, :root h4, :root h5, :root h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  line-height: var(--lh-heading);
  color: var(--color-heading);
  margin-top: calc(var(--space) * 4);
  margin-bottom: calc(var(--space) * 2);
}

:root h1 { font-size: var(--size-2xl); letter-spacing: -0.02em; }
:root h2 { font-size: var(--size-xl);  letter-spacing: -0.01em; }
:root h3 { font-size: var(--size-lg); color: var(--color-primary); }
:root h4 { font-size: var(--size-base); font-weight: 500; }

:root p { margin: 0 0 calc(var(--space) * 2.5); max-width: var(--max-prose); }

:root ul, :root ol {
  padding-left: calc(var(--space) * 3);
  margin: 0 0 calc(var(--space) * 2.5);
  max-width: var(--max-prose);
}

:root li { margin-bottom: calc(var(--space) * 1); line-height: var(--lh-base); }
:root ul li::marker { color: var(--color-accent); }
:root ol li::marker { color: var(--color-primary); font-family: var(--font-heading); font-weight: 600; }

:root blockquote {
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  color: var(--color-text);
  font-style: italic;
  margin: calc(var(--space) * 3) 0;
  padding: calc(var(--space) * 2.5) calc(var(--space) * 3);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: var(--max-prose);
}
:root blockquote p:last-child { margin-bottom: 0; }

:root a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}
:root a:hover { color: var(--color-link-hover); }

:root strong { font-weight: 600; color: var(--color-heading); }
:root small { font-size: var(--size-sm); color: var(--color-text-muted); }
:root hr { border: none; border-top: 1px solid var(--color-border); margin: calc(var(--space) * 5) 0; }

/* ── Header ── */
:root .css-liamcu6 {
  background-color: var(--color-primary);
  color: #fff;
  padding: calc(var(--space) * 3) 0;
  border-bottom: 3px solid var(--color-accent);
}
:root .css-liamcu6 h1 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: var(--size-2xl);
  margin: 0 0 calc(var(--space) * 0.5);
  letter-spacing: -0.02em;
}
:root .css-liamcu6 p {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-body);
  font-size: var(--size-sm);
  font-style: normal;
  margin: 0;
}
:root .css-liamcu6 a { color: #fff; text-decoration: none; }
:root .css-liamcu6 a:hover { color: rgba(255, 255, 255, 0.85); text-decoration: underline; }

/* ── Navigation ── */
:root .mag-nav { background-color: var(--color-primary-dark); padding: 0; }
:root .mag-nav ul { display: flex; flex-wrap: wrap; gap: 0; list-style: none; margin: 0; padding: 0 calc(var(--space) * 2.5); }
:root .mag-nav li { margin: 0; }
:root .mag-nav a {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--size-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding: calc(var(--space) * 1.5) calc(var(--space) * 2);
  transition: color 0.18s ease, background-color 0.18s ease;
}
:root .mag-nav a:hover { color: #fff; background-color: var(--color-accent); }

/* ── Magazine grid & cards ── */
:root .css-t7o8kmg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: calc(var(--space) * 3); padding: calc(var(--space) * 4) 0; }

:root .card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
:root .card:hover { box-shadow: 0 6px 20px rgba(43, 58, 94, 0.14); transform: translateY(-2px); }
:root .card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
:root .card-body { padding: calc(var(--space) * 2.5); }

:root .card h2 {
  font-family: var(--font-heading);
  font-size: var(--size-lg);
  font-weight: var(--weight-heading);
  margin: 0 0 calc(var(--space) * 1);
  line-height: 1.3;
}
:root .card h2 a { color: var(--color-heading); text-decoration: none; }
:root .card h2 a:hover { color: var(--color-primary); }

:root .card-excerpt { font-size: var(--size-sm); color: var(--color-text-muted); margin: 0 0 calc(var(--space) * 2); line-height: 1.6; }

:root .read-more { font-family: var(--font-heading); font-size: var(--size-sm); font-weight: 500; color: var(--color-accent); text-decoration: none; }
:root .read-more:hover { text-decoration: underline; color: var(--color-primary); }

/* ── Category badge ── */
:root .category-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  background: rgba(43, 58, 94, 0.1);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  margin-bottom: calc(var(--space) * 1);
}

/* ── Article content ── */
:root .article-content { max-width: var(--max-layout); }
:root .article-content h1 { font-family: var(--font-heading); font-size: var(--size-2xl); letter-spacing: -0.02em; }
:root .article-content h2 {
  font-family: var(--font-heading);
  font-size: var(--size-xl);
  padding-bottom: calc(var(--space) * 1);
  border-bottom: 2px solid var(--color-border);
  margin-top: calc(var(--space) * 5);
}
:root .article-content h3 { font-family: var(--font-heading); font-size: var(--size-lg); color: var(--color-primary); }
:root .article-content a { color: var(--color-link); }
:root .article-content a:hover { color: var(--color-link-hover); }
:root .article-content img { border-radius: var(--radius); max-width: 100%; height: auto; display: block; }

:root .article-content table { border-collapse: collapse; width: 100%; font-size: 0.9em; }
:root .article-content th, :root .article-content td {
  border: 1px solid var(--color-border);
  padding: 8px 10px;
  vertical-align: top;
  line-height: 1.5;
  text-align: left;
}

/* ── Sidebar ── */
:root .mag-sidebar { padding-left: calc(var(--space) * 3); border-left: 2px solid var(--color-border); }
:root .sidebar-widget { margin-bottom: calc(var(--space) * 4); }
:root .sidebar-widget h3 {
  font-family: var(--font-heading);
  font-size: var(--size-base);
  font-weight: 600;
  color: var(--color-heading);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 calc(var(--space) * 1.5);
  padding-bottom: calc(var(--space) * 1);
  border-bottom: 2px solid var(--color-accent);
}

/* ── Footer ── */
:root .css-puwp7jk {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.75);
  font-size: var(--size-sm);
  padding: calc(var(--space) * 5) 0 calc(var(--space) * 3);
  margin-top: calc(var(--space) * 6);
}
:root .css-puwp7jk a { color: rgba(255, 255, 255, 0.75); }
:root .css-puwp7jk a:hover { color: var(--color-accent-light); }
:root .css-puwp7jk p { max-width: none; }

/* ── Responsive ── */
@media (max-width: 900px) {
  :root .css-t7o8kmg { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  :root .css-t7o8kmg { grid-template-columns: 1fr; }
  :root h1 { font-size: calc(var(--size-xl) * 1.1); }
  :root h2 { font-size: var(--size-lg); }
}

/* === R2 fixes (2026-07-07T17:40:10.929515+00:00) === */
/* .read-more accent color and .article-content h2 border-bottom were already
   present from R1; only the /pick/ link accent was missing. */
:root .article-content a[href^="/pick/"] { color: var(--color-accent); }

/* === R3 fixes (2026-07-07T18:20:25.132646+00:00) === */
/* .article-content never matches real markup — replaced with the actual
   selectors so these rules finally apply. */
:root a[href^="/pick/"] { color: var(--color-accent); }
:root article h2 {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: calc(var(--space) * 1);
  margin-top: calc(var(--space) * 5);
}

/* === QA round-1 fixes (2026-07-29T00:29:12+0800) === */
/* The deployed site (coeurconnecte.com — "Cœur Connecté") obfuscates every
   class into .css-xxxxxx, so all class rules above are inert. Everything below
   targets ELEMENT + STRUCTURAL selectors, :root-prefixed so they outweigh
   base.css single-class rules. Verified against snapshots/loop4 markup:
     masthead        = body > nav:first-child  (homepage: h1+p / article: a)
     homepage grid   = main > div  ·  cards = main > div > div
       card parts    = p:first-child (date) · h2>a (title) · h2+p (excerpt) · a (CTA)
     content article = main > h1 + main > time + main > article > (p,h2,blockquote,figure,/pick/)
     static page     = main > article > (h1,h2,p)
   Editorial voice: Fraunces italic display + Inter body + Sora tracked meta.
   Signature: italic "&" monogram (Cœur *Connecté* — the pairing mark).
   Moment colour (muted burgundy) used exactly twice: the two drop caps. */

:root {
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --color-moment:  #7A2E43;   /* muted burgundy — romance warmth, 2 uses only */
}

/* ── Masthead: photo + gradient, serif-italic wordmark, monogram ── */
:root body > nav:first-child {
  background-image:
    linear-gradient(148deg, rgba(27,35,51,0.90) 0%, rgba(43,58,94,0.80) 62%, rgba(43,58,94,0.86) 100%),
    url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid var(--color-accent);
  padding: calc(var(--space) * 7) 0 calc(var(--space) * 6);
  text-align: center;
}
:root body > nav:first-child > div::before {
  content: "\0026";                     /* ampersand monogram = the signature */
  display: block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 46px;
  line-height: 1;
  color: var(--color-accent);
  margin-bottom: calc(var(--space) * 1);
}
:root body > nav:first-child h1,
:root body > nav:first-child > div > a {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.005em;
  color: #fff;
  text-decoration: none;
}
:root body > nav:first-child h1 { font-size: clamp(34px, 5.5vw, 56px); margin: 0 0 6px; }
:root body > nav:first-child > div > a { font-size: clamp(28px, 4.5vw, 44px); display: inline-block; }
:root body > nav:first-child p {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: var(--size-base);
  color: rgba(255,255,255,0.86);
  max-width: 60ch;
  margin: 0 auto;
}

/* ── Homepage grid container ── */
:root main > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(var(--space) * 3);
  align-items: start;
  padding: calc(var(--space) * 5) 0 calc(var(--space) * 7);
}
:root main > div > div { position: relative; }

/* Card shared type: Fraunces titles, Sora tracked meta ── */
:root main > div > div > h2 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.005em;
  margin: 0 0 calc(var(--space) * 1);
}
:root main > div > div > h2 a { color: var(--color-heading); text-decoration: none; }
:root main > div > div > h2 a:hover { color: var(--color-primary); }
:root main > div > div > p:first-child {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--color-text-muted);
  margin: 0 0 calc(var(--space) * 1.5);
}
:root main > div > div > a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--color-accent);
  text-decoration: none;
}
:root main > div > div > a:hover { color: var(--color-primary); }

/* ── HERO (card 1): the loud voice ── */
:root main > div > div:first-child {
  grid-column: 1 / -1;
  background: linear-gradient(176deg, #ffffff 0%, var(--color-surface) 100%);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 52px) clamp(24px, 5vw, 60px);
  margin-bottom: calc(var(--space) * 3);
  overflow: hidden;
}
:root main > div > div:first-child > * { position: relative; z-index: 1; }
:root main > div > div:first-child::after {   /* big faint & fills the right */
  content: "\0026";
  position: absolute;
  right: clamp(-8px, 1vw, 30px);
  bottom: -46px;
  z-index: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(180px, 24vw, 320px);
  line-height: 1;
  color: rgba(43, 58, 94, 0.06);
  pointer-events: none;
}
:root main > div > div:first-child > p:first-child { color: var(--color-text-muted); }
:root main > div > div:first-child > p:first-child::before {
  content: "Le dernier terrain — ";
  color: var(--color-accent);
  font-weight: 700;
}
:root main > div > div:first-child > p:first-child::after { content: " · par Bastien"; }
:root main > div > div:first-child > h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.06;
  letter-spacing: -0.012em;
  max-width: 20ch;
  margin: 0 0 calc(var(--space) * 2);
}
:root main > div > div:first-child > h2 + p {
  font-family: var(--font-body);
  font-size: var(--size-lg);
  color: var(--color-text);
  max-width: 48ch;
  margin: 0 0 calc(var(--space) * 3);
}
:root main > div > div:first-child > h2 + p::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 3.4em;
  line-height: 0.78;
  float: left;
  margin: 0.06em 0.09em -0.06em 0;
  color: var(--color-moment);          /* moment colour — use 1 of 2 */
}
:root main > div > div:first-child > a {
  display: inline-block;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  border-radius: 999px;
  padding: 10px 24px;
  transition: background 0.18s ease, color 0.18s ease;
}
:root main > div > div:first-child > a:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ── EDITOR'S PICKS band (cards 2–4): numbered, labelled, kept as cards ── */
:root main > div > div:nth-child(n+2):nth-child(-n+4) {
  background: #fff;
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: calc(var(--space) * 3);
  margin-top: calc(var(--space) * 6);
}
:root main > div > div:nth-child(2)::before {
  content: "La sélection de Bastien — à commencer par là";
  position: absolute;
  left: 2px;
  bottom: 100%;
  margin-bottom: calc(var(--space) * 1.25);
  max-width: 92%;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-primary);
}
:root main > div > div:nth-child(2) > p:first-child::before,
:root main > div > div:nth-child(3) > p:first-child::before,
:root main > div > div:nth-child(4) > p:first-child::before {
  color: var(--color-accent);
  font-weight: 700;
}
:root main > div > div:nth-child(2) > p:first-child::before { content: "N° I · "; }
:root main > div > div:nth-child(3) > p:first-child::before { content: "N° II · "; }
:root main > div > div:nth-child(4) > p:first-child::before { content: "N° III · "; }

/* ── CHRONICLE grid (cards 5+): quiet, airy, hairline rows ── */
:root main > div > div:nth-child(n+5) {
  background: transparent;
  border: none;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  padding: calc(var(--space) * 3) 0 0;
  margin-top: calc(var(--space) * 6);
}
:root main > div > div:nth-child(5)::before {
  content: "Le journal — du plus récent au plus ancien";
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: calc(var(--space) * 1.25);
  max-width: 92%;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-primary);
}

/* ── ARTICLE page ── */
:root main > h1,
:root main > article > h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.07;
  letter-spacing: -0.015em;
  color: var(--color-heading);
  margin: 0 0 calc(var(--space) * 1.5);
}
/* real per-article date becomes the byline block */
:root main > time {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  padding-bottom: calc(var(--space) * 2.5);
  margin-bottom: calc(var(--space) * 3);
  border-bottom: 1px solid var(--color-border);
}
:root main > time::after { content: " · par Bastien Leroy, technicien IT à Rennes"; }
/* static pages have no <time>: synthesise a byline under the title */
:root main > article > h1::after {
  content: "Par Bastien Leroy · retour de terrain";
  display: block;
  margin-top: calc(var(--space) * 1.5);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}
/* lead figure = hero image */
:root main > article > figure:first-child { margin: 0 0 calc(var(--space) * 3.5); }
:root main > article > figure:first-child img { border-radius: var(--radius-lg); }
:root main > article img { border-radius: var(--radius); max-width: 100%; height: auto; display: block; }
/* drop cap on the lede (content articles that open with the hero figure) */
:root main > article > figure:first-child + p::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.5em;
  line-height: 0.8;
  float: left;
  margin: 0.05em 0.09em -0.04em 0;
  color: var(--color-moment);          /* moment colour — use 2 of 2 */
}
/* section headings: serif, dinkus divider above (replaces the flat rule) */
:root main > article > h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3.4vw, 33px);
  line-height: 1.18;
  color: var(--color-heading);
  border-bottom: none;
  padding-bottom: 0;
  margin-top: calc(var(--space) * 6);
}
:root main > article > h2::before {
  content: "\2726 \2726 \2726";
  display: block;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.55em;
  color: var(--color-accent);
  margin: 0 auto calc(var(--space) * 3.5);
}
:root main > article > h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--color-primary);
}
/* blockquote with a hanging serif quote mark */
:root main > article > blockquote {
  position: relative;
  border-left: 4px solid var(--color-accent);
  background: var(--color-surface);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--size-lg);
  line-height: 1.5;
  margin: calc(var(--space) * 4) 0;
  padding: calc(var(--space) * 3) calc(var(--space) * 4) calc(var(--space) * 3) calc(var(--space) * 6);
  border-radius: 0 var(--radius) var(--radius) 0;
}
:root main > article > blockquote::before {
  content: "\201C";
  position: absolute;
  left: 12px;
  top: 2px;
  font-family: var(--font-display);
  font-size: 62px;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.5;
}
/* affiliate /pick/ links → inline accent chip */
:root main > article a[href^="/pick/"] {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88em;
  letter-spacing: 0.01em;
  color: #fff;
  background: var(--color-accent);
  border-radius: 999px;
  padding: 2px 13px;
  text-decoration: none;
  transition: background 0.18s ease;
}
:root main > article a[href^="/pick/"]:hover { background: var(--color-primary); color: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  :root main > div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root main > div > div:nth-child(2)::before,
  :root main > div > div:nth-child(5)::before { position: static; display: block; margin-bottom: calc(var(--space) * 1.5); }
}
@media (max-width: 600px) {
  :root main > div { grid-template-columns: 1fr; }
  :root main > div > div:nth-child(n+2):nth-child(-n+4) { margin-top: calc(var(--space) * 3); }
  :root main > div > div:first-child::after { font-size: 150px; bottom: -30px; }
}


/* === QA tail polish (2026-07-29T07:19:28.768429+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;
}
