*{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}
.astro-y0QHapeU{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 .astro-m72zzmam{color:#fff;text-decoration:none;font-size:18px;font-weight:600}
.astro-iidMCmdn{border-bottom:1px solid #eee;padding:24px 0}
.astro-iidMCmdn h2{font-size:20px;margin-bottom:8px}
.astro-iidMCmdn h2 a{color:#1a1a2e;text-decoration:none}
.astro-iidMCmdn h2 a:hover{color:#e94560}
.astro-iidMCmdn .date{font-size:13px;color:#999;margin-bottom:8px}
.astro-FCnnftyS{color:#e94560;text-decoration:none;font-size:14px;font-weight:600}
.astro-wjJpeulK{padding-bottom:60px}
.astro-wjJpeulK h1{font-size:32px;margin-bottom:8px}
.astro-wjJpeulK time{font-size:13px;color:#999;display:block;margin-bottom:24px}
.astro-wjJpeulK h2{font-size:22px;margin:32px 0 12px}
.astro-wjJpeulK h3{font-size:18px;margin:24px 0 8px}
.astro-wjJpeulK p{margin-bottom:16px}
.astro-wjJpeulK ul,.astro-wjJpeulK ol{margin:0 0 16px 24px}
.astro-wjJpeulK a{color:#e94560}
.astro-wjJpeulK 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}
.astro-3XxbyCZx{background:#f5f5f5;border-left:3px solid #999;padding:10px 14px;margin-bottom:20px;font-size:13px;color:#777;font-style:italic}
.astro-gErK2ANP{background:#fef9e7;border:1px solid #f0c36d;padding:10px 14px;margin-top:20px;font-size:12px;color:#8a6d3b}
.astro-i5vOELsq{font-size:13px;color:#999;margin:-16px 0 24px;font-style:italic}
.astro-xEoVvCTN{text-align:center;margin:0 0 20px}
.astro-UQihLpcf{max-width:100%;height:auto;border-radius:6px}
.astro-tO3GH5Xu{margin-top:40px;padding-top:24px;border-top:1px solid #eee}
.astro-tO3GH5Xu h3{font-size:18px;margin-bottom:12px}
.astro-tO3GH5Xu ul{list-style:none;padding:0}
.astro-tO3GH5Xu li{padding:4px 0}
.astro-tO3GH5Xu a{color:#e94560;text-decoration:none}
.astro-AwP3kfch{padding:20px 0}
.astro-AwP3kfch ul{list-style:none;padding:0}
.astro-AwP3kfch li{padding:5px 0;font-size:15px}
.astro-AwP3kfch a{color:#1a1a2e;text-decoration:none}
.astro-AwP3kfch a:hover{color:#e94560}
/* === Theme === */
:root{--primary:#7A4A26;--accent:#5C7A95;--bg:#EFEAD5;--fg:#1F140A;--border:#C4B095;--r:3px;--fb:'Petrona';--fh:'Cormorant Garamond';--fm:'Archivo';--moment:#3D5A47;--paper:#F7F2DF;--rule:#D8C9AC}
/* === Custom === */
/* v.b88ce5 — layout revision */
/* se-spirit-es · AlmaCeiba — editorial pass on the Astro flat-feed template.
   Page discriminators (structural, class names avoided):
     Home    = main:has(> article + article)        (feed of 13 <article> cards + archive <section>)
     Card    = main > article:has(> p.date)          (homepage card; real articles have no p.date)
     Article = main > article:not(:has(> p.date))    (article + static body)
   Affiliate links live at /deal/* (NOT /ref /try — those never fired).
   Type: Cormorant Garamond italic (display) · Petrona (body) · Archivo tracked (meta) — all baked in site.css.
   Moment colour #3D5A47 used in exactly 2 places: masthead signature tick + hero drop cap.
   Real assets: /theme-assets/hero-masthead.jpg (masthead) + /theme-assets/article-hero.jpg (strips). */

:root body { font-family: var(--fb), Georgia, serif; color: var(--fg); background: var(--bg); line-height: 1.74; font-size: 16.5px; }
::selection { background: var(--accent); color: var(--paper); }
:root hr { border: 0; border-top: 1px solid var(--rule); margin: 30px 0; }

/* ============================== MASTHEAD ============================== */
:root > body > header {
  background: linear-gradient(rgba(40, 27, 15, .60), rgba(40, 27, 15, .80)), url("/theme-assets/hero-masthead.jpg");
  background-size: cover; background-position: center 58%; background-repeat: no-repeat;
  color: var(--paper); padding: 68px 0 46px; margin-bottom: 0; border-bottom: 3px solid var(--accent);
  text-align: center;
}
:root > body > header > div { max-width: 900px; margin: 0 auto; padding: 0 24px; }
:root > body > header h1,
:root > body > header a {
  font-family: var(--fh), Georgia, serif; font-style: italic; font-weight: 600; color: var(--paper);
  line-height: 1.04; letter-spacing: .01em; text-decoration: none; text-shadow: 0 2px 14px rgba(0, 0, 0, .45);
}
:root > body > header h1 { font-size: 52px; margin-bottom: 0; }
:root > body > header a { font-size: 34px; }
:root > body > header p {
  font-family: var(--fb), Georgia, serif; font-style: italic; font-size: 16px; line-height: 1.5;
  color: rgba(247, 242, 223, .9); max-width: 610px; margin: 16px auto 0; text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}
:root > body > header p::before {
  content: ""; display: block; width: 46px; height: 2px; background: var(--moment); margin: 0 auto 16px;
}
/* article/static masthead has no tagline <p> — restore the signature manifesto line */
:root > body > header:not(:has(p)) > div::after {
  content: "Lo que sí movió algo — y lo que sólo fue el marketing de alguien más.";
  display: block; margin: 14px auto 0; max-width: 560px;
  font-family: var(--fb), Georgia, serif; font-style: italic; font-size: 15px;
  color: rgba(247, 242, 223, .86); text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
}

/* ============================== MAIN (article/static base) ============================== */
:root main { max-width: 748px; margin: 0 auto; padding: 54px 24px 84px; }

:root main > h1,
:root main > article:not(:has(> p.date)) > h1 {
  font-family: var(--fh), Georgia, serif; font-weight: 600; font-size: 42px; line-height: 1.12;
  color: var(--primary); margin: 0 0 .5em; letter-spacing: .005em;
}
:root main > time {
  display: block; font-family: var(--fm), system-ui, sans-serif; font-size: 12px; color: var(--accent);
  letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin: 0 0 32px;
}

/* article body */
:root main > article:not(:has(> p.date)) > p { margin: 0 0 20px; font-family: var(--fb), Georgia, serif; font-size: 18px; line-height: 1.78; }
:root main > article:not(:has(> p.date)) > p:first-of-type { font-size: 19.5px; line-height: 1.8; font-style: italic; color: var(--primary); }
:root main > article:not(:has(> p.date)) > p:first-of-type::first-letter {
  font-family: var(--fh), Georgia, serif; font-weight: 600; font-style: normal; font-size: 3.1em; line-height: .8;
  float: left; margin: .02em .09em 0 0; color: var(--primary);
}
:root main > article:not(:has(> p.date)) > h2 {
  font-family: var(--fh), Georgia, serif; font-weight: 600; font-size: 29px; line-height: 1.18;
  color: var(--primary); margin: 1.75em 0 .5em; padding: 0; border: 0; letter-spacing: .005em;
}
:root main > article:not(:has(> p.date)) > h2::before {
  content: "✷"; display: block; text-align: center; color: var(--accent); font-size: 15px;
  letter-spacing: .5em; margin: 0 0 .6em; opacity: .7;
}
:root main > article:not(:has(> p.date)) > h3 {
  font-family: var(--fh), Georgia, serif; font-weight: 600; font-size: 22px; color: var(--primary); margin: 1.6em 0 .4em;
}
:root main > article:not(:has(> p.date)) ul,
:root main > article:not(:has(> p.date)) ol { margin: 0 0 20px 22px; }
:root main > article:not(:has(> p.date)) li { margin-bottom: 8px; font-family: var(--fb), Georgia, serif; font-size: 17.5px; line-height: 1.7; }
:root main > article:not(:has(> p.date)) li strong,
:root main > article:not(:has(> p.date)) > p strong { color: var(--primary); font-weight: 700; }

/* article body links */
:root main > article:not(:has(> p.date)) > p a,
:root main > article:not(:has(> p.date)) > p a:visited,
:root main > article:not(:has(> p.date)) > li a,
:root main > article:not(:has(> p.date)) > ul a {
  color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent);
  text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 600;
}
:root main > article:not(:has(> p.date)) > p a:hover { color: var(--accent); text-decoration-color: var(--primary); }

/* affiliate /deal/ CTA chips — must out-specify the body-link rule (RULE J: same path + attribute) */
:root main > article:not(:has(> p.date)) > p a[href^="/deal/"],
:root main > article:not(:has(> p.date)) > ul a[href^="/deal/"],
:root main > article:not(:has(> p.date)) > li a[href^="/deal/"] {
  display: inline-block; background: var(--primary); color: var(--paper); padding: 4px 15px; border-radius: 6px;
  text-decoration: none; font-weight: 600; font-family: var(--fm), system-ui, sans-serif; font-size: 14.5px;
  letter-spacing: .02em; box-shadow: 0 1px 4px rgba(31, 20, 10, .18);
}
:root main > article:not(:has(> p.date)) > p a[href^="/deal/"]::after,
:root main > article:not(:has(> p.date)) > ul a[href^="/deal/"]::after,
:root main > article:not(:has(> p.date)) > li a[href^="/deal/"]::after { content: " ↗"; font-size: .85em; }
:root main > article:not(:has(> p.date)) > p a[href^="/deal/"]:hover,
:root main > article:not(:has(> p.date)) > ul a[href^="/deal/"]:hover,
:root main > article:not(:has(> p.date)) > li a[href^="/deal/"]:hover { background: #5f3a1d; color: var(--paper); }

/* article images (hero wrapper is div:first-child; inline-wrap Gemini blocks left untouched) */
:root main > article:not(:has(> p.date)) > div:first-child img,
:root main > article:not(:has(> p.date)) > figure img,
:root main > article:not(:has(> p.date)) > img {
  width: 100%; height: auto; display: block; border-radius: 8px; box-shadow: 0 3px 14px rgba(31, 20, 10, .14); margin: 6px 0 26px;
}
:root main > article:not(:has(> p.date)) > figure { margin: 0 0 26px; }

/* blockquote — hanging quote */
:root main > article:not(:has(> p.date)) blockquote {
  margin: 26px 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--accent);
  font-family: var(--fh), Georgia, serif; font-style: italic; font-size: 22px; line-height: 1.4; color: var(--primary); position: relative;
}

/* related-articles panel (article page) */
:root main:has(> h1) > section {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; padding: 26px 30px; margin-top: 42px;
  box-shadow: 0 1px 5px rgba(31, 20, 10, .05);
}
.astro-tO3GH5Xu h3 { font-family: var(--fh), Georgia, serif; font-size: 14px; font-weight: 600; color: var(--primary); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.astro-tO3GH5Xu ul { list-style: none; padding: 0; margin: 0; }
.astro-tO3GH5Xu li { margin-bottom: 8px; }
.astro-tO3GH5Xu a { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; font-family: var(--fb), Georgia, serif; }
.astro-tO3GH5Xu a:hover { color: var(--accent); }

/* disclaimer — discreet italic note */
.astro-gErK2ANP { background: transparent; border: 0; border-top: 1px solid var(--rule); padding: 18px 0 0; margin-top: 36px; font-size: 12px; color: var(--fg); opacity: .55; font-style: italic; }

/* ============================== HOMEPAGE FEED ============================== */
:root main:has(> article + article) {
  max-width: 1180px; padding: 58px 32px 104px;
  display: grid; grid-template-columns: repeat(6, 1fr); column-gap: 30px; row-gap: 46px; align-items: stretch;
}

/* section label above the Editor's Picks row (RULE B — full-row, outside frames, via grid pseudo) */
:root main:has(> article + article)::before {
  content: "Selección de la editora"; order: 2; grid-column: 1 / -1;
  font-family: var(--fm), system-ui, sans-serif; text-transform: uppercase; letter-spacing: .26em; font-size: 14px;
  font-weight: 600; color: var(--accent); padding: 0 2px 12px; margin: 22px 0 0; border-bottom: 1px solid var(--rule);
}
/* Strip 1 — between picks and journal */
:root main:has(> article + article)::after {
  content: "El diario — más recientes"; order: 4; grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: center; min-height: 208px; margin: 26px 0 6px; border-radius: 8px;
  background: linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .28)), url("/theme-assets/article-hero.jpg");
  background-size: cover; background-position: center 30%;
  color: var(--paper); font-family: var(--fm), system-ui, sans-serif; text-transform: uppercase; letter-spacing: .32em;
  font-size: 14px; font-weight: 600; text-shadow: 0 1px 5px rgba(0, 0, 0, .55);
}

/* HERO — first card, full-width, big display title + drop cap + right meta rail */
:root main:has(> article + article) > article:first-of-type {
  order: 1; grid-column: 1 / -1;
  display: grid; grid-template-columns: minmax(0, 1fr) 210px; column-gap: 48px; align-items: start;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 3px 16px rgba(31, 20, 10, .09); padding: 48px 52px 44px; margin: 0;
}
:root main:has(> article + article) > article:first-of-type::before {
  content: "Último ensayo"; grid-column: 1; grid-row: 1;
  font-family: var(--fm), system-ui, sans-serif; text-transform: uppercase; letter-spacing: .28em; font-size: 12.5px; font-weight: 600; color: var(--accent);
}
:root main:has(> article + article) > article:first-of-type > h2 {
  grid-column: 1; grid-row: 2; margin: 10px 0 0;
  font-family: var(--fh), Georgia, serif; font-weight: 600; font-size: 46px; line-height: 1.08; letter-spacing: .005em;
}
:root main:has(> article + article) > article:first-of-type > h2 a { color: var(--primary); text-decoration: none; }
:root main:has(> article + article) > article:first-of-type > p:not(.date) {
  grid-column: 1; grid-row: 3; margin: 18px 0 0; max-width: 60ch;
  font-family: var(--fb), Georgia, serif; font-size: 19px; line-height: 1.6; color: var(--fg);
}
:root main:has(> article + article) > article:first-of-type > p:not(.date)::first-letter {
  font-family: var(--fh), Georgia, serif; font-weight: 600; color: var(--moment); font-size: 3.4em; line-height: .78; float: left; margin: .02em .1em 0 0;
}
:root main:has(> article + article) > article:first-of-type > a:last-child {
  grid-column: 1; grid-row: 4; justify-self: start; margin-top: 26px; font-size: 0;
  background: var(--primary); color: var(--paper); padding: 12px 22px; border-radius: 6px; text-decoration: none;
}
:root main:has(> article + article) > article:first-of-type > a:last-child::after {
  content: "Leer el ensayo →"; font-family: var(--fm), system-ui, sans-serif; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
:root main:has(> article + article) > article:first-of-type > a:last-child:hover { background: #5f3a1d; }
/* hero right meta rail — fills the second column (RULE 4: no empty side) */
:root main:has(> article + article) > article:first-of-type > p.date {
  grid-column: 2; grid-row: 1 / span 4; align-self: start; margin: 4px 0 0;
  border-left: 2px solid var(--rule); padding: 2px 0 2px 22px;
  font-family: var(--fm), system-ui, sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: 11.5px; font-weight: 600; color: var(--accent); line-height: 1.7;
}
:root main:has(> article + article) > article:first-of-type > p.date::before { content: "Publicado"; display: block; opacity: .55; margin-bottom: 2px; }
:root main:has(> article + article) > article:first-of-type > p.date::after {
  content: "Por Mariana · Lectura 6 min"; display: block; margin-top: 10px; color: var(--fg); opacity: .58; letter-spacing: .1em; font-size: 11px;
}

/* PICKS (2–4) + JOURNAL (5+) — consistent card treatment */
:root main:has(> article + article) > article:has(> p.date):not(:first-of-type) {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 8px; box-shadow: 0 1px 5px rgba(31, 20, 10, .05);
  padding: 26px 32px 24px; display: flex; flex-direction: column; margin: 0;
}
:root main:has(> article + article) > article:nth-of-type(n+2):nth-of-type(-n+4) { order: 3; grid-column: span 2; border-top: 3px solid var(--accent); }
:root main:has(> article + article) > article:nth-of-type(n+5) { order: 5; grid-column: span 2; }

:root main:has(> article + article) > article:has(> p.date):not(:first-of-type) > p.date {
  order: 1; margin: 0 0 10px; font-family: var(--fm), system-ui, sans-serif; text-transform: uppercase; letter-spacing: .16em; font-size: 11px; font-weight: 600; color: var(--accent);
}
:root main:has(> article + article) > article:has(> p.date):not(:first-of-type) > h2 {
  order: 2; margin: 0; font-family: var(--fh), Georgia, serif; font-weight: 600; font-size: 23px; line-height: 1.2;
}
:root main:has(> article + article) > article:has(> p.date):not(:first-of-type) > h2 a { color: var(--primary); text-decoration: none; }
:root main:has(> article + article) > article:has(> p.date):not(:first-of-type) > h2 a:hover { color: var(--accent); }
:root main:has(> article + article) > article:has(> p.date):not(:first-of-type) > p:not(.date) {
  order: 3; margin: 12px 0 0; font-family: var(--fb), Georgia, serif; font-size: 15.5px; line-height: 1.6; color: var(--fg); opacity: .9;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
:root main:has(> article + article) > article:has(> p.date):not(:first-of-type) > a:last-child {
  order: 4; margin-top: auto; padding-top: 16px; font-size: 0; color: var(--accent); text-decoration: none;
}
:root main:has(> article + article) > article:has(> p.date):not(:first-of-type) > a:last-child::after {
  content: "Leer más →"; font-family: var(--fm), system-ui, sans-serif; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}

/* ARCHIVE TAIL — full-width magazine index, capped by Strip 2 */
:root main:has(> article + article) > section {
  order: 6; grid-column: 1 / -1; margin: 30px 0 0; background: var(--paper); border: 1px solid var(--rule); border-radius: 8px;
  padding: 0 40px 36px; box-shadow: 0 1px 5px rgba(31, 20, 10, .05); overflow: hidden;
}
:root main:has(> article + article) > section::before {
  content: "Todas las entradas"; display: flex; align-items: center; justify-content: center; min-height: 208px;
  margin: 0 -40px 30px; /* bleed over the panel padding → full-row band */
  background: linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .25)), url("/theme-assets/article-hero.jpg");
  background-size: cover; background-position: center 70%;
  color: var(--paper); font-family: var(--fm), system-ui, sans-serif; text-transform: uppercase; letter-spacing: .32em;
  font-size: 14px; font-weight: 600; text-shadow: 0 1px 5px rgba(0, 0, 0, .55);
}
:root main:has(> article + article) > section ul { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 40px; }
:root main:has(> article + article) > section li { break-inside: avoid; margin: 0; padding: 9px 0; border-bottom: 1px dotted rgba(31, 20, 10, .16); }
:root main:has(> article + article) > section a { display: block; font-family: var(--fb), Georgia, serif; font-size: 15px; line-height: 1.35; color: var(--primary); text-decoration: none; }
:root main:has(> article + article) > section a:hover { color: var(--accent); }

/* ============================== FOOTER ============================== */
:root footer { background: transparent; border-top: 1px solid var(--rule); padding: 24px 0 36px; margin-top: 54px; text-align: center; font-family: var(--fm), system-ui, sans-serif; font-size: 12.5px; color: var(--fg); opacity: .6; letter-spacing: .03em; font-style: italic; }
:root footer a { color: var(--fg); text-decoration: none; border-bottom: 1px dotted var(--rule); font-style: normal; }
:root footer a:hover { color: var(--primary); border-bottom-color: var(--primary); }

/* ============================== RESPONSIVE ============================== */
@media (max-width: 820px) {
  :root main:has(> article + article) { grid-template-columns: 1fr; max-width: 580px; row-gap: 34px; padding: 44px 22px 80px; }
  :root main:has(> article + article) > article { grid-column: 1 / -1; }
  :root main:has(> article + article) > article:first-of-type { display: block; padding: 34px 28px 32px; }
  :root main:has(> article + article) > article:first-of-type > h2 { font-size: 33px; }
  :root main:has(> article + article) > article:first-of-type > p.date { border-left: 0; padding: 14px 0 0; margin-top: 18px; border-top: 1px solid var(--rule); }
  :root main:has(> article + article) > section ul { columns: 1; }
  :root main:has(> article + article) > section { padding: 0 26px 28px; }
  :root main:has(> article + article) > section::before { margin: 0 -26px 26px; min-height: 168px; }
  :root main:has(> article + article)::after { min-height: 168px; }
  :root > body > header h1 { font-size: 38px; }
  :root > body > header a { font-size: 30px; }
}
