*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.7;color:#111;background:#fff}
.css-yzadib1{max-width:900px;margin:0 auto;padding:0 28px}
.css-1lh0rhy{background:#111;color:#fff;padding:64px 0;margin-bottom:48px}
.css-1lh0rhy h1{font-size:42px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.css-1lh0rhy p{font-size:18px;opacity:.7}
.css-1lh0rhy a{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.css-7oiea9w{padding:0}
.css-xe5eco0{padding:32px 0;border-left:4px solid #111;padding-left:24px;margin-bottom:28px}
.css-xe5eco0 h2{font-size:24px;font-weight:700;margin-bottom:6px}
.css-xe5eco0 h2 a{color:#111;text-decoration:none}
.css-xe5eco0 h2 a:hover{text-decoration:underline}
.css-xe5eco0 .css-fvvb2lu{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;margin-bottom:8px}
.css-xe5eco0 p{font-size:15px;color:#444;margin-bottom:10px}
.css-fa308x9{display:inline-block;background:#111;color:#fff;padding:8px 20px;font-size:13px;font-weight:700;text-decoration:none;text-transform:uppercase;letter-spacing:1px}
.css-fa308x9:hover{background:#333}
.css-kgw1qxf{padding-bottom:60px}
.css-kgw1qxf h1{font-size:38px;font-weight:800;letter-spacing:-1px;margin-bottom:10px}
.css-kgw1qxf time{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;display:block;margin-bottom:28px}
.css-kgw1qxf h2{font-size:26px;font-weight:700;margin:40px 0 14px}
.css-kgw1qxf h3{font-size:20px;font-weight:700;margin:32px 0 10px}
.css-kgw1qxf p{margin-bottom:18px;font-size:17px}
.css-kgw1qxf ul,.css-kgw1qxf ol{margin:0 0 18px 24px}
.css-kgw1qxf a{color:#111;font-weight:600;text-decoration:underline}
.css-kgw1qxf img{max-width:100%;height:auto;margin:20px 0}
.css-2skkdjw{background:#111;color:#888;padding:28px 0;margin-top:48px;text-align:center;font-size:12px}
.css-2skkdjw a{color:#888;text-decoration:none}
.css-os8awqd{background:#222;color:#aaa;padding:14px 20px;margin-bottom:24px;font-size:13px;font-style:italic}
.css-dcz658w{background:#1a1a1a;color:#888;padding:14px 20px;margin-top:32px;font-size:12px;border-top:3px solid #444}
.css-adw6rkb{font-size:12px;font-weight:600;text-transform:uppercase;color:#666;letter-spacing:1px;margin:-20px 0 28px;padding-left:12px;border-left:2px solid #ccc}
.css-4i93sgq{margin:0 0 24px}
.css-h92l10g{width:100%;height:auto;border-radius:0}
.css-n0eo9l9{border-left:4px solid #111;padding-left:24px;margin-top:48px}
.css-n0eo9l9 h3{font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.css-n0eo9l9 ul{list-style:none;padding:0}
.css-n0eo9l9 li{padding:6px 0}
.css-n0eo9l9 a{color:#111;text-decoration:underline;font-weight:600}
.css-nlmnwbv{border-left:4px solid #ddd;padding-left:24px;margin-top:36px}
.css-nlmnwbv ul{list-style:none;padding:0}
.css-nlmnwbv li{padding:6px 0;font-size:16px}
.css-nlmnwbv a{color:#111;text-decoration:none;font-weight:600}
.css-nlmnwbv a:hover{text-decoration:underline}
.css-nlmnwbv .css-fvvb2lu{margin:0 0 0 8px}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@400;500;600;700&family=Merriweather:wght@400;700&display=swap');
body{font-family:'Source Sans 3',sans-serif;color:#2b2d42;background:#fefefe}
.css-1lh0rhy{background:#2b2d42;color:#fff}
.css-1lh0rhy h1{font-family:'Merriweather',serif;color:#fff}
.css-1lh0rhy p{color:rgba(255,255,255,.75)}
.css-1lh0rhy a{color:#fff;text-decoration:none}
.card h2{font-family:'Merriweather',serif}
.card h2 a{color:#2b2d42}
.card h2 a:hover{color:#ef233c}
.read-more{color:#ef233c}
.article-content h1{font-family:'Merriweather',serif}
.article-content h2{font-family:'Merriweather',serif}
.article-content a{color:#ef233c}
.article-content img{border-radius:10px}
.affiliate-disclosure{border-radius:10px}
.ymyl-disclaimer{border-radius:10px}
/* === Custom === */
/* ne-neuro-fr — custom.css
   Carnet de pauses guidées — Romain Chevalier, La Rochelle
   Palette navy-sarcelle : sobre, factuel, planning de quart plutôt que bien-être flou */

:root {
  --primary:       #1E293B;
  --primary-dark:  #10182A;
  --primary-light: #E7ECF1;
  --accent:        #0D9488;
  --accent-dark:   #0B7A70;
  --accent-light:  #E3F4F2;
  --bg:            #E8EFED;
  --surface:       #F7FAF9;
  --surface-alt:   #EEF3F2;
  --fg:            #1F2937;
  --muted:         #5B6472;
  --heading:       #16202E;
  --border:        #DCE3E0;
  --r:             6px;
  --r-sm:          3px;
  --shadow:        rgba(30, 41, 59, 0.07);
  --font-heading:  'Lora', Georgia, serif;
  --font-body:     'Inter', -apple-system, sans-serif;
  --max-width:     740px;
}

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

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

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

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

::selection {
  background-color: var(--accent-light);
  color: var(--primary-dark);
}

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

h1 { font-size: 2.2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.15rem; }
h4 { font-size: 1.02rem; font-weight: 600; }

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

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

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

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

em,
i {
  font-style: italic;
}

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

li {
  margin-bottom: 0.5em;
}

li::marker {
  color: var(--accent);
}

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

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

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.2em auto;
  max-width: 36ch;
}

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

.css-1lh0rhy h1 {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.css-1lh0rhy p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 400;
}

.css-1lh0rhy a {
  color: #FFFFFF;
  text-decoration: none;
}

.css-1lh0rhy a:hover {
  color: var(--accent-light);
}

/* --- Navigation --- */
nav {
  background-color: var(--primary-dark);
  padding: 0.6rem 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

nav a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #FFFFFF;
}

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

.card:hover {
  box-shadow: 0 4px 16px rgba(30, 41, 59, 0.1);
}

.card h2 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.45rem;
}

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

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

.card p {
  color: var(--muted);
  font-size: 0.93rem;
  margin-bottom: 0.75rem;
  max-width: none;
}

.card time,
.card .date {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.read-more {
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent-dark);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

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

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

.article-content h1 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.25;
  margin-top: 0;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2.2em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--border);
}

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

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

.article-content a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.article-content img {
  border-radius: var(--r);
  margin: 1.75em 0;
}

.article-content blockquote {
  margin: 2em 0;
  padding: 1.1em 1.5em;
  border-left: 3px solid var(--accent);
  background-color: var(--surface-alt);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--muted);
  border-radius: 0 var(--r) var(--r) 0;
}

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

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

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

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

footer a:hover {
  color: #FFFFFF;
}

/* === R2 fixes (2026-07-05T14:40:09.007458+00:00) === */
a.css-fa308x9 {
  background-color: #0D9488;
  color: #FFFFFF;
}

.css-xe5eco0 {
  border-left-color: #0D9488;
}

.css-dcz658w {
  background-color: #EEF3F2;
  color: #1F2937;
  font-size: 0.95rem;
}

table {
  border-color: #DCE3E0;
}

th,
td {
  border-color: #DCE3E0;
  padding: 0.75em 1em;
}

tr:nth-child(even) td {
  background-color: #EEF3F2;
}

/* === R3 fixes (2026-07-05T15:20:07.782017+00:00) === */
.article-content nav a {
  color: rgba(255, 255, 255, 0.85);
}

.article-content nav a:hover {
  color: #FFFFFF;
}

/* === R4 fixes (2026-07-05T16:00:06.708278+00:00) === */
body main article nav a {
  color: #FFFFFF;
}

body main article nav a:hover {
  color: #FFFFFF;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

/* v.35a2d6 — layout revision */

/* ============================================================
   ne-neuro-fr — Temps Calme · éditorial signature
   Le carnet de Romain Chevalier (La Rochelle)
   Voix d'affiche : Lora italique · Texte : Inter · Méta : Inter tracké
   Couleur-moment #3D5A47 : DEUX emplacements (lettrine du hero,
   bloc « choix de Romain »). Le teal reste l'accent principal.
   Le template "bold" sert une liste plate de cartes .css-xe5eco0 —
   la structure (hero → choix → journal → archives) est composée
   au CSS via nth-child + pseudo-éléments.
   ============================================================ */

:root {
  --moment:   #3D5A47;
  --paper:    #F7FAF9;
  --paper-2:  #EEF3F2;
  --ink-navy: #14202E;
}

/* ---------- Masthead : photo + dégradé + wordmark serif italique ---------- */
body > div:first-child {
  background:
    linear-gradient(180deg, rgba(16,24,42,.80), rgba(16,24,42,.68)),
    url("/theme-assets/masthead-bg.jpg") center 40% / cover no-repeat;
  padding: 3.4rem 1.5rem 3rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}
body > div:first-child > div {
  max-width: 760px;
  margin: 0 auto;
  padding: 0;
}
body > div:first-child h1,
body > div:first-child > div > a {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  color: #F4F7F6;
  letter-spacing: .005em;
  text-decoration: none;
  display: inline-block;
}
body > div:first-child h1 {
  font-size: 2.9rem;
  line-height: 1.1;
  margin: 0 0 .5rem;
}
body > div:first-child > div > a { font-size: 1.55rem; }
body > div:first-child p {
  color: rgba(233,240,241,.84);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 58ch;
  margin: 0 auto;
  font-weight: 400;
}
/* signature : manifeste italique sous la baseline (accueil seulement) */
body > div:first-child > div:has(> h1)::after {
  content: "Des pauses guidées, glissées entre deux feuilles de route.";
  display: block;
  max-width: 34ch;
  margin: 1.15rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(227,244,242,.22);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .01em;
  color: rgba(227,244,242,.74);
}

/* ============================================================
   ACCUEIL — grille éditoriale
   ============================================================ */
main:not(:has(> article)) {
  max-width: 1080px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px 30px;
  align-items: stretch;
}

/* --- carte de base (rythme régulier, pas d'autopilote) --- */
main:not(:has(> article)) > div {
  margin: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid rgba(30,41,59,.09);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(20,32,46,.05);
  padding: 28px 34px 26px;
  transition: box-shadow .2s ease, transform .2s ease;
}
main:not(:has(> article)) > div:hover {
  box-shadow: 0 6px 20px rgba(20,32,46,.10);
  transform: translateY(-2px);
}

/* date → kicker tracké */
.css-fvvb2lu {
  margin: 0 0 .6rem;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--accent-dark);
}

/* titre + extrait de base */
main:not(:has(> article)) > div h2 {
  margin: 0 0 .55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.24rem;
  line-height: 1.24;
}
main:not(:has(> article)) > div h2 a { color: var(--heading); text-decoration: none; }
main:not(:has(> article)) > div h2 a:hover { color: var(--accent-dark); }
main:not(:has(> article)) > div > p:not(.css-fvvb2lu) {
  margin: 0 0 1.1rem;
  max-width: 62ch;
  color: var(--muted);
  font-size: .97rem;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA de base : lien discret (fini les 10 pavés teal identiques) */
main:not(:has(> article)) > div a.css-fa308x9 {
  margin-top: auto;
  align-self: flex-start;
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1.5px solid var(--accent);
  background: transparent;
  color: var(--accent-dark);
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color .2s, border-color .2s;
}
main:not(:has(> article)) > div a.css-fa308x9::after { content: " →"; }
main:not(:has(> article)) > div a.css-fa308x9:hover {
  color: var(--accent);
  border-color: var(--accent-dark);
}

/* --- (1) HERO : la voix forte --- */
main:not(:has(> article)) > div:first-child {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 2.6rem;                 /* réserve la place du bandeau au-dessus (M2) */
  padding: 46px 52px 44px;
  border: 1px solid rgba(30,41,59,.10);
  border-top: 4px solid var(--accent);
}
/* libellé de section : bandeau pleine largeur AU-DESSUS de la carte, hors cadre (M2) */
main:not(:has(> article)) > div:first-child::before {
  content: "Dernière entrée du carnet";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(13,148,136,.28);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .24em;
  color: var(--accent-dark);
}
main:not(:has(> article)) > div:first-child h2 {
  margin-bottom: 1rem;
  max-width: 18ch;
  font-size: 2.5rem;
  font-style: italic;
  line-height: 1.12;
}
main:not(:has(> article)) > div:first-child > p:not(.css-fvvb2lu) {
  display: block;
  overflow: visible;
  max-width: 58ch;
  color: var(--fg);
  font-size: 1.16rem;
  line-height: 1.5;
  -webkit-line-clamp: unset;
}
main:not(:has(> article)) > div:first-child > p:not(.css-fvvb2lu)::first-letter {
  float: left;
  margin: .08em .12em 0 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 3.2rem;
  line-height: .8;
  color: var(--moment);              /* couleur-moment — emplacement 1/2 */
}
main:not(:has(> article)) > div:first-child a.css-fa308x9 {
  padding: .7rem 1.4rem;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #F4F7F6;
  letter-spacing: .1em;
  font-size: .8rem;
}
main:not(:has(> article)) > div:first-child a.css-fa308x9::after { content: ""; }
main:not(:has(> article)) > div:first-child a.css-fa308x9:hover {
  background: var(--accent-dark);
  color: #F4F7F6;
}

/* --- (2) LE CHOIX DE ROMAIN : deuxième moment, à lire ensuite --- */
main:not(:has(> article)) > div:nth-child(2) {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 2.9rem;                      /* réserve la place du bandeau au-dessus */
  padding: 28px 40px 32px;
  background: var(--paper-2);
  border: 1px solid rgba(61,90,71,.20);
  border-left: 4px solid var(--moment);   /* couleur-moment — emplacement 2/2 */
}
/* libellé de section : bandeau pleine largeur AU-DESSUS de la carte, hors cadre (M2) */
main:not(:has(> article)) > div:nth-child(2)::before {
  content: "Le choix de Romain — à lire ensuite";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  margin-bottom: .8rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid rgba(61,90,71,.30);
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--moment);
}
main:not(:has(> article)) > div:nth-child(2) h2 {
  font-size: 1.5rem;
  font-style: italic;
}
main:not(:has(> article)) > div:nth-child(2) a.css-fa308x9 {
  padding: .55rem 1.25rem;
  border: 1.5px solid var(--moment);
  border-radius: 6px;
  background: transparent;
  color: var(--moment);
}
main:not(:has(> article)) > div:nth-child(2) a.css-fa308x9::after { content: ""; }
main:not(:has(> article)) > div:nth-child(2) a.css-fa308x9:hover {
  background: var(--moment);
  color: var(--paper);
}

/* --- (3) FEATURE À COUVERTURE PHOTO = coupure de section (M6, position 1) --- */
main:not(:has(> article)) > div:nth-child(3) {
  grid-column: 1 / -1;
  padding: 0 0 30px;
  overflow: hidden;
}
main:not(:has(> article)) > div:nth-child(3)::before {
  content: "CI-DESSOUS";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin-bottom: 26px;
  color: #F4F7F6;
  font-family: var(--font-body);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .32em;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  background:
    linear-gradient(rgba(20,24,28,.55), rgba(20,24,28,.25)),
    url("/theme-assets/entry-photo.jpg") center 30% / cover no-repeat;
}
main:not(:has(> article)) > div:nth-child(3) > p,
main:not(:has(> article)) > div:nth-child(3) > h2 {
  padding-inline: 42px;
}
main:not(:has(> article)) > div:nth-child(3) > a.css-fa308x9 {
  margin-left: 42px;
}

/* --- INDEX D'ARCHIVES : conteneur <ul> pleine largeur, une carte par entrée (M7) ---
   Le template émet la queue d'archives comme un <div><ul><li>titre + date</li>…</ul></div>
   en DERNIER enfant de <main> (seul <div> à contenir un <ul> direct). On le sort de la
   grille (pleine largeur), on lui pose la coupure photo « LES ARCHIVES » au-dessus
   (M6, position 2), puis on boîte CHAQUE <li> — même papier, bordure, rayon, ombre et
   survol que les cartes du haut (parité de design). Grille 3 colonnes, hauteurs égales
   par rangée via l'étirement de grille ; les dates sont poussées en bas de cellule. */
main:not(:has(> article)) > div:has(> ul) {
  grid-column: 1 / -1;
  display: block;
  margin: 0;
  padding: 0 0 30px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}
main:not(:has(> article)) > div:has(> ul):hover {
  box-shadow: none;
  transform: none;
}
main:not(:has(> article)) > div:has(> ul)::before {
  content: "LES ARCHIVES";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin-bottom: 26px;
  color: #F4F7F6;
  font-family: var(--font-body);
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .32em;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
  background:
    linear-gradient(rgba(20,28,32,.58), rgba(20,28,32,.30)),
    url("/theme-assets/entry-photo.jpg") center 70% / cover no-repeat;
}
main:not(:has(> article)) > div:has(> ul) > ul {
  list-style: none;
  margin: 0;
  padding: 0 42px;
  max-width: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 16px;
}
main:not(:has(> article)) > div:has(> ul) > ul > li {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  background: var(--paper);
  border: 1px solid rgba(30,41,59,.09);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(20,32,46,.05);
  padding: 18px 22px;
  transition: box-shadow .2s ease, transform .2s ease;
}
main:not(:has(> article)) > div:has(> ul) > ul > li:hover {
  box-shadow: 0 6px 20px rgba(20,32,46,.10);
  transform: translateY(-2px);
}
main:not(:has(> article)) > div:has(> ul) > ul > li > a {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--heading);
  text-decoration: none;
}
main:not(:has(> article)) > div:has(> ul) > ul > li > a:hover {
  color: var(--accent-dark);
}
main:not(:has(> article)) > div:has(> ul) > ul > li > .css-fvvb2lu {
  margin: auto 0 0;
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: none;
  color: var(--muted);
}

/* ============================================================
   ARTICLE — mesure de lecture + signaux éditoriaux
   ============================================================ */
main:has(> article) {
  max-width: 728px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}
main:has(> article) > hgroup { margin-bottom: 2.4rem; }
main:has(> article) > hgroup h1 {
  margin: 0 0 1rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.15;
  color: var(--heading);
}
main:has(> article) > hgroup time {
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent-dark);
}
/* ancrage persona sous la date : signature d'auteur (S6) */
main:has(> article) > hgroup::after {
  content: "Par Romain Chevalier · La Rochelle · Carnet de pauses guidées";
  display: block;
  margin-top: .55rem;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .01em;
  color: var(--muted);
}

main > article > section { margin: 1.9em 0; }
main > article img { border-radius: 8px; }

main > article > p {
  max-width: 65ch;
  margin: 0 0 1.4em;
  color: var(--fg);
  font-size: 1.14rem;
  line-height: 1.8;
}
main > article > p:first-of-type::first-letter {
  float: left;
  margin: .06em .1em 0 0;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 3.4rem;
  line-height: .82;
  color: var(--accent-dark);
}

main > article > h2 {
  margin: 2.4em 0 .6em;
  padding: 0;
  border: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.55rem;
  line-height: 1.28;
  color: var(--heading);
}
main > article > h2::before {           /* dinkus entre les sections */
  content: "✳ ✳ ✳";
  display: block;
  margin: 0 auto 1.4em;
  text-align: center;
  font-size: .9rem;
  letter-spacing: .5em;
  color: var(--accent);
  opacity: .65;
}
main > article > h3 {
  margin: 1.9em 0 .5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.22rem;
  color: var(--heading);
}

main > article > blockquote {
  position: relative;
  margin: 2em 0;
  padding: 1.2em 1.5em 1.2em 2.5em;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--paper-2);
  font-style: italic;
  color: var(--muted);
}
main > article > blockquote::before {
  content: "\201C";
  position: absolute;
  left: .28em;
  top: .06em;
  font-family: var(--font-heading);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--accent);
  opacity: .5;
}
main > article > blockquote p { margin: 0; }

/* CTA affiliés dans le corps : puce accentuée, nettement distincte des liens de prose (M10) */
main:has(> article) a[href^="/rec/"] {
  background: var(--accent-light);
  color: var(--accent-dark);
  font-weight: 600;
  text-decoration: none;
  padding: .12em .55em;
  border: 1px solid var(--accent);
  border-radius: 6px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
main:has(> article) a[href^="/rec/"]:hover {
  background: var(--accent);
  color: #F4F7F6;
  border-color: var(--accent-dark);
}

/* tableau comparatif — traitement éditorial (art. 6) */
main > article table {
  width: 100%;
  margin: 2em 0;
  border-collapse: collapse;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  font-size: .96rem;
}
main > article table th {
  padding: .8em 1em;
  border: 0;
  background: var(--primary);
  color: #F4F7F6;
  font-family: var(--font-body);
  font-weight: 600;
  text-align: left;
  letter-spacing: .01em;
}
main > article table td {
  padding: .75em 1em;
  border: 0;
  border-top: 1px solid var(--border);
}
main > article table tbody tr:nth-child(even) td { background: var(--paper-2); }
main > article table tbody tr:hover td { background: var(--surface-alt); }

/* callout « Pour info » */
.css-dcz658w {
  margin: 2.2em 0;
  padding: 1.1em 1.4em;
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--paper-2);
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.65;
}
.css-dcz658w b { color: var(--accent-dark); }

/* articles connexes */
.css-n0eo9l9 {
  margin-top: 3.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--border);
}
.css-n0eo9l9 h3 {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--accent-dark);
}
.css-n0eo9l9 ul { margin: 0; padding: 0; list-style: none; }
.css-n0eo9l9 li { margin: 0 0 .7rem; }
.css-n0eo9l9 a {
  border-bottom: 1px solid transparent;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--heading);
  text-decoration: none;
}
.css-n0eo9l9 a:hover { color: var(--accent-dark); border-color: var(--accent); }

/* ---------- Footer : même famille sombre que le masthead ---------- */
footer {
  margin-top: 5rem;
  border-top: 3px solid var(--accent);
  background: var(--ink-navy);
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  main:not(:has(> article)) {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 3rem 1.1rem 2.5rem;
  }
  body > div:first-child { padding: 2.6rem 1.2rem 2.4rem; }
  body > div:first-child h1 { font-size: 2.1rem; }
  main:not(:has(> article)) > div:first-child { padding: 32px 26px; }
  main:not(:has(> article)) > div:first-child h2 { font-size: 1.95rem; }
  main:not(:has(> article)) > div:nth-child(2) { margin-top: 3.4rem; padding: 24px 26px 28px; }
  main:not(:has(> article)) > div:nth-child(3) > p,
  main:not(:has(> article)) > div:nth-child(3) > h2 { padding-inline: 26px; }
  main:not(:has(> article)) > div:nth-child(3) > a.css-fa308x9 { margin-left: 26px; }
  /* index d'archives : une colonne, cartes boîtées conservées (M7) */
  main:not(:has(> article)) > div:has(> ul) > ul {
    grid-template-columns: 1fr;
    padding: 0 26px;
    gap: 12px;
  }
  main:has(> article) > hgroup h1 { font-size: 2rem; }
  main > article > p { font-size: 1.06rem; }
}

/* Related-articles nav — breathing space + inline link margin (universal fix) */
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
: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;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=The-Sill-botanical overlay=55% grid=asymmetric scale=balanced 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;
}

