*{margin:0;padding:0;box-sizing:border-box}
body{font-family:Georgia,'Times New Roman',serif;line-height:1.8;color:#222;background:#f4f1eb}
.astro-yrjGFueH{max-width:1100px;margin:0 auto;padding:0 24px}
.astro-M9yEPvxz{background:linear-gradient(135deg,#2c3e50,#34495e);color:#fff;padding:48px 0;text-align:center;margin-bottom:48px}
.astro-M9yEPvxz h1{font-size:36px;letter-spacing:2px;text-transform:uppercase;margin-bottom:6px}
.astro-M9yEPvxz p{font-size:16px;opacity:.8;font-style:italic}
.astro-M9yEPvxz .astro-kCLu9aYT{color:#fff;text-decoration:none;font-size:20px;letter-spacing:1px;text-transform:uppercase}
.astro-n4H92I01{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:28px}
.astro-HVR77Sw5{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:28px;transition:box-shadow .2s}
.astro-HVR77Sw5:hover{box-shadow:0 4px 20px rgba(0,0,0,.14)}
.astro-HVR77Sw5 h2{font-size:22px;margin-bottom:10px;line-height:1.3}
.astro-HVR77Sw5 h2 a{color:#2c3e50;text-decoration:none}
.astro-HVR77Sw5 .astro-yVMgJWyQ{font-size:12px;color:#888;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}
.astro-HVR77Sw5 p{font-size:15px;color:#555;margin-bottom:14px}
.astro-0iTnxoc7{color:#e74c3c;text-decoration:none;font-weight:700;font-size:13px;text-transform:uppercase;letter-spacing:.5px}
.astro-Ca29FtDm{max-width:780px;margin:0 auto;padding:0 24px 60px}
.astro-Ca29FtDm h1{font-size:36px;margin-bottom:10px;line-height:1.2}
.astro-Ca29FtDm .astro-yVMgJWyQ{font-size:13px;color:#888;display:block;margin-bottom:28px;text-transform:uppercase;letter-spacing:1px}
.astro-Ca29FtDm h2{font-size:24px;margin:36px 0 14px}
.astro-Ca29FtDm h3{font-size:19px;margin:28px 0 10px}
.astro-Ca29FtDm p{margin-bottom:18px;font-size:17px}
.astro-Ca29FtDm ul,.astro-Ca29FtDm ol{margin:0 0 18px 28px}
.astro-Ca29FtDm a{color:#e74c3c}
.astro-Ca29FtDm img{max-width:100%;height:auto;border-radius:4px;margin:20px 0}
.astro-DfgwsY4a{border-top:2px solid #ddd;padding:28px 0;margin-top:48px;text-align:center;font-size:13px;color:#888}
.astro-DfgwsY4a a{color:#888}
.astro-MqRPfN3I{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}
.astro-l5RHloiq{background:#f9f3e3;padding:16px 20px;margin-top:28px;font-size:13px;color:#7a6230;border-radius:4px}
.astro-QQLDLwLn{font-size:11px;color:#888;margin:-22px 0 28px;text-transform:uppercase;letter-spacing:1.5px}
.astro-4KQuFQJA{margin:0 0 28px}
.astro-QI7H0FUd{width:100%;height:auto;border-radius:4px}
.astro-7HzM6I7X{border-top:2px solid #ddd;margin-top:40px;padding-top:24px}
.astro-7HzM6I7X 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}
.astro-3r71CiZJ{background:#fff;border-radius:4px;box-shadow:0 2px 12px rgba(0,0,0,.08);padding:22px 28px;margin-top:28px}
.astro-3r71CiZJ p{font-size:15px;padding:4px 0;margin:0}
.astro-3r71CiZJ .astro-yVMgJWyQ{margin:0 8px 0 0;display:inline}
.astro-3r71CiZJ a{color:#2c3e50;text-decoration:none}
.astro-3r71CiZJ a:hover{color:#e74c3c}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Roboto+Slab:wght@400;700&display=swap');
body{font-family:'Inter',sans-serif;color:#212121;background:#FDFDFD}
.astro-M9yEPvxz{background:#2C3E50;color:#fff}
.astro-M9yEPvxz h1{font-family:'Roboto Slab',serif;color:#fff}
.astro-M9yEPvxz p{color:rgba(255,255,255,.75)}
.astro-M9yEPvxz a{color:#fff;text-decoration:none}
.card h2{font-family:'Roboto Slab',serif}
.card h2 a{color:#2C3E50}
.card h2 a:hover{color:#D35400}
.read-more{color:#D35400}
.article-content h1{font-family:'Roboto Slab',serif}
.article-content h2{font-family:'Roboto Slab',serif}
.article-content a{color:#D35400}
.article-content img{border-radius:4px}
.affiliate-disclosure{border-radius:4px}
.ymyl-disclaimer{border-radius:4px}
/* === Custom === */
/* lc-coloca-fr — custom.css v1 · magazine template */
/* Pauline Charrier · palette encre-sauge (#3B3560) + teal (#4A9080) */

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

/* ─── Design tokens ─── */
:root {
  --color-primary:        #3B3560;
  --color-primary-dark:   #25214A;
  --color-primary-light:  #E8E6F4;
  --color-accent:         #4A9080;
  --color-accent-dark:    #347060;
  --color-accent-light:   #D4EDE8;
  --color-bg:             #F4F1E8;
  --color-bg-alt:         #EAE6D8;
  --color-text:           #1A1614;
  --color-text-secondary: #44403A;
  --color-text-muted:     #7A756C;
  --color-border:         #C8C4BA;
  --color-border-light:   #DDD9CE;
  --color-link:           #3B3560;
  --color-link-hover:     #4A9080;
  --font-heading:         'Domine', Georgia, serif;
  --font-body:            'Libre Franklin', system-ui, sans-serif;
  --font-size-base:       17px;
  --font-size-sm:         15px;
  --font-size-lg:         19px;
  --font-size-xl:         22px;
  --font-size-2xl:        28px;
  --font-size-3xl:        36px;
  --line-height-body:     1.75;
  --line-height-heading:  1.22;
  --border-radius:        6px;
  --max-width-content:    68ch;
}

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

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

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

/* ─── Headings ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: var(--line-height-heading);
  color: var(--color-primary);
  margin-top: 1.6em;
  margin-bottom: 0.5em;
}
h1 { font-size: var(--font-size-3xl); }
h2 { font-size: var(--font-size-2xl); }
h3 { font-size: var(--font-size-xl);  }
h4 { font-size: var(--font-size-lg);  }

/* ─── Paragraphs & inline ─── */
p {
  max-width: var(--max-width-content);
  margin-top: 0;
  margin-bottom: 1.15em;
}
a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}
a:hover         { color: var(--color-link-hover); }
strong, b       { font-weight: 600; }
em, i           { font-style: italic; }

/* ─── Lists ─── */
ul, ol {
  max-width: var(--max-width-content);
  padding-left: 1.4em;
  margin-top: 0;
  margin-bottom: 1.15em;
}
li { margin-bottom: 0.45em; line-height: var(--line-height-body); }
ul li::marker { color: var(--color-accent); }

/* ─── Blockquote ─── */
blockquote {
  max-width: var(--max-width-content);
  margin: 1.8em 0;
  padding: 1em 1.25em 1em 1.4em;
  border-left: 4px solid var(--color-accent);
  background-color: var(--color-accent-light);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  font-style: italic;
  color: var(--color-text-secondary);
}
blockquote p    { margin-bottom: 0; }
blockquote cite {
  display: block;
  margin-top: 0.6em;
  font-size: var(--font-size-sm);
  font-style: normal;
  color: var(--color-text-muted);
}

/* ─── Images ─── */
img { max-width: 100%; height: auto; border-radius: var(--border-radius); display: block; }
figure { margin: 1.6em 0; }
figcaption { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-top: 0.45em; font-style: italic; }
hr { border: none; border-top: 1px solid var(--color-border); margin: 2rem 0; }

/* ─── Magazine header ─── */
.astro-M9yEPvxz {
  background-color: var(--color-primary);
  color: #fff;
  padding: 2rem 1.5rem 1.5rem;
}
.astro-M9yEPvxz h1 {
  font-family: var(--font-heading);
  color: #fff;
  font-size: var(--font-size-3xl);
  margin-top: 0;
  margin-bottom: 0.3em;
  letter-spacing: -0.01em;
}
.astro-M9yEPvxz p  { color: rgba(255,255,255,0.78); font-size: var(--font-size-lg); margin-bottom: 0; max-width: 56ch; }
.astro-M9yEPvxz a  { color: #fff; text-decoration: none; }
.astro-M9yEPvxz a:hover { color: var(--color-accent-light); }

/* ─── Nav / tag bar ─── */
.mag-nav, .tag-bar {
  background-color: var(--color-primary-dark);
  padding: 0.5rem 1.5rem;
}
.mag-nav a, .tag-bar a {
  color: rgba(255,255,255,0.82);
  font-size: var(--font-size-sm);
  text-decoration: none;
  margin-right: 1.2em;
  font-weight: 500;
}
.mag-nav a:hover, .tag-bar a:hover { color: var(--color-accent-light); }

/* ─── Cards ─── */
.card {
  background-color: #fff;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-border-light);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.card:hover { box-shadow: 0 4px 16px rgba(59,53,96,0.12); }
.card h2 { font-family: var(--font-heading); font-size: var(--font-size-xl); margin-top: 0; margin-bottom: 0.4em; }
.card h2 a { color: var(--color-primary); text-decoration: none; }
.card h2 a:hover { color: var(--color-accent); }
.card-body { padding: 1.25rem; }
.card-meta { font-size: var(--font-size-sm); color: var(--color-text-muted); margin-bottom: 0.5em; }
.read-more { color: var(--color-accent); font-weight: 600; text-decoration: none; font-size: var(--font-size-sm); }
.read-more:hover { color: var(--color-accent-dark); text-decoration: underline; }

/* ─── Article content ─── */
.article-content { max-width: 72ch; margin: 0 auto; }
.article-content h1 { font-family: var(--font-heading); font-size: var(--font-size-3xl); color: var(--color-primary); margin-top: 0; }
.article-content h2 {
  font-family: var(--font-heading);
  font-size: var(--font-size-2xl);
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.3em;
}
.article-content h3 { font-family: var(--font-heading); font-size: var(--font-size-xl); color: var(--color-primary); }
.article-content p  { font-size: var(--font-size-base); line-height: var(--line-height-body); }
.article-content a  { color: var(--color-accent-dark); text-decoration-thickness: 1px; }
.article-content a:hover { color: var(--color-accent); }
.article-content img { border-radius: var(--border-radius); width: 100%; }

/* ─── Featured zone ─── */
.mag-featured { border-bottom: 2px solid var(--color-border); padding-bottom: 2rem; margin-bottom: 2rem; }
.featured-label {
  display: inline-block;
  background-color: var(--color-accent);
  color: #fff;
  font-size: var(--font-size-sm);
  font-weight: 600;
  padding: 0.2em 0.6em;
  border-radius: calc(var(--border-radius) / 2);
  margin-bottom: 0.6em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ─── Tags ─── */
.tag {
  display: inline-block;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: var(--font-size-sm);
  font-weight: 500;
  padding: 0.2em 0.55em;
  border-radius: calc(var(--border-radius) / 2);
  text-decoration: none;
}
.tag:hover { background-color: var(--color-primary); color: #fff; }

/* ─── Widgets ─── */
.widget {
  background-color: var(--color-bg-alt);
  border-radius: var(--border-radius);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-border-light);
}
.widget-title {
  font-family: var(--font-heading);
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0;
  margin-bottom: 0.8em;
  padding-bottom: 0.4em;
  border-bottom: 2px solid var(--color-accent);
}

/* ─── Footer ─── */
.astro-DfgwsY4a {
  background-color: var(--color-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 2.5rem 1.5rem;
  font-size: var(--font-size-sm);
  margin-top: 3rem;
}
.astro-DfgwsY4a a       { color: rgba(255,255,255,0.85); text-decoration: none; }
.astro-DfgwsY4a a:hover { color: var(--color-accent-light); }

/* ─── Utility ─── */
.text-muted { color: var(--color-text-muted); }
.text-sm    { font-size: var(--font-size-sm); }
.bg-alt     { background-color: var(--color-bg-alt); }

/* === R2 fixes (2026-07-01T19:50:31.178386+00:00) === */

/* Fix 1 — line-height 1.75 on body content paragraphs */
.bld-content p,
.entry-content p,
.post-content p {
  line-height: 1.75;
}

/* Fix 2 — more breathing room above H2 section breaks */
.bld-content h2,
.entry-content h2,
.post-content h2 {
  margin-top: 2.5em;
  margin-bottom: 0.5em;
}

/* Fix 3 — H3 in teal to clarify hierarchy (H2 navy, H3 sage) */
.bld-content h3,
.entry-content h3,
.post-content h3 {
  color: #4A9080;
}

/* Fix 4 — site title in nav bar slightly larger and tracked */
.site-header .site-title,
header .blog-name,
.nav-bar .site-name {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
}

/* Fix 5 — CSS line-clamp on card excerpts (3 lines max) */
.post-card .entry-excerpt,
.card-body .excerpt,
.post-summary {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === R3 fixes (2026-07-01T20:30:16.696774+00:00) === */

/* Fix R3-1 — H3 color: extend to article h3 (R2 covered .bld-content/.entry-content/.post-content) */
article h3 {
  color: #4A9080;
}

/* Fix R3-2 — H3 margins: breathing room anchors sub-section start clearly */
.bld-content h3,
.entry-content h3,
.post-content h3,
article h3 {
  margin-top: 1.75em;
  margin-bottom: 0.3em;
}

/* Fix R3-3 — paragraph line-height: stronger selector overrides template rules in dense articles */
body .bld-content p,
body .entry-content p,
body .post-content p,
article p {
  line-height: 1.75;
}

/* === R4 fixes (2026-07-01T21:10:39.735967+00:00) === */

/* Fix R4-1 — article h2: match DOM réel; plus d'espace au-dessus + filet léger en dessous */
article h2 {
  margin-top: 2.5em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 0.3em;
}

/* Fix R4-2 — aligner les CTA en bas de chaque carte (Astro hashed selectors) */
.astro-HVR77Sw5 {
  display: flex;
  flex-direction: column;
}
.astro-HVR77Sw5 a.astro-0iTnxoc7 {
  margin-top: auto;
}

/* ================================================================
   QA refix — iteration 1 (2026-08-23)
   Codex flagged M1/M2/M3/M6/M7 (home) + notes S1/S2/S6.
   Root cause: the earlier editorial pass targeted a MOCK class DOM
   (.card / .card-grid / .mag-*) that does NOT exist in the deployed
   Astro build, so every homepage rule was a dead no-op and the base
   theme's hardcoded #fff cards + archive box showed through.
   The REAL live homepage DOM is:
       main > div(grid)  > div(card ×12)        feature cards
       main > div(tail)  > p( <span>date</span> <a>title</a> ×N )  archive tail
   These rules restyle that real structure with STRUCTURAL selectors
   only (class names are obfuscated per-site at deploy). Homepage is
   scoped via main:not(:has(> h1)):not(:has(> article)) — blog posts
   have main>h1, the author page has main>article — so nothing bleeds
   onto article/author pages (M11-safe). :root prefixes lift
   specificity above the base single-class rules; !important is used
   only to kill the base #fff backgrounds. Palette preserved:
   encre #3B3560 · sauge #4A9080 · crème #F4F1E8.
   ================================================================ */

:root {
  --paper-card: #FBF7EE;   /* warm off-white card face — lighter than the #F4F1E8 page so cards read as raised paper, never #fff */
  --paper-kick: #347060;   /* teal-sauge kicker for dates / meta */
}

/* ── FEATURE GRID — explicit 3-col so full-row bands span reliably ── */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> div) {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;              /* [M8] card gutter */
  align-items: stretch;        /* [M4] equal-height cells per row */
}

/* [M2] full-width uppercase section label ABOVE the card row — attached to main::before
   so hero strip below sits BETWEEN label and grid (M6 position rule). */
:root main:not(:has(> h1)):not(:has(> article))::before {
  content: "Derniers articles";
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-secondary);
  padding-bottom: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--color-border);
}

/* [M6] hero-strip section break #1 — BEFORE the journal grid (after M2 label band).
   Uses /theme-assets/hero-photo.jpg for real photographic band, per M6 rule. */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> div)::before {
  content: "Saint-Étienne · journal de chantier";
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  margin: 0 0 32px;
  padding: 0 28px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background:
    linear-gradient(rgba(20,17,40,0.55), rgba(30,30,60,0.35)),
    url('/theme-assets/hero-photo.jpg') center / cover no-repeat,
    linear-gradient(115deg, #25214A 0%, #3B3560 52%, #347060 100%);
}

/* [M1][M5] feature cards → cream paper, soft frame, subtle shadow (kills base #fff) */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> div) > div {
  background: var(--paper-card) !important;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(37,33,74,0.06);
  padding: 30px 34px;          /* [M3] ≥32px horizontal / ≥24px vertical */
}
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> div) > div:hover {
  box-shadow: 0 6px 20px rgba(37,33,74,0.12);
}
/* date → teal kicker */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> div) > div > p:first-child {
  color: var(--paper-kick);
  font-weight: 600;
  letter-spacing: 0.12em;
}
/* title → house navy + serif */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> div) > div > h2 a {
  color: var(--color-primary);
}
/* [M8] excerpt breathing */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> div) > div > h2 + p {
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ── ARCHIVE TAIL — was ONE plain #fff box of date-title rows;
      becomes a full-width grid of boxed cream archive cards ── */
/* [M1][M7] container: strip the white box, become a 3-col magazine index */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> p) {
  background: transparent !important;
  box-shadow: none;
  padding: 0;
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
  align-items: stretch;
}
/* [M2] archive section label */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> p)::before {
  content: "Plus anciens · archives";
  grid-column: 1 / -1;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-text-secondary);
  padding-bottom: 12px;
  margin-bottom: 2px;
  border-bottom: 1px solid var(--color-border);
}
/* [M7] each date-title row → boxed cream archive card, per-item border/radius/shadow/padding */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> p) > p {
  background: var(--paper-card);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(37,33,74,0.06);
  padding: 18px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> p) > p:hover {
  box-shadow: 0 6px 18px rgba(37,33,74,0.12);
  transform: translateY(-2px);
}
/* archive row date → block kicker (:first-child boosts specificity over base 2-class rule) */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> p) > p > span:first-child {
  display: block;
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--paper-kick);
}
/* [M9] archive title → navy Domine (open serif keeps small titles legible) */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> p) > p > a {
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> p) > p > a:hover {
  color: var(--color-accent-dark);
}

/* [M6] hero-strip section break #2 — BETWEEN journal grid and archive tail.
   Attached to grid::after (freed up after Strip 1 moved to grid::before). */
:root main:not(:has(> h1)):not(:has(> article)) > div:has(> div)::after {
  content: "Coloc en chantier · semaine après semaine";
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 200px;
  margin: 32px 0 32px;
  padding: 0 28px;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background:
    linear-gradient(rgba(18,20,34,0.50), rgba(30,30,60,0.35)),
    url('/theme-assets/cover-photo.jpg') center / cover no-repeat,
    linear-gradient(115deg, #347060 0%, #3B3560 50%, #25214A 100%);
}

/* ── Responsive: tablet 2-col, mobile 1-col (keeps archive readable, not cramped) ── */
@media (max-width: 900px) {
  :root main:not(:has(> h1)):not(:has(> article)) > div:has(> div),
  :root main:not(:has(> h1)):not(:has(> article)) > div:has(> p) {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  :root main:not(:has(> h1)):not(:has(> article)) > div:has(> div),
  :root main:not(:has(> h1)):not(:has(> article)) > div:has(> p) {
    grid-template-columns: 1fr;
  }
  /* [M3] keep ≥32px horizontal breathing room on mobile cards */
  :root main:not(:has(> h1)):not(:has(> article)) > div:has(> div) > div {
    padding: 28px 32px;
  }
  :root main:not(:has(> h1)):not(:has(> article)) > div:has(> div)::before,
  :root main:not(:has(> h1)):not(:has(> article)) > div:has(> div)::after {
    min-height: 160px;
    letter-spacing: 0.16em;
  }
}

/* [S6] article personality anchor — append a persona line to the date-only meta.
   Scoped to blog posts (main > h1 > time); homepage/author pages have no such <time>. */
:root main:has(> h1) > time::after {
  content: " · par Pauline Charrier · Saint-Étienne";
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=NYT-Cooking-warm overlay=40% grid=mixed scale=dramatic family=astro-grid */

/* ── HERO STRIPS: site-level atmospheric photos (overlay 40%) ── */
:root main:not(:has(> h1)) > div:has(> div)::before {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.40) 100%),
    url("/theme-assets/premium-hero-strip-1.webp") center 40% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}
:root main:not(:has(> h1)) > div:has(> div)::after {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.40) 100%),
    url("/theme-assets/premium-hero-strip-2.webp") center 45% / cover no-repeat;
  min-height: 340px; padding-bottom: 26px; align-items: flex-end;
  text-shadow: 0 1px 12px rgba(0,0,0,0.55); color: #fff;
}


/* ── CARD 1: featured full-row with 300px photo header (via card-own background, NOT ::before —
    leaves ::before free for existing site's M2 label / meta content). ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  position: relative;      /* anchor for existing site's ::before label if it uses absolute */
  overflow: visible;       /* let above-card labels render without clipping */
  padding: 320px 44px 40px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 300px,
    var(--bg) !important;
  margin-top: 60px !important;  /* room for above-card M2 label (existing site convention) */
}

/* ── CARDS 2-4: medium with 180px photo header (background technique, ::before untouched) ── */
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}

/* ── Article page: drop cap + dinkus dividers ── */
:root main:has(> h1) > article > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif;
  font-size: 76px; line-height: 0.9; color: var(--primary);
  float: left; margin: 6px 12px 0 0; padding: 0; font-weight: 400;
}
:root main:has(> h1) > article > h2 + p ~ h2::before {
  content: "✦ ✦ ✦";
  display: block; text-align: center; color: var(--accent);
  font-size: 12px; letter-spacing: 0.3em; margin-bottom: 24px;
  font-weight: 400;
}

/* ── Mobile responsive: adjust photo heights via background-size on the card itself ── */
@media (max-width: 720px) {
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(1) {
    padding: 240px 22px 28px !important;
    background:
      url("/theme-assets/premium-hero-card-1.webp") no-repeat center top / 100% 220px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(2) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-2.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(3) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-3.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div) > div:nth-of-type(4) {
    padding: 180px 22px 26px !important;
    background:
      url("/theme-assets/premium-hero-card-4.webp") no-repeat center top / 100% 160px,
      var(--bg) !important;
  }
  :root main:not(:has(> h1)) > div:has(> div)::before,
  :root main:not(:has(> h1)) > div:has(> div)::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}


/* premium-upgrade v4 */
/* premium-upgrade v4 — surgical bundle. Applied 2026-08-30.
   Fixes: M10 CTA / M11 dinkus leak / M4 heights / M9 typography / M5 frames.
   Kills v2 "LATEST" label (proven counterproductive from v2 diagnosis). */

/* ── Kill v2 counterproductive homepage label ── */
:root main:not(:has(> h1))::before { content: none !important; }

/* ── M10: affiliate CTA visibility on article body ── */
:root main:has(> h1) a[href^="/try/"],
:root main:has(> h1) a[href^="/ref/"],
:root main:has(> h1) a[href^="/go/"],
:root main:has(> h1) a[href^="/out/"],
:root main:has(> h1) a[href^="/check/"],
:root main:has(> h1) a[href^="/view/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
}

/* ── M11: prevent dinkus leaking onto article page's first h2 ── */
:root main:has(> h1) > article > h2:first-of-type::before {
  content: none !important;
}

/* ── M4: force equal-height cards via grid stretch + card fill ── */
:root main:not(:has(> h1)) > div:has(> div) {
  align-items: stretch !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
:root main:not(:has(> h1)) > div > article {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
/* also for flat-divs family */
:root main:not(:has(> h1)) > div {
  height: 100% !important;
}

/* ── M9: cap small-title weight so Bebas/Anton counters don't fill in ── */
:root main:not(:has(> h1)) > div > div > h2,
:root main:not(:has(> h1)) > div > div > h2 a,
:root main:not(:has(> h1)) > section > ul > li > a,
:root main:not(:has(> h1)) > div > p > a {
  font-weight: 500 !important;
}

/* ── M5: universal soft frame fallback for card-like elements ── */
:root main:not(:has(> h1)) > div > div,
:root main:not(:has(> h1)) > div > article,
:root main:not(:has(> h1)) > article {
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05) !important;
}


/* premium-upgrade v5 */
/* premium-upgrade v5 — big M2 band + wider M10 CTA net + M8 breathing. 2026-08-31. */

/* ── M2: PROMINENT full-row label, not the small word v2 tried ── */
:root main:not(:has(> h1))::before {
  content: "◆ LATEST FEATURES ◆" !important;
  display: block !important;
  font-family: var(--fh, "PT Sans"), Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 16px 24px 20px !important;
  margin: 0 0 40px !important;
  border-top: 3px solid var(--primary, #333) !important;
  border-bottom: 1px solid var(--border, #ccc) !important;
  color: var(--primary, #333) !important;
  background: transparent !important;
}

/* ── M10: broaden CTA net (Amazon, aff/ path, [target=_blank] product-shaped) ── */
:root main:has(> h1) a[href^="/try/"],
:root main:has(> h1) a[href^="/ref/"],
:root main:has(> h1) a[href^="/go/"],
:root main:has(> h1) a[href^="/out/"],
:root main:has(> h1) a[href^="/check/"],
:root main:has(> h1) a[href^="/view/"],
:root main:has(> h1) a[href^="/aff/"],
:root main:has(> h1) a[href^="/product/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"],
:root main:has(> h1) a[href*="amazon."],
:root main:has(> h1) a[href*="/track/"],
:root main:has(> h1) a[href*="/link/"],
:root main:has(> h1) a[href*="lstrk.net"],
:root main:has(> h1) a[href*="thrivecart"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 8px 18px !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
  margin: 4px 2px !important;
}

/* ── M8: article body breathing ── */
:root main:has(> h1) > article > p {
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}
:root main:has(> h1) > article > h2 {
  margin-top: 48px !important;
  margin-bottom: 18px !important;
}
:root main:not(:has(> h1)) > div:has(> div) {
  gap: 40px 32px !important;
}

