*{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-qrj9td9{margin:20px 0}
.css-sptruih{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}
/* === 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:#2C2C2C;background:#FDFCF8}
.css-fohea2a{background:#1B3022;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:#1B3022}
.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);
}
