*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Palatino Linotype',Palatino,'Book Antiqua',serif;line-height:1.9;color:#2a2a2a;background:#fefefe}
.css-0gzatl2{max-width:640px;margin:0 auto;padding:0 20px}
.css-wpazup2{padding:60px 0 40px;border-bottom:1px solid #ccc;margin-bottom:48px}
.css-wpazup2 h1{font-size:24px;font-weight:400;letter-spacing:-.5px}
.css-wpazup2 p{font-size:14px;color:#777;margin-top:6px;font-style:italic}
.css-wpazup2 a{color:#2a2a2a;text-decoration:none;font-size:24px;font-weight:400;letter-spacing:-.5px}
.css-xojbbpw{padding:20px 0}
.css-xojbbpw h2{font-size:18px;font-weight:400;margin-bottom:4px}
.css-xojbbpw h2 a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.css-xojbbpw h2 a:hover{border-bottom-color:#2a2a2a}
.css-xojbbpw .css-8w7fmuo{font-size:12px;color:#aaa;margin-bottom:6px}
.css-xojbbpw p{font-size:14px;color:#666}
.css-ighg2q0{color:#888;font-size:13px;text-decoration:none}
.css-ighg2q0:hover{color:#2a2a2a}
.css-aghkbnf{padding-bottom:60px}
.css-aghkbnf h1{font-size:28px;font-weight:400;margin-bottom:8px}
.css-aghkbnf .css-8w7fmuo{font-size:12px;color:#aaa;display:block;margin-bottom:32px}
.css-aghkbnf h2{font-size:21px;font-weight:400;margin:40px 0 12px;border-bottom:1px solid #eee;padding-bottom:6px}
.css-aghkbnf h3{font-size:17px;margin:28px 0 8px}
.css-aghkbnf p{margin-bottom:18px;font-size:16px}
.css-aghkbnf ul,.css-aghkbnf ol{margin:0 0 18px 20px}
.css-aghkbnf a{color:#555;border-bottom:1px solid #ccc}
.css-aghkbnf a:hover{color:#000;border-bottom-color:#000}
.css-aghkbnf img{max-width:100%;height:auto;margin:24px 0}
.css-qn8ph9y{border-top:1px solid #ddd;padding:20px 0;margin-top:48px;text-align:center;font-size:12px;color:#aaa}
.css-qn8ph9y a{color:#aaa;text-decoration:none}
.css-cz8poya{padding:0 0 16px;margin-bottom:24px;font-size:12px;color:#aaa;font-style:italic;border-bottom:1px solid #eee}
.css-7i1bcj9{padding:16px 0 0;margin-top:32px;font-size:11px;color:#999;border-top:1px solid #eee}
.css-hjkdt1g{font-size:12px;color:#aaa;margin:-26px 0 32px;font-weight:300}
.css-azmlmfr{margin:0 auto 32px;max-width:720px}
.css-ws5kjwt{width:100%;height:auto}
.css-bfgabzy{margin-top:40px;padding-top:20px;border-top:1px solid #eee;font-size:14px;color:#888}
.css-bfgabzy em{color:#aaa}
.css-bfgabzy a{color:#555;border-bottom:1px solid #ddd;text-decoration:none}
.css-uvkngxo{padding:24px 0 0;border-top:1px solid #eee;margin-top:24px}
.css-uvkngxo p{padding:3px 0;margin:0;font-size:15px}
.css-uvkngxo a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.css-uvkngxo a:hover{border-bottom-color:#2a2a2a}
/* === Theme === */
:root{--primary:#45362A;--accent:#C0612B;--rust:#B34F2A;--ink:#3A2C20;--bg:#F5F1EB;--fg:#33281E;--border:#D9CFC0;--r:3px;--fb:'Literata';--fh:'Barlow Condensed'}
/* === Custom === */
/* Design reference: 1970s Hachette Pratique spiral-bound household encyclopedie volumes — muted slate-blue section headers, utilitarian condensed sans headings, cool grey stock, no decorative flourish */

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

:root {
  --primary: #45362A;
  --accent: #C0612B;
  --moment: #7A5A3C;
  --ink: #3A2C20;
  --bg: #F5F1EB;
  --fg: #33281E;
  --border: #D9CFC0;
  --paper: #faf5ec;
  --r: 3px;
  --fb: "Literata", Palatino, serif;
  --fh: "Barlow Condensed", Arial Narrow, sans-serif;
  --max-width: 1080px;
  --spacing-sm: 0.75rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --line-body: 1.7;
}

/* ── Box model ─────────────────────────────────────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Body ──────────────────────────────────────────── */
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--fb);
  font-size: 1rem;
  line-height: var(--line-body);
  -webkit-font-smoothing: antialiased;
}

/* ── Headings ──────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fh);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  color: var(--primary);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.9rem; font-weight: 600; }
h3 { font-size: 1.55rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 400; }
h6 { font-size: 1rem; font-weight: 400; }

/* ── Prose elements ────────────────────────────────── */
p {
  margin-bottom: 1.15rem;
  max-width: 70ch;
}

ul,
ol {
  padding-left: 1.4rem;
  margin-bottom: 1.15rem;
}

li {
  margin-bottom: 0.35rem;
}

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

a:hover {
  color: var(--primary);
}

blockquote {
  border-left: 3px solid var(--primary);
  margin: var(--spacing-md) 0;
  padding: var(--spacing-sm) var(--spacing-md);
  background: #e8ecf0;
  color: var(--primary);
  font-style: italic;
  border-radius: 0 var(--r) var(--r) 0;
}

blockquote p {
  margin-bottom: 0;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--spacing-lg) 0;
}

::selection {
  background: var(--primary);
  color: #fff;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r);
}

/* ── Site header ───────────────────────────────────── */
.site-header,
header {
  background: var(--primary);
  border-bottom: 3px solid var(--accent);
  padding: var(--spacing-sm) var(--spacing-md);
}

.site-header a,
header a {
  color: #fff;
  text-decoration: none;
}

.site-header a:hover,
header a:hover {
  color: #C8D2DA;
}

/* ── Site nav ──────────────────────────────────────── */
.site-nav,
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-nav .site-title,
nav .site-title {
  font-family: var(--fh);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: var(--spacing-md);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  font-family: var(--fh);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav-links a:hover {
  color: #fff;
  border-bottom-color: var(--accent);
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  border-bottom: 1px solid var(--border);
  padding: var(--spacing-lg) var(--spacing-md);
  background: var(--bg);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Hero title and subtitle ───────────────────────── */
.hero-title {
  font-family: var(--fh);
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.02em;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-family: var(--fb);
  font-size: 1.1rem;
  color: #5a6a78;
  max-width: 56ch;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── Articles grid ─────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--spacing-md);
  max-width: var(--max-width);
  margin: var(--spacing-lg) auto;
  padding: 0 var(--spacing-md);
}

/* ── Article card ──────────────────────────────────── */
.article-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.15s ease;
}

.article-card:hover {
  border-color: var(--primary);
}

/* ── Article card elements ─────────────────────────── */
.article-card-title {
  font-family: var(--fh);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin: 0;
}

.article-card-title a {
  color: inherit;
  text-decoration: none;
}

.article-card-title a:hover {
  color: var(--accent);
}

.article-card-excerpt {
  font-family: var(--fb);
  font-size: 0.92rem;
  color: #4a5564;
  line-height: 1.6;
  margin: 0;
}

.article-card-meta {
  font-family: var(--fh);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #7e8fa0;
  margin: 0;
}

/* ── Post layout ───────────────────────────────────── */
.post-header {
  border-bottom: 2px solid var(--border);
  padding: var(--spacing-lg) var(--spacing-md) var(--spacing-md);
  max-width: var(--max-width);
  margin: 0 auto;
}

.post-title {
  font-family: var(--fh);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.015em;
  line-height: 1.12;
  margin-top: 0;
  margin-bottom: 0.6rem;
}

.post-meta {
  font-family: var(--fh);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7e8fa0;
  margin-bottom: 0;
}

.post-content,
.post-body {
  max-width: var(--max-width);
  margin: var(--spacing-lg) auto;
  padding: 0 var(--spacing-md);
}

.post-content h2,
.post-body h2 {
  font-size: 1.75rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.3rem;
}

.post-content h3,
.post-body h3 {
  font-size: 1.35rem;
  color: var(--accent);
}

.post-content a,
.post-body a {
  color: var(--accent);
}

.post-content a:hover,
.post-body a:hover {
  color: var(--primary);
}

/* ── Tag ───────────────────────────────────────────── */
.tag {
  display: inline-block;
  font-family: var(--fh);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--primary);
  background: #e2e8ee;
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2px 7px;
  text-decoration: none;
}

.tag:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* ── Site footer ───────────────────────────────────── */
.site-footer,
footer {
  background: var(--primary);
  border-top: 3px solid var(--accent);
  padding: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.site-footer p,
footer p {
  font-family: var(--fh);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
  max-width: none;
}

.site-footer a,
footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.site-footer a:hover,
footer a:hover {
  color: #fff;
  text-decoration: underline;
}

/* v.e42ba6 — layout revision */

/* ============================================================
   CARNET RANGEMENT — editorial signature pass
   Voice: one serif (Literata) for display + body, one condensed
   sans (Barlow Condensed) for kickers / meta / labels only.
   Structural selectors only (deploy obfuscates class names).
   The :not(#z) hack lifts specificity above template single-class
   rules without !important. Moment colour --moment used twice:
   masthead manifesto rule + featured drop cap.
   ============================================================ */

/* ---------- MASTHEAD: photo + serif-italic wordmark ---------- */
header {
  background:
    linear-gradient(rgba(46,34,24,.60), rgba(46,34,24,.80)),
    url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  background-position: center 42%;
  border-bottom: 3px solid var(--accent);
  text-align: center;
  padding: 1.5rem;
}

/* homepage: tall masthead (has an <h1>) */
header:has(h1) {
  padding: 4.6rem 1.5rem 4rem;
}
header:has(h1)::before {
  content: "CARNET · NANTES · DÉSENCOMBREMENT";
  display: block;
  font-family: var(--fh);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(245,238,225,.82);
  margin-bottom: 1.1rem;
}
header:has(h1) h1 {
  font-family: var(--fb);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0.005em;
  color: #F7F1E6;
  margin: 0 auto 0.5rem;
  text-shadow: 0 2px 16px rgba(18,12,6,.55);
}
header:has(h1) p {
  font-family: var(--fb);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.6;
  color: #F1E8D8;
  max-width: 44ch;
  margin: 1.2rem auto 0;
  padding-top: 1.1rem;
  border-top: 2px solid var(--moment);
  text-shadow: 0 1px 8px rgba(18,12,6,.6);
}
/* article: compact bar wordmark (anchor only, no h1) */
header a {
  font-family: var(--fb);
  font-style: italic;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
  color: #F7F1E6;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(18,12,6,.6);
}
header a:hover { color: #fff; }

/* ---------- HOMEPAGE FEED (main is the grid) ---------- */
main:not(:has(> article)):not(#z) {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.25rem;
  align-items: stretch;
  max-width: 1040px;
  margin: 4.5rem auto 3rem;
  padding: 0 1.5rem;
}

/* Section label — full-width first grid item (RULE B) */
main:not(:has(> article))::before {
  content: "LE CARNET — DANS L'ORDRE D'ÉCRITURE";
  grid-column: 1 / -1;
  font-family: var(--fh);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--primary);
  padding-bottom: 0.7rem;
  margin-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

/* Base card */
main:not(:has(> article)) > div:not(#z) {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(60,40,20,.06);
  padding: 1.9rem 2.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
main:not(:has(> article)) > div:not(#z):hover {
  box-shadow: 0 6px 20px rgba(60,40,20,.12);
  transform: translateY(-2px);
  border-color: rgba(122,90,60,.42);
}

/* card date / meta line */
main:not(:has(> article)) > div > p:first-child:not(#z) {
  font-family: var(--fh);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8a7a68;
  margin: 0;
}
/* card title — serif display voice */
main:not(:has(> article)) > div h2 { margin: 0; }
main:not(:has(> article)) > div h2 a {
  font-family: var(--fb);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.22;
  color: var(--primary);
  text-decoration: none;
}
main:not(:has(> article)) > div h2 a:hover { color: var(--accent); }

/* card excerpt — clamped to 3 lines for even heights (RULE D) */
main:not(:has(> article)) > div > p:nth-of-type(2) {
  font-family: var(--fb);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  max-width: 62ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* card "read more" → localised, pinned to bottom */
main:not(:has(> article)) > div > a:not(#z) {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--fh);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-decoration: none;
  font-size: 0;
}
main:not(:has(> article)) > div > a:not(#z)::after {
  content: "lire la suite →";
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: currentColor;
}

/* ---------- FEATURED HERO CARD (div 1, full width) ---------- */
main:not(:has(> article)) > div:first-of-type:not(#z) {
  grid-column: 1 / -1;
  padding: 3rem 3rem 2.75rem;
  border-radius: 10px;
  border-color: rgba(122,90,60,.32);
  box-shadow: 0 6px 26px rgba(60,40,20,.10);
  gap: 0.85rem;
}
main:not(:has(> article)) > div:first-of-type:not(#z)::before {
  content: "DERNIÈRE ENTRÉE";
  order: -1;
  font-family: var(--fh);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--accent);
}
main:not(:has(> article)) > div:first-of-type > p:first-child:not(#z)::after {
  content: " · Camille Brunet · Lecture 6 min";
  color: #8a7a68;
}
main:not(:has(> article)) > div:first-of-type h2 a {
  font-weight: 700;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.12;
}
main:not(:has(> article)) > div:first-of-type > p:nth-of-type(2) {
  font-size: 1.28rem;
  line-height: 1.55;
  max-width: 60ch;
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}
main:not(:has(> article)) > div:first-of-type > p:nth-of-type(2)::first-letter {
  float: left;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 3.3em;
  line-height: 0.82;
  margin: 0.04em 0.12em 0 0;
  color: var(--moment);
}
/* featured CTA → outlined pill */
main:not(:has(> article)) > div:first-of-type > a:not(#z) {
  border: 1.5px solid var(--accent);
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  transition: background .16s ease, color .16s ease;
}
main:not(:has(> article)) > div:first-of-type > a:not(#z):hover {
  background: var(--accent);
  color: var(--paper);
}

/* ---------- SECOND MOMENT: STRIP 1 + journal lead (div 4) ---------- */
main:not(:has(> article)) > div:nth-of-type(4):not(#z) {
  grid-column: 1 / -1;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 18px rgba(60,40,20,.09);
}
main:not(:has(> article)) > div:nth-of-type(4):not(#z)::before {
  content: "CI-DESSOUS";
  order: -1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
    url("/theme-assets/chapter-cover.jpg");
  background-size: cover;
  background-position: center 30%;
  font-family: var(--fh);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #F5EEE1;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
main:not(:has(> article)) > div:nth-of-type(4):not(#z) > * {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}
main:not(:has(> article)) > div:nth-of-type(4):not(#z) > p:first-child { padding-top: 1.75rem; }
main:not(:has(> article)) > div:nth-of-type(4):not(#z) > a { padding-bottom: 2rem; }
main:not(:has(> article)) > div:nth-of-type(4) h2 a { font-size: 1.7rem; }

/* ---------- STRIP 2: closing archive band (last grid item) ---------- */
main:not(:has(> article))::after {
  content: "LES ARCHIVES";
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  margin-top: 1.5rem;
  border-radius: 10px;
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
    url("/theme-assets/chapter-cover.jpg");
  background-size: cover;
  background-position: center 70%;
  font-family: var(--fh);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #F5EEE1;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}

/* ---------- ARTICLE PAGE ---------- */
main:has(> article):not(#z) {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}
main:has(> article) > h1 {
  font-family: var(--fb);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.12;
  color: var(--primary);
  margin: 2.6rem 0 0.5rem;
}
main:has(> article) > span:not(#z) {
  display: block;
  font-family: var(--fh);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a7a68;
  margin-bottom: 2rem;
}
main:has(> article) article img {
  width: 100%;
  border-radius: 8px;
  margin: 2rem 0;
}
main:has(> article) article p {
  font-family: var(--fb);
  font-size: 1.15rem;
  line-height: 1.78;
  color: var(--fg);
  max-width: none;
  margin-bottom: 1.4rem;
}
/* transparency / disclosure note = 2nd paragraph (RULE-safe: nth-of-type) */
main:has(> article) article > p:nth-of-type(2) {
  border-left: 3px solid var(--border);
  background: #efe8d8;
  border-radius: 0 6px 6px 0;
  padding: 0.9rem 1.2rem;
  margin: 1.6rem 0 2rem;
  color: #6b5d4c;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.7;
}
/* h2 sub-headings + dinkus divider */
main:has(> article) article h2 {
  font-family: var(--fb);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--primary);
  margin: 2.6rem 0 0.8rem;
}
main:has(> article) article h2::before {
  content: "✷ ✷ ✷";
  display: block;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: rgba(192,97,43,.55);
  margin: 0 auto 1.4rem;
}
main:has(> article) article blockquote {
  border-left: 3px solid var(--accent);
  background: #f1e7d6;
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  font-family: var(--fb);
  font-style: italic;
  margin: 1.8rem 0;
  padding: 1rem 1.4rem;
}

/* body links vs affiliate CTA pills (RULE J: CTA out-specifies body) */
main:has(> article) article a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
main:has(> article) article a:hover { color: var(--primary); }

main:has(> article) article p a[href^="/find/"],
main:has(> article) article li a[href^="/find/"] {
  display: inline-block;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--fh);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 0.14em 0.6em;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(60,40,20,.2);
  transition: background .15s ease;
}
main:has(> article) article p a[href^="/find/"]:hover,
main:has(> article) article li a[href^="/find/"]:hover {
  background: var(--primary);
  color: var(--paper);
}
/* primary money CTA slightly bolder */
main:has(> article) article p a[href^="/find/main"] {
  padding: 0.24em 0.8em;
  font-weight: 700;
}

/* related-posts nav → warm chip row */
main:has(> article) nav {
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 2px solid var(--border);
}
main:has(> article) nav p { font-family: var(--fb); max-width: none; margin: 0; }
main:has(> article) nav em {
  display: block;
  font-family: var(--fh);
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
main:has(> article) nav a {
  display: inline-block;
  margin: 0 0.4rem 0.6rem 0;
  padding: 0.55rem 1rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--primary);
  font-family: var(--fb);
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(60,40,20,.05);
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
main:has(> article) nav a:hover {
  border-color: var(--accent);
  box-shadow: 0 3px 10px rgba(60,40,20,.1);
  color: var(--accent);
}

/* ---------- FOOTER: warm brown, palette-aligned (was navy) ---------- */
footer:not(#z) {
  background: var(--primary);
  border-top: 3px solid var(--accent);
  text-align: center;
  padding: 2rem 1.5rem;
  margin-top: 4rem;
}
footer small {
  font-family: var(--fh);
  letter-spacing: 0.08em;
  color: rgba(245,238,225,.82);
}
footer a { color: rgba(245,238,225,.92); text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }

/* ---------- MOBILE ---------- */
@media (max-width: 760px) {
  main:not(:has(> article)):not(#z) {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2.5rem auto 2rem;
  }
  header:has(h1) { padding: 3rem 1.25rem 2.75rem; }
  main:has(> article):not(#z) { padding: 0 1.25rem 3rem; }
  main:has(> article) article p { font-size: 1.08rem; }
  main:not(:has(> article)) > div:first-of-type:not(#z) { padding: 2rem 1.5rem; }
  main:not(:has(> article)) > div:nth-of-type(4):not(#z) > * {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.55rem; }
  h3 { font-size: 1.3rem; }

  .hero-title { font-size: 2.1rem; }
  .post-title { font-size: 1.9rem; }

  .site-nav,
  nav {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--spacing-sm);
  }

  .nav-links {
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }

  .articles-grid {
    grid-template-columns: 1fr;
    padding: 0 var(--spacing-sm);
    margin: var(--spacing-md) auto;
  }

  .hero {
    padding: var(--spacing-md) var(--spacing-sm);
  }

  .post-header {
    padding: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
  }

  .post-content,
  .post-body {
    padding: 0 var(--spacing-sm);
    margin: var(--spacing-md) auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* related-articles-nav-fix v1 */
:root main > nav p,
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
:root main > nav a,
:root main > section a {
  display: inline-block;
  margin: 0 4px;
  padding: 0 2px;
}


/* mobile-overflow-fix v1 */
:root html, :root body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 920px) {
  :root main > * { max-width: 100%; }
  :root main { overflow-x: hidden; }
}


/* mobile-overflow-fix v2 */
@media (max-width: 640px) {
  :root main,
  :root main > article,
  :root main > div,
  :root main > section,
  :root main > nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  :root main > article > *,
  :root main > div > *,
  :root main > section > *,
  :root main > nav > * {
    max-width: 100%;
  }
  :root main h1,
  :root main h2,
  :root main h3,
  :root main h4 {
    overflow-wrap: break-word;
    word-break: normal;
  }
  /* Any 3+ col grid inside main → 1 col on mobile */
  :root main :is(ul, ol, section, div, nav)[style*="grid-template-columns"],
  :root main > section > ul,
  :root main > nav > ul,
  :root main > div > ul {
    grid-template-columns: 1fr !important;
  }
  /* Any CSS multi-column layout → 1 col on mobile */
  :root main :is(ul, ol, section, div, p) {
    columns: 1;
  }
  /* Article body images stay inside viewport */
  :root main img,
  :root main figure {
    max-width: 100%;
    height: auto;
  }
}


/* mobile-padding-fix v1 */
@media (max-width: 640px) {
  :root main {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* refix iter1: masthead full-bleed, second photo strip, archive index */
:root > body > header:has(> h1):not(#z) {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
  background:
    linear-gradient(rgba(46,34,24,.60), rgba(46,34,24,.80)),
    url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  background-position: center 42%;
}

:root > body > header:has(> h1)::before,
:root > body > header:has(> h1) > h1,
:root > body > header:has(> h1) > p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

:root > body > header:has(> h1) + main:not(:has(> h1)):not(#z) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

:root > body > header:has(> h1) + main:not(:has(> h1))::before,
:root > body > header:has(> h1) + main:not(:has(> h1))::after,
:root > body > header:has(> h1) + main:not(:has(> h1)) > div:first-of-type:not(#z),
:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(4):not(#z) {
  grid-column: 1 / -1;
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:not(#z) {
  grid-column: span 3;
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:first-of-type:not(#z),
:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(4):not(#z) {
  grid-column: 1 / -1;
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(4):not(#z)::before,
:root > body > header:has(> h1) + main:not(:has(> h1))::after {
  background:
    linear-gradient(rgba(20,24,28,.64), rgba(20,24,28,.30)),
    url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  color: #F5EEE1;
}

:root > body > header:has(> h1) + main:not(:has(> h1))::after {
  order: 20;
  height: 210px;
  margin-top: 0.75rem;
  background-position: center 68%;
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(4):not(#z)::before {
  background-position: center 32%;
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(n+5):not(#z) {
  order: 30;
  grid-column: span 2;
  min-height: 100%;
  padding: 1.25rem 1.35rem;
  gap: 0.45rem;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(60,40,20,.06);
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(5):last-of-type:not(#z) {
  grid-column: 1 / -1;
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(n+5):not(#z) > p:first-child {
  margin-bottom: 0.35rem;
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(n+5):not(#z) h2 a {
  font-family: var(--fb);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.28;
}

:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(n+5):not(#z) > p:nth-of-type(2),
:root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(n+5):not(#z) > a {
  display: none;
}

:root main > h1 + span:not(#z)::after {
  content: " · Camille Brunet · Nantes · lecture 6 min";
}

@media (max-width: 640px) {
  :root > body > header:has(> h1):not(#z) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  :root > body > header:has(> h1)::before,
  :root > body > header:has(> h1) > h1,
  :root > body > header:has(> h1) > p {
    padding-left: 20px;
    padding-right: 20px;
  }

  :root > body > header:has(> h1) + main:not(:has(> h1)):not(#z) {
    grid-template-columns: 1fr;
  }

  :root > body > header:has(> h1) + main:not(:has(> h1))::after,
  :root > body > header:has(> h1) + main:not(:has(> h1)) > div:not(#z),
  :root > body > header:has(> h1) + main:not(:has(> h1)) > div:nth-of-type(n+5):not(#z) {
    grid-column: 1 / -1;
  }

  :root > body > header:has(> h1) + main:not(:has(> h1))::after {
    height: 180px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Racquet-moody overlay=55% grid=mixed scale=dramatic family=flat-divs */


/* ── 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: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: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: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: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;
}

/* ── flat-divs family: cards 5 & 6 also get photo headers ── */
:root main:not(:has(> h1)) > div:nth-of-type(5) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-strip-1.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(6) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-strip-2.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: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: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: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: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))::before,
  :root main:not(:has(> h1))::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;
}


/* refix iter1: article-page masthead full-bleed (M6) — the article header is the
   anchor-only compact bar (no <h1>), so the homepage full-bleed rule above (which
   targets header:has(> h1)) never reached it. Base theme pins this header to the
   same width-constraining class as <main>, so its hero-masthead photo showed warm
   paper margins on both sides. Escape the column while leaving <main> at its
   reading measure. */
:root > body > header:not(:has(> h1)):not(#z) {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}
@media (max-width: 640px) {
  :root > body > header:not(:has(> h1)):not(#z) {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

