*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',Roboto,Oxygen,Ubuntu,sans-serif;line-height:1.75;color:#333;background:#f0f2f5}
.layout-40e544{max-width:860px;margin:0 auto;padding:0 20px}
.page-22f8e5{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.page-22f8e5 h1{font-size:22px;font-weight:700;margin-bottom:2px}
.page-22f8e5 p{font-size:14px;color:#666}
.page-22f8e5 a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.page-fe889d{display:flex;flex-direction:column;gap:20px}
.region-97ba9f{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.region-97ba9f:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.region-97ba9f h2{font-size:19px;margin-bottom:6px}
.region-97ba9f h2 a{color:#1a1a1a;text-decoration:none}
.region-97ba9f .module-92904a{font-size:12px;color:#999;margin-bottom:8px}
.region-97ba9f p{font-size:14px;color:#555;margin-bottom:12px}
.nav-dbb884{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.nav-dbb884:hover{background:#4752c4}
.page-d6c00c{padding-bottom:60px}
.page-d6c00c h1{font-size:30px;font-weight:700;margin-bottom:8px}
.page-d6c00c time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.page-d6c00c h2{font-size:22px;margin:32px 0 12px}
.page-d6c00c h3{font-size:18px;margin:24px 0 8px}
.page-d6c00c p{margin-bottom:16px}
.page-d6c00c ul,.page-d6c00c ol{margin:0 0 16px 24px}
.page-d6c00c a{color:#5865f2}
.page-d6c00c img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.container-0ae407{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.container-0ae407 a{color:#999;text-decoration:none}
.main-1132d4{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.block-31dfb9{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.content-8ecf62{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.shell-d5884e{text-align:center;margin:0 0 24px}
.widget-f71eb0{max-width:100%;height:auto;border-radius:12px}
.page-c28f72{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.page-c28f72 h3{font-size:16px;font-weight:700;margin-bottom:12px}
.crd-related-list{display:flex;flex-direction:column;gap:8px}
.crd-related-link{display:block;background:#fff;border-radius:8px;padding:10px 14px;color:#333;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.06);font-size:14px}
.crd-related-link:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
.shell-c1e16b{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.region-6fce24{display:block;background:#fff;border-radius:8px;padding:10px 16px;color:#1a1a1a;text-decoration:none;box-shadow:0 1px 3px rgba(0,0,0,.05);font-size:15px}
.region-6fce24:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&family=Playfair+Display:wght@400;700&display=swap');
body{font-family:'Lora',sans-serif;color:#2D2926;background:#FAF7F5}
.page-22f8e5{background:#4A2C40;color:#fff}
.page-22f8e5 h1{font-family:'Playfair Display',serif;color:#fff}
.page-22f8e5 p{color:rgba(255,255,255,.75)}
.page-22f8e5 a{color:#fff;text-decoration:none}
.card h2{font-family:'Playfair Display',serif}
.card h2 a{color:#4A2C40}
.card h2 a:hover{color:#E88D8D}
.read-more{color:#E88D8D}
.article-content h1{font-family:'Playfair Display',serif}
.article-content h2{font-family:'Playfair Display',serif}
.article-content a{color:#E88D8D}
.article-content img{border-radius:12px}
.affiliate-disclosure{border-radius:12px}
.ymyl-disclaimer{border-radius:12px}
/* === Custom === */
/*
 * ix-intim-fr — custom.css
 * Palette  : cinnamon-cream (warm earth, intimate, evening warmth)
 * Fonts    : Fraunces (heading) + DM Sans (body)
 * Template : card  ·  live: apaiser-la-pression.pages.dev
 * Moment   : #3D5A47 (calm sage — lâcher-prise / serenity), used in exactly 2 places
 */

/* v.c76421 — layout revision */

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

/* ─── Design tokens ─────────────────────────────────────────── */
:root {
  --color-bg:           #FAF5EF;
  --color-surface:      #F1E6D8;
  --color-surface-alt:  #E8D9C6;
  --color-surface-tint: #F3E4D3;
  --color-text:         #2A1E14;
  --color-text-muted:   #7C6452;
  --color-heading:      #3C2516;
  --color-accent:       #9B5240;
  --color-accent-hover: #7C3F2F;
  --color-accent-light: #C28B72;
  --color-moment:       #3D5A47;   /* calm sage — used in AT MOST 2 places */
  --color-border:       #DDD0BC;
  --color-link:         #9B5240;
  --color-link-hover:   #7C3F2F;

  --masthead-shade:     linear-gradient(178deg, rgba(30,20,13,0.50) 0%, rgba(30,20,13,0.66) 52%, rgba(28,18,12,0.86) 100%);

  --font-heading:        'Fraunces', Georgia, serif;
  --font-body:           'DM Sans', system-ui, sans-serif;
  --font-size-base:      17px;
  --font-size-sm:        15px;
  --font-size-h1:        2.4rem;
  --font-size-h2:        1.75rem;
  --font-size-h3:        1.35rem;
  --font-weight-heading: 600;
  --font-weight-body:    400;
  --line-height-body:    1.75;
  --line-height-heading: 1.22;

  --border-radius:       10px;
  --max-width-content:   68ch;
  --max-width-layout:    1040px;
}

/* ─── Base ──────────────────────────────────────────────────── */
:root body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root main {
  max-width: var(--max-width-layout);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ─── Headings ──────────────────────────────────────────────── */
:root h1,
:root h2,
:root h3,
:root h4 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
  color: var(--color-heading);
  line-height: var(--line-height-heading);
  margin-top: 0;
  margin-bottom: 0.6em;
  letter-spacing: -0.01em;
}

/* ─── Body copy, links, lists ───────────────────────────────── */
:root p { margin-block: 0 1em; }

:root a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-color: var(--color-accent-light);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
:root a:hover {
  color: var(--color-link-hover);
  text-decoration-color: var(--color-accent-hover);
}

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

/* ─── Blockquote ────────────────────────────────────────────── */
:root blockquote {
  max-width: var(--max-width-content);
  margin-inline: 0;
  margin-block: 1.9rem;
  padding: 1.15rem 1.5rem 1.15rem 2.4rem;
  border-left: 3px solid var(--color-accent);
  background-color: var(--color-surface);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.08rem;
  line-height: 1.6;
}
:root blockquote p { margin-bottom: 0; max-width: none; }

/* ═══════════════════════════════════════════════════════════════
   MASTHEAD — full-bleed photo band, shared by both templates
   (bespoke Namur/Meuse photo; wordmark reads on a bottom-heavy shade)
   ═══════════════════════════════════════════════════════════════ */
:root body > header {
  max-width: none;
  margin-inline: 0;
  background-color: var(--color-heading);
  background-image: var(--masthead-shade), url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  background-position: center 42%;
  border-bottom: 3px solid var(--color-accent);
  padding-block: 1.4rem;
  text-align: center;
}
:root body > header > div {
  max-width: 60rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
  position: relative;
}

/* home masthead (carries the site <h1>): taller + signature marks */
:root body > header:has(h1) { padding-block: clamp(3.2rem, 8vw, 5.2rem); }

/* breath-ripple monogram — the site's own mark (home only) */
:root body > header:has(h1) > div::before {
  content: "";
  display: block;
  width: 58px;
  height: 40px;
  margin: 0 auto 0.9rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='58' height='40' viewBox='0 0 58 40' fill='none' stroke='%23E0C3AE' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M8 27 Q29 10 50 27'/%3E%3Cpath d='M15 34 Q29 24 43 34'/%3E%3Cpath d='M23 16 Q29 10 35 16'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* tracked kicker above the wordmark */
:root body > header:has(h1) > div > h1::before {
  content: "Journal du l\0000E2cher-prise";
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #E7CDB7;
  margin-bottom: 0.85rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

/* serif-italic wordmark */
:root body > header:has(h1) > div > h1 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 5.6vw, 3.5rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  color: #FBF3E9;
  max-width: 22ch;
  margin: 0 auto 0.7rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6), 0 1px 3px rgba(0,0,0,0.5);
}

/* italic manifesto line + short sage signature rule (MOMENT 1) */
:root body > header:has(h1) > div > p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.06rem;
  line-height: 1.55;
  color: #F0DECB;
  max-width: 46ch;
  margin: 0 auto;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
:root body > header:has(h1) > div > p::after {
  content: "";
  display: block;
  width: 54px;
  height: 3px;
  margin: 1.15rem auto 0;
  border-radius: 3px;
  background-color: var(--color-moment);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.14);
}

/* article masthead (no <h1>): compact italic wordmark link */
:root body > header:not(:has(h1)) { padding-block: 1.3rem; }
:root body > header > div > span > a {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: -0.01em;
  color: #FBF3E9;
  text-decoration: none;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
:root body > header > div > span > a:hover { color: var(--color-accent-light); }

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — hero → picks band → strip → journal → strip
   6-col system: hero (full) · picks I/II/III (span 2) · index (span 3)
   ═══════════════════════════════════════════════════════════════ */
:root main > div:has(> div > h2) {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.7rem 1.9rem;
  align-items: stretch;
  margin-block: 2.8rem 3.6rem;
}

/* base card — quiet, consistent (nth-of-type carries specificity vs template pairs) */
:root main > div:has(> div > h2) > div:nth-of-type(n+1) {
  position: relative;
  grid-column: span 3;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(42,30,20,0.04);
  padding: 1.6rem 1.75rem;
  margin: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
:root main > div:has(> div > h2) > div:nth-of-type(n+1):hover {
  box-shadow: 0 6px 22px rgba(42,30,20,0.10);
  transform: translateY(-2px);
}

/* card date → tracked meta kicker */
:root main > div:has(> div > h2) > div:nth-of-type(n+1) > p:first-of-type {
  font-family: var(--font-body);
  font-size: 0.71rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.55rem;
}

/* card title */
:root main > div:has(> div > h2) > div:nth-of-type(n+1) > h2 {
  font-size: 1.2rem;
  line-height: 1.3;
  margin: 0 0 0.55rem;
}
:root main > div:has(> div > h2) > div:nth-of-type(n+1) > h2 > a {
  color: var(--color-heading);
  text-decoration: none;
}
:root main > div:has(> div > h2) > div:nth-of-type(n+1) > h2 > a:hover { color: var(--color-accent); }

/* card excerpt */
:root main > div:has(> div > h2) > div:nth-of-type(n+1) > h2 + p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 64ch;
}

/* quiet CTA — relabel EN→FR, strip the stock button (kills the 11× repetition) */
:root main > div:has(> div > h2) > div:nth-of-type(n+1) > a {
  display: inline-block;
  margin-top: 1rem;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  font-size: 0;
  color: var(--color-accent);
  text-decoration: none;
}
:root main > div:has(> div > h2) > div:nth-of-type(n+1) > a::after {
  content: "Lire le r\0000E9cit\0000A0\002192";
  font-family: var(--font-body);
  font-size: 0.77rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
:root main > div:has(> div > h2) > div:nth-of-type(n+1) > a:hover { color: var(--color-accent-hover); }

/* ── HERO (card 1): the loud voice ── */
:root main > div:has(> div > h2) > div:nth-of-type(1) {
  grid-column: 1 / -1;
  padding: clamp(2.1rem, 5vw, 3.3rem) clamp(1.6rem, 5vw, 3rem);
  background: linear-gradient(180deg, #F6EADB 0%, var(--color-surface-alt) 100%);
  border-color: var(--color-accent-light);
}
:root main > div:has(> div > h2) > div:nth-of-type(1)::before {
  content: "Le dernier r\0000E9cit";
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
}
:root main > div:has(> div > h2) > div:nth-of-type(1) > p:first-of-type { margin-bottom: 0.7rem; }
:root main > div:has(> div > h2) > div:nth-of-type(1) > h2 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.1rem, 4.6vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 20ch;
  margin-bottom: 0.9rem;
}
:root main > div:has(> div > h2) > div:nth-of-type(1) > h2 + p {
  font-family: var(--font-heading);
  font-size: 1.16rem;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 56ch;
}
/* MOMENT 2 — sage drop cap on the featured essay */
:root main > div:has(> div > h2) > div:nth-of-type(1) > h2 + p::first-letter {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 3.5rem;
  line-height: 0.72;
  float: left;
  margin: 0.06em 0.14em -0.06em 0;
  color: var(--color-moment);
}
/* featured CTA — the one prominent cinnamon pill */
:root main > div:has(> div > h2) > div:nth-of-type(1) > a {
  margin-top: 1.5rem;
  padding: 0.74rem 1.75rem;
  background-color: var(--color-accent);
  border-radius: 2rem;
  color: #FBF3E9;
  box-shadow: 0 2px 10px rgba(155,82,64,0.28);
}
:root main > div:has(> div > h2) > div:nth-of-type(1) > a::after { font-size: 0.8rem; color: #FBF3E9; }
:root main > div:has(> div > h2) > div:nth-of-type(1) > a:hover { background-color: var(--color-accent-hover); color: #FBF3E9; }

/* ── PICKS band (cards 2–4): three across, curated set, equal height ── */
:root main > div:has(> div > h2) > div:nth-of-type(n+2):nth-of-type(-n+4) {
  grid-column: span 2;
  margin-top: 3.2rem;
  background-color: var(--color-bg);
}
:root main > div:has(> div > h2) > div:nth-of-type(n+2):nth-of-type(-n+4) > h2 { font-size: 1.08rem; }
/* clamp pick excerpts so the three cards keep a consistent height */
:root main > div:has(> div > h2) > div:nth-of-type(n+2):nth-of-type(-n+4) > h2 + p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* faint editorial numeral fills the top-right corner (balance) */
:root main > div:has(> div > h2) > div:nth-of-type(2)::after,
:root main > div:has(> div > h2) > div:nth-of-type(3)::after,
:root main > div:has(> div > h2) > div:nth-of-type(4)::after {
  position: absolute;
  top: 0.9rem;
  right: 1.2rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--color-accent-light);
  opacity: 0.55;
}
:root main > div:has(> div > h2) > div:nth-of-type(2)::after { content: "I"; }
:root main > div:has(> div > h2) > div:nth-of-type(3)::after { content: "II"; }
:root main > div:has(> div > h2) > div:nth-of-type(4)::after { content: "III"; }
/* section band above the picks row — full-row width + hairline underline (M2) */
:root main > div:has(> div > h2) > div:nth-of-type(2)::before {
  content: "Les incontournables\0000A0\002014\0000A0\0000E0\0000A0lire d'abord";
  position: absolute;
  left: 0;
  right: auto;
  bottom: calc(100% + 1rem);
  width: calc(300% + 64px);          /* span all three picks (grid col-gap 32px × 2) */
  box-sizing: border-box;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ── JOURNAL index (cards 5+): two across, hairline row dividers ── */
:root main > div:has(> div > h2) > div:nth-of-type(n+5) {
  grid-column: span 3;
  border: none;
  border-top: 1px solid var(--color-border);
  border-radius: 0;
  background: none;
  box-shadow: none;
  padding: 1.6rem 0.4rem 0.5rem;
}
:root main > div:has(> div > h2) > div:nth-of-type(n+5):hover { box-shadow: none; transform: none; }
/* a lone trailing index card fills its row instead of leaving it half-empty */
:root main > div:has(> div > h2) > div:nth-of-type(n+5):nth-of-type(odd):last-of-type { grid-column: 1 / -1; }

/* ── STRIP hosts (RULE F): two article-hero photo bands as section breaks ──
   Card 5 opens "Le journal"; a fixed later card opens "Tout lire".
   Each host is a full-width framed card whose ::before bleeds a photo band
   with an overlay label, then shows its own entry below. */
:root main > div:has(> div > h2) > div:nth-of-type(5),
:root main > div:has(> div > h2) > div:nth-of-type(12) {
  grid-column: 1 / -1;
  margin-top: 3.4rem;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-surface);
  box-shadow: 0 1px 4px rgba(42,30,20,0.05);
  padding: 0 2rem 2rem;
  overflow: hidden;
}
:root main > div:has(> div > h2) > div:nth-of-type(5):hover,
:root main > div:has(> div > h2) > div:nth-of-type(12):hover { box-shadow: 0 1px 4px rgba(42,30,20,0.05); transform: none; }
:root main > div:has(> div > h2) > div:nth-of-type(5)::before,
:root main > div:has(> div > h2) > div:nth-of-type(12)::before {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  margin: 0 -2rem 1.7rem;
  padding: 0 2rem 1.3rem;
  background-image: linear-gradient(rgba(20,24,28,0.52), rgba(20,24,28,0.30)), url("/theme-assets/article-hero.jpg");
  background-size: cover;
  color: #FBF3E9;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}
:root main > div:has(> div > h2) > div:nth-of-type(5)::before {
  content: "Le journal\0000A0\002014\0000A0les plus r\0000E9cents";
  height: 190px;
  background-position: center 30%;
}
:root main > div:has(> div > h2) > div:nth-of-type(12)::before {
  content: "Tout lire";
  height: 210px;
  background-position: center 72%;
}
/* the two lead entries keep their date/title/excerpt (framed card, not index row) */
:root main > div:has(> div > h2) > div:nth-of-type(5) > h2,
:root main > div:has(> div > h2) > div:nth-of-type(12) > h2 { font-size: 1.32rem; }

/* ── ARCHIVE TAIL (cards 13+): the compact archive after "Tout lire" ──
   RULE M7 — the tail must carry the same design polish as the top of the
   page. Re-box the index rows into cream cards (same paper token, border,
   radius, shadow and hover-lift as the hero/picks cards above), just
   tighter: a 3-across magazine index showing date kicker + title only.
   This rule sits AFTER the n+5 index reset so it wins on equal specificity,
   and BEFORE the media queries so the mobile grid resets still apply. */
:root main > div:has(> div > h2) > div:nth-of-type(n+13) {
  grid-column: span 2;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  background-color: var(--color-surface);
  box-shadow: 0 1px 4px rgba(42,30,20,0.04);
  padding: 1.2rem 1.35rem;
}
:root main > div:has(> div > h2) > div:nth-of-type(n+13):hover {
  box-shadow: 0 6px 22px rgba(42,30,20,0.10);
  transform: translateY(-2px);
}
/* keep the tail compact: title + date kicker, drop excerpt + stock CTA */
:root main > div:has(> div > h2) > div:nth-of-type(n+13) > h2 { font-size: 1.02rem; margin: 0; }
:root main > div:has(> div > h2) > div:nth-of-type(n+13) > h2 + p,
:root main > div:has(> div > h2) > div:nth-of-type(n+13) > a { display: none; }
/* a lone trailing tail card stays a compact cell (don't stretch it full-width) */
:root main > div:has(> div > h2) > div:nth-of-type(n+13):nth-of-type(odd):last-of-type { grid-column: span 2; }

/* ── Homepage responsive — reset the 6-col spans (implicit-track guard) ── */
@media (max-width: 900px) {
  :root main > div:has(> div > h2) { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  :root main > div:has(> div > h2) > div:nth-of-type(1) { grid-column: 1 / -1; }
  :root main > div:has(> div > h2) > div:nth-of-type(n+2):nth-of-type(-n+4) { grid-column: span 1; }
  :root main > div:has(> div > h2) > div:nth-of-type(2)::before { width: calc(200% + 32px); }
  :root main > div:has(> div > h2) > div:nth-of-type(n+5) { grid-column: span 1; }
  :root main > div:has(> div > h2) > div:nth-of-type(n+5):nth-of-type(odd):last-of-type { grid-column: 1 / -1; }
  :root main > div:has(> div > h2) > div:nth-of-type(5),
  :root main > div:has(> div > h2) > div:nth-of-type(12) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root main > div:has(> div > h2) { grid-template-columns: 1fr; }
  :root main > div:has(> div > h2) > div:nth-of-type(1) { grid-column: 1 / -1; }
  :root main > div:has(> div > h2) > div:nth-of-type(n+2):nth-of-type(-n+4) { grid-column: 1 / -1; margin-top: 0; }
  :root main > div:has(> div > h2) > div:nth-of-type(n+5) { grid-column: 1 / -1; }
  :root main > div:has(> div > h2) > div:nth-of-type(n+5):nth-of-type(odd):last-of-type { grid-column: 1 / -1; }
  :root main > div:has(> div > h2) > div:nth-of-type(5),
  :root main > div:has(> div > h2) > div:nth-of-type(12) { grid-column: 1 / -1; }
  :root main > div:has(> div > h2) > div:nth-of-type(2)::before { display: none; }
  :root main > div:has(> div > h2) > div:nth-of-type(5)::before,
  :root main > div:has(> div > h2) > div:nth-of-type(12)::before { height: 160px; }
  :root body > header:has(h1) { padding-block: 2.4rem; }
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE — measure, byline, drop cap, dinkus, affiliate weight
   ═══════════════════════════════════════════════════════════════ */
:root main:has(> article) { max-width: 760px; }

:root main:has(> article) > h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  line-height: 1.14;
  max-width: 24ch;
  margin-bottom: 0.5rem;
}
:root main:has(> article) > h1::before {
  content: "Journal intime";
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.9rem;
}

/* byline / personality signal on the date line */
:root main:has(> article) > time {
  display: block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2.1rem;
}
:root main:has(> article) > time::before { content: "Par Damien Carpentier\0000A0\0000B7\0000A0"; }

/* article body rhythm */
:root main:has(> article) > article > p {
  font-size: 1.12rem;
  line-height: 1.78;
  margin-bottom: 1.35em;
  max-width: 68ch;
}
:root main:has(> article) > article > h2 {
  font-size: 1.6rem;
  margin: 2.2rem 0 0.5em;
}
:root main:has(> article) > article > h3 { margin: 1.8rem 0 0.35em; }

/* drop cap on the opening paragraph */
:root main:has(> article) > article > p:first-of-type::first-letter {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 600;
  font-size: 3.3rem;
  line-height: 0.78;
  float: left;
  margin: 0.05em 0.12em -0.05em 0;
  color: var(--color-accent);
}

/* dinkus divider above each section */
:root main:has(> article) > article > h2::before {
  content: "\002737\0000A0\0000A0\002737\0000A0\0000A0\002737";
  display: block;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--color-accent-light);
  margin: 2rem 0 1.3em;
  opacity: 0.85;
}

/* body reference links — warm, weighted (stop hiding inline) */
:root main:has(> article) > article p a,
:root main:has(> article) > article li a {
  color: var(--color-accent);
  font-weight: 600;
  text-decoration-color: var(--color-accent-light);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
:root main:has(> article) > article p a:hover,
:root main:has(> article) > article li a:hover {
  color: var(--color-accent-hover);
  text-decoration-color: var(--color-accent-hover);
}

/* affiliate / guide links — an inline chip with real conversion weight
   (RULE J: full path + attr so it strictly beats the body-link rule above) */
:root main:has(> article) > article p a[href^="/suggest/"],
:root main:has(> article) > article li a[href^="/suggest/"] {
  background-color: var(--color-surface-tint);
  border-bottom: 2px solid var(--color-accent);
  border-radius: 6px;
  padding: 0.1em 0.5em 0.14em;
  color: var(--color-accent-hover);
  font-weight: 700;
  text-decoration: none;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 1px 3px rgba(42,30,20,0.08);
}
:root main:has(> article) > article p a[href^="/suggest/"]::before,
:root main:has(> article) > article li a[href^="/suggest/"]::before {
  content: "\002192\0000A0";
  font-weight: 700;
  color: var(--color-accent);
}
:root main:has(> article) > article p a[href^="/suggest/"]:hover,
:root main:has(> article) > article li a[href^="/suggest/"]:hover {
  background-color: var(--color-surface-alt);
  color: var(--color-accent-hover);
}

/* hanging quote on blockquotes */
:root main:has(> article) > article blockquote { position: relative; }
:root main:has(> article) > article blockquote::before {
  content: "\00201C";
  position: absolute;
  top: 0.05em;
  left: 0.35rem;
  font-family: var(--font-heading);
  font-size: 2.9rem;
  line-height: 1;
  color: var(--color-accent-light);
  opacity: 0.6;
}

/* article hero image framing */
:root main:has(> article) > article > div:first-child img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

/* "À savoir" key-takeaway callout */
:root main:has(> article) > article > div:last-of-type {
  background-color: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 1.2rem 1.45rem;
  margin: 2.5rem 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}
:root main:has(> article) > article > div:last-of-type em {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.4rem;
}

/* related articles — tidy card list */
:root main:has(> article) > div:last-child {
  margin-top: 3.4rem;
  padding-top: 2rem;
  border-top: 2px solid var(--color-border);
}
:root main:has(> article) > div:last-child > h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}
:root main:has(> article) > div:last-child > div { display: grid; gap: 0.7rem; }
:root main:has(> article) > div:last-child > div > a {
  display: block;
  padding: 0.9rem 1.15rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: var(--color-heading);
  text-decoration: none;
}
:root main:has(> article) > div:last-child > div > a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER — warm band
   ═══════════════════════════════════════════════════════════════ */
:root body > footer {
  background-color: var(--color-surface);
  border-top: 1px solid var(--color-border);
  margin-top: 4rem;
  padding-block: 2rem;
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}
:root body > footer a { color: var(--color-text-muted); text-decoration: underline; }
:root body > footer a:hover { color: var(--color-accent); }


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


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Monocle-Swiss overlay=25% grid=equal scale=balanced family=astro-grid */

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


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

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

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

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


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

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

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

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

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

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

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


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

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

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

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


/* repair-loop iter1 — M7 archive tail refix (2026-09-02) */
/* The real archive tail is a SEPARATE div sibling of the card grid
   (main > div:nth-of-type(2) = the shell-XXXX wrapper) whose direct
   children are title-only <a> anchors. The base theme renders them as
   full-width white rows, one per line. Re-box them into a 3-col magazine
   index of equal-height cream cards, sharing the top-of-page card system:
   same paper token, border, radius, shadow, heading font and hover lift. */
:root main:not(:has(> h1)) > div:nth-of-type(2) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 16px;
  align-items: stretch;
  margin-top: 3.6rem;
}
:root main:not(:has(> h1)) > div:nth-of-type(2) > a {
  display: block;
  height: 100%;
  box-sizing: border-box;
  padding: 20px 22px;
  background-color: var(--color-surface) !important;
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius);
  box-shadow: 0 1px 4px rgba(42,30,20,0.04);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-heading);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
:root main:not(:has(> h1)) > div:nth-of-type(2) > a:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 6px 22px rgba(42,30,20,0.10);
  transform: translateY(-2px);
}
@media (max-width: 900px) {
  :root main:not(:has(> h1)) > div:nth-of-type(2) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  :root main:not(:has(> h1)) > div:nth-of-type(2) { grid-template-columns: 1fr; }
}

