*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,system-ui,sans-serif;line-height:1.7;color:#333;background:#fff}
.css-yzdee5r{max-width:780px;margin:0 auto;padding:0 20px}
header{background:#1a1a2e;color:#fff;padding:32px 0;margin-bottom:40px}
header h1{font-size:28px;margin-bottom:4px}
header p{opacity:.7;font-size:15px}
header .css-l4ijf78{color:#fff;text-decoration:none;font-size:18px;font-weight:600}
.css-ye4rgby{border-bottom:1px solid #eee;padding:24px 0}
.css-ye4rgby h2{font-size:20px;margin-bottom:8px}
.css-ye4rgby h2 a{color:#1a1a2e;text-decoration:none}
.css-ye4rgby h2 a:hover{color:#e94560}
.css-ye4rgby .date{font-size:13px;color:#999;margin-bottom:8px}
.css-yf9rbb2{color:#e94560;text-decoration:none;font-size:14px;font-weight:600}
.css-jbuey7v{padding-bottom:60px}
.css-jbuey7v h1{font-size:32px;margin-bottom:8px}
.css-jbuey7v time{font-size:13px;color:#999;display:block;margin-bottom:24px}
.css-jbuey7v h2{font-size:22px;margin:32px 0 12px}
.css-jbuey7v h3{font-size:18px;margin:24px 0 8px}
.css-jbuey7v p{margin-bottom:16px}
.css-jbuey7v ul,.css-jbuey7v ol{margin:0 0 16px 24px}
.css-jbuey7v a{color:#e94560}
.css-jbuey7v img{max-width:100%;height:auto;border-radius:8px;margin:16px 0}
footer{border-top:1px solid #eee;padding:24px 0;margin-top:40px;text-align:center;font-size:13px;color:#999}
footer a{color:#999}
.css-f0mt0nl{background:#f5f5f5;border-left:3px solid #999;padding:10px 14px;margin-bottom:20px;font-size:13px;color:#777;font-style:italic}
.css-50xh4af{background:#fef9e7;border:1px solid #f0c36d;padding:10px 14px;margin-top:20px;font-size:12px;color:#8a6d3b}
.css-dy126fo{font-size:13px;color:#999;margin:-16px 0 24px;font-style:italic}
.css-27mx0n1{text-align:center;margin:0 0 20px}
.css-hykis53{max-width:100%;height:auto;border-radius:6px}
.css-ftc5r3u{margin-top:40px;padding-top:24px;border-top:1px solid #eee}
.css-ftc5r3u h3{font-size:18px;margin-bottom:12px}
.css-ftc5r3u ul{list-style:none;padding:0}
.css-ftc5r3u li{padding:4px 0}
.css-ftc5r3u a{color:#e94560;text-decoration:none}
.css-nvkyz2q{padding:20px 0}
.css-nvkyz2q ul{list-style:none;padding:0}
.css-nvkyz2q li{padding:5px 0;font-size:15px}
.css-nvkyz2q a{color:#1a1a2e;text-decoration:none}
.css-nvkyz2q a:hover{color:#e94560}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:wght@400;700&display=swap');
body{font-family:'Inter',sans-serif;color:#2C2C2C;background:#FFFAF2}
header{background:#8B1E1E;color:#fff}
header h1{font-family:'Montserrat',serif;color:#fff}
header p{color:rgba(255,255,255,.75)}
header a{color:#fff;text-decoration:none}
.css-ye4rgby h2{font-family:'Montserrat',serif}
.css-ye4rgby h2 a{color:#8B1E1E}
.css-ye4rgby h2 a:hover{color:#FFB800}
.css-yf9rbb2{color:#FFB800}
.css-jbuey7v h1{font-family:'Montserrat',serif}
.css-jbuey7v h2{font-family:'Montserrat',serif}
.css-jbuey7v a{color:#FFB800}
.css-jbuey7v img{border-radius:8px}
.affiliate-disclosure{border-radius:8px}
.ymyl-disclaimer{border-radius:8px}
/* === Custom === */
/* v.d470ff — layout revision */
/* an-anglais-fr / Tandolly — Carnet d'espagnol de Clara Aubert, libraire à Tours.
   Papier crème + vert-botanique + ambre-surligneur. Moment: vert forêt #3D5A47 (2 emplois).
   Live DOM (classic Lambda, seed obi_5k2m):
     home     : main > article×N (h2>a, p.date, p, a) + section (archive)   → :has(> article + article)
     article  : main > h1 + time + article + section(connexes)              → :has(> time) via NOT-home
     statique : main > article > h1 …                                       → NOT-home aussi
   Le @import de tête est ignoré par le pipeline → polices en @font-face. */

/* ---- Fonts (position-independent @font-face) ---- */
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600 700;font-display:swap;
  src:url(https://fonts.gstatic.com/s/fraunces/v38/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxC9TeA.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Fraunces';font-style:normal;font-weight:600 700;font-display:swap;
  src:url(https://fonts.gstatic.com/s/fraunces/v38/6NU78FyLNQOQZAnv9bYEvDiIdE9Ea92uemAk_WBq8U_9v0c2Wa0KxCFTeO-U.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:500 600;font-display:swap;
  src:url(https://fonts.gstatic.com/s/fraunces/v38/6NUs8FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChJdt9hFwpX9W37lm1_mv0iQg.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Fraunces';font-style:italic;font-weight:500 600;font-display:swap;
  src:url(https://fonts.gstatic.com/s/fraunces/v38/6NUs8FyLNQOQZAnv9ZwNjucMHVn85Ni7emAe9lKqZTnbB-gzTK0K1ChJdt9hFwpX9W37lm1_mvMiQvTm.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 700;font-display:swap;
  src:url(https://fonts.gstatic.com/s/nunito/v32/XRXV3I6Li01BKofINeaB.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;}
@font-face{font-family:'Nunito';font-style:normal;font-weight:400 700;font-display:swap;
  src:url(https://fonts.gstatic.com/s/nunito/v32/XRXV3I6Li01BKofIO-aBXso.woff2) format('woff2');
  unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;}

:root{
  --paper:#F0E9DA;
  --card:#FBF7EE;
  --card-alt:#F4EDDD;
  --ink:#26221A;
  --muted:#6A6353;
  --forest:#294A3D;
  --green:#3D6B5A;
  --amber:#C58A22;
  --amber-deep:#A0700F;
  --moment:#3D5A47;
  --line:rgba(41,74,61,.16);
  --font-h:'Fraunces',Georgia,serif;
  --font-b:'Nunito',system-ui,sans-serif;
}

*,*::before,*::after{box-sizing:border-box;}
html{font-size:18px;scroll-behavior:smooth;}
body{
  font-family:var(--font-b);
  font-size:1rem;line-height:1.75;
  color:var(--ink);
  background:var(--paper);
  margin:0;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;
}
img{max-width:100%;height:auto;}
::selection{background:rgba(197,138,34,.22);color:var(--ink);}
a{color:var(--green);}

/* =====================================================================
   MASTHEAD (shared photo band across home + article)
   ===================================================================== */
header{
  background-image:linear-gradient(rgba(26,32,24,.60),rgba(26,32,24,.50)),url("/theme-assets/hero-masthead.jpg");
  background-size:cover;background-position:center 44%;background-repeat:no-repeat;
  color:#F6F1E7;padding:0;margin:0;
  border-bottom:3px solid var(--amber);
}
header > div:first-child{
  max-width:1120px;margin:0 auto;padding:3.4rem 30px 3rem;
}
header > div:first-child > h1{
  font-family:var(--font-h);font-style:italic;font-weight:600;
  font-size:clamp(2.3rem,5.2vw,3.3rem);line-height:1.04;
  color:#FBF6EC;margin:0;
}
header > div:first-child > h1::before{
  content:"Carnet d'espagnol · débuter de zéro";
  display:block;font-family:var(--font-b);font-style:normal;
  font-size:12px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;
  color:rgba(246,241,231,.72);margin-bottom:.8rem;
}
header > div:first-child > p{
  font-family:var(--font-h);font-style:italic;font-weight:500;
  font-size:1.08rem;line-height:1.5;color:rgba(246,241,231,.92);
  max-width:60ch;margin:1rem 0 0;padding-left:1rem;
  border-left:3px solid var(--moment);            /* moment — emploi 1/2 */
}
/* article/static wordmark link */
header > div:first-child > a{
  font-family:var(--font-h);font-style:italic;font-weight:600;
  font-size:1.9rem;color:#FBF6EC;text-decoration:none;
}
header:has(> div > a) > div:first-child{padding:2.1rem 30px;}

/* =====================================================================
   FOOTER
   ===================================================================== */
footer{
  background:#21382E;color:rgba(233,240,232,.82);
  border-top:3px solid var(--amber);
  padding:2.6rem 20px;text-align:center;margin:0;
  font-family:var(--font-b);font-size:.86rem;letter-spacing:.02em;
}
footer p{margin:0;max-width:none;}
footer a{color:#F1E9D8;text-decoration:none;font-weight:600;letter-spacing:.04em;}
footer a:hover{color:var(--amber);}

/* =====================================================================
   HOME  ( main:has(> article + article) )
   ===================================================================== */
main:nth-of-type(1):has(> article + article){
  --gap:2.4rem;
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:var(--gap);row-gap:2.6rem;
  max-width:1120px;padding:0 30px;margin:52px auto 0;
}

/* ---- HERO : le dernier billet (pleine largeur) ---- */
main:nth-of-type(1):has(> article + article) > article:first-of-type{
  grid-column:1 / -1;position:relative;
  background:var(--card);border:1px solid var(--line);border-radius:10px;
  box-shadow:0 1px 4px rgba(0,0,0,.05);
  padding:3rem 3rem 2.6rem;margin-bottom:1.4rem;
}
main:nth-of-type(1):has(> article + article) > article:first-of-type::before{
  content:"Le dernier billet";display:block;
  font-family:var(--font-b);font-size:12px;font-weight:700;
  letter-spacing:.24em;text-transform:uppercase;color:var(--amber-deep);
  margin-bottom:1rem;
}
main:nth-of-type(1):has(> article + article) > article:first-of-type h2{
  font-family:var(--font-h);font-weight:700;
  font-size:clamp(2.1rem,4.4vw,3rem);line-height:1.12;letter-spacing:-.01em;
  margin:0 0 .8rem;
}
main:nth-of-type(1):has(> article + article) > article:first-of-type h2 a{
  color:var(--forest);text-decoration:none;
}
main:nth-of-type(1):has(> article + article) > article:first-of-type h2 a:hover{color:var(--green);}
main:nth-of-type(1):has(> article + article) > article:first-of-type > p.date{
  font-family:var(--font-b);font-size:.74rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--amber-deep);
  margin:0 0 1.1rem;
}
main:nth-of-type(1):has(> article + article) > article:first-of-type > p.date::before{
  content:"Par Clara Aubert · ";
}
main:nth-of-type(1):has(> article + article) > article:first-of-type > p:not(.date){
  font-size:1.22rem;line-height:1.55;color:var(--ink);max-width:60ch;margin:0;
}
main:nth-of-type(1):has(> article + article) > article:first-of-type > p:not(.date)::first-letter{
  font-family:var(--font-h);font-weight:700;font-size:3.4em;line-height:.78;
  float:left;margin:.05em .12em 0 0;color:var(--moment);   /* moment — emploi 2/2 */
}
main:nth-of-type(1):has(> article + article) > article:first-of-type > a{
  display:inline-block;margin-top:1.5rem;
  font-family:var(--font-b);font-weight:700;font-size:.8rem;
  letter-spacing:.14em;text-transform:uppercase;color:var(--forest);
  text-decoration:none;padding:.72em 1.6em;
  border:1.5px solid var(--amber);border-radius:999px;
  transition:background .2s,color .2s;
}
main:nth-of-type(1):has(> article + article) > article:first-of-type > a:hover{
  background:var(--amber);color:#2a2416;
}

/* ---- Cartes régulières (picks + journal) ---- */
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2){
  display:flex;flex-direction:column;
  background:var(--card);border:1px solid var(--line);border-radius:10px;
  box-shadow:0 1px 4px rgba(0,0,0,.045);
  padding:2rem 2.1rem;
  transition:box-shadow .2s,transform .2s;
}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2):hover{
  box-shadow:0 6px 20px rgba(41,74,61,.11);transform:translateY(-2px);
}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2) > p.date{
  order:-1;font-family:var(--font-b);font-size:.7rem;font-weight:700;
  letter-spacing:.16em;text-transform:uppercase;color:var(--amber-deep);
  margin:0 0 .6rem;
}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2) h2{
  font-family:var(--font-h);font-weight:600;font-size:1.28rem;line-height:1.28;
  margin:0 0 .55rem;
}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2) h2 a{
  color:var(--forest);text-decoration:none;
}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2) h2 a:hover{color:var(--green);}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2) > p:not(.date){
  font-size:.98rem;line-height:1.6;color:var(--muted);margin:0 0 1.2rem;max-width:60ch;
  display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2) > a{
  margin-top:auto;align-self:flex-start;
  font-family:var(--font-b);font-weight:700;font-size:.76rem;
  letter-spacing:.12em;text-transform:uppercase;color:var(--green);
  text-decoration:none;border-bottom:2px solid var(--amber);padding-bottom:2px;
  transition:color .2s,border-color .2s;
}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(n+2) > a:hover{
  color:var(--amber-deep);border-color:var(--green);
}

/* ---- Bandeau-titre "À lire ensuite" au-dessus des picks (cols 2+3) ---- */
main:nth-of-type(1):has(> article + article) > article:nth-of-type(2),
main:nth-of-type(1):has(> article + article) > article:nth-of-type(3){margin-top:3.4rem;}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(2){position:relative;}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(2)::before{
  content:"À lire ensuite · la sélection de Clara";
  position:absolute;left:0;bottom:calc(100% + 1rem);
  width:calc(200% + var(--gap));
  font-family:var(--font-b);font-size:13px;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;color:var(--muted);
  border-bottom:1px solid var(--line);padding-bottom:.6rem;
}

/* ---- Strip 1 (photo) entre picks et journal — au-dessus de la 1re rangée journal ---- */
main:nth-of-type(1):has(> article + article) > article:nth-of-type(4),
main:nth-of-type(1):has(> article + article) > article:nth-of-type(5){margin-top:250px;}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(4){position:relative;}
main:nth-of-type(1):has(> article + article) > article:nth-of-type(4)::before{
  content:"Le journal — les plus récents";
  position:absolute;left:0;top:-214px;
  width:calc(200% + var(--gap));height:190px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background-image:linear-gradient(rgba(20,24,28,.55),rgba(20,24,28,.30)),url("/theme-assets/article-hero.jpg");
  background-size:cover;background-position:center 32%;background-repeat:no-repeat;
  border-radius:10px;color:#F6F1E7;
  font-family:var(--font-b);font-size:13px;font-weight:700;
  letter-spacing:.32em;text-transform:uppercase;text-shadow:0 1px 5px rgba(0,0,0,.55);
}

/* ---- Dernière carte journal : pleine largeur, centrée (équilibre) ---- */
main:nth-of-type(1):has(> article + article) > article:last-of-type{
  grid-column:1 / -1;align-items:center;text-align:center;
}
main:nth-of-type(1):has(> article + article) > article:last-of-type > p:not(.date){
  margin-left:auto;margin-right:auto;
}
main:nth-of-type(1):has(> article + article) > article:last-of-type > a{align-self:center;}

/* ---- Strip 2 (photo) + index d'archives en pied ---- */
main:nth-of-type(1):has(> article + article) > section{
  grid-column:1 / -1;position:relative;margin-top:250px;
  background:var(--card-alt);border:1px solid var(--line);border-radius:10px;
  box-shadow:0 1px 4px rgba(0,0,0,.04);padding:2.1rem 2.3rem;
}
main:nth-of-type(1):has(> article + article) > section::before{
  content:"Continuer la lecture";
  position:absolute;left:0;top:-214px;width:100%;height:190px;
  display:flex;align-items:center;justify-content:center;text-align:center;
  background-image:linear-gradient(rgba(20,24,28,.55),rgba(20,24,28,.30)),url("/theme-assets/article-hero.jpg");
  background-size:cover;background-position:center 70%;background-repeat:no-repeat;
  border-radius:10px;color:#F6F1E7;
  font-family:var(--font-b);font-size:13px;font-weight:700;
  letter-spacing:.32em;text-transform:uppercase;text-shadow:0 1px 5px rgba(0,0,0,.55);
}
main:nth-of-type(1):has(> article + article) > section > ul{
  list-style:none;padding:0;margin:0;
  display:grid;grid-template-columns:repeat(3,1fr);gap:10px 16px;
}
main:nth-of-type(1):has(> article + article) > section > ul > li{
  padding:0;margin:0;break-inside:avoid;
}
main:nth-of-type(1):has(> article + article) > section > ul > li a{
  display:block;height:100%;
  background:var(--card);border:1px solid var(--line);border-radius:10px;
  box-shadow:0 1px 4px rgba(0,0,0,.045);padding:1.1rem 1.3rem;
  font-family:var(--font-h);font-weight:600;font-size:1rem;line-height:1.34;
  color:var(--forest);text-decoration:none;
  transition:box-shadow .2s,transform .2s,color .2s;
}
main:nth-of-type(1):has(> article + article) > section > ul > li a:hover{
  box-shadow:0 6px 20px rgba(41,74,61,.11);transform:translateY(-2px);color:var(--amber-deep);
}

/* =====================================================================
   ARTICLE + STATIC PROSE  ( main NOT home )
   ===================================================================== */
main:nth-of-type(1):not(:has(> article + article)){
  max-width:760px;padding:0 24px;margin:52px auto 0;
}
main:nth-of-type(1):not(:has(> article + article)) h1{
  font-family:var(--font-h);font-weight:700;
  font-size:clamp(2rem,4.6vw,2.8rem);line-height:1.13;letter-spacing:-.01em;
  color:var(--forest);margin:0 0 .4rem;
}
main:nth-of-type(1):not(:has(> article + article)) > time{
  display:block;font-family:var(--font-b);font-size:.76rem;font-weight:700;
  letter-spacing:.18em;text-transform:uppercase;color:var(--amber-deep);
  margin:0 0 2.6rem;
}
main:nth-of-type(1):not(:has(> article + article)) > time::before{content:"Par Clara Aubert · ";}

main:nth-of-type(1):not(:has(> article + article)) article p{
  font-size:1.12rem;line-height:1.8;color:var(--ink);margin:0 0 1.35em;max-width:66ch;
}
main:nth-of-type(1):not(:has(> article + article)) article > p:first-of-type::first-letter{
  font-family:var(--font-h);font-weight:700;font-size:3.3em;line-height:.82;
  float:left;margin:.04em .1em 0 0;color:var(--green);
}
main:nth-of-type(1):not(:has(> article + article)) article ul,
main:nth-of-type(1):not(:has(> article + article)) article ol{
  font-size:1.1rem;line-height:1.75;color:var(--ink);max-width:66ch;margin:0 0 1.35em 1.4em;
}
main:nth-of-type(1):not(:has(> article + article)) article li{margin-bottom:.5em;}
main:nth-of-type(1):not(:has(> article + article)) article li::marker{color:var(--amber);}

main:nth-of-type(1):not(:has(> article + article)) article h2{
  font-family:var(--font-h);font-weight:600;font-size:1.6rem;line-height:1.24;
  color:var(--forest);margin:2.4em 0 .55em;
}
main:nth-of-type(1):not(:has(> article + article)) article h2::before{
  content:"✷ ✷ ✷";display:block;text-align:center;font-weight:400;
  color:var(--amber);font-size:.85rem;letter-spacing:.45em;margin:0 0 .95em;
}
main:nth-of-type(1):not(:has(> article + article)) article h3{
  font-family:var(--font-h);font-weight:600;font-size:1.24rem;
  color:var(--green);margin:1.8em 0 .5em;
}

/* body links (externes) */
main:nth-of-type(1):not(:has(> article + article)) article p a,
main:nth-of-type(1):not(:has(> article + article)) article li a{
  color:var(--green);font-weight:600;
  text-decoration:underline;text-decoration-color:rgba(61,107,90,.42);text-underline-offset:2px;
}
main:nth-of-type(1):not(:has(> article + article)) article p a:hover,
main:nth-of-type(1):not(:has(> article + article)) article li a:hover{color:var(--amber-deep);}

/* affiliate /ref/ — surlignage inline (jamais un pill en milieu de phrase).
   Chemin complet + [href] pour battre la règle des body-links (spécificité). */
main:nth-of-type(1):not(:has(> article + article)) article p a[href^="/ref/"],
main:nth-of-type(1):not(:has(> article + article)) article li a[href^="/ref/"]{
  color:#33261A;font-weight:700;text-decoration:none;
  background:rgba(197,138,34,.16);box-shadow:inset 0 -2px 0 var(--amber);
  padding:.05em .32em;border-radius:3px;
}
main:nth-of-type(1):not(:has(> article + article)) article p a[href^="/ref/"]:hover,
main:nth-of-type(1):not(:has(> article + article)) article li a[href^="/ref/"]:hover{
  background:rgba(197,138,34,.30);color:#2a2114;
}

/* blockquote — guillemet suspendu */
main:nth-of-type(1):not(:has(> article + article)) article blockquote{
  position:relative;margin:1.9em 0;padding:1.2em 1.6em 1.2em 2.6em;
  background:var(--card);border-left:3px solid var(--amber);border-radius:0 8px 8px 0;
  font-family:var(--font-h);font-style:italic;font-size:1.18rem;line-height:1.6;color:var(--forest);
}
main:nth-of-type(1):not(:has(> article + article)) article blockquote::before{
  content:"\00201C";position:absolute;left:.45rem;top:.05em;
  font-family:var(--font-h);font-size:2.6rem;color:var(--amber);
}
main:nth-of-type(1):not(:has(> article + article)) article blockquote p{
  margin:0;max-width:none;font-size:inherit;line-height:inherit;color:inherit;
}

/* images */
main:nth-of-type(1):not(:has(> article + article)) article img{
  width:100%;border-radius:8px;margin:1.9em 0;
  max-height:420px;object-fit:cover;box-shadow:0 2px 12px rgba(0,0,0,.08);
}

/* ---- Articles connexes : boîte en cartes (section directe = page article) ---- */
main:nth-of-type(1):not(:has(> article + article)) > section{
  margin-top:3.6rem;padding-top:2.2rem;border-top:1px solid var(--line);
}
main:nth-of-type(1):not(:has(> article + article)) > section > h3{
  font-family:var(--font-b);font-weight:700;font-size:13px;
  letter-spacing:.2em;text-transform:uppercase;color:var(--muted);margin:0 0 1.3rem;
}
main:nth-of-type(1):not(:has(> article + article)) > section > ul{
  list-style:none;padding:0;margin:0;
  display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem;
}
main:nth-of-type(1):not(:has(> article + article)) > section > ul > li{padding:0;margin:0;}
main:nth-of-type(1):not(:has(> article + article)) > section > ul > li a{
  display:block;height:100%;
  background:var(--card);border:1px solid var(--line);border-radius:8px;
  box-shadow:0 1px 4px rgba(0,0,0,.04);padding:1.05rem 1.25rem;
  font-family:var(--font-h);font-weight:600;font-size:1rem;line-height:1.32;
  color:var(--forest);text-decoration:none;transition:box-shadow .2s,transform .2s;
}
main:nth-of-type(1):not(:has(> article + article)) > section > ul > li a:hover{
  box-shadow:0 5px 16px rgba(41,74,61,.11);transform:translateY(-2px);color:var(--green);
}

/* nested sections on static pages (author "Avis", etc.) */
main:nth-of-type(1):not(:has(> article + article)) article section{
  background:var(--card);border:1px solid var(--line);border-left:3px solid var(--moment);
  border-radius:0 8px 8px 0;padding:1.4em 1.6em;margin:2em 0;
}
main:nth-of-type(1):not(:has(> article + article)) article section h2::before{content:none;}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width:680px){
  html{font-size:16px;}
  header > div:first-child{padding:2.6rem 20px 2.3rem;}

  main:nth-of-type(1):has(> article + article){
    grid-template-columns:1fr;padding:0 18px;row-gap:2.2rem;margin-top:34px;
  }
  main:nth-of-type(1):has(> article + article) > article:first-of-type{padding:2.1rem 1.6rem 1.9rem;}

  main:nth-of-type(1):has(> article + article) > article:nth-of-type(2),
  main:nth-of-type(1):has(> article + article) > article:nth-of-type(3){margin-top:2.6rem;}
  main:nth-of-type(1):has(> article + article) > article:nth-of-type(2)::before{width:100%;}

  main:nth-of-type(1):has(> article + article) > article:nth-of-type(4){margin-top:236px;}
  main:nth-of-type(1):has(> article + article) > article:nth-of-type(5){margin-top:0;}
  main:nth-of-type(1):has(> article + article) > article:nth-of-type(4)::before{width:100%;height:170px;top:-198px;}

  main:nth-of-type(1):has(> article + article) > section{margin-top:236px;}
  main:nth-of-type(1):has(> article + article) > section::before{height:170px;top:-198px;}
  main:nth-of-type(1):has(> article + article) > section > ul{grid-template-columns:repeat(2,1fr);}
}


/* related-articles-nav-fix v1 */
:root main > nav p,
:root main > section p {
  line-height: 1.85;
  margin: 0;
}
:root main > nav a,
:root main > section a {
  display: inline-block;
  margin: 0 4px;
  padding: 0 2px;
}


/* mobile-overflow-fix v1 */
:root html, :root body { overflow-x: hidden; max-width: 100%; }
@media (max-width: 920px) {
  :root main > * { max-width: 100%; }
  :root main { overflow-x: hidden; }
}


/* mobile-overflow-fix v2 */
@media (max-width: 640px) {
  :root main,
  :root main > article,
  :root main > div,
  :root main > section,
  :root main > nav {
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
  }
  :root main > article > *,
  :root main > div > *,
  :root main > section > *,
  :root main > nav > * {
    max-width: 100%;
  }
  :root main h1,
  :root main h2,
  :root main h3,
  :root main h4 {
    overflow-wrap: break-word;
    word-break: normal;
  }
  /* Any 3+ col grid inside main → 1 col on mobile */
  :root main :is(ul, ol, section, div, nav)[style*="grid-template-columns"],
  :root main > section > ul,
  :root main > nav > ul,
  :root main > div > ul {
    grid-template-columns: 1fr !important;
  }
  /* Any CSS multi-column layout → 1 col on mobile */
  :root main :is(ul, ol, section, div, p) {
    columns: 1;
  }
  /* Article body images stay inside viewport */
  :root main img,
  :root main figure {
    max-width: 100%;
    height: auto;
  }
}


/* mobile-padding-fix v1 */
@media (max-width: 640px) {
  :root main {
    padding-left: 20px;
    padding-right: 20px;
  }
}


/* premium-upgrade v1 */
/* premium editorial upgrade — style=NYT-Cooking-warm overlay=25% grid=mixed scale=balanced family=articles-section */

/* ── Archive strip above <section> tail (overlay 25%) ── */
:root main:not(:has(> h1)) > section {
  position: relative;
  padding-top: 260px;
  grid-column: 1 / -1;
}
:root main:not(:has(> h1)) > section::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0;
  height: 240px;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.25) 100%),
    url("/theme-assets/premium-hero-strip-2.webp") center 45% / cover no-repeat;
  border-radius: 8px;
}


/* ── 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)) > article: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)) > article: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)) > article: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)) > article: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)) > article: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)) > article: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)) > article: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)) > article: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))::before,
  :root main:not(:has(> h1))::after { min-height: 240px; }
  :root main:has(> h1) > article > p:first-of-type::first-letter { font-size: 60px; }
}

