*{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}
.widget-a7a370{max-width:640px;margin:0 auto;padding:0 20px}
.footer-3d1502{padding:60px 0 40px;border-bottom:1px solid #ccc;margin-bottom:48px}
.footer-3d1502 h1{font-size:24px;font-weight:400;letter-spacing:-.5px}
.footer-3d1502 p{font-size:14px;color:#777;margin-top:6px;font-style:italic}
.footer-3d1502 a{color:#2a2a2a;text-decoration:none;font-size:24px;font-weight:400;letter-spacing:-.5px}
.region-bfa69d{padding:20px 0}
.region-bfa69d h2{font-size:18px;font-weight:400;margin-bottom:4px}
.region-bfa69d h2 a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.region-bfa69d h2 a:hover{border-bottom-color:#2a2a2a}
.region-bfa69d .widget-07aaed{font-size:12px;color:#aaa;margin-bottom:6px}
.region-bfa69d p{font-size:14px;color:#666}
.container-82f952{color:#888;font-size:13px;text-decoration:none}
.container-82f952:hover{color:#2a2a2a}
.nav-4fada8{padding-bottom:60px}
.nav-4fada8 h1{font-size:28px;font-weight:400;margin-bottom:8px}
.nav-4fada8 .widget-07aaed{font-size:12px;color:#aaa;display:block;margin-bottom:32px}
.nav-4fada8 h2{font-size:21px;font-weight:400;margin:40px 0 12px;border-bottom:1px solid #eee;padding-bottom:6px}
.nav-4fada8 h3{font-size:17px;margin:28px 0 8px}
.nav-4fada8 p{margin-bottom:18px;font-size:16px}
.nav-4fada8 ul,.nav-4fada8 ol{margin:0 0 18px 20px}
.nav-4fada8 a{color:#555;border-bottom:1px solid #ccc}
.nav-4fada8 a:hover{color:#000;border-bottom-color:#000}
.nav-4fada8 img{max-width:100%;height:auto;margin:24px 0}
.widget-bb1f92{border-top:1px solid #ddd;padding:20px 0;margin-top:48px;text-align:center;font-size:12px;color:#aaa}
.widget-bb1f92 a{color:#aaa;text-decoration:none}
.section-2d488c{padding:0 0 16px;margin-bottom:24px;font-size:12px;color:#aaa;font-style:italic;border-bottom:1px solid #eee}
.panel-08334d{padding:16px 0 0;margin-top:32px;font-size:11px;color:#999;border-top:1px solid #eee}
.frame-d4b4f6{font-size:12px;color:#aaa;margin:-26px 0 32px;font-weight:300}
.header-a0f248{margin:0 auto 32px;max-width:720px}
.container-0aa332{width:100%;height:auto}
.inner-0f768c{margin-top:40px;padding-top:20px;border-top:1px solid #eee;font-size:14px;color:#888}
.inner-0f768c em{color:#aaa}
.inner-0f768c a{color:#555;border-bottom:1px solid #ddd;text-decoration:none}
.wrapper-cbe678{padding:24px 0 0;border-top:1px solid #eee;margin-top:24px}
.wrapper-cbe678 p{padding:3px 0;margin:0;font-size:15px}
.wrapper-cbe678 a{color:#2a2a2a;text-decoration:none;border-bottom:1px solid transparent}
.wrapper-cbe678 a:hover{border-bottom-color:#2a2a2a}
/* === Theme === */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700&family=Zilla+Slab:wght@400;700&display=swap');
body{font-family:'Nunito',sans-serif;color:#2D2D2D;background:#FDFCF8}
.footer-3d1502{background:#3D2B56;color:#fff}
.footer-3d1502 h1{font-family:'Zilla Slab',serif;color:#fff}
.footer-3d1502 p{color:rgba(255,255,255,.75)}
.footer-3d1502 a{color:#fff;text-decoration:none}
.card h2{font-family:'Zilla Slab',serif}
.card h2 a{color:#3D2B56}
.card h2 a:hover{color:#FF6B6B}
.read-more{color:#FF6B6B}
.article-content h1{font-family:'Zilla Slab',serif}
.article-content h2{font-family:'Zilla Slab',serif}
.article-content a{color:#FF6B6B}
.article-content img{border-radius:8px}
.affiliate-disclosure{border-radius:8px}
.ymyl-disclaimer{border-radius:8px}
/* === Custom === */
/* ja-asia-es — minimal template, Korean diary voice */
/* Palette: encre pourpre #322C39 + corail doux #E87870, papier chaud #FAF9F6 */

@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700&family=Noto+Sans:ital,wght@0,400;0,500;1,400&family=Spectral:ital,wght@0,400;0,500;0,600;1,400;1,500;1,600&display=swap');

:root {
  --color-bg:            #FAF9F6;
  --color-bg-alt:        #F2EEF0;
  --color-text:          #2D2D2D;
  --color-text-muted:    #7A6E78;
  --color-heading:       #322C39;
  --color-primary:       #322C39;
  --color-primary-light: #4E445C;
  --color-accent:        #E87870;
  --color-accent-light:  #FAECEA;
  --color-border:        #E2D8DF;
  --color-surface:       #FFFFFF;
  --font-heading: 'Nanum Myeongjo', 'Noto Serif KR', Georgia, serif;
  --font-body:    'Noto Sans', system-ui, sans-serif;
  --font-size-base: 17px;
  --font-size-sm:   15px;
  --font-size-lg:   19px;
  --font-size-h1:   2rem;
  --font-size-h2:   1.5rem;
  --font-size-h3:   1.2rem;
  --line-height-base:    1.75;
  --line-height-heading: 1.3;
  --font-weight-heading: 700;
  --radius:    8px;
  --radius-sm: 4px;
  --sp:        8px;
  --max-w:     720px;
  --prose-w:   68ch;
  --ease:      0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: var(--font-size-base); scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  line-height: var(--line-height-base);
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: calc(var(--sp) * 5) 0;
}

/* Layout */

.container,
.site-wrapper,
.mn-container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: calc(var(--sp) * 2);
}

/* Header */

.site-header,
.footer-3d1502 {
  background-color: var(--color-primary);
  color: var(--color-surface);
  padding: calc(var(--sp) * 3) 0;
}

:root .footer-3d1502 h1,
:root .site-header h1 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: var(--font-weight-heading);
  color: var(--color-surface);
  line-height: var(--line-height-heading);
}

:root .footer-3d1502 p,
:root .site-header .tagline {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.72);
  margin-top: calc(var(--sp) * 0.5);
}

:root .footer-3d1502 a,
:root .site-header a {
  color: var(--color-surface);
  text-decoration: none;
  transition: opacity var(--ease);
}

:root .footer-3d1502 a:hover, :root .site-header a:hover { opacity: 0.8; }

/* Navigation */

.site-nav {
  display: flex;
  gap: calc(var(--sp) * 2.5);
  flex-wrap: wrap;
  margin-top: calc(var(--sp) * 1.5);
}

:root .site-nav a {
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color var(--ease);
}

:root .site-nav a:hover { color: var(--color-surface); }

/* Headings */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: var(--line-height-heading);
  font-weight: var(--font-weight-heading);
  margin-bottom: calc(var(--sp) * 2);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }

.entry-title,
.post-title,
.article-title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  line-height: 1.25;
  color: var(--color-heading);
  margin-bottom: calc(var(--sp) * 3);
}

/* Body text */

p {
  margin-bottom: calc(var(--sp) * 2.5);
  max-width: var(--prose-w);
}

a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ease);
}

a:hover  { color: #c05a52; }
strong   { font-weight: 600; }
em       { font-style: italic; }

/* Lists */

ul, ol {
  padding-left: calc(var(--sp) * 3);
  margin-bottom: calc(var(--sp) * 2.5);
  max-width: var(--prose-w);
}

ul { list-style: disc; }
ol { list-style: decimal; }
li {
  margin-bottom: var(--sp);
  line-height: var(--line-height-base);
}

/* Blockquote */

blockquote {
  border-left: 3px solid var(--color-accent);
  background-color: var(--color-accent-light);
  padding: calc(var(--sp) * 2) calc(var(--sp) * 3);
  margin: calc(var(--sp) * 4) 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--color-text-muted);
  font-style: italic;
  max-width: var(--prose-w);
}

blockquote p { margin-bottom: 0; }

/* Article / prose container */

.article-content,
.entry-content,
.prose {
  max-width: var(--prose-w);
  margin-inline: auto;
}

:root .article-content a, :root .entry-content a { color: var(--color-accent); }

:root .article-content img, :root .entry-content img {
  border-radius: var(--radius);
  margin: calc(var(--sp) * 3) 0;
}

.post-meta, .entry-meta, .article-meta {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: calc(var(--sp) * 2);
}

/* Post cards */

.card,
.post-card {
  border-bottom: 1px solid var(--color-border);
  padding: calc(var(--sp) * 4) 0;
}

.card:first-of-type, .post-card:first-of-type { border-top: 1px solid var(--color-border); }

:root .card h2,
:root .post-card h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-heading);
  margin-bottom: calc(var(--sp) * 1);
}

:root .card h2 a,
:root .post-card h2 a {
  color: var(--color-heading);
  text-decoration: none;
  transition: color var(--ease);
}

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

.card-excerpt,
.post-excerpt {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-top: calc(var(--sp) * 0.5);
}

.read-more {
  display: inline-block;
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  text-decoration: none;
  margin-top: var(--sp);
  transition: color var(--ease);
}

.read-more:hover { color: #c05a52; }

/* Tags */

.tag,
.category-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-primary-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2px 10px;
  text-decoration: none;
  transition: background-color var(--ease), color var(--ease);
}

.tag:hover, .category-badge:hover {
  background-color: var(--color-primary);
  color: var(--color-surface);
  border-color: var(--color-primary);
}

figure { margin: calc(var(--sp) * 4) 0; }
figcaption { font-size: var(--font-size-sm); color: var(--color-text-muted); text-align: center; margin-top: var(--sp); }

/* Footer */

.site-footer,
.mn-footer {
  margin-top: calc(var(--sp) * 8);
  padding: calc(var(--sp) * 4) 0;
  border-top: 1px solid var(--color-border);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  text-align: center;
}

/* Responsive */

@media (max-width: 600px) {
  :root { --font-size-base: 16px; }
  .entry-title, .post-title { font-size: 1.5rem; }
  blockquote { padding: calc(var(--sp) * 1.5) calc(var(--sp) * 2); }
}

/* v.d95522 — layout revision */
/* ================================================================
   EDITORIAL SIGNATURE — Cuaderno de Coreano (Micaela, Trujillo)
   Structural selectors only (Lambda obfuscates classes). Homepage =
   main:not(:has(> article)); article = main:has(> article).
   Home <main> children: 12 div:has(>h2) cards + 1 div tail.
   Display = Spectral italic · Text/meta = Noto Sans · moment = #6B4A2E
   ================================================================ */

:root {
  --font-display: 'Spectral', 'Nanum Myeongjo', Georgia, serif;
  --moment:       #6B4A2E;
  --paper-card:   #FBF5EA;
  --coral-ink:    #B5453D;
}

/* ---- MASTHEAD : photo + eggplant overlay + serif-italic wordmark ---- */
body > header {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 66px 24px 30px;
  border-bottom: 3px solid #E87870;
  background-image: linear-gradient(rgba(43,38,49,.87), rgba(43,38,49,.72)),
                    url("/theme-assets/front-image.jpg");
  background-size: cover;
  background-position: center;
}
/* M6 — masthead escapes base-theme narrow width class → full viewport bleed.
   (:root … beats the single obfuscated max-width class on <header>.) */
:root body > header {
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
/* Korean monogram watermark — the site's signature mark */
body > header::before {
  content: "한";
  position: absolute;
  top: 12px;
  right: 26px;
  font-family: var(--font-body);
  font-size: 2.4rem;
  font-weight: 500;
  color: rgba(232,120,112,.30);
  line-height: 1;
}
body > header h1,
body > header > a {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 5vw, 3rem);
  line-height: 1.1;
  letter-spacing: .01em;
  color: #FBF5EA;
  text-decoration: none;
}
body > header p {
  max-width: 62ch;
  margin: 14px auto 0;
  font-size: .92rem;
  line-height: 1.65;
  color: rgba(251,245,234,.82);
}
/* Manifesto line — voice of the persona */
body > header::after {
  content: "Como un audio de voz largo, un domingo por la noche.";
  display: block;
  max-width: 46ch;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid rgba(232,120,112,.5);
  font-family: var(--font-display);
  font-style: italic;
  font-size: .95rem;
  letter-spacing: .02em;
  color: #F2C9C4;
}

/* ================================================================
   HOMEPAGE  — hero → one pick → strip → journal grid → strip → archive
   ================================================================ */
main:not(:has(> article)) {
  max-width: 1080px;
  margin: 0 auto;
  padding: 58px 24px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 38px;
  row-gap: 46px;
  align-items: stretch;
}

/* ---- shared card interior (all entries) ---- */
main:not(:has(> article)) > div:has(> h2) > p:first-of-type {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .7rem;
  color: #B5726B;
  margin: 0 0 10px;
}
main:not(:has(> article)) > div:has(> h2) > h2 {
  margin: 0 0 12px;
  line-height: 1.22;
}
main:not(:has(> article)) > div:has(> h2) > h2 a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.22;
  color: var(--color-heading);
  text-decoration: none;
}
main:not(:has(> article)) > div:has(> h2) > h2 a:hover { color: #E87870; }
main:not(:has(> article)) > div:has(> h2) > p:last-of-type {
  font-size: .96rem;
  line-height: 1.6;
  color: #5c5560;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* read-more → Spanish, coral, textless base then pseudo label */
main:not(:has(> article)) > div:has(> h2) > a {
  display: inline-block;
  margin-top: 4px;
  font-size: 0;
  font-weight: 600;
  color: #E87870;
  text-decoration: none;
  transition: color .2s ease;
}
main:not(:has(> article)) > div:has(> h2) > a::after {
  content: "Seguir leyendo \2192";
  font-size: .82rem;
  letter-spacing: .02em;
}
main:not(:has(> article)) > div:has(> h2) > a:hover { color: #c05a52; }

/* ---- journal grid cards (4th onward = framed) ---- */
main:not(:has(> article)) > div:has(> h2):nth-of-type(n+4) {
  background: var(--paper-card);
  border: 1px solid rgba(50,44,57,.08);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  padding: 26px 32px;
}
/* closing entry (the card just before the archive tail) spans full width */
main:not(:has(> article)) > div:has(> h2):has(+ div:not(:has(> h2))) {
  grid-column: 1 / -1;
}

/* ---- HERO (1st card) : the loud voice ---- */
main:not(:has(> article)) > div:has(> h2):first-of-type {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  position: relative;
  background: var(--paper-card);
  border: 1px solid rgba(50,44,57,.08);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(43,38,49,.06);
  padding: 44px 48px;
}
main:not(:has(> article)) > div:has(> h2):first-of-type::before {
  content: "Última entrada del cuaderno";
  order: -1;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .24em;
  font-size: .72rem;
  font-weight: 600;
  color: #E87870;
  margin-bottom: 18px;
}
main:not(:has(> article)) > div:has(> h2):first-of-type > h2 { order: 1; margin: 0 0 16px; }
main:not(:has(> article)) > div:has(> h2):first-of-type > h2 a {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.14;
  color: var(--color-heading);
}
main:not(:has(> article)) > div:has(> h2):first-of-type > h2 a:hover { color: #c05a52; }
main:not(:has(> article)) > div:has(> h2):first-of-type > p:first-of-type {
  order: 2;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .74rem;
  color: #B5726B;
  margin: 0 0 20px;
}
main:not(:has(> article)) > div:has(> h2):first-of-type > p:first-of-type::before { content: "Por Micaela · "; }
main:not(:has(> article)) > div:has(> h2):first-of-type > p:last-of-type {
  order: 3;
  font-size: 1.18rem;
  line-height: 1.6;
  color: #4a4450;
  max-width: 60ch;
  margin: 0;
  display: block;
  -webkit-line-clamp: none;
}
main:not(:has(> article)) > div:has(> h2):first-of-type > p:last-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.4rem;
  line-height: .82;
  color: var(--moment);
  margin: .05em .12em 0 0;
}
/* hero CTA = outlined pill */
main:not(:has(> article)) > div:has(> h2):first-of-type > a {
  order: 4;
  align-self: flex-start;
  margin-top: 24px;
  padding: 11px 26px;
  border: 1.5px solid #E87870;
  border-radius: 999px;
  font-size: 0;
  transition: background .2s ease, color .2s ease;
}
main:not(:has(> article)) > div:has(> h2):first-of-type > a::after {
  content: "Leer la entrada \2192";
  font-size: .86rem;
  font-weight: 600;
  letter-spacing: .04em;
}
main:not(:has(> article)) > div:has(> h2):first-of-type > a:hover {
  background: #E87870;
  color: #FBF5EA;
  border-color: #E87870;
}

/* ---- EDITOR'S PICK (2nd card) : one to read next ---- */
main:not(:has(> article)) > div:has(> h2):nth-of-type(2) {
  grid-column: 1 / -1;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 14px;
}
main:not(:has(> article)) > div:has(> h2):nth-of-type(2)::before {
  content: "Si solo lees una esta semana";
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: .74rem;
  font-weight: 600;
  color: var(--moment);
  border-bottom: 1px solid rgba(107,74,46,.28);
  padding-bottom: 12px;
  margin-bottom: 20px;
}
main:not(:has(> article)) > div:has(> h2):nth-of-type(2) > h2 {
  border-left: 3px solid #E87870;
  padding-left: 18px;
}
main:not(:has(> article)) > div:has(> h2):nth-of-type(2) > h2 a { font-size: 1.6rem; }
main:not(:has(> article)) > div:has(> h2):nth-of-type(2) > p:last-of-type {
  padding-left: 18px;
  border-left: 3px solid rgba(232,120,112,.25);
}

/* ---- LEAD JOURNAL ENTRY (3rd card) : hosts Strip 1 above it ---- */
main:not(:has(> article)) > div:has(> h2):nth-of-type(3) {
  grid-column: 1 / -1;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin-top: 12px;
}
main:not(:has(> article)) > div:has(> h2):nth-of-type(3)::before {
  content: "En orden de escritura";
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin-bottom: 38px;
  border-radius: 10px;
  background-image: linear-gradient(rgba(50,44,57,.72), rgba(50,44,57,.42)),
                    url("/theme-assets/article-cover.jpg");
  background-size: cover;
  background-position: center 30%;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: 13px;
  font-weight: 500;
  color: #FBEAE7;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
main:not(:has(> article)) > div:has(> h2):nth-of-type(3) > h2 a { font-size: 1.45rem; }
main:not(:has(> article)) > div:has(> h2):nth-of-type(3) > p:last-of-type { max-width: 68ch; }

/* ---- ARCHIVE TAIL : Strip 2 + magazine-index grid of boxed cream cards ----
   M7: same design system as the top journal cards — boxed cream cells in a
   3-col grid with border/radius/shadow/padding/hover, not plain divider rows.
   Wrapper is now a bare grid; each <p> is its own card. */
main:not(:has(> article)) > div:not(:has(> h2)) {
  grid-column: 1 / -1;
  margin-top: 22px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 16px;
  align-items: stretch;
}
main:not(:has(> article)) > div:not(:has(> h2))::before {
  content: "El archivo";
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  margin: 0 0 6px;
  border-radius: 10px;
  background-image: linear-gradient(rgba(50,44,57,.72), rgba(50,44,57,.42)),
                    url("/theme-assets/article-cover.jpg");
  background-size: cover;
  background-position: center 70%;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .34em;
  font-size: 13px;
  font-weight: 500;
  color: #FBEAE7;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
main:not(:has(> article)) > div:not(:has(> h2)) > p {
  margin: 0;
  padding: 20px 22px;
  background: var(--paper-card);
  border: 1px solid rgba(50,44,57,.08);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
  transition: transform .2s ease, box-shadow .2s ease;
}
main:not(:has(> article)) > div:not(:has(> h2)) > p:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(43,38,49,.10);
}
main:not(:has(> article)) > div:not(:has(> h2)) > p > a {
  font-family: var(--font-display);
  font-size: .98rem;
  line-height: 1.4;
  color: #4a4450;
  text-decoration: none;
  background: transparent !important;
}
main:not(:has(> article)) > div:not(:has(> h2)) > p > a:hover { color: #E87870; }

/* ================================================================
   ARTICLE PAGE
   ================================================================ */
main:has(> article) {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 84px;
}
main:has(> article) > h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1.16;
  color: var(--color-heading);
  margin-bottom: 14px;
}
main:has(> article) > span {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .74rem;
  color: #B5726B;
  margin-bottom: 34px;
}
main:has(> article) > span::before { content: "Por Micaela · "; }

main:has(> article) article > p {
  font-size: 1.14rem;
  line-height: 1.8;
  color: #3a343f;
  max-width: 66ch;
  margin: 0 0 1.5rem;
}
/* affiliate-disclosure paragraph = soft coral callout */
main:has(> article) article > p:nth-of-type(2) {
  background: rgba(232,120,112,.07);
  border-left: 3px solid #E87870;
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  color: #5a545f;
}
main:has(> article) article > h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--color-heading);
  margin: 2.6em 0 .7em;
}
main:has(> article) article > h2::before {
  content: "\2737 \2737 \2737";
  display: block;
  text-align: center;
  margin-bottom: 1.1em;
  color: #E87870;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: .5em;
}
main:has(> article) article > blockquote {
  position: relative;
  margin: 2em 0;
  padding: 20px 26px 20px 46px;
  border-left: 3px solid #E87870;
  border-radius: 0 8px 8px 0;
  background: #FBECEA;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #4a4450;
}
main:has(> article) article > blockquote::before {
  content: "\201C";
  position: absolute;
  left: 14px;
  top: 8px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: rgba(232,120,112,.6);
}
main:has(> article) article img {
  border-radius: 8px;
  margin: 26px 0;
  box-shadow: 0 2px 10px rgba(43,38,49,.08);
}
/* body links coral; affiliate /see/ links become distinct chips (beats body rule on specificity) */
main:has(> article) article > p a { color: #c05a52; text-underline-offset: 3px; }
main:has(> article) article > p a[href^="/see/"],
main:has(> article) article > ul li a[href^="/see/"] {
  background: #FBECEA;
  color: var(--coral-ink);
  font-weight: 600;
  text-decoration: none;
  padding: 2px 10px;
  border-radius: 6px;
  border: 1px solid rgba(232,120,112,.4);
  transition: background .2s ease, color .2s ease;
}
main:has(> article) article > p a[href^="/see/"]::after,
main:has(> article) article > ul li a[href^="/see/"]::after { content: " \2192"; }
main:has(> article) article > p a[href^="/see/"]:hover,
main:has(> article) article > ul li a[href^="/see/"]:hover {
  background: #E87870;
  color: #FBF5EA;
  border-color: #E87870;
}
/* related-articles nav */
main:has(> article) nav {
  margin-top: 3rem;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(50,44,57,.12);
  font-size: .9rem;
  color: var(--color-text-muted);
}
main:has(> article) nav a { color: var(--coral-ink); text-decoration: none; }
main:has(> article) nav a:hover { color: #E87870; }

/* ---- FOOTER ---- */
body > footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid var(--color-border);
  font-size: .85rem;
  color: var(--color-text-muted);
}
body > footer a { color: var(--coral-ink); text-decoration: none; }
body > footer a:hover { color: #E87870; }

/* ---- RESPONSIVE ---- */
@media (max-width: 760px) {
  main:not(:has(> article)) {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 34px;
    padding: 38px 18px 72px;
  }
  main:not(:has(> article)) > div:has(> h2):first-of-type { padding: 32px 26px; }
  main:not(:has(> article)) > div:has(> h2):nth-of-type(3)::before,
  main:not(:has(> article)) > div:not(:has(> h2))::before { height: 150px; }
  /* M7 mobile: keep boxed magazine-index cards, just 2-up and tighter */
  main:not(:has(> article)) > div:not(:has(> h2)) { grid-template-columns: 1fr 1fr; }
  main:not(:has(> article)) > div:not(:has(> h2))::before { margin: 0 0 6px; }
  main:not(:has(> article)) > div:not(:has(> h2)) > p { padding: 15px 16px; }
  body > header { padding: 48px 20px 26px; }
}


/* 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=Racquet-moody overlay=55% grid=asymmetric scale=balanced family=flat-divs */


/* ── 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)) > div: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)) > div: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)) > div: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)) > div: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;
}

/* ── flat-divs family: cards 5 & 6 also get photo headers ── */
:root main:not(:has(> h1)) > div:nth-of-type(5) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-strip-1.webp") no-repeat center top / 100% 180px,
    var(--bg) !important;
}
:root main:not(:has(> h1)) > div:nth-of-type(6) {
  padding: 200px 32px 32px !important;
  border-radius: 8px;
  background:
    url("/theme-assets/premium-hero-strip-2.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)) > div: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)) > div: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)) > div: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)) > div: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; }
}


/* premium-upgrade v4 */
/* premium-upgrade v4 — surgical bundle. Applied 2026-08-30.
   Fixes: M10 CTA / M11 dinkus leak / M4 heights / M9 typography / M5 frames.
   Kills v2 "LATEST" label (proven counterproductive from v2 diagnosis). */

/* ── Kill v2 counterproductive homepage label ── */
:root main:not(:has(> h1))::before { content: none !important; }

/* ── M10: affiliate CTA visibility on article body ── */
:root main:has(> h1) a[href^="/try/"],
:root main:has(> h1) a[href^="/ref/"],
:root main:has(> h1) a[href^="/go/"],
:root main:has(> h1) a[href^="/out/"],
:root main:has(> h1) a[href^="/check/"],
:root main:has(> h1) a[href^="/view/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
}

/* ── M11: prevent dinkus leaking onto article page's first h2 ── */
:root main:has(> h1) > article > h2:first-of-type::before {
  content: none !important;
}

/* ── M4: force equal-height cards via grid stretch + card fill ── */
:root main:not(:has(> h1)) > div:has(> div) {
  align-items: stretch !important;
}
:root main:not(:has(> h1)) > div:has(> div) > div {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
:root main:not(:has(> h1)) > div > article {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}
/* also for flat-divs family */
:root main:not(:has(> h1)) > div {
  height: 100% !important;
}

/* ── M9: cap small-title weight so Bebas/Anton counters don't fill in ── */
:root main:not(:has(> h1)) > div > div > h2,
:root main:not(:has(> h1)) > div > div > h2 a,
:root main:not(:has(> h1)) > section > ul > li > a,
:root main:not(:has(> h1)) > div > p > a {
  font-weight: 500 !important;
}

/* ── M5: universal soft frame fallback for card-like elements ── */
:root main:not(:has(> h1)) > div > div,
:root main:not(:has(> h1)) > div > article,
:root main:not(:has(> h1)) > article {
  border-radius: 8px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.05) !important;
}


/* premium-upgrade v5 */
/* premium-upgrade v5 — big M2 band + wider M10 CTA net + M8 breathing. 2026-08-31. */

/* ── M2: PROMINENT full-row label, not the small word v2 tried ── */
:root main:not(:has(> h1))::before {
  content: "◆ LATEST FEATURES ◆" !important;
  display: block !important;
  font-family: var(--fh, "PT Sans"), Georgia, serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.32em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 16px 24px 20px !important;
  margin: 0 0 40px !important;
  border-top: 3px solid var(--primary, #333) !important;
  border-bottom: 1px solid var(--border, #ccc) !important;
  color: var(--primary, #333) !important;
  background: transparent !important;
}

/* ── M10: broaden CTA net (Amazon, aff/ path, [target=_blank] product-shaped) ── */
:root main:has(> h1) a[href^="/try/"],
:root main:has(> h1) a[href^="/ref/"],
:root main:has(> h1) a[href^="/go/"],
:root main:has(> h1) a[href^="/out/"],
:root main:has(> h1) a[href^="/check/"],
:root main:has(> h1) a[href^="/view/"],
:root main:has(> h1) a[href^="/aff/"],
:root main:has(> h1) a[href^="/product/"],
:root main:has(> h1) a[href*="hotmart.com"],
:root main:has(> h1) a[href*="digistore24"],
:root main:has(> h1) a[href*="clickbank"],
:root main:has(> h1) a[href*="amazon."],
:root main:has(> h1) a[href*="/track/"],
:root main:has(> h1) a[href*="/link/"],
:root main:has(> h1) a[href*="lstrk.net"],
:root main:has(> h1) a[href*="thrivecart"] {
  display: inline-block !important;
  background: var(--primary) !important;
  color: var(--bg) !important;
  padding: 8px 18px !important;
  border-radius: 5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  letter-spacing: 0.02em !important;
  margin: 4px 2px !important;
}

/* ── M8: article body breathing ── */
:root main:has(> h1) > article > p {
  line-height: 1.8 !important;
  margin-bottom: 20px !important;
}
:root main:has(> h1) > article > h2 {
  margin-top: 48px !important;
  margin-bottom: 18px !important;
}
:root main:not(:has(> h1)) > div:has(> div) {
  gap: 40px 32px !important;
}

