*{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}
.sc-YWoqPM{max-width:640px;margin:0 auto;padding:0 20px}
.sc-zUNISh{padding:60px 0 40px;border-bottom:1px solid #ccc;margin-bottom:48px}
.sc-zUNISh h1{font-size:24px;font-weight:400;letter-spacing:-.5px}
.sc-zUNISh p{font-size:14px;color:#777;margin-top:6px;font-style:italic}
.sc-zUNISh a{color:#2a2a2a;text-decoration:none;font-size:24px;font-weight:400;letter-spacing:-.5px}
.sc-dbUQEk{padding:20px 0}
.sc-dbUQEk h2{font-size:18px;font-weight:400;margin-bottom:4px}
.sc-dbUQEk h2 a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.sc-dbUQEk h2 a:hover{border-bottom-color:#2a2a2a}
.sc-dbUQEk .sc-gNPQOo{font-size:12px;color:#aaa;margin-bottom:6px}
.sc-dbUQEk p{font-size:14px;color:#666}
.sc-frCikT{color:#888;font-size:13px;text-decoration:none}
.sc-frCikT:hover{color:#2a2a2a}
.sc-OfsyGg{padding-bottom:60px}
.sc-OfsyGg h1{font-size:28px;font-weight:400;margin-bottom:8px}
.sc-OfsyGg .sc-gNPQOo{font-size:12px;color:#aaa;display:block;margin-bottom:32px}
.sc-OfsyGg h2{font-size:21px;font-weight:400;margin:40px 0 12px;border-bottom:1px solid #eee;padding-bottom:6px}
.sc-OfsyGg h3{font-size:17px;margin:28px 0 8px}
.sc-OfsyGg p{margin-bottom:18px;font-size:16px}
.sc-OfsyGg ul,.sc-OfsyGg ol{margin:0 0 18px 20px}
.sc-OfsyGg a{color:#555;border-bottom:1px solid #ccc}
.sc-OfsyGg a:hover{color:#000;border-bottom-color:#000}
.sc-OfsyGg img{max-width:100%;height:auto;margin:24px 0}
.sc-CHaRQo{border-top:1px solid #ddd;padding:20px 0;margin-top:48px;text-align:center;font-size:12px;color:#aaa}
.sc-CHaRQo a{color:#aaa;text-decoration:none}
.sc-mISNPs{padding:0 0 16px;margin-bottom:24px;font-size:12px;color:#aaa;font-style:italic;border-bottom:1px solid #eee}
.sc-lzCqJW{padding:16px 0 0;margin-top:32px;font-size:11px;color:#999;border-top:1px solid #eee}
.sc-dNeUEj{font-size:12px;color:#aaa;margin:-26px 0 32px;font-weight:300}
.sc-PIPdvv{margin:0 auto 32px;max-width:720px}
.sc-WEcKQm{width:100%;height:auto}
.sc-esMmzK{margin-top:40px;padding-top:20px;border-top:1px solid #eee;font-size:14px;color:#888}
.sc-esMmzK em{color:#aaa}
.sc-esMmzK a{color:#555;border-bottom:1px solid #ddd;text-decoration:none}
.sc-NQOuHg{padding:24px 0 0;border-top:1px solid #eee;margin-top:24px}
.sc-NQOuHg p{padding:3px 0;margin:0;font-size:15px}
.sc-NQOuHg a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.sc-NQOuHg a:hover{border-bottom-color:#2a2a2a}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,400;0,600;0,700;1,400&family=Cabin:ital,wght@0,400;0,500;0,600;1,400&display=swap');
:root{--primary:#5C7A65;--accent:#B07D3A;--bg:#F2EFE9;--fg:#2A2421;--border:#C5BFB5;--r:1px;--fb:'Cabin',system-ui,-apple-system,sans-serif;--fh:'Bitter',Georgia,serif}
/* === Custom === */
/* v.6053dc — layout revision */
/*
 * Mon Chien au Quotidien — Journal de Camille, Nantes
 * Éditorial : vert sauge #5C7A65 · ambre #B07D3A · pierre chaude #F2EFE9
 * Trois voix : Fraunces italique (titrage) · Bitter (corps) · sans capitales (méta)
 * Couleur-moment : vert forêt #3D5A47 — 2 emplois (lettrine héro · filet du choix)
 */

/* ── Webfonts en @font-face : un @import concaténé après les règles serait ignoré ── */
@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 400 600;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/fraunces/v38/6NUs8FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChJdt9vIVYX9G37lvd9mv0iQg.woff2) format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bitter/v42/rax8HiqOu8IVPmn7f4xp.woff2) format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/bitter/v42/raxjHiqOu8IVPmn7epZnDMyKBvHf5D6c4Pz-X3By.woff2) format('woff2');
}

/* ── Variables ── */
:root {
  --primary: #5C7A65;
  --accent:  #B07D3A;
  --moment:  #3D5A47;
  --bg:      #F2EFE9;
  --paper:   #FAF6EE;
  --paper2:  #F5EEDF;
  --ink:     #2A2421;
  --ink2:    #4A3728;
  --line:    rgba(42, 36, 33, 0.14);
  --hair:    rgba(42, 36, 33, 0.08);
  --fd:      'Fraunces', Georgia, 'Times New Roman', serif;   /* titrage */
  --fb:      'Bitter', Georgia, 'Iowan Old Style', serif;     /* corps   */
  --fm:      'Helvetica Neue', Arial, system-ui, sans-serif;  /* méta    */
}

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

:root body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
  margin: 0;
  font-size: 17px;
}

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

:root h1, :root h2, :root h3, :root h4 {
  font-family: var(--fd);
  line-height: 1.16;
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 0.5em;
}

:root a { color: var(--primary); text-decoration: none; transition: color .15s ease; }

/* ═══════════════════════ MASTHEAD (les deux gabarits) ═══════════════════════ */
:root header {
  max-width: none;
  padding: 4.4rem 1.5rem 3.4rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(30, 40, 33, 0.58) 0%, rgba(30, 40, 33, 0.82) 100%),
    url("/theme-assets/banner.jpg") center 42% / cover no-repeat;
  border-bottom: 3px solid var(--accent);
  margin-bottom: 3.4rem;
}

:root header h1,
:root header a {
  font-family: var(--fd);
  font-style: italic;
  font-weight: 600;
  font-size: 2.7rem;
  letter-spacing: 0.005em;
  line-height: 1.1;
  color: #FCFAF5;
  display: inline-block;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
:root header a:hover { color: #FCFAF5; opacity: 0.9; }

/* Manifeste : ligne italique signature (page d'accueil uniquement) */
:root header p {
  font-family: var(--fb);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(252, 250, 245, 0.86);
  max-width: 34rem;
  margin: 1.05rem auto 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(176, 125, 58, 0.6);
}

/* ═══════════════════════ CONTENEUR PRINCIPAL ═══════════════════════ */
:root main {
  margin: 0 auto;
  padding: 0 1.4rem 5rem;
}

/* Accueil : grille magazine 2 colonnes */
:root main:not(:has(> article)) {
  max-width: 1060px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.6rem 2.4rem;
  position: relative;
}

/* Article : colonne de lecture étroite */
:root main:has(> article) {
  max-width: 720px;
  display: block;
}

/* ─────────────── ACCUEIL · carte de base (journal 2 col) ─────────────── */
:root main:not(:has(> article)) > div {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(42, 36, 33, 0.05);
  padding: 1.8rem 2rem;
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

:root main:not(:has(> article)) > div > p:first-of-type {
  font-family: var(--fm);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.7rem;
}

:root main:not(:has(> article)) > div > h2 {
  font-family: var(--fd);
  font-style: italic;
  font-size: 1.32rem;
  font-weight: 600;
  line-height: 1.24;
  margin: 0 0 0.55rem;
}
:root main:not(:has(> article)) > div > h2 a { color: var(--ink); }
:root main:not(:has(> article)) > div > h2 a:hover { color: var(--primary); }

:root main:not(:has(> article)) > div > h2 + p {
  font-family: var(--fb);
  font-size: 0.98rem;
  line-height: 1.6;
  color: #574c44;
  max-width: 64ch;
  margin: 0 0 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

:root main:not(:has(> article)) > div > a:last-child {
  font-family: var(--fm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--accent);
  margin-top: auto;
  align-self: flex-start;
  border-bottom: 1.5px solid rgba(176, 125, 58, 0.5);
  padding-bottom: 2px;
}
:root main:not(:has(> article)) > div > a:last-child:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* ─────────────── LE HÉRO (première entrée, pleine largeur) ─────────────── */
:root main:not(:has(> article)) > div:first-of-type {
  grid-column: 1 / -1;
  background: var(--paper2);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 2.6rem 2.8rem 2.8rem;
  box-shadow: 0 2px 10px rgba(42, 36, 33, 0.07);
}
:root main:not(:has(> article)) > div:first-of-type::before {
  content: "LE DERNIER RÉCIT · JOURNAL DE NANTES";
  display: block;
  font-family: var(--fm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  padding-bottom: 0.9rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
}
/* Byline devant la date */
:root main:not(:has(> article)) > div:first-of-type > p:first-of-type::before {
  content: "Par Camille  ·  ";
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.02em;
  color: var(--primary);
}
:root main:not(:has(> article)) > div:first-of-type > h2 {
  font-size: 2.5rem;
  line-height: 1.1;
  margin-bottom: 0.65rem;
}
:root main:not(:has(> article)) > div:first-of-type > h2 + p {
  font-size: 1.16rem;
  line-height: 1.62;
  color: #4c423b;
  -webkit-line-clamp: 5;
  max-width: 60ch;
  margin-bottom: 1.5rem;
}
/* Lettrine — couleur-moment (emploi 1/2) */
:root main:not(:has(> article)) > div:first-of-type > h2 + p::first-letter {
  font-family: var(--fd);
  font-style: italic;
  font-size: 3.6rem;
  line-height: 0.7;
  float: left;
  margin: 0.08em 0.12em 0 0;
  color: var(--moment);
  font-weight: 600;
}
/* CTA héro — la touche ambre franche (emploi appuyé) */
:root main:not(:has(> article)) > div:first-of-type > a:last-child {
  background: var(--accent);
  color: #FCFAF5;
  border: 0;
  border-radius: 4px;
  padding: 0.72em 1.5em;
  font-size: 0.74rem;
  letter-spacing: 0.14em;
}
:root main:not(:has(> article)) > div:first-of-type > a:last-child:hover {
  background: var(--ink2);
  color: #FCFAF5;
}

/* ─────────────── LE CHOIX DE CAMILLE (2e temps fort, pleine largeur) ─────────────── */
:root main:not(:has(> article)) > div:nth-of-type(2) {
  grid-column: 1 / -1;
  background: linear-gradient(180deg, rgba(61, 90, 71, 0.07), rgba(61, 90, 71, 0.02));
  border: 1px solid rgba(61, 90, 71, 0.24);
  border-left: 5px solid var(--moment);
  border-radius: 10px;
  padding: 2rem 2.3rem 2.1rem;
}
:root main:not(:has(> article)) > div:nth-of-type(2)::before {
  content: "À LIRE ENSUITE — LE CHOIX DE CAMILLE";
  display: block;
  font-family: var(--fm);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--moment);
  margin-bottom: 1rem;
}
:root main:not(:has(> article)) > div:nth-of-type(2) > h2 { font-size: 1.6rem; }
:root main:not(:has(> article)) > div:nth-of-type(2) > h2 + p { -webkit-line-clamp: 2; font-size: 1.02rem; }

/* ─────────────── STRIP 1 + entrée-tête du JOURNAL (pleine largeur) ─────────────── */
:root main:not(:has(> article)) > div:nth-of-type(3) {
  grid-column: 1 / -1;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: calc(206px + 2.6rem) 0.2rem 0;
}
/* Bande photo « CI-DESSOUS » : rupture entre le choix et le journal */
:root main:not(:has(> article)) > div:nth-of-type(3)::before {
  content: "CI-DESSOUS";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 206px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background:
    linear-gradient(rgba(20, 24, 28, 0.55), rgba(20, 24, 28, 0.25)),
    url("/theme-assets/feature-photo.jpg") center 30% / cover no-repeat;
  font-family: var(--fm);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #FCFAF5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
/* Libellé « LE JOURNAL » fusionné à la date de l'entrée-tête */
:root main:not(:has(> article)) > div:nth-of-type(3) > p:first-of-type::before {
  content: "LE JOURNAL — DANS L'ORDRE D'ÉCRITURE\A";
  white-space: pre;
  display: block;
  color: var(--primary);
  letter-spacing: 0.2em;
  margin-bottom: 0.5rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}
:root main:not(:has(> article)) > div:nth-of-type(3) > h2 { font-size: 1.5rem; }

/* ─────────────── STRIP 2 + queue compacte (index, pleine largeur) ─────────────── */
:root main:not(:has(> article)) > div:not(:has(> h2)) {
  grid-column: 1 / -1;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(42, 36, 33, 0.05);
  padding: calc(210px + 2.4rem) 2rem 2.2rem;
  position: relative;
}
:root main:not(:has(> article)) > div:not(:has(> h2))::before {
  content: "VOIR TOUT";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px 10px 0 0;
  background:
    linear-gradient(rgba(20, 24, 28, 0.55), rgba(20, 24, 28, 0.25)),
    url("/theme-assets/feature-photo.jpg") center 70% / cover no-repeat;
  font-family: var(--fm);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: #FCFAF5;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}
:root main:not(:has(> article)) > div:not(:has(> h2)) > p {
  columns: 2;
  column-gap: 2.4rem;
  margin: 0;
}
:root main:not(:has(> article)) > div:not(:has(> h2)) > p > a {
  display: block;
  font-family: var(--fb);
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--ink);
  padding: 0.55rem 0;
  border-bottom: 1px dotted rgba(42, 36, 33, 0.16);
  break-inside: avoid;
}
:root main:not(:has(> article)) > div:not(:has(> h2)) > p > a:hover { color: var(--accent); }

/* ═══════════════════════ PAGE ARTICLE ═══════════════════════ */
:root main:has(> article) > h1 {
  font-family: var(--fd);
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.12;
  color: var(--ink);
  margin: 0.4rem 0 0.9rem;
}
:root main:has(> article) > span {
  display: block;
  font-family: var(--fm);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2.4rem;
}

:root main > article { font-family: var(--fb); font-size: 1.13rem; line-height: 1.8; }

/* Photo de tête + images en lecture : cadre éditorial */
:root main > article > img,
:root main > article img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 2rem auto;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: 0 3px 14px rgba(42, 36, 33, 0.1);
}
:root main > article > img:first-of-type { margin-top: 0.5rem; }

:root main > article > p { margin: 0 0 1.25em; }

/* Sous-titres avec dinkus (signature) */
:root main > article > h2 {
  font-family: var(--fd);
  font-style: italic;
  font-size: 1.62rem;
  font-weight: 600;
  color: var(--ink2);
  border: 0;
  padding: 0;
  margin: 2.4em 0 0.6em;
  text-align: center;
}
:root main > article > h2::before {
  content: "✦ ✦ ✦";
  display: block;
  font-family: var(--fm);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.5em;
  color: var(--accent);
  margin: 0 0 1.1rem;
  text-indent: 0.5em;
}
:root main > article > h3 {
  font-family: var(--fd);
  font-style: italic;
  font-size: 1.24rem;
  font-weight: 600;
  color: var(--ink2);
  margin: 1.8em 0 0.4em;
}

:root main > article > ul,
:root main > article > ol { margin: 0 0 1.25em 1.4em; }
:root main > article > li,
:root main > article li { margin-bottom: 0.5em; line-height: 1.72; }

/* Citations : guillemet suspendu */
:root main > article > blockquote {
  position: relative;
  font-family: var(--fd);
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--ink2);
  border: 0;
  border-left: 3px solid var(--accent);
  margin: 1.8em 0;
  padding: 0.2em 0 0.2em 2.4rem;
}
:root main > article > blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.55rem;
  top: 0.28em;
  font-family: var(--fd);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(176, 125, 58, 0.55);
}

/* Liens de corps (internes) */
:root main:has(> article) > article > p a,
:root main:has(> article) > article > li a,
:root main:has(> article) > article > ul a,
:root main:has(> article) > article > ol a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(92, 122, 101, 0.4);
  text-underline-offset: 2px;
}
:root main:has(> article) > article > p a:hover { color: var(--accent); }

/* Liens affiliés /r/ : surlignage chaud inline (jamais un pavé en pleine phrase) */
:root main:has(> article) > article > p a[href^="/r/"],
:root main:has(> article) > article > li a[href^="/r/"],
:root main:has(> article) > article > ul a[href^="/r/"],
:root main:has(> article) > article > ol a[href^="/r/"] {
  background: rgba(176, 125, 58, 0.16);
  color: #6f4c1c;
  font-weight: 700;
  text-decoration: none;
  padding: 0.06em 0.4em;
  border-radius: 3px;
  border-bottom: 2px solid var(--accent);
  box-shadow: 0 1px 0 rgba(176, 125, 58, 0.3);
}
:root main:has(> article) > article > p a[href^="/r/"]:hover,
:root main:has(> article) > article > li a[href^="/r/"]:hover {
  background: rgba(176, 125, 58, 0.28);
  color: #55370f;
}

/* Bloc mentions en fin d'article */
:root main > article > div {
  margin-top: 2.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-family: var(--fm);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #7a6e63;
}

/* Articles liés */
:root main:has(> article) > nav {
  margin-top: 3rem;
  padding: 1.6rem 1.8rem;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 10px;
  font-size: 0.98rem;
}
:root main:has(> article) > nav p { margin: 0.2em 0; }
:root main:has(> article) > nav em {
  font-family: var(--fm);
  font-style: normal;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 700;
}
:root main:has(> article) > nav a {
  color: var(--primary);
  border-bottom: 1px solid rgba(92, 122, 101, 0.3);
}
:root main:has(> article) > nav a:hover { color: var(--accent); }

/* ═══════════════════════ PIED DE PAGE ═══════════════════════ */
:root footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem 3rem;
  margin-top: 3.5rem;
  text-align: center;
  font-family: var(--fm);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: #7a6e63;
}
:root footer a { color: var(--ink2); border-bottom: 1px solid var(--line); }
:root footer a:hover { color: var(--primary); }

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 720px) {
  :root main:not(:has(> article)) {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }
  :root header { padding: 3rem 1.1rem 2.4rem; }
  :root header h1, :root header a { font-size: 2rem; }

  :root main:not(:has(> article)) > div:first-of-type { padding: 1.8rem 1.5rem 2rem; }
  :root main:not(:has(> article)) > div:first-of-type > h2 { font-size: 1.8rem; }
  :root main:not(:has(> article)) > div:first-of-type > h2 + p { font-size: 1.06rem; }

  :root main:not(:has(> article)) > div:nth-of-type(3) { padding-top: calc(150px + 2rem); }
  :root main:not(:has(> article)) > div:nth-of-type(3)::before { height: 150px; letter-spacing: 0.26em; }
  :root main:not(:has(> article)) > div:not(:has(> h2)) { padding-top: calc(150px + 2rem); }
  :root main:not(:has(> article)) > div:not(:has(> h2))::before { height: 150px; letter-spacing: 0.26em; }
  /* tablet: archive index drops to 2 columns (further to 1 col at <=640) */
  :root main:not(:has(> article)) > div:not(:has(> h2)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  :root main:has(> article) > h1 { font-size: 1.9rem; }
  :root main > article { font-size: 1.06rem; }
  :root main > article > h2 { font-size: 1.4rem; }
}


/* 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 (rev2): M2 — section labels render as full-width bands ABOVE
   their card/row with a hairline underline separator, never tucked inside the
   frame. `bottom:100%` floats each label in the reserved margin above its card
   regardless of the premium photo-header height, so the label reads as the row
   header (not as a footer of the card above it). The "LE JOURNAL" label — which
   previously lived inline inside card 3's meta <p>, cramped under the CI-DESSOUS
   strip — is promoted to the same band treatment above card 3. */
:root main:not(:has(> article)) > div:first-of-type,
:root main:not(:has(> article)) > div:nth-of-type(2),
:root main:not(:has(> article)) > div:nth-of-type(3) {
  margin-top: 3.9rem;
  overflow: visible;
}

:root main:not(:has(> article)) > div:first-of-type::before,
:root main:not(:has(> article)) > div:nth-of-type(2)::before,
:root main:not(:has(> article)) > div:nth-of-type(3) > p:first-of-type::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  top: auto;
  height: auto;
  display: block;
  margin: 0 0 0.9rem;
  padding: 0 0 0.6rem;
  border: 0;
  border-bottom: 2px solid var(--line);
  border-radius: 0;
  background: none;
  box-shadow: none;
  white-space: normal;
  text-align: left;
  font-family: var(--fm);
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

:root main:not(:has(> article)) > div:first-of-type::before {
  color: var(--accent);
}

:root main:not(:has(> article)) > div:nth-of-type(2)::before {
  color: var(--moment);
  letter-spacing: 0.18em;
}

:root main:not(:has(> article)) > div:nth-of-type(3) > p:first-of-type::before {
  content: "LE JOURNAL — DANS L'ORDRE D'ÉCRITURE";
  color: var(--primary);
}

/* refix iter1 (rev2): M7 compact archive = full-width 3-col magazine index.
   The tail <div> holds 16 sibling <p><a>…</a></p> rows. The GRID must live on
   the container so the <p> cells fill all three columns; the previous attempt
   put the grid on each <p>, leaving every single link alone in column 1 with
   the right two-thirds empty (the "narrow left column" bug the reviewer saw). */
:root main:not(:has(> article)) > div:not(:has(> h2)) {
  grid-column: 1 / -1;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px 16px;
}

:root main:not(:has(> article)) > div:not(:has(> h2)) > p {
  display: flex;
  margin: 0;
  columns: initial;
  column-gap: normal;
  break-inside: avoid;
}

:root main:not(:has(> article)) > div:not(:has(> h2)) > p > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 74px;
  padding: 1.05rem 1.15rem;
  background: var(--paper2);
  border: 1px solid var(--hair);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(42, 36, 33, 0.05);
  color: var(--ink);
  font-family: var(--fb);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  /* first tail <p> inherits the base kicker rule's uppercase/tracking — reset
     so every index cell shares one title voice (M7 design-parity) */
  text-transform: none;
  letter-spacing: normal;
  break-inside: avoid;
  transition: color .15s ease, border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}

:root main:not(:has(> article)) > div:not(:has(> h2)) > p > a:hover {
  background: var(--paper);
  border-color: rgba(92, 122, 101, 0.28);
  box-shadow: 0 3px 10px rgba(42, 36, 33, 0.08);
  color: var(--primary);
  transform: translateY(-1px);
}

/* refix iter1: S6 article meta personality anchor */
:root main:has(> article) > span::before {
  content: "Par Camille · Nantes · 6 min de lecture · ";
}

@media (max-width: 640px) {
  :root main:not(:has(> article)) > div:first-of-type,
  :root main:not(:has(> article)) > div:nth-of-type(2),
  :root main:not(:has(> article)) > div:nth-of-type(3) {
    margin-top: 3.5rem;
  }

  /* keep bottom:100% / top:auto from the base band rule — only tune type here */
  :root main:not(:has(> article)) > div:first-of-type::before,
  :root main:not(:has(> article)) > div:nth-of-type(2)::before,
  :root main:not(:has(> article)) > div:nth-of-type(3) > p:first-of-type::before {
    font-size: 0.66rem;
    line-height: 1.35;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
  }

  /* archive index → single column on phones */
  :root main:not(:has(> article)) > div:not(:has(> h2)) {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  :root main:not(:has(> article)) > div:not(:has(> h2)) > p > a {
    min-height: 0;
    padding: 1rem 1.05rem;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Cup-of-Jo-personal overlay=40% grid=asymmetric 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;
}

