*{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-bBQS5rLJ{max-width:860px;margin:0 auto;padding:0 20px}
.astro-X8tMAPhu{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.astro-X8tMAPhu h1{font-size:22px;font-weight:700;margin-bottom:2px}
.astro-X8tMAPhu p{font-size:14px;color:#666}
.astro-X8tMAPhu a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.astro-3nCavUtk{display:flex;flex-direction:column;gap:20px}
.astro-gA5PjrGk{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-gA5PjrGk:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.astro-gA5PjrGk h2{font-size:19px;margin-bottom:6px}
.astro-gA5PjrGk h2 a{color:#1a1a1a;text-decoration:none}
.astro-gA5PjrGk .astro-BMAhjRBh{font-size:12px;color:#999;margin-bottom:8px}
.astro-gA5PjrGk p{font-size:14px;color:#555;margin-bottom:12px}
.astro-eeQdedwb{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.astro-eeQdedwb:hover{background:#4752c4}
.astro-lMTYYzK4{padding-bottom:60px}
.astro-lMTYYzK4 h1{font-size:30px;font-weight:700;margin-bottom:8px}
.astro-lMTYYzK4 time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.astro-lMTYYzK4 h2{font-size:22px;margin:32px 0 12px}
.astro-lMTYYzK4 h3{font-size:18px;margin:24px 0 8px}
.astro-lMTYYzK4 p{margin-bottom:16px}
.astro-lMTYYzK4 ul,.astro-lMTYYzK4 ol{margin:0 0 16px 24px}
.astro-lMTYYzK4 a{color:#5865f2}
.astro-lMTYYzK4 img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.astro-i7l19aQB{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.astro-i7l19aQB a{color:#999;text-decoration:none}
.astro-BZ6jvlml{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.astro-hQrTmd8L{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.astro-w3mX082z{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.astro-HJcT9ISW{text-align:center;margin:0 0 24px}
.astro-tx1ZWrD1{max-width:100%;height:auto;border-radius:12px}
.astro-jZ5BkTs1{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.astro-jZ5BkTs1 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-kBP3b4qE{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.astro-4UnIANjV{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-4UnIANjV:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600;700&family=Quicksand:wght@400;700&display=swap');
body{font-family:'Lato',sans-serif;color:#2C3E50;background:#F9F7F2}
.astro-X8tMAPhu{background:#2D5A4C;color:#fff}
.astro-X8tMAPhu h1{font-family:'Quicksand',serif;color:#fff}
.astro-X8tMAPhu p{color:rgba(255,255,255,.75)}
.astro-X8tMAPhu a{color:#fff;text-decoration:none}
.card h2{font-family:'Quicksand',serif}
.card h2 a{color:#2D5A4C}
.card h2 a:hover{color:#E67E22}
.read-more{color:#E67E22}
.article-content h1{font-family:'Quicksand',serif}
.article-content h2{font-family:'Quicksand',serif}
.article-content a{color:#E67E22}
.article-content img{border-radius:12px}
.affiliate-disclosure{border-radius:12px}
.ymyl-disclaimer{border-radius:12px}
/* === Custom === */
/* ch-chat-fr — Pauline Chevalier, proprete-comportement-chat-solutions-fr
   Palette : jade doux + cuivre chaud — calme, concret, ami de confiance
   Fonts   : Libre Baskerville (titres) + Mulish (corps)
   Template: card */

@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Mulish:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ── Design tokens ─────────────────────────────────────────── */

:root {
  --color-bg:            #F5F2EC;
  --color-surface:       #FFFFFF;
  --color-primary:       #4D7A6E;
  --color-primary-dark:  #315C53;
  --color-primary-light: #E4F0EE;
  --color-accent:        #C4773A;
  --color-accent-dark:   #A05A20;
  --color-accent-light:  #FAF0E4;
  --color-text:          #262B30;
  --color-text-muted:    #5E6672;
  --color-border:        #D6CFC5;
  --color-heading:       #1A2830;
  --font-heading:        'Libre Baskerville', Georgia, serif;
  --font-body:           'Mulish', system-ui, sans-serif;
  --size-base:           17px;
  --size-sm:             15px;
  --size-lg:             19px;
  --size-h1:             2.1rem;
  --size-h2:             1.55rem;
  --size-h3:             1.2rem;
  --lh-body:             1.72;
  --lh-heading:          1.25;
  --lh-tight:            1.15;
  --max-text:            68ch;
  --max-content:         760px;
  --radius:              10px;
  --radius-sm:           5px;
  --gap-section:         3rem;
  --gap-card:            1.25rem;
}

/* ── Reset & base ──────────────────────────────────────────── */

*, *::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;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* ── Headings ──────────────────────────────────────────────── */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: var(--lh-heading);
  margin-top: 0;
  margin-bottom: 0.55em;
}

h1 { font-size: var(--size-h1); font-weight: 700; }
h2 { font-size: var(--size-h2); font-weight: 700; }
h3 { font-size: var(--size-h3); font-weight: 700; }
h4 { font-size: 1.05rem;        font-weight: 700; }

/* ── Paragraph & inline ────────────────────────────────────── */

p {
  margin-top: 0;
  margin-bottom: 1.3em;
  max-width: var(--max-text);
}

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

a:hover {
  color: var(--color-primary-dark);
}

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

/* ── Lists ─────────────────────────────────────────────────── */

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

ul { list-style-type: disc; }
ol { list-style-type: decimal; }

li {
  margin-bottom: 0.4em;
  line-height: var(--lh-body);
}

/* ── Blockquote ────────────────────────────────────────────── */

blockquote {
  margin: 1.5em 0;
  padding: 1rem 1.25rem 1rem 1.4rem;
  border-left: 3px solid var(--color-accent);
  background-color: var(--color-accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: var(--max-text);
  font-style: italic;
  color: var(--color-text);
}

blockquote p {
  margin-bottom: 0;
}

blockquote cite {
  display: block;
  margin-top: 0.55em;
  font-size: var(--size-sm);
  color: var(--color-text-muted);
  font-style: normal;
}

/* ── Site header (card template: .astro-X8tMAPhu) ─────────────────── */

.astro-X8tMAPhu {
  background-color: var(--color-primary);
  color: #fff;
  padding: 1.4rem 1.5rem;
}

.astro-X8tMAPhu h1 {
  font-family: var(--font-heading);
  color: #fff;
  margin-bottom: 0.25em;
}

.astro-X8tMAPhu p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  max-width: none;
}

.astro-X8tMAPhu a {
  color: #fff;
  text-decoration: none;
}

.astro-X8tMAPhu a:hover {
  color: var(--color-accent-light);
}

/* ── Card grid ─────────────────────────────────────────────── */

.card {
  background-color: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.15s ease;
}

.card:hover {
  box-shadow: 0 4px 18px rgba(49, 92, 83, 0.10);
  transform: translateY(-2px);
}

.card h2 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  line-height: var(--lh-tight);
}

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

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

.read-more {
  color: var(--color-accent-dark);
  font-weight: 600;
  font-size: var(--size-sm);
  text-decoration: none;
}

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

/* ── Article content ───────────────────────────────────────── */

.article-content {
  max-width: var(--max-content);
  margin: 0 auto;
}

.article-content h1,
.article-content h2,
.article-content h3 {
  font-family: var(--font-heading);
  max-width: var(--max-text);
}

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

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

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

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius);
  display: block;
  margin: 1.5em 0;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2em 0;
}

/* ── Breadcrumb ────────────────────────────────────────────── */

.breadcrumb {
  font-size: var(--size-sm);
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ── Utility ───────────────────────────────────────────────── */

.text-muted {
  color: var(--color-text-muted);
  font-size: var(--size-sm);
}

.section {
  margin-bottom: var(--gap-section);
}

/* ── Responsive ────────────────────────────────────────────── */

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

  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.1rem; }

  .astro-X8tMAPhu {
    padding: 1rem;
  }

  blockquote { padding: 0.85rem 1rem 0.85rem 1.1rem; }
}

/* === R2 fixes (2026-06-20T16:20:19.930506+00:00) === */

/* Fix 1 — paragraph breathing room in article context */
article p,
.bld-content p {
  margin-bottom: 1.4em;
}

/* Fix 2 — h2 spacing extended to article/bld-content selectors */
article h2,
.bld-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.6em;
}

/* Fix 3 — related articles: visual encadrement with accent border */
.crd-related-link {
  display: block;
  border-left: 3px solid var(--color-accent);
  padding: 0.8em 1em;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-heading);
  transition: border-color 0.15s ease, color 0.15s ease;
}

.crd-related-link:hover {
  border-left-color: var(--color-primary);
  color: var(--color-primary);
}

/* Fix 4 — list item spacing in article context */
article ul li,
article ol li,
.bld-content ul li,
.bld-content ol li {
  margin-bottom: 0.6em;
}

/* Fix 5 — article page header vertical presence */
article header {
  padding-top: 0.8em;
  padding-bottom: 0.8em;
}

/* === R3 fixes (2026-06-20T17:00:27.665810+00:00) === */

/* Fix R3-1 — h2 spacing: tighten bottom margin for cleaner chapter signal */
main article h2,
.bld-content h2 {
  margin-top: 2.2em;
  margin-bottom: 0.45em;
}

/* Fix R3-2 — paragraph: open line-height + reduce bottom gap (overrides R2 1.4em) */
main article p,
.bld-content p {
  line-height: 1.78;
  margin-bottom: 1em;
}

/* Fix R3-3 — disclaimer "Important" block: soft green note, not legal alert */
.astro-hQrTmd8L {
  background-color: #eef3ef;
  border-left: 3px solid #7aaa90;
  color: #4a5a50;
  font-size: 0.87em;
  padding: 0.85em 1.1em;
  border-radius: 4px;
  font-weight: normal;
}

/* Fix R3-4 — related-article links: warm-beige card, not plain text */
.crd-related-list a,
.astro-jZ5BkTs1 .crd-related-link {
  display: block;
  padding: 0.55em 1em;
  background: #f5ede0;
  border-radius: 6px;
  margin-bottom: 0.4em;
  color: #2d5e48;
  text-decoration: none;
  font-weight: 500;
}

/* === R4 fixes (2026-06-20T17:40:20.782092+00:00) === */

/* Fix R4-1 — affiliate links: warm copper distinct from editorial links */
article a[href^='/offer'],
.article-content a[href^='/offer'] {
  color: var(--color-accent-dark);
  font-weight: 600;
  text-decoration-color: var(--color-accent);
  text-underline-offset: 3px;
}

/* Fix R4-2 — related-article cards: hover feedback so they feel clickable */
.crd-related-list a:hover,
.astro-jZ5BkTs1 .crd-related-link:hover {
  background: #ede1cf;
  color: var(--color-primary-dark);
  transition: background 0.15s ease, color 0.15s ease;
}

/* Fix R4-3 — H3 in articles: distinct spacing + dark primary colour for sub-navigation */
main article h3,
.article-content h3 {
  margin-top: 1.5em;
  margin-bottom: 0.35em;
  color: var(--color-primary-dark);
}

/* === QA round-1 fixes (2026-07-26T07:22:43+0800) === */
/* Editorial signature pass for ChatApaisé / Pauline.
   Live DOM uses obfuscated astro-* classes, so everything below is written
   with ELEMENT + STRUCTURAL selectors only. One moment colour: copper
   (--color-accent) used prominently; jade stays the calm structural voice.
   Voices: Libre Baskerville italic = display, Libre Baskerville = body serif
   headings, Mulish tracked-uppercase = kicker/meta. */

/* ── Masthead : photo + gradient overlay + serif-italic wordmark ─────── */

body > header {
  position: relative;
  background-color: var(--color-primary-dark);
  background-image:
    linear-gradient(135deg, rgba(26,40,36,0.90) 0%, rgba(49,92,83,0.82) 55%, rgba(76,122,110,0.70) 100%),
    url("/theme-assets/hero-masthead.jpg");
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 2.2rem 1.5rem;
  border-bottom: 3px solid var(--color-accent);
}

/* homepage masthead — taller, full presence */
body > header:has(h1) {
  padding: 3.4rem 1.5rem 3rem;
}

body > header > div {
  max-width: 720px;
  margin: 0 auto;
}

/* tiny tracked kicker above the wordmark (signature line) */
body > header:has(h1) > div::before {
  content: "COMPORTEMENT & PROPRETÉ DU CHAT";
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 0.8rem;
}

/* wordmark — serif italic display (home h1 + inner-page span link) */
body > header h1,
body > header > div > span a {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.3px;
  margin: 0;
  text-decoration: none;
}

body > header h1 { font-size: 2.7rem; line-height: 1.1; }
body > header > div > span a { font-size: 1.7rem; }

/* manifesto tagline — small italic serif under the wordmark */
body > header p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  max-width: 48ch;
  margin: 0.9rem auto 0;
}

/* ── Homepage feed : hero → quiet chronological rows ─────────────────── */

/* feed wrapper — single column so odd article counts never leave dead space */
main > div:has(> div > h2) {
  display: block;
  max-width: 900px;
  margin: 2.6rem auto 3.4rem;
  padding: 0 1.5rem;
}

/* section kicker above the whole feed */
main > div:has(> div > h2)::before {
  content: "LE CARNET DE PAULINE — CONSEILS TESTÉS À LA MAISON";
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  padding-bottom: 0.9rem;
  margin-bottom: 1.6rem;
  border-bottom: 2px solid var(--color-accent);
}

/* ---- HERO : the one loud voice ---- */
main > div > div:first-child:has(> h2) {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 2.5rem 2.6rem 2.3rem;
  margin-bottom: 2.4rem;
  box-shadow: 0 6px 26px rgba(49,92,83,0.08);
}

/* "À LA UNE" badge */
main > div > div:first-child:has(> h2)::before {
  content: "À LA UNE";
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  background: var(--color-accent);
  padding: 0.32em 0.85em;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* byline line (repurposes the date paragraph) */
main > div > div:first-child:has(> h2) > p:first-child {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0 0 0.4rem;
}

main > div > div:first-child:has(> h2) > p:first-child::before {
  content: "Par Pauline Chevalier · ";
  color: var(--color-accent-dark);
}

/* hero display title */
main > div > div:first-child:has(> h2) > h2 {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  line-height: 1.16;
  margin: 0.1rem 0 0.7rem;
}

main > div > div:first-child:has(> h2) > h2 a {
  color: var(--color-heading);
  text-decoration: none;
}

main > div > div:first-child:has(> h2) > h2 a:hover {
  color: var(--color-primary-dark);
}

/* hero excerpt + drop cap */
main > div > div:first-child:has(> h2) > h2 + p {
  font-size: 1.1rem;
  line-height: 1.62;
  color: var(--color-text);
  max-width: none;
  margin-bottom: 1.3rem;
}

main > div > div:first-child:has(> h2) > h2 + p::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.3rem;
  line-height: 0.78;
  color: var(--color-accent);
  padding: 0.04em 0.14em 0 0;
}

/* hero CTA — outlined copper pill */
main > div > div:first-child:has(> h2) > a:last-child {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  background: transparent;
  border: 1.5px solid var(--color-accent);
  border-radius: 100px;
  padding: 0.62em 1.5em;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

main > div > div:first-child:has(> h2) > a:last-child:hover {
  background: var(--color-accent);
  color: #fff;
}

/* ---- SUPPORTING ROWS : quiet, consistent, balanced (date rail + text) ---- */
main > div > div:not(:first-child):has(> h2) {
  display: grid;
  grid-template-columns: 122px 1fr;
  column-gap: 1.9rem;
  padding: 1.7rem 0;
  border-top: 1px solid var(--color-border);
}

/* left rail = date as tracked meta, fills the otherwise-empty column */
main > div > div:not(:first-child):has(> h2) > p:first-child {
  grid-column: 1;
  grid-row: 1 / span 4;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin: 0.35rem 0 0;
  padding-right: 1.1rem;
  border-right: 2px solid var(--color-accent-light);
}

main > div > div:not(:first-child):has(> h2) > h2,
main > div > div:not(:first-child):has(> h2) > p,
main > div > div:not(:first-child):has(> h2) > a {
  grid-column: 2;
  max-width: none;
}

main > div > div:not(:first-child):has(> h2) > h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  line-height: 1.24;
  margin: 0 0 0.45rem;
}

main > div > div:not(:first-child):has(> h2) > h2 a {
  color: var(--color-heading);
  text-decoration: none;
}

main > div > div:not(:first-child):has(> h2) > h2 a:hover {
  color: var(--color-primary-dark);
}

main > div > div:not(:first-child):has(> h2) > h2 + p {
  color: var(--color-text-muted);
  font-size: 0.98rem;
  margin-bottom: 0.7rem;
}

/* supporting CTA — quiet copper text link */
main > div > div:not(:first-child):has(> h2) > a:last-child {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  text-decoration: none;
}

main > div > div:not(:first-child):has(> h2) > a:last-child:hover {
  color: var(--color-primary-dark);
}

/* ── Article page : massive title, meta, drop cap, dinkus, hanging quote ─ */

/* content-article scope = main that carries a <time> */
main:has(> time) {
  max-width: 750px;
  margin: 0 auto;
  padding: 2.2rem 1.5rem 3rem;
}

main:has(> time) > h1 {
  font-family: var(--font-heading);
  font-size: 2.7rem;
  line-height: 1.14;
  margin: 0.4rem 0 0.5rem;
}

main:has(> time) > time {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  margin-bottom: 1.6rem;
}

/* hero image at article top */
main:has(> time) > article > div[role="img"]:first-child {
  margin: 0 0 1.8rem;
  border-radius: var(--radius);
  overflow: hidden;
}

main:has(> time) > article > div[role="img"]:first-child img {
  display: block;
  width: 100%;
  height: auto;
}

/* drop cap on the opening paragraph */
main:has(> time) > article > div[role="img"]:first-child + p::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 0.76;
  color: var(--color-accent);
  padding: 0.03em 0.13em 0 0;
}

/* dinkus ✦ ✦ ✦ above each section heading (skip the first) */
main:has(> time) > article > h2 {
  text-align: left;
}

main:has(> time) > article > h2::before {
  content: "✦ ✦ ✦";
  display: block;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.5em;
  color: var(--color-accent);
  margin: 1.6em 0 1.1em;
  font-weight: 400;
}

main:has(> time) > article > p:first-of-type + h2::before,
main:has(> time) > article > div[role="img"]:first-child + p + h2::before {
  content: none;
}

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

main:has(> time) blockquote::before {
  content: "\201C";
  position: absolute;
  left: 0.5rem;
  top: 0.1rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  line-height: 1;
  color: var(--color-accent);
}

/* ── Mobile ──────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  body > header:has(h1) { padding: 2.4rem 1.2rem 2.1rem; }
  body > header h1 { font-size: 2.05rem; }
  body > header > div > span a { font-size: 1.45rem; }

  main > div > div:first-child:has(> h2) { padding: 1.7rem 1.4rem 1.6rem; }
  main > div > div:first-child:has(> h2) > h2 { font-size: 1.75rem; }
  main > div > div:first-child:has(> h2) > h2 + p::first-letter { font-size: 2.8rem; }

  /* supporting rows collapse to single column */
  main > div > div:not(:first-child):has(> h2) {
    grid-template-columns: 1fr;
    row-gap: 0.5rem;
  }
  main > div > div:not(:first-child):has(> h2) > p:first-child {
    grid-column: 1;
    grid-row: auto;
    border-right: none;
    padding-right: 0;
    margin-bottom: 0.2rem;
  }
  main > div > div:not(:first-child):has(> h2) > h2,
  main > div > div:not(:first-child):has(> h2) > p,
  main > div > div:not(:first-child):has(> h2) > a {
    grid-column: 1;
  }

  main:has(> time) > h1 { font-size: 2rem; }
}

/* === QA tail polish (2026-07-28T16:04:49.544735+00:00) — style Lambda [SB-20] compact tail across templates === */
/* The tail wrapper is always the LAST block child of <main> on the homepage,
   containing title-only rows of older articles. Various templates use different
   inner structures (ul>li / p / direct <a>) — this handles all three. */

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article)) {
  grid-column: 1 / -1;
  max-width: min(720px, 92vw);
  margin: 88px auto 0;
  padding: 40px 0 32px;
  border-top: 2px double rgba(0, 0, 0, .16);
  background: transparent;
  box-shadow: none;
}

:root main > *:last-child:not(:has(h2)):not(:has(h1)):not(:has(article))::before {
  content: "\2014  MORE FROM THE ARCHIVE  \2014";
  display: block;
  text-align: center;
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 36px;
}

/* Any list / paragraph rows: 2-col on desktop, single on mobile */
:root main > *:last-child ul {
  list-style: none;
  padding: 0;
  margin: 0;
  columns: 2;
  column-gap: 48px;
}
@media (max-width: 899px) {
  :root main > *:last-child ul { columns: 1; }
}

:root main > *:last-child li,
:root main > *:last-child > p,
:root main > *:last-child > a {
  padding: 10px 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 15px;
  line-height: 1.4;
  border-bottom: 1px dotted rgba(0, 0, 0, .12);
  break-inside: avoid;
  display: block;
}

:root main > *:last-child li a,
:root main > *:last-child p a,
:root main > *:last-child > a {
  text-decoration: none;
  font-weight: 600;
}

:root main > *:last-child li a:hover,
:root main > *:last-child p a:hover,
:root main > *:last-child > a:hover {
  text-decoration: underline;
}

/* dates (first inline child of li/p) — subtle mono */
:root main > *:last-child p > :first-child,
:root main > *:last-child li > :first-child:not(a) {
  font-family: system-ui, -apple-system, sans-serif;
  font-size: 11px;
  letter-spacing: .1em;
  opacity: .5;
  margin-right: 10px;
}
