*{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}
.astro-yljLPu0O{max-width:860px;margin:0 auto;padding:0 20px}
.astro-0hTsJnfm{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.astro-0hTsJnfm h1{font-size:22px;font-weight:700;margin-bottom:2px}
.astro-0hTsJnfm p{font-size:14px;color:#666}
.astro-0hTsJnfm a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.astro-9LkcyBXa{display:flex;flex-direction:column;gap:20px}
.astro-4EAGAZsC{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.astro-4EAGAZsC:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.astro-4EAGAZsC h2{font-size:19px;margin-bottom:6px}
.astro-4EAGAZsC h2 a{color:#1a1a1a;text-decoration:none}
.astro-4EAGAZsC .astro-3lKZA56e{font-size:12px;color:#999;margin-bottom:8px}
.astro-4EAGAZsC p{font-size:14px;color:#555;margin-bottom:12px}
.astro-jNxn2gPO{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.astro-jNxn2gPO:hover{background:#4752c4}
.astro-ZIysfBDy{padding-bottom:60px}
.astro-ZIysfBDy h1{font-size:30px;font-weight:700;margin-bottom:8px}
.astro-ZIysfBDy time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.astro-ZIysfBDy h2{font-size:22px;margin:32px 0 12px}
.astro-ZIysfBDy h3{font-size:18px;margin:24px 0 8px}
.astro-ZIysfBDy p{margin-bottom:16px}
.astro-ZIysfBDy ul,.astro-ZIysfBDy ol{margin:0 0 16px 24px}
.astro-ZIysfBDy a{color:#5865f2}
.astro-ZIysfBDy img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.astro-nnCcCzWX{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.astro-nnCcCzWX a{color:#999;text-decoration:none}
.astro-CZAsvAhK{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.astro-E5hm05yv{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.astro-w0xK2Yxl{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.astro-VEs6iuYA{text-align:center;margin:0 0 24px}
.astro-Cicx5gCw{max-width:100%;height:auto;border-radius:12px}
.astro-aTL7jpBr{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.astro-aTL7jpBr 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)}
.astro-tkhmqvI0{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.astro-KAjDJXFG{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}
.astro-KAjDJXFG:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap');
body{font-family:'Source Serif 4',Georgia,serif;color:#1F2733;background:#FAF9F5}
.astro-0hTsJnfm{background:#3D5273;color:#fff}
.astro-0hTsJnfm h1{font-family:'Playfair Display',Georgia,serif;color:#fff}
.astro-0hTsJnfm p{color:rgba(255,255,255,.80)}
.astro-0hTsJnfm a{color:#fff;text-decoration:none}
.card h2{font-family:'Playfair Display',Georgia,serif}
.card h2 a{color:#3D5273}
.card h2 a:hover{color:#B8742A}
.read-more{color:#B8742A}
.article-content h1{font-family:'Playfair Display',Georgia,serif}
.article-content h2{font-family:'Playfair Display',Georgia,serif}
.article-content a{color:#B8742A}
.article-content img{border-radius:10px}
.affiliate-disclosure{border-radius:10px}
.ymyl-disclaimer{border-radius:10px}
/* === Custom === */
/* cv-resume-fr — custom.css
   Journal de bord d'une chercheuse d'emploi — Nadia Lemoine, Angers
   Palette ardoise-cuivre sur ivoire : carnet personnel, pas portail RH */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&display=swap');

:root {
  --primary:        #3D5273;
  --primary-dark:   #2A3A52;
  --accent:         #B8742A;
  --accent-light:   #D4964E;
  --bg:             #FAF9F5;
  --bg-alt:         #F0EDE6;
  --fg:             #1F2733;
  --muted:          #5E6B7A;
  --border:         #D6D0C8;
  --border-light:   #E8E4DC;
  --card-bg:        #FFFFFF;
  --shadow:         rgba(61, 82, 115, 0.08);
  --r:              10px;
  --font-heading:   'Playfair Display', Georgia, serif;
  --font-body:      'Source Serif 4', Georgia, serif;
  --max-content:    68ch;
  --max-site:       940px;
}

*,
*::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.8;
  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: rgba(184, 116, 42, 0.18);
  color: var(--fg);
}

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

h1 { font-size: 2.1rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; font-weight: 400; font-style: italic; }

/* --- Prose --- */
p {
  margin-top: 0;
  margin-bottom: 1.3em;
  max-width: var(--max-content);
}

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

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

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

em,
i {
  font-style: italic;
}

ul,
ol {
  padding-left: 1.6em;
  margin-bottom: 1.3em;
  max-width: var(--max-content);
}

li {
  margin-bottom: 0.45em;
}

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

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

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

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

/* --- Card template: header/hero banner --- */
.astro-0hTsJnfm {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 2.75rem 1.5rem 2.5rem;
  text-align: center;
}

.astro-0hTsJnfm h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-top: 0;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
  font-style: italic;
}

.astro-0hTsJnfm p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.80);
  max-width: 560px;
  margin: 0 auto;
  font-style: italic;
  line-height: 1.65;
}

.astro-0hTsJnfm a {
  color: #FFFFFF;
  text-decoration: none;
}

.astro-0hTsJnfm a:hover {
  color: rgba(255, 255, 255, 0.88);
}

/* --- Navigation --- */
nav {
  background-color: rgba(42, 58, 82, 0.96);
  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.88rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s ease;
}

nav a:hover {
  color: #FFFFFF;
}

/* --- Cards (listing page) --- */
.card {
  background-color: var(--card-bg);
  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, transform 0.2s ease;
}

.card:hover {
  box-shadow: 0 4px 16px rgba(61, 82, 115, 0.13);
  transform: translateY(-1px);
}

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

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

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

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

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

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

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

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

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

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

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

.article-content p {
  font-size: 1rem;
  line-height: 1.85;
  max-width: var(--max-content);
}

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

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

.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(--bg-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.85;
  max-width: var(--max-content);
}

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

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

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

footer a:hover {
  color: #FFFFFF;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  html {
    font-size: 16px;
  }

  .astro-0hTsJnfm {
    padding: 2rem 1rem 1.75rem;
  }

  .astro-0hTsJnfm h1 {
    font-size: 1.75rem;
  }

  .article-content {
    padding: 1.5rem 1rem;
  }

  h1 { font-size: 1.7rem; }
  h2 { font-size: 1.35rem; }
  h3 { font-size: 1.1rem; }
}

/* === R2 fixes (2026-06-21T02:50:29.013608+00:00) === */

/* Fix 1 — interligne du corps de texte dans les zones de contenu */
.bld-content p,
article p {
  line-height: 1.8;
}

/* Fix 2 — espace au-dessus des H2 pour signal visuel de section */
.bld-content h2,
article h2 {
  margin-top: 2.5em;
  margin-bottom: 0.6em;
}

/* Fix 3 — espace au-dessus des H3 pour identification rapide */
.bld-content h3,
article h3 {
  margin-top: 1.8em;
  margin-bottom: 0.4em;
}

/* Fix 4 — description du site en header : roman plutôt qu'italique */
header.astro-0hTsJnfm p {
  font-style: normal;
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
  opacity: 0.92;
}

/* Fix 5 — bouton carte : couleur unifiée avec le header */
.astro-jNxn2gPO {
  background-color: #5C6B8C;
}

/* Fix 6 — bloc disclosure : filet latéral + taille réduite */
.astro-CZAsvAhK {
  font-size: 0.85rem;
  color: #6b7280;
  padding: 0.75em 1em;
  border-left: 3px solid #d1d5db;
  margin-bottom: 1.5em;
}

/* === R3 fixes (2026-06-21T03:30:18.111890+00:00) === */

/* Fix 1 — H2 dans les articles : cuivré pour se distinguer des liens de navigation */
article h2,
.bld-content h2,
.article-content h2 {
  color: var(--accent);
}

/* Fix 2 — H3 dans les articles : ardoise foncé pour hiérarchie visible au scan */
article h3,
.bld-content h3,
.article-content h3 {
  color: var(--primary-dark);
}

/* Fix 3 — H1 page Auteur : cuivré pour signaler une personne, pas un profil système */
main.astro-ZIysfBDy > article > h1 {
  color: var(--accent);
}

/* Fix 4 — section À propos page Auteur : fond chaud + filet cuivré, lecture prioritaire */
main.astro-ZIysfBDy > article > section:first-of-type {
  background-color: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 1.25em 1.75em;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2em;
}

/* Fix 5 — cartes de listing : fond ivoire chaud plutôt que blanc pur */
.card {
  background-color: var(--bg-alt);
}

/* Fix 6 — liste d'articles page Auteur : mini-encadrés avec filet cuivré */
main.astro-ZIysfBDy > article > section:last-of-type ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

main.astro-ZIysfBDy > article > section:last-of-type li {
  border-left: 3px solid var(--accent);
  padding: 0.6em 1em;
  margin-bottom: 0.75em;
  background-color: var(--bg-alt);
  border-radius: 0 6px 6px 0;
}

main.astro-ZIysfBDy > article > section:last-of-type li a {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

main.astro-ZIysfBDy > article > section:last-of-type li a:hover {
  color: var(--accent);
}

/* === R4 fixes (2026-06-21T04:10:20.250275+00:00) === */

/* Fix 2 — H1 d'article : filet cuivré en bas, pont visuel vers les H2 cuivrés */
article h1,
.article-content h1 {
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.35em;
  margin-bottom: 0.75em;
}

/* Fix 3 — bloc LCEN disclosure : note discrète, taille réduite, marge resserrée */
.astro-CZAsvAhK,
div[role='note'],
.bld-disclosure {
  font-size: 0.78em;
  color: var(--muted);
  line-height: 1.5;
  padding: 0.5em 1em;
  margin-bottom: 1.75em;
}

/* ================================================================
   v.7bb5f3 — layout revision
   Signature éditoriale : le carnet de Nadia, pas un flux plat.
   Cible le DOM déployé (classes .astro-* stables, non obfusquées) :
     home  : header.astro-0hTsJnfm / main > div.astro-9LkcyBXa (cartes)
             + div.astro-tkhmqvI0 (index brut)
     carte : div.astro-4EAGAZsC > p.astro-3lKZA56e / h2>a / p / a.astro-jNxn2gPO
     article : main.astro-ZIysfBDy > h1 / time / article > p|h2|h3|a
   Voix : Playfair italic (display) · Source Serif 4 (texte) · Karla (méta)
   Couleur-moment #8B6B47 : 2 emplois seulement (filet manifeste, lettrine une)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Karla:wght@400;500;600;700&display=swap');

:root {
  --paper:       #F6F1E6;   /* surface carte, jamais blanc pur */
  --paper-2:     #F1EADC;   /* bandeau index / sélection */
  --hairline:    rgba(61, 82, 115, 0.12);
  --moment:      #8B6B47;   /* couleur-moment assignée */
  --font-meta:   'Karla', system-ui, -apple-system, sans-serif;
}

/* ---------- Masthead : bandeau photo + ardoise + sceau ---------- */
header.astro-0hTsJnfm {
  position: relative;
  background:
    linear-gradient(150deg, rgba(42, 58, 82, 0.94), rgba(30, 42, 62, 0.90)),
    url("/theme-assets/masthead-bg.jpg") center 34% / cover no-repeat;
  color: #FBF7EE;
  text-align: center;
  padding: 3.4rem 1.5rem 3rem;
  border-bottom: 3px solid var(--accent);
}

header.astro-0hTsJnfm > div.astro-yljLPu0O {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
}

/* petit sceau monogramme « CV » au-dessus du titre */
header.astro-0hTsJnfm > div.astro-yljLPu0O::before {
  content: "";
  display: block;
  width: 52px;
  height: 52px;
  margin: 0 auto 1.1rem;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 52 52'><circle cx='26' cy='26' r='24.5' fill='none' stroke='%23B8742A' stroke-width='1.4'/><text x='26' y='34' font-family='Georgia,serif' font-style='italic' font-size='22' fill='%23FBF7EE' text-anchor='middle'>cv</text></svg>") center / contain no-repeat;
}

header.astro-0hTsJnfm h1 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.1rem);
  line-height: 1.08;
  color: #FBF7EE;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

/* filet manifeste — emploi 1/2 de la couleur-moment */
header.astro-0hTsJnfm h1::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  margin: 0.85rem auto 0;
  background: var(--moment);
}

header.astro-0hTsJnfm p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(251, 247, 238, 0.86);
  max-width: 560px;
  margin: 1rem auto 0;
  opacity: 1;
}

/* ================================================================
   HOMEPAGE — le fil (portée : div.astro-9LkcyBXa, home uniquement)
   ================================================================ */
main > div.astro-9LkcyBXa {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px 28px;
  max-width: 1060px;
  margin: 4.5rem auto 0;
  padding: 0 1.25rem;
  align-items: stretch;
}

/* Strip 1 — bandeau photo « LE CARNET » ouvrant le journal */
main > div.astro-9LkcyBXa::before {
  content: "LE CARNET";
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  border-radius: 10px;
  font-family: var(--font-meta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #FBF7EE;
  text-shadow: 0 1px 6px rgba(12, 16, 22, 0.55);
  background:
    linear-gradient(rgba(20, 24, 28, 0.55), rgba(20, 24, 28, 0.25)),
    url("/theme-assets/article-hero.jpg") center 30% / cover no-repeat;
}

/* --- carte générique (base commune une + sélection + fil) --- */
main > div.astro-9LkcyBXa > div.astro-4EAGAZsC {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 9px;
  box-shadow: 0 1px 4px rgba(61, 82, 115, 0.05);
  padding: 1.85rem 2rem;
  margin: 0;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:hover {
  box-shadow: 0 6px 20px rgba(61, 82, 115, 0.11);
  transform: translateY(-2px);
  border-color: rgba(184, 116, 42, 0.35);
}

/* date : voix méta Karla, capitales espacées */
main > div.astro-9LkcyBXa p.astro-3lKZA56e {
  order: -1;
  font-family: var(--font-meta);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.7rem;
  max-width: none;
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.28;
  color: var(--primary);
  margin: 0 0 0.6rem;
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC h2 a {
  color: inherit;
  text-decoration: none;
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC h2 a:hover {
  color: var(--accent);
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC > p:not(.astro-3lKZA56e) {
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--muted);
  margin: 0 0 1.15rem;
  max-width: 64ch;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA : remplace le « Read Article » anglais par du français */
main > div.astro-9LkcyBXa a.astro-jNxn2gPO {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0;
  background: none;
  padding: 0;
  border: 0;
  text-decoration: none;
  color: var(--accent);
}

main > div.astro-9LkcyBXa a.astro-jNxn2gPO::after {
  content: "Lire l’article \2192";
  font-family: var(--font-meta);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

main > div.astro-9LkcyBXa a.astro-jNxn2gPO:hover::after {
  color: var(--primary);
  border-color: var(--primary);
}

/* ---------- carte 1 : LA UNE (pleine largeur, loud) ---------- */
main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(1) {
  grid-column: 1 / -1;
  background: var(--paper-2);
  padding: 2.9rem 2.75rem 2.6rem;
  border-color: rgba(184, 116, 42, 0.28);
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(1)::before {
  content: "À la une";
  font-family: var(--font-meta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #FBF7EE;
  background: var(--accent);
  align-self: flex-start;
  padding: 0.32em 0.85em;
  border-radius: 3px;
  margin-bottom: 1.1rem;
  order: -2;
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(1) h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-style: italic;
  line-height: 1.12;
  margin-bottom: 0.9rem;
  max-width: 20ch;
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(1) > p:not(.astro-3lKZA56e) {
  font-size: 1.24rem;
  line-height: 1.5;
  color: var(--fg);
  max-width: 60ch;
  display: block;
  -webkit-line-clamp: none;
  overflow: visible;
}

/* lettrine — emploi 2/2 de la couleur-moment */
main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(1) > p:not(.astro-3lKZA56e)::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 0.72;
  padding: 0.32rem 0.5rem 0 0;
  color: var(--moment);
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(1) a.astro-jNxn2gPO::after {
  border: 1px solid var(--accent);
  border-radius: 5px;
  padding: 0.6em 1.3em;
  font-size: 0.82rem;
}

main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(1) a.astro-jNxn2gPO:hover::after {
  background: var(--accent);
  color: #FBF7EE;
  border-color: var(--accent);
}

/* ---------- cartes 2-4 : SÉLECTION DE NADIA (trio 3-up) ---------- */
main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(2),
main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(3),
main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(4) {
  grid-column: span 2;
  border-top: 3px solid var(--accent);
  border-radius: 9px;
}

/* ---------- cartes 5+ : le fil chronologique (2-up) ---------- */
main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(n+5) {
  grid-column: span 3;
}

/* ================================================================
   Strip 2 + index brut « ARTICLES PRÉCÉDENTS » (div.astro-tkhmqvI0)
   ================================================================ */
main > div.astro-tkhmqvI0 {
  max-width: 1060px;
  margin: 4.5rem auto 1rem;
  padding: 0 1.25rem;
}

/* bandeau photo « ARTICLES PRÉCÉDENTS » (position variée : 70%) */
main > div.astro-tkhmqvI0::before {
  content: "ARTICLES PRÉCÉDENTS";
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  border-radius: 10px;
  margin-bottom: 2.4rem;
  font-family: var(--font-meta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  color: #FBF7EE;
  text-shadow: 0 1px 6px rgba(12, 16, 22, 0.55);
  background:
    linear-gradient(rgba(24, 20, 16, 0.58), rgba(24, 20, 16, 0.30)),
    url("/theme-assets/article-hero.jpg") center 70% / cover no-repeat;
}

/* index magazine : multi-colonnes, papier chaud, filets pointillés */
main > div.astro-tkhmqvI0 {
  columns: 2;
  column-gap: 2.75rem;
}

main > div.astro-tkhmqvI0::before {
  column-span: all;
}

main > div.astro-tkhmqvI0 a.astro-KAjDJXFG {
  display: block;
  break-inside: avoid;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--primary);
  text-decoration: none;
  padding: 0.75rem 0.25rem 0.75rem 1.4rem;
  border-bottom: 1px dotted rgba(61, 82, 115, 0.22);
  position: relative;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

main > div.astro-tkhmqvI0 a.astro-KAjDJXFG::before {
  content: "›";
  position: absolute;
  left: 0.25rem;
  color: var(--accent);
  font-weight: 700;
}

main > div.astro-tkhmqvI0 a.astro-KAjDJXFG:hover {
  color: var(--accent);
  padding-left: 1.7rem;
}

/* ---------- Footer déployé ---------- */
footer.astro-nnCcCzWX {
  background: var(--primary-dark);
  color: rgba(251, 247, 238, 0.72);
  text-align: center;
  padding: 2.4rem 1.5rem;
  margin-top: 4.5rem;
  font-family: var(--font-meta);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

footer.astro-nnCcCzWX a {
  color: rgba(251, 247, 238, 0.9);
  margin: 0 0.5rem;
}

/* ================================================================
   ARTICLE — signature typographique (main.astro-ZIysfBDy)
   ================================================================ */
main.astro-ZIysfBDy {
  max-width: 720px;
  margin: 3rem auto;
  padding: 0 1.4rem;
}

main.astro-ZIysfBDy > h1 {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  line-height: 1.1;
  color: var(--primary);
  margin: 0 0 0.6rem;
  border-bottom: none;
  padding-bottom: 0;
}

/* méta / signature sous le titre */
main.astro-ZIysfBDy > time {
  display: block;
  font-family: var(--font-meta);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2.2rem;
}

main.astro-ZIysfBDy > time::before {
  content: "Par Nadia Lemoine — ";
  color: var(--muted);
}

main.astro-ZIysfBDy > article > p {
  font-size: 1.16rem;
  line-height: 1.78;
  color: var(--fg);
  max-width: none;
  margin: 0 0 1.4em;
}

/* lettrine d'ouverture (accent cuivre, hors budget couleur-moment) */
main.astro-ZIysfBDy > article > p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.68;
  padding: 0.3rem 0.55rem 0 0;
  color: var(--accent);
}

main.astro-ZIysfBDy > article > h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  margin: 2.4em 0 0.6em;
  text-align: center;
  border-bottom: none;
  padding-bottom: 0;
}

/* dinkus ❦ — motif récurrent avant chaque h2 (sauf le premier) */
main.astro-ZIysfBDy > article > h2::before {
  content: "❦";
  display: block;
  color: var(--moment);
  font-size: 1.15rem;
  line-height: 1;
  margin: 0 auto 0.7em;
  opacity: 0.85;
}

main.astro-ZIysfBDy > article > h2:first-of-type::before {
  content: none;
}

main.astro-ZIysfBDy > article > h3 {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 1.9em 0 0.5em;
}

/* liens de corps : ancrés dans la palette (navy souligné cuivre) */
main.astro-ZIysfBDy > article a,
main.astro-ZIysfBDy > article > p a,
main.astro-ZIysfBDy > article > ul a,
main.astro-ZIysfBDy > article > li a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

main.astro-ZIysfBDy > article a:hover,
main.astro-ZIysfBDy > article > p a:hover {
  color: var(--accent);
}

/* CTA affiliés /try/ : pastille cuivre (spécificité > règle lien de corps) */
main.astro-ZIysfBDy > article > p a[href^="/try/"],
main.astro-ZIysfBDy > article > ul a[href^="/try/"],
main.astro-ZIysfBDy > article > li a[href^="/try/"] {
  display: inline-block;
  background: var(--accent);
  color: #FBF7EE;
  font-family: var(--font-meta);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.28em 0.8em;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(184, 116, 42, 0.28);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

main.astro-ZIysfBDy > article > p a[href^="/try/"]:hover,
main.astro-ZIysfBDy > article > ul a[href^="/try/"]:hover,
main.astro-ZIysfBDy > article > li a[href^="/try/"]:hover {
  background: var(--primary);
  color: #FBF7EE;
  box-shadow: 0 2px 8px rgba(61, 82, 115, 0.3);
}

main.astro-ZIysfBDy > article blockquote {
  margin: 2em 0;
  padding: 0.4em 1.6em;
  border-left: 3px solid var(--moment);
  background: none;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--primary);
  position: relative;
}

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  main > div.astro-9LkcyBXa {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
  main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(1),
  main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(2),
  main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(3),
  main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(4),
  main > div.astro-9LkcyBXa > div.astro-4EAGAZsC:nth-child(n+5) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  main > div.astro-tkhmqvI0 {
    columns: 1;
  }
  header.astro-0hTsJnfm {
    padding: 2.6rem 1.2rem 2.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: homepage section band, strip order, archive grid */
:root main:not(:has(> h1)) > div:first-of-type {
  align-items: stretch;
}

:root main:not(:has(> h1)) > div:first-of-type::before {
  content: "À LA UNE";
  grid-column: 1 / -1;
  order: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 0;
  margin: 0 0 0.25rem;
  padding: 0 0 0.7rem;
  border-bottom: 1px solid var(--hairline);
  border-radius: 0;
  background: none;
  color: var(--primary-dark);
  font-family: var(--font-meta);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.2;
  text-shadow: none;
  text-transform: uppercase;
}

:root main:not(:has(> h1)) > div:first-of-type > div {
  order: 4;
}

:root main:not(:has(> h1)) > div:first-of-type > div:first-child {
  order: 1;
}

:root main:not(:has(> h1)) > div:first-of-type > div:first-child::before {
  content: none;
  display: none;
}

:root main:not(:has(> h1)) > div:first-of-type > div:nth-child(2),
:root main:not(:has(> h1)) > div:first-of-type > div:nth-child(3),
:root main:not(:has(> h1)) > div:first-of-type > div:nth-child(4) {
  order: 2;
}

:root main:not(:has(> h1)) > div:first-of-type::after {
  content: "LE CARNET";
  grid-column: 1 / -1;
  order: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  border-radius: 10px;
  background:
    linear-gradient(rgba(20, 24, 28, 0.58), rgba(20, 24, 28, 0.28)),
    url("/theme-assets/article-hero.jpg") center 30% / cover no-repeat;
  color: #FBF7EE;
  font-family: var(--font-meta);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-shadow: 0 1px 6px rgba(12, 16, 22, 0.55);
}

:root main:not(:has(> h1)) > div:nth-of-type(2) {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  columns: auto;
  gap: 10px 16px;
}

:root main:not(:has(> h1)) > div:nth-of-type(2)::before {
  grid-column: 1 / -1;
  margin-bottom: 1.3rem;
}

:root main:not(:has(> h1)) > div:nth-of-type(2) > a {
  display: flex;
  align-items: flex-start;
  min-height: 78px;
  height: 100%;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--hairline);
  border-radius: 9px;
  background: var(--paper);
  box-shadow: 0 1px 4px rgba(61, 82, 115, 0.05);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.28;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

:root main:not(:has(> h1)) > div:nth-of-type(2) > a::before {
  content: none;
}

:root main:not(:has(> h1)) > div:nth-of-type(2) > a:hover {
  border-color: rgba(184, 116, 42, 0.35);
  box-shadow: 0 6px 20px rgba(61, 82, 115, 0.11);
  color: var(--accent);
  padding-left: 1.2rem;
  transform: translateY(-2px);
}

@media (max-width: 640px) {
  :root main:not(:has(> h1)) > div:first-of-type::before {
    padding-bottom: 0.65rem;
  }

  :root main:not(:has(> h1)) > div:first-of-type::after,
  :root main:not(:has(> h1)) > div:nth-of-type(2)::before {
    min-height: 190px;
  }

  :root main:not(:has(> h1)) > div:nth-of-type(2) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  :root main:not(:has(> h1)) > div:nth-of-type(2) > a {
    min-height: 96px;
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
    line-height: 1.24;
    overflow-wrap: anywhere;
  }
}

/* refix iter2: related article paper rows + visible A LA UNE band */
:root main:has(> h1) > article + div,
:root main:has(> h1) > article + div > div {
  background: transparent !important;
}

:root main:has(> h1) > article + div {
  margin-top: 3.2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(61, 82, 115, 0.18);
}

:root main:has(> h1) > article + div > div {
  display: grid;
  gap: 0.75rem;
}

:root main:has(> h1) > article + div > div > a {
  display: block;
  padding: 1rem 1.15rem;
  background: var(--paper) !important;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(61, 82, 115, 0.05);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

:root main:has(> h1) > article + div > div > a:hover {
  background: var(--paper-2) !important;
  border-color: rgba(184, 116, 42, 0.35);
  box-shadow: 0 6px 20px rgba(61, 82, 115, 0.11);
  color: var(--accent);
  transform: translateY(-1px);
}

:root main:not(:has(> h1)) > div:first-of-type::before {
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  min-height: 2.4rem;
  margin: 0 0 0.8rem;
  padding: 0.7rem 0 0.75rem;
  align-items: center;
  border-top: 1px solid rgba(61, 82, 115, 0.14);
  border-bottom: 1px solid rgba(61, 82, 115, 0.30);
  background: linear-gradient(90deg, var(--paper-2), rgba(241, 234, 220, 0.42));
}

@media (max-width: 640px) {
  :root main:has(> h1) > article + div > div > a {
    padding: 0.95rem 1rem;
  }

  :root main:not(:has(> h1)) > div:first-of-type::before {
    margin-bottom: 0.65rem;
    padding: 0.65rem 0 0.7rem;
    letter-spacing: 0.2em;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=Racquet-moody overlay=40% grid=asymmetric scale=balanced family=astro-grid */

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


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

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

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

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

