*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Palatino Linotype',Palatino,'Book Antiqua',serif;line-height:1.9;color:#2a2a2a;background:#fefefe}
.css-yapwyjc{max-width:640px;margin:0 auto;padding:0 20px}
.css-gah8wht{padding:60px 0 40px;border-bottom:1px solid #ccc;margin-bottom:48px}
.css-gah8wht h1{font-size:24px;font-weight:400;letter-spacing:-.5px}
.css-gah8wht p{font-size:14px;color:#777;margin-top:6px;font-style:italic}
.css-gah8wht a{color:#2a2a2a;text-decoration:none;font-size:24px;font-weight:400;letter-spacing:-.5px}
.css-h2bizhn{padding:20px 0}
.css-h2bizhn h2{font-size:18px;font-weight:400;margin-bottom:4px}
.css-h2bizhn h2 a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.css-h2bizhn h2 a:hover{border-bottom-color:#2a2a2a}
.css-h2bizhn .css-om008xn{font-size:12px;color:#aaa;margin-bottom:6px}
.css-h2bizhn p{font-size:14px;color:#666}
.css-biwczql{color:#888;font-size:13px;text-decoration:none}
.css-biwczql:hover{color:#2a2a2a}
.css-4om4xwd{padding-bottom:60px}
.css-4om4xwd h1{font-size:28px;font-weight:400;margin-bottom:8px}
.css-4om4xwd .css-om008xn{font-size:12px;color:#aaa;display:block;margin-bottom:32px}
.css-4om4xwd h2{font-size:21px;font-weight:400;margin:40px 0 12px;border-bottom:1px solid #eee;padding-bottom:6px}
.css-4om4xwd h3{font-size:17px;margin:28px 0 8px}
.css-4om4xwd p{margin-bottom:18px;font-size:16px}
.css-4om4xwd ul,.css-4om4xwd ol{margin:0 0 18px 20px}
.css-4om4xwd a{color:#555;border-bottom:1px solid #ccc}
.css-4om4xwd a:hover{color:#000;border-bottom-color:#000}
.css-4om4xwd img{max-width:100%;height:auto;margin:24px 0}
.css-foypzif{border-top:1px solid #ddd;padding:20px 0;margin-top:48px;text-align:center;font-size:12px;color:#aaa}
.css-foypzif a{color:#aaa;text-decoration:none}
.css-106iuex{padding:0 0 16px;margin-bottom:24px;font-size:12px;color:#aaa;font-style:italic;border-bottom:1px solid #eee}
.css-3gmn4rz{padding:16px 0 0;margin-top:32px;font-size:11px;color:#999;border-top:1px solid #eee}
.css-7oelm3o{font-size:12px;color:#aaa;margin:-26px 0 32px;font-weight:300}
.css-573lyfd{margin:0 auto 32px;max-width:720px}
.css-sjgxr4y{width:100%;height:auto}
.css-ham9gcy{margin:24px auto;max-width:720px}
.css-5kj6222{width:100%;height:auto}
.css-a82mi19{margin-top:40px;padding-top:20px;border-top:1px solid #eee;font-size:14px;color:#888}
.css-a82mi19 em{color:#aaa}
.css-a82mi19 a{color:#555;border-bottom:1px solid #ddd;text-decoration:none}
/* === 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-gah8wht{background:#2D3E2F;color:#fff}
.css-gah8wht h1{font-family:'Playfair Display',serif;color:#fff}
.css-gah8wht p{color:rgba(255,255,255,.75)}
.css-gah8wht a{color:#fff;text-decoration:none}
.card h2{font-family:'Playfair Display',serif}
.card h2 a{color:#2D3E2F}
.card h2 a:hover{color:#C05621}
.read-more{color:#C05621}
.article-content h1{font-family:'Playfair Display',serif}
.article-content h2{font-family:'Playfair Display',serif}
.article-content a{color:#C05621}
.article-content img{border-radius:8px}
.affiliate-disclosure{border-radius:8px}
.ymyl-disclaimer{border-radius:8px}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Jost:wght@400;500;600&display=swap');

/* Design tokens */
:root {
  --color-bg:          #F0F2EE;
  --color-text:        #1C2118;
  --color-heading:     #253028;
  --color-primary:     #7A6130;
  --color-accent:      #5A7A5E;
  --color-secondary:   #A08048;
  --color-surface:     #E4E8E2;
  --color-border:      #C4CAC0;
  --color-muted:       #596058;
  --color-link:        #7A6130;
  --color-link-hover:  #5A4520;
  --color-header-bg:   #253028;
  --color-header-text: #E8EDE6;
  --color-footer-bg:   #1A221C;
  --color-footer-text: #A8B4A8;
  --font-heading: 'Cardo', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;
  --size-base: 17px;
  --lh-body:    1.76;
  --lh-heading: 1.2;
  --max-prose:  68ch;
  --radius:      4px;
  --radius-card: 8px;
  --spacing:     3rem;
  --shadow-card: 0 2px 8px rgba(28, 33, 24, 0.08);
}

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

html {
  font-size: var(--size-base);
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: var(--lh-body);
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Headings */
:root h1,
:root h2,
:root h3,
:root h4 {
  font-family: var(--font-heading);
  line-height: var(--lh-heading);
  color: var(--color-heading);
  margin-top: 0;
  font-weight: 700;
}

:root h1 { font-size: 2.4rem;  margin-bottom: 0.9rem; }
:root h2 { font-size: 1.75rem; margin-bottom: 0.75rem; }
:root h3 { font-size: 1.3rem;  margin-bottom: 0.6rem; }
:root h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 0.5rem; }

/* Body text */
:root p {
  margin-top: 0;
  margin-bottom: 1.1rem;
  max-width: var(--max-prose);
}

:root ul,
:root ol {
  margin-top: 0;
  margin-bottom: 1.1rem;
  padding-left: 1.5rem;
  max-width: var(--max-prose);
}

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

:root blockquote {
  margin: 1.75rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-muted);
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  max-width: var(--max-prose);
}

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

/* Links */
:root a {
  color: var(--color-link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.18s ease;
}

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

/* Images */
:root img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* Header */
:root .mag-header {
  background-color: var(--color-header-bg);
  color: var(--color-header-text);
  padding: 2rem 1.5rem 1.75rem;
}

:root .mag-header h1 {
  font-family: var(--font-heading);
  color: var(--color-header-text);
  font-size: 1.95rem;
  margin-bottom: 0.4rem;
  letter-spacing: 0.01em;
  font-weight: 700;
}

:root .mag-header p {
  color: rgba(232, 237, 230, 0.68);
  font-size: 0.95rem;
  margin-bottom: 0;
  max-width: none;
}

:root .mag-header a { color: var(--color-header-text); text-decoration: none; }
:root .mag-header a:hover { color: var(--color-secondary); }

/* Navigation */
:root .mag-nav,
:root nav {
  background-color: var(--color-accent);
  padding: 0.6rem 1.5rem;
}

:root .mag-nav a,
:root nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius);
  transition: background 0.18s ease;
}

:root .mag-nav a:hover,
:root nav a:hover {
  background-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

/* Article content */
:root .article-content {
  font-size: 1.06rem;
  line-height: var(--lh-body);
}

:root .article-content h1,
:root .article-content h2,
:root .article-content h3 {
  font-family: var(--font-heading);
  color: var(--color-heading);
}

:root .article-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}

:root .article-content a { color: var(--color-link); font-weight: 500; }
:root .article-content a:hover { color: var(--color-link-hover); }

:root .article-content img {
  border-radius: var(--radius-card);
  margin: 1.5rem 0;
}

/* Cards */
:root .card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

:root .card:hover {
  box-shadow: 0 5px 18px rgba(28, 33, 24, 0.13);
  transform: translateY(-2px);
}

:root .card h2 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.25;
  margin-bottom: 0.4rem;
}

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

:root .card .card-meta,
:root .card .card-date {
  font-size: 0.8rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

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

:root .card .read-more {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

:root .card .read-more:hover { color: var(--color-link-hover); text-decoration: underline; }

/* Related articles aside */
:root main aside {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
}

:root main aside h4 {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--color-muted);
  margin-bottom: 0.6rem;
  font-weight: 600;
  font-family: var(--font-body);
}

.mag-related-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.6rem;
}

.mag-related-item a {
  display: block;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--color-border);
  text-decoration: none;
  font-weight: 500;
  color: var(--color-heading);
}

.mag-related-item a:hover { color: var(--color-primary); }

/* HR */
:root hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--spacing) 0;
}

/* Footer */
:root footer,
:root .mag-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 2rem 1.5rem;
  font-size: 0.88rem;
}

:root footer a,
:root .mag-footer a {
  color: var(--color-footer-text);
  text-decoration: underline;
  text-decoration-color: rgba(168, 180, 168, 0.4);
}

:root footer a:hover,
:root .mag-footer a:hover {
  color: #fff;
  text-decoration-color: rgba(255, 255, 255, 0.55);
}

/* Utility */
:root .text-muted { color: var(--color-muted); }

/* Responsive */
@media (max-width: 600px) {
  :root h1 { font-size: 1.85rem; }
  :root h2 { font-size: 1.4rem; }
  :root h3 { font-size: 1.15rem; }
  :root .mag-header { padding: 1.4rem 1rem 1.2rem; }
  :root .mag-header h1 { font-size: 1.5rem; }
}

/* === R2 fixes (2026-07-01T15:40:08.289541+00:00) === */

/* Fix 1 + Fix 5: Header contrast & breathing room */
:root .mag-header {
  padding: 2.5em 2em;
}

:root .mag-header h1 {
  color: #F5F2EC;
  font-size: 2.3rem;
}

:root .mag-header a {
  color: #F5F2EC;
}

/* Fix 2 + Fix 6: Article paragraph readability & inter-section breathing */
:root .article-content p {
  line-height: 1.8;
  margin-bottom: 1.2em;
}

/* Fix 3: Article section headings — stronger landmark spacing */
:root .article-content h2 {
  margin-top: 2.5em;
  margin-bottom: 0.5em;
}

/* Fix 4: Related articles block — soft tinted card instead of dark banner */
:root main nav,
:root main aside {
  background-color: #E8EDE5;
  color: #3A4A38;
  border-top: none;
  border-left: 3px solid #5A7A5E;
  padding: 1em 1.4em;
  border-radius: 4px;
  margin-top: 2.5rem;
}

/* === R3 fixes (2026-07-01T16:20:09.362984+00:00) === */

/* Fix R3-1: Hero h1 visibility — ensure site name reads clearly on dark header */
header h1 {
  color: #F5F2EC;
  font-size: 1.9em;
  letter-spacing: 0.01em;
}

/* Fix R3-2: Scrollable wide tables in article content */
.bld-content table {
  display: block;
  overflow-x: auto;
  font-size: 0.82em;
  border-collapse: collapse;
}

.bld-content th,
.bld-content td {
  min-width: 90px;
  padding: 0.45em 0.6em;
  vertical-align: top;
}

/* Fix R3-3: Tagline/subtitle legibility in hero header */
header p,
header .tagline {
  color: rgba(245, 242, 236, 0.82);
  font-size: 0.95em;
  font-style: italic;
  margin-top: 0.6em;
  line-height: 1.5;
}

header {
  padding-top: 2.8em;
  padding-bottom: 2.8em;
}

/* Fix R3-4: List item size parity with body text */
.bld-content ul li,
.bld-content ol li {
  font-size: 1em;
  line-height: 1.75;
  margin-bottom: 0.25em;
}

/* === R4 fixes (2026-07-01T18:30:28.888737+00:00) === */

/* Fix R4-1: Header h1 — specificity (0,1,2) beats :root h1 (0,1,1), garantit la couleur crème sur fond sombre */
:root header h1 {
  color: #F5F2EC;
  font-size: 2.1rem;
  letter-spacing: 0.02em;
}

:root header h1 a,
:root header h1 a:visited {
  color: #F5F2EC;
  text-decoration: none;
}

/* Fix R4-2: Tables dans <article> — overflow horizontal avec bon sélecteur */
article table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  font-size: 0.82em;
  border-collapse: collapse;
  max-width: 100%;
}

article th,
article td {
  min-width: 100px;
  padding: 0.4em 0.6em;
  vertical-align: top;
}

article td:last-child {
  white-space: normal;
  min-width: 140px;
}

/* Fix R4-3: Listes dans <article> — taille et interligne normalisés */
article ul li,
article ol li {
  font-size: 1rem;
  line-height: 1.78;
  margin-bottom: 0.3em;
}
