*{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-je7asll{max-width:900px;margin:0 auto;padding:0 28px}
.css-fohea2a{background:#111;color:#fff;padding:64px 0;margin-bottom:48px}
.css-fohea2a h1{font-size:42px;font-weight:800;letter-spacing:-1px;margin-bottom:8px}
.css-fohea2a p{font-size:18px;opacity:.7}
.css-fohea2a a{color:#fff;text-decoration:none;font-size:22px;font-weight:800}
.css-ktbao4o{padding:0}
.css-ddzemzc{padding:32px 0;border-left:4px solid #111;padding-left:24px;margin-bottom:28px}
.css-ddzemzc h2{font-size:24px;font-weight:700;margin-bottom:6px}
.css-ddzemzc h2 a{color:#111;text-decoration:none}
.css-ddzemzc h2 a:hover{text-decoration:underline}
.css-ddzemzc .css-yrho2g1{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;margin-bottom:8px}
.css-ddzemzc p{font-size:15px;color:#444;margin-bottom:10px}
.css-rnqwfzq{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-rnqwfzq:hover{background:#333}
.css-l9pcr70{padding-bottom:60px}
.css-l9pcr70 h1{font-size:38px;font-weight:800;letter-spacing:-1px;margin-bottom:10px}
.css-l9pcr70 time{font-size:12px;font-weight:600;text-transform:uppercase;color:#888;letter-spacing:1px;display:block;margin-bottom:28px}
.css-l9pcr70 h2{font-size:26px;font-weight:700;margin:40px 0 14px}
.css-l9pcr70 h3{font-size:20px;font-weight:700;margin:32px 0 10px}
.css-l9pcr70 p{margin-bottom:18px;font-size:17px}
.css-l9pcr70 ul,.css-l9pcr70 ol{margin:0 0 18px 24px}
.css-l9pcr70 a{color:#111;font-weight:600;text-decoration:underline}
.css-l9pcr70 img{max-width:100%;height:auto;margin:20px 0}
.css-ons7ogv{background:#111;color:#888;padding:28px 0;margin-top:48px;text-align:center;font-size:12px}
.css-ons7ogv a{color:#888;text-decoration:none}
.css-jfkccx0{background:#222;color:#aaa;padding:14px 20px;margin-bottom:24px;font-size:13px;font-style:italic}
.css-1ske2i4{background:#1a1a1a;color:#888;padding:14px 20px;margin-top:32px;font-size:12px;border-top:3px solid #444}
.css-3ifiv3g{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-whbu9vj{margin:0 0 24px}
.css-fg6up6j{width:100%;height:auto;border-radius:0}
.css-unqtzvo{border-left:4px solid #111;padding-left:24px;margin-top:48px}
.css-unqtzvo h3{font-size:18px;font-weight:700;text-transform:uppercase;letter-spacing:1px;margin-bottom:12px}
.css-unqtzvo ul{list-style:none;padding:0}
.css-unqtzvo li{padding:6px 0}
.css-unqtzvo a{color:#111;text-decoration:underline;font-weight:600}
.css-pe4id0c{border-left:4px solid #ddd;padding-left:24px;margin-top:36px}
.css-pe4id0c ul{list-style:none;padding:0}
.css-pe4id0c li{padding:6px 0;font-size:16px}
.css-pe4id0c a{color:#111;text-decoration:none;font-weight:600}
.css-pe4id0c a:hover{text-decoration:underline}
.css-pe4id0c .css-yrho2g1{margin:0 0 0 8px}
/* === 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:#1A1A1A;background:#F9F7F2}
.css-fohea2a{background:#2C3E2D;color:#fff}
.css-fohea2a h1{font-family:'Playfair Display',serif;color:#fff}
.css-fohea2a p{color:rgba(255,255,255,.75)}
.css-fohea2a a{color:#fff;text-decoration:none}
.card h2{font-family:'Playfair Display',serif}
.card h2 a{color:#2C3E2D}
.card h2 a:hover{color:#C5A059}
.read-more{color:#C5A059}
.article-content h1{font-family:'Playfair Display',serif}
.article-content h2{font-family:'Playfair Display',serif}
.article-content a{color:#C5A059}
.article-content img{border-radius:4px}
.affiliate-disclosure{border-radius:4px}
.ymyl-disclaimer{border-radius:4px}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Serif+4:ital,opsz,wght@0,8..60,300;0,8..60,400;0,8..60,600;1,8..60,300;1,8..60,400&display=swap');

/* Palette ardoise-Loire — journal cavalière amateure, Pauline Verdier near Saumur */

:root {
  --primary:    #4D6480;
  --primary-dk: #3A4E65;
  --primary-lt: #7A96B5;
  --accent:     #C09060;
  --accent-lt:  #E8D5B5;
  --bg:         #FAF7F1;
  --surface:    #FFFFFF;
  --fg:         #2A2420;
  --muted:      #7A6E65;
  --border:     #DDD4C4;
  --border-lt:  #EDE8DE;
  --r:          10px;
  --r-sm:       6px;
  --fb:         'Source Serif 4';
  --fh:         'EB Garamond';
  --shadow:     rgba(45, 60, 80, 0.08);
}

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

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

:root body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--fg);
  background-color: var(--bg);
  margin: 0;
  padding: 0;
}

/* --- Headings --- */

:root h1,
:root h2,
:root h3,
:root h4,
:root h5,
:root h6 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary);
  margin-top: 1.6em;
  margin-bottom: 0.5em;
  letter-spacing: -0.01em;
}

:root h1 { font-size: 2.2rem; }
:root h2 { font-size: 1.6rem; }
:root h3 { font-size: 1.25rem; }
:root h4 { font-size: 1.1rem; font-weight: 400; font-style: italic; }

/* --- Body text --- */

:root p {
  margin-top: 0;
  margin-bottom: 1.3em;
}

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

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

:root strong,
:root b {
  font-weight: 600;
}

:root em,
:root i {
  font-style: italic;
}

/* --- Blockquote: diary-aside tone --- */

:root blockquote {
  margin: 1.75em 0;
  padding: 1em 1.5em;
  border-left: 3px solid var(--accent);
  background-color: rgba(192, 144, 96, 0.07);
  font-style: italic;
  color: var(--muted);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 1.05rem;
}

:root blockquote p {
  margin-bottom: 0;
}

:root ul,
:root ol {
  padding-left: 1.6em;
  margin-bottom: 1.3em;
}

:root li {
  margin-bottom: 0.45em;
}

:root hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2em 0;
}

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

::selection {
  background-color: rgba(192, 144, 96, 0.22);
  color: var(--fg);
}

/* --- Bold template: hero banner --- */

:root .css-fohea2a {
  background-color: var(--primary);
  color: #FFFFFF;
  padding: 3.5rem 1.5rem 3rem;
  text-align: center;
}

:root .css-fohea2a h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 700;
  font-style: italic;
  color: #FFFFFF;
  letter-spacing: -0.015em;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

:root .css-fohea2a p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  margin: 0 auto;
  font-style: italic;
  font-weight: 300;
}

:root .css-fohea2a a {
  color: #FFFFFF;
  text-decoration: none;
}

:root .css-fohea2a a:hover {
  color: var(--accent-lt);
}

/* accent nav bar below hero */

:root .bld-bar {
  background-color: var(--accent);
  padding: 0.55rem 1.5rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

:root .bld-bar a {
  color: #FFFFFF;
  text-decoration: none;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  transition: opacity 0.18s ease;
}

:root .bld-bar a:hover {
  opacity: 0.78;
}

/* --- Cards (index listing) --- */

:root .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;
}

:root .card:hover {
  box-shadow: 0 4px 18px rgba(77, 100, 128, 0.14);
}

:root .card h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 0.4rem;
}

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

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

:root .card p {
  color: var(--muted);
  font-size: 0.96rem;
  margin-bottom: 0.75rem;
}

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

:root .read-more {
  display: inline-block;
  color: var(--accent);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
  transition: color 0.18s ease, border-color 0.18s ease;
}

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

/* --- Article content --- */

:root .article-content {
  max-width: 68ch;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

:root .article-content h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 2rem;
  font-style: italic;
  color: var(--primary);
}

:root .article-content h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-top: 2.2em;
  margin-bottom: 0.4em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid var(--border);
}

:root .article-content h3 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.2rem;
  color: var(--primary);
  font-style: italic;
  margin-top: 1.6em;
}

:root .article-content p {
  font-size: 1.05rem;
  line-height: 1.8;
}

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

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

:root .article-content img {
  border-radius: var(--r);
  margin: 1.5em 0;
  display: block;
}

:root .article-content blockquote {
  margin: 2em 0;
  padding: 1.2em 1.5em;
  border-left: 3px solid var(--accent);
  background-color: rgba(192, 144, 96, 0.07);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--muted);
  border-radius: 0 var(--r) var(--r) 0;
}

:root .article-content ul,
:root .article-content ol {
  font-size: 1.05rem;
  line-height: 1.8;
}

/* --- Footer --- */

:root footer {
  background-color: var(--primary-dk);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  margin-top: 3rem;
}

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

:root footer a:hover {
  color: #FFFFFF;
}

/* --- Responsive --- */

@media (max-width: 640px) {
  html {
    font-size: 16px;
  }

  :root .css-fohea2a {
    padding: 2.5rem 1rem 2rem;
  }

  :root .css-fohea2a h1 {
    font-size: 1.9rem;
  }

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

  :root h1 { font-size: 1.75rem; }
  :root h2 { font-size: 1.35rem; }
}

/* === R2 fixes (2026-06-21T13:00:21.793466+00:00) === */

/* Fix 1 — header subtitle legibility: catch any framework override on header p */
:root header p,
:root .site-description {
  color: #E8EEF4;
}

/* Fix 2 — section breaks: broader h2 selectors to complement .article-content h2 */
:root main article h2,
:root .css-l9pcr70 h2 {
  margin-top: 2.2em;
  margin-bottom: 0.4em;
}

/* Fix 3 — line length: constrain reading column at wide viewports */
:root main,
:root .css-l9pcr70 {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Fix 4 — CTA button: outlined slate instead of opaque black */
:root .bld-cta-button,
:root .bld-cta-button a {
  background: transparent;
  color: #4D6480;
  border: 1.5px solid #4D6480;
  padding: 0.5em 1.2em;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  border-radius: var(--r-sm);
  display: inline-block;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

:root .bld-cta-button:hover,
:root .bld-cta-button a:hover {
  background: #4D6480;
  color: #FFFFFF;
}

/* Fix 5 — paragraph breathing room in long sections */
:root article p + p,
:root .css-l9pcr70 p + p {
  margin-top: 1.2em;
}

/* === R3 fixes (2026-06-21T13:40:20.560998+00:00) === */

/* Fix 1 — READ NOW button: transparent outlined slate, no uppercase, no letter-spacing */
:root a[class*='css-'] {
  background: transparent;
  color: #4D6480;
  border: 1.5px solid #4D6480;
  padding: 0.45em 1.1em;
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: 0;
  border-radius: var(--r-sm);
  text-decoration: none;
  display: inline-block;
  transition: background 0.18s ease, color 0.18s ease;
}

:root a[class*='css-']:hover {
  background: #4D6480;
  color: #FFFFFF;
}

/* Fix 2 — H3 visibility in article scan: weight + spacing to distinguish from body */
:root main article h3,
:root [class*='css-l9pcr70'] h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.8em;
  margin-bottom: 0.3em;
  color: #3a3a3a;
}

/* Fix 3 — legal/important bloc: left-border callout at reduced size */
:root .css-1ske2i4 {
  border-left: 3px solid #9EA8B5;
  padding-left: 1.1em;
  background: #EEF0F3;
  color: #555;
  font-size: 0.82rem;
  margin-top: 2.5em;
}

/* Fix 4 — header subtitle: slightly warmer white for better contrast hierarchy */
:root header [class*='css-je7asll'] p,
:root [class*='css-fohea2a'] p {
  color: rgba(255, 255, 255, 0.82);
}

/* === R4 fixes (2026-06-21T14:20:20.621668+00:00) === */

/* Fix 1 — H3 scanability: more top space + tighter size to anchor sections without shouting */
:root main article h3,
:root [class*='css-l9pcr70'] h3 {
  margin-top: 2em;
  margin-bottom: 0.25em;
  font-size: 1.05rem;
  font-weight: 700;
  color: #2a2a2a;
}

/* Fix 2 — 'Important :' bloc: full padding shorthand + tighter font-size + more top margin + display:block */
:root .css-1ske2i4 {
  border-left: 3px solid #9EA8B5;
  padding: 0.75em 1em 0.75em 1.1em;
  background: #EEF0F3;
  color: #555;
  font-size: 0.8rem;
  margin-top: 3em;
  display: block;
}

/* Fix 3 — header subtitle: one step closer to white to read as intentional hierarchy */
:root header [class*='css-je7asll'] p,
:root [class*='css-fohea2a'] p {
  color: rgba(255, 255, 255, 0.86);
}

/* === QA round-1 fixes (2026-07-26T06:22:49+0800) === */
/* Editorial signature pass — Carnet du Cavalier, Pauline's dressage diary.
   Moment colour = warm rust #B34F2A, used in EXACTLY two places:
   (1) featured-card top rule, (2) featured drop cap. Nowhere else. */

:root {
  --moment: #B34F2A;
}

/* ---------------------------------------------------------------------------
   MASTHEAD — homepage: photo band + gradient + serif-italic wordmark,
   stirrup monogram (signature) + italic manifesto line.
   Selector keys off the descendant <h1> so the slim article back-link bar
   (same wrapper, no h1) is left alone.
--------------------------------------------------------------------------- */

:root body > div:first-child:has(h1) {
  background-image:
    linear-gradient(180deg, rgba(58, 78, 101, 0.60) 0%, rgba(41, 55, 74, 0.80) 100%),
    url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  background-position: center 42%;
  padding: 4.5rem 1.5rem 4rem;
  text-align: center;
  border-bottom: 3px solid var(--accent);
}

:root body > div:first-child:has(h1) > div {
  max-width: 720px;
  margin: 0 auto;
}

/* stirrup monogram — the signature mark */
:root body > div:first-child:has(h1) > div::before {
  content: "";
  display: block;
  width: 32px;
  height: 38px;
  margin: 0 auto 0.85rem;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.95;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2028'%20fill='none'%20stroke='%23C09060'%20stroke-width='1.5'%20stroke-linecap='round'%3E%3Crect%20x='9.5'%20y='2'%20width='5'%20height='4'%20rx='1'/%3E%3Cpath%20d='M12%206%20C6.5%206%203.5%2011%203.5%2016.5%20C3.5%2022%207.5%2025.5%2012%2025.5%20C16.5%2025.5%2020.5%2022%2020.5%2016.5%20C20.5%2011%2017.5%206%2012%206%20Z'/%3E%3Cpath%20d='M6%2023.5%20H18'/%3E%3C/svg%3E");
}

:root body > div:first-child:has(h1) h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 3rem;
  line-height: 1.1;
  color: #FDFBF6;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 14px rgba(20, 28, 40, 0.45);
}

:root body > div:first-child:has(h1) p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-weight: 300;
  font-size: 1.06rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
  margin: 0 auto;
}

/* italic manifesto line — one confident diary voice under the tagline */
:root body > div:first-child:has(h1) > div::after {
  content: "Journal d\2019 une cavali\00E8 re amateur \2014  au pas, au trot, une foul\00E9 e \00E0  la fois.";
  display: block;
  max-width: 460px;
  margin: 1.1rem auto 0;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(192, 144, 96, 0.5);
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--accent-lt);
}

/* Article slim masthead — back-link bar (wrapper without an h1) */
:root body > div:first-child:not(:has(h1)) {
  background-color: var(--primary-dk);
  background-image: none;
  padding: 0.85rem 1.5rem;
  border-bottom: 2px solid var(--accent);
  text-align: center;
}

:root body > div:first-child:not(:has(h1)) a {
  color: #FDFBF6;
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.01em;
  text-decoration: none;
}

:root body > div:first-child:not(:has(h1)) a:hover {
  color: var(--accent-lt);
}

/* ---------------------------------------------------------------------------
   HOMEPAGE FEED — hero featured card + quiet chronological cards.
   Homepage <main> is the one that holds cards (div > h2). Article <main>
   holds <article>, so these never cross-fire.
--------------------------------------------------------------------------- */

:root main:has(> div > h2) {
  max-width: 780px;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* base card (applies to every entry, then hero is amplified below) */
:root main:has(> div > h2) > div {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.7rem 1.8rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px var(--shadow);
  transition: box-shadow 0.2s ease;
}

:root main:has(> div > h2) > div:hover {
  box-shadow: 0 6px 20px rgba(77, 100, 128, 0.14);
}

:root main:has(> div > h2) h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.4rem;
}

:root main:has(> div > h2) h2 a {
  color: var(--primary);
  text-decoration: none;
}

:root main:has(> div > h2) h2 a:hover {
  color: var(--accent);
}

:root main:has(> div > h2) > div > p {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0 0 0.9rem;
}

/* date/meta line (first <p> of a card) — uppercase tracked kicker */
:root main:has(> div > h2) > div > p:first-child {
  font-family: 'Source Serif 4', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.72rem;
  font-style: normal;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

/* --- THE hero: first card, the loud voice --- */
:root main:has(> div > h2) > div:first-of-type {
  padding: 2.6rem 2.3rem 2.4rem;
  margin-bottom: 2.6rem;
  border-top: 3px solid var(--moment);
  box-shadow: 0 8px 28px rgba(45, 60, 80, 0.11);
}

/* hero kicker + byline block (built from the date <p>) */
:root main:has(> div > h2) > div:first-of-type > p:first-child {
  color: var(--primary);
  letter-spacing: 0.16em;
}

:root main:has(> div > h2) > div:first-of-type > p:first-child::after {
  content: "  \00B7  par Pauline  \00B7  6 min de lecture";
  color: var(--muted);
}

:root main:has(> div > h2) > div:first-of-type h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-size: 2.5rem;
  line-height: 1.13;
  margin: 0.35rem 0 0.7rem;
}

/* drop cap — the second (and last) rust moment */
:root main:has(> div > h2) > div:first-of-type h2 + p::first-letter {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 0.78;
  float: left;
  margin: 0.06em 0.1em 0 0;
  color: var(--moment);
}

:root main:has(> div > h2) > div:first-of-type > p:nth-of-type(2) {
  font-size: 1.08rem;
  color: var(--fg);
}

/* hero CTA promoted from outlined chip to a filled pill (overrides R3 rule) */
:root main:has(> div > h2) > div:first-of-type a[class*='css-'] {
  background: var(--primary);
  color: #FFFFFF;
  border: 1.5px solid var(--primary);
  border-radius: 999px;
  padding: 0.55em 1.5em;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

:root main:has(> div > h2) > div:first-of-type a[class*='css-']:hover {
  background: var(--primary-dk);
  color: #FFFFFF;
}

/* --- Change of gear: section kicker above the chronological run --- */
:root main:has(> div > h2) > div:nth-of-type(2) {
  margin-top: 2.8rem;
}

:root main:has(> div > h2) > div:nth-of-type(2)::before {
  content: "Au fil des s\00E9 ances";
  display: block;
  font-family: 'Source Serif 4', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  color: var(--primary);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 0.55rem;
  margin: -0.3rem 0 1.4rem;
}

/* ---------------------------------------------------------------------------
   ARTICLE PAGE — massive serif title, dinkus dividers, hanging quote,
   themed tables. Article <main> is the one holding <article>.
--------------------------------------------------------------------------- */

:root main:has(> article) > hgroup {
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.4rem;
  margin-bottom: 2.2rem;
}

:root main:has(> article) > hgroup h1 {
  font-family: 'EB Garamond', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.7rem;
  line-height: 1.15;
  color: var(--primary);
  margin: 0 0 0.7rem;
}

:root main:has(> article) > hgroup time {
  font-family: 'Source Serif 4', Georgia, serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  color: var(--muted);
}

:root main:has(> article) > hgroup time::before {
  content: "";
  display: inline-block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 0.6rem;
}

:root main:has(> article) article > section:first-of-type img {
  width: 100%;
  border-radius: var(--r);
}

:root main:has(> article) article > h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.25;
}

/* ❧ dinkus divider between sections (skip the very first h2) */
:root main:has(> article) article > h2:not(:first-of-type)::before {
  content: "\2767";
  display: block;
  text-align: center;
  color: var(--accent);
  font-size: 1.2rem;
  margin: 1.9em 0 1em;
  opacity: 0.8;
}

/* hanging quotation mark on blockquotes */
:root main:has(> article) blockquote {
  position: relative;
  padding-left: 2.4rem;
}

:root main:has(> article) blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.35rem;
  top: 0.1rem;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 3.4rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.4;
}

/* themed tables — was reading as raw markdown */
:root main table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.9em 0;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

:root main thead th,
:root main th {
  background-color: var(--primary);
  color: #FDFBF6;
  text-align: left;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.65em 0.95em;
}

:root main td {
  padding: 0.6em 0.95em;
  border-top: 1px solid var(--border-lt);
  color: var(--fg);
}

:root main tbody tr:nth-child(even) td {
  background-color: rgba(192, 144, 96, 0.06);
}

/* ---------------------------------------------------------------------------
   Responsive
--------------------------------------------------------------------------- */

@media (max-width: 640px) {
  :root body > div:first-child:has(h1) {
    padding: 3.2rem 1.1rem 2.8rem;
  }

  :root body > div:first-child:has(h1) h1 {
    font-size: 2.2rem;
  }

  :root main:has(> div > h2) > div:first-of-type {
    padding: 1.9rem 1.4rem;
  }

  :root main:has(> div > h2) > div:first-of-type h2 {
    font-size: 1.9rem;
  }

  :root main:has(> div > h2) > div:first-of-type h2 + p::first-letter {
    font-size: 2.9rem;
  }

  :root main:has(> article) > hgroup h1 {
    font-size: 2rem;
  }
}
