*{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}
.Container_row__afuKU{max-width:860px;margin:0 auto;padding:0 20px}
.Banner_text__7IAj0{background:#fff;padding:28px 0;margin-bottom:32px;box-shadow:0 1px 3px rgba(0,0,0,.08)}
.Banner_text__7IAj0 h1{font-size:22px;font-weight:700;margin-bottom:2px}
.Banner_text__7IAj0 p{font-size:14px;color:#666}
.Banner_text__7IAj0 a{color:#333;text-decoration:none;font-size:18px;font-weight:700}
.Header_head__HzmdW{display:flex;flex-direction:column;gap:20px}
.Grid_wrap__Iz15V{background:#fff;border-radius:12px;box-shadow:0 1px 6px rgba(0,0,0,.06);padding:24px 28px;transition:transform .15s,box-shadow .15s}
.Grid_wrap__Iz15V:hover{transform:translateY(-2px);box-shadow:0 4px 16px rgba(0,0,0,.1)}
.Grid_wrap__Iz15V h2{font-size:19px;margin-bottom:6px}
.Grid_wrap__Iz15V h2 a{color:#1a1a1a;text-decoration:none}
.Grid_wrap__Iz15V .Main_row__SrnYW{font-size:12px;color:#999;margin-bottom:8px}
.Grid_wrap__Iz15V p{font-size:14px;color:#555;margin-bottom:12px}
.Header_head__d25AA{display:inline-block;background:#5865f2;color:#fff;padding:6px 16px;border-radius:20px;font-size:13px;font-weight:600;text-decoration:none}
.Header_head__d25AA:hover{background:#4752c4}
.Section_wrapper__coIFP{padding-bottom:60px}
.Section_wrapper__coIFP h1{font-size:30px;font-weight:700;margin-bottom:8px}
.Section_wrapper__coIFP time{font-size:12px;color:#999;display:block;margin-bottom:24px}
.Section_wrapper__coIFP h2{font-size:22px;margin:32px 0 12px}
.Section_wrapper__coIFP h3{font-size:18px;margin:24px 0 8px}
.Section_wrapper__coIFP p{margin-bottom:16px}
.Section_wrapper__coIFP ul,.Section_wrapper__coIFP ol{margin:0 0 16px 24px}
.Section_wrapper__coIFP a{color:#5865f2}
.Section_wrapper__coIFP img{max-width:100%;height:auto;border-radius:12px;margin:16px 0}
.Wrapper_box__frr0C{padding:24px 0;margin-top:40px;text-align:center;font-size:12px;color:#999}
.Wrapper_box__frr0C a{color:#999;text-decoration:none}
.Nav_block__uAJHG{background:#e8eaf0;border-radius:8px;padding:12px 16px;margin-bottom:20px;font-size:13px;color:#888;font-style:italic}
.Main_item__ex5We{background:#fff8e1;border-radius:8px;padding:12px 16px;margin-top:24px;font-size:12px;color:#9e8600}
.Hero_body__eHAQ4{display:inline-block;background:#f0f2f7;border-radius:12px;padding:4px 12px;margin:-18px 0 24px;font-size:12px;color:#777}
.Footer_foot__PoxdI{text-align:center;margin:0 0 24px}
.Module_head__2CTeQ{max-width:100%;height:auto;border-radius:12px}
.Grid_title__ZtxY4{margin-top:32px;padding-top:20px;border-top:1px solid #e0e0e0}
.Grid_title__ZtxY4 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)}
.Page_area__CC26F{display:flex;flex-direction:column;gap:8px;margin-top:20px}
.Banner_content__zUzIu{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}
.Banner_content__zUzIu:hover{box-shadow:0 2px 8px rgba(0,0,0,.1)}
/* === Theme === */
:root{--primary:#558B4A;--accent:#DA9E80;--bg:#F4EDD8;--fg:#1A1F14;--border:#D2DCC5;--moment:#8C4A00;--r:14px;--fb:'Mulish';--fh:'Fraunces'}
/* === Custom === */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,400;1,9..144,500;1,9..144,600&family=Mulish:wght@400;500;600;700&display=swap');

/* v.4d97a4 — layout revision */

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

/* ============================================================
   MASTHEAD — photo band + green overlay + monogram + italic wordmark
   ============================================================ */
:root > body > header { position: relative; background: linear-gradient(rgba(45,62,38,.84), rgba(45,62,38,.70)), url("/theme-assets/hero-bg.jpg"); background-size: cover; background-position: center; color: var(--bg); padding: 60px 0 46px; margin-bottom: 56px; border-bottom: 3px solid var(--accent); }
:root > body > header > div { max-width: 1080px; margin: 0 auto; padding: 0 28px; text-align: center; }
:root > body > header > div::before { content: ""; display: block; width: 46px; height: 46px; margin: 0 auto 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none'%3E%3Crect x='6' y='6' width='36' height='36' rx='9' stroke='%23F4EDD8' stroke-width='2.5'/%3E%3Ccircle cx='24' cy='21' r='6' fill='%23DA9E80'/%3E%3Cline x1='14' y1='33' x2='34' y2='33' stroke='%23F4EDD8' stroke-width='2' stroke-linecap='round'/%3E%3Cline x1='18' y1='38' x2='30' y2='38' stroke='%23F4EDD8' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
:root > body > header h1 { font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 46px; font-weight: 500; color: var(--bg); line-height: 1.1; margin-bottom: 12px; letter-spacing: .005em; }
:root > body > header p { font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; color: rgba(244, 237, 216, .84); max-width: 620px; margin: 0 auto; font-style: italic; line-height: 1.55; }
:root > body > header a { font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 27px; color: var(--bg); text-decoration: none; font-weight: 500; }

/* ============================================================
   MAIN + ARTICLE TYPOGRAPHY
   ============================================================ */
:root main { max-width: 740px; margin: 0 auto; padding: 0 24px 70px; }
:root main > h1 { font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 42px; font-weight: 600; color: var(--primary); line-height: 1.14; margin: 26px 0 8px; letter-spacing: .005em; }
:root main > time { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; color: var(--accent); margin-bottom: 34px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }

:root main > article > p { margin-bottom: 20px; font-size: 18px; line-height: 1.78; }
:root main > article > p:first-of-type::first-letter { font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 52px; line-height: .82; float: left; padding: 8px 12px 0 0; color: var(--primary); }
:root main > article > h2 { font-family: var(--fh), Cambria, serif; font-size: 27px; font-weight: 600; color: var(--primary); margin-top: 2.4em; margin-bottom: 0.55em; padding-bottom: 6px; border-bottom: 1px solid var(--accent); letter-spacing: .005em; line-height: 1.2; }
:root main > article > h2 ~ h2::before { content: "\2737 \2737 \2737"; display: block; text-align: center; color: var(--accent); font-size: 14px; letter-spacing: .55em; margin: 0 0 .75em; opacity: .7; border: 0; font-weight: 400; }
:root main > article ul, :root main > article ol { margin: 0 0 20px 24px; }
:root main > article li { margin-bottom: 8px; font-size: 17px; line-height: 1.7; }
:root main > article li strong, :root main > article > p strong, :root main > article > p b, :root main > article li b { color: var(--primary); font-weight: 700; }
:root main > article h3 { font-family: var(--fh), Cambria, serif; font-size: 21px; font-weight: 600; color: var(--primary); margin-top: 1.8em; margin-bottom: 0.5em; letter-spacing: .005em; }

:root main > article > p a, :root main > article > p a:visited, :root main > article li a, :root main > article li a:visited { color: var(--primary); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-weight: 700; }
:root main > article > p a:hover, :root main > article li a:hover { color: var(--accent); text-decoration-color: var(--primary); }

/* Affiliate CTAs — peach pills. Full element path + attribute beats the body-link rule (RULE J). */
:root main > article > p a[href^="/offer/"], :root main > article > p a[href^="/ref/"], :root main > article > p a[href^="/try/"], :root main > article > p a[href^="/check/"], :root main > article > p a[href^="/partner/"], :root main > article > p a[href^="/go/"], :root main > article > p a[href^="/out/"], :root main > article > p a[href^="/view/"], :root main > article > p a[href^="/choice/"],
:root main > article > ul > li a[href^="/offer/"], :root main > article > ol > li a[href^="/offer/"] { display: inline-block; background: var(--accent); color: var(--fg); padding: 5px 15px; border-radius: var(--r); text-decoration: none; font-weight: 700; font-family: var(--fb), system-ui, sans-serif; font-size: 15px; letter-spacing: .01em; }
:root main > article > p a[href^="/offer/"]:hover, :root main > article > p a[href^="/ref/"]:hover, :root main > article > p a[href^="/try/"]:hover, :root main > article > p a[href^="/check/"]:hover, :root main > article > p a[href^="/partner/"]:hover, :root main > article > p a[href^="/go/"]:hover, :root main > article > p a[href^="/out/"]:hover, :root main > article > p a[href^="/view/"]:hover, :root main > article > p a[href^="/choice/"]:hover,
:root main > article > ul > li a[href^="/offer/"]:hover, :root main > article > ol > li a[href^="/offer/"]:hover { background: var(--primary); color: var(--bg); }

:root main > article > img, :root main > article > figure, :root main > article > div[role="img"], :root main > article > div { margin: 0 0 26px; }
:root main > article > div:first-child { margin-bottom: 30px; }
:root main > article > img, :root main > article > figure > img, :root main > article > div img { width: 100%; height: auto; display: block; border-radius: var(--r); box-shadow: 0 3px 14px rgba(26, 31, 20, .14); }

/* Related articles (article page only — this main has an <h3> block) */
:root main > div:has(> h3) { border-top: 2px solid var(--border); margin-top: 56px; padding-top: 6px; }
:root main > div:has(> h3) > h3 { font-family: var(--fb), system-ui, sans-serif; font-size: 14px; font-weight: 700; color: var(--accent); letter-spacing: .18em; text-transform: uppercase; margin: 22px 0 6px; }
:root main > div:has(> h3) > div { display: flex; flex-direction: column; }
:root main > div:has(> h3) > div a { display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 15.5px; font-weight: 600; color: var(--primary); text-decoration: none; padding: 13px 0 13px 16px; border-left: 2px solid var(--accent); border-bottom: 1px dotted rgba(26, 31, 20, .14); transition: border-left-color .12s ease, color .12s ease; }
:root main > div:has(> h3) > div a:last-child { border-bottom: 0; }
:root main > div:has(> h3) > div a:hover { color: var(--accent); border-left-color: var(--primary); }

/* Author page tagline */
:root main:not(:has(> article)) > p:first-of-type { font-size: 14px; color: var(--accent); font-style: italic; margin: 4px 0 32px; opacity: .88; }

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

/* ============================================================
   HOMEPAGE — editorial grid: hero -> Selección de Renata -> El Diario
   Scoped to homepage via :not(:has(> article)); grid on first-of-type only.
   ============================================================ */
:root main:not(:has(> article)) { max-width: 1120px; padding-bottom: 90px; }

:root main:not(:has(> article)) > div:first-of-type { display: grid; grid-template-columns: repeat(6, 1fr); gap: 30px; align-items: stretch; }

/* ---- base card ---- */
:root main:not(:has(> article)) > div:first-of-type > div { grid-column: span 3; order: 5; display: flex; flex-direction: column; background: #faf5ec; border: 1px solid rgba(85, 139, 74, .16); border-radius: 8px; box-shadow: 0 1px 4px rgba(26, 31, 20, .05); padding: 26px 32px 28px; }
:root main:not(:has(> article)) > div:first-of-type > div > p:first-of-type { font-family: var(--fb), system-ui, sans-serif; font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--primary); margin: 0 0 10px; line-height: 1.4; }
:root main:not(:has(> article)) > div:first-of-type > div > h2 { font-family: var(--fh), Cambria, serif; font-size: 20px; font-weight: 600; line-height: 1.28; margin: 0 0 10px; }
:root main:not(:has(> article)) > div:first-of-type > div > h2 a { color: var(--fg); text-decoration: none; }
:root main:not(:has(> article)) > div:first-of-type > div > h2 a:hover { color: var(--primary); }
:root main:not(:has(> article)) > div:first-of-type > div > p:last-of-type { font-family: var(--fb), system-ui, sans-serif; font-size: 15px; line-height: 1.6; color: var(--fg); opacity: .82; margin: 0 0 16px; max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child { margin-top: auto; align-self: flex-start; font-size: 0; color: var(--primary); text-decoration: none; border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child::after { content: "Leer la entrada \2192"; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
:root main:not(:has(> article)) > div:first-of-type > div > a:last-child:hover { color: var(--accent); border-bottom-color: var(--primary); }

/* ---- HERO (card 1): the loud voice ---- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) { grid-column: 1 / -1; order: 1; position: relative; padding: 44px 52px 40px; background: #f8f2e6; border-color: rgba(85, 139, 74, .22); box-shadow: 0 3px 16px rgba(26, 31, 20, .08); }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1)::before { content: "\00da ltima entrada del cuaderno"; display: block; font-family: var(--fb), system-ui, sans-serif; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; color: var(--accent); margin-bottom: 16px; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:first-of-type { font-size: 12.5px; margin-bottom: 16px; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:first-of-type::before { content: "Por Renata Acosta \00b7 "; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > h2 { font-family: var(--fh), Cambria, serif; font-style: italic; font-size: 40px; font-weight: 600; line-height: 1.12; margin-bottom: 18px; max-width: 20ch; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:last-of-type { display: block; overflow: visible; -webkit-line-clamp: none; font-size: 19px; line-height: 1.55; opacity: .9; max-width: 64ch; margin-bottom: 24px; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:last-of-type::first-letter { font-family: var(--fh), Cambria, serif; font-weight: 600; font-size: 56px; line-height: .78; float: left; padding: 6px 12px 0 0; color: var(--moment); }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a:last-child { border: 1.5px solid var(--primary); border-radius: 999px; padding: 11px 26px; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a:last-child::after { content: "Leer la entrada completa \2192"; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > a:last-child:hover { background: var(--primary); color: var(--bg); border-color: var(--primary); }

/* ---- SELECCIÓN DE RENATA label (full row, outside frames) — RULE B ---- */
:root main:not(:has(> article)) > div:first-of-type::before { content: "Selecci\00f3n de Renata \2014 empieza por aqu\00ed"; grid-column: 1 / -1; order: 2; margin-top: 30px; padding-bottom: 12px; font-family: var(--fb), system-ui, sans-serif; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--moment); border-bottom: 1px solid rgba(140, 74, 0, .28); }

/* ---- Editor's Picks band (cards 2-4) ---- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(2), :root main:not(:has(> article)) > div:first-of-type > div:nth-child(3), :root main:not(:has(> article)) > div:first-of-type > div:nth-child(4) { grid-column: span 2; order: 3; }

/* ---- Strip 1: EL DIARIO — MÁS RECIENTES (between picks and journal) — RULE F ---- */
:root main:not(:has(> article)) > div:first-of-type::after { content: "El diario \2014 m\00e1s recientes"; grid-column: 1 / -1; order: 4; min-height: 190px; margin: 26px 0 6px; display: flex; align-items: center; justify-content: center; background: linear-gradient(rgba(20, 24, 28, .55), rgba(20, 24, 28, .25)), url("/theme-assets/post-header.jpg"); background-size: cover; background-position: center 30%; border-radius: 10px; color: #F4EDD8; font-family: var(--fb), system-ui, sans-serif; font-size: 14px; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

/* ---- Chronological journal grid (cards 5+): 2-col span 3 ---- */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5) { grid-column: span 3; order: 5; }
/* lone trailing card -> full width, centered so the right column isn't empty (RULE 4) */
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-child(odd):last-child { grid-column: 1 / -1; align-items: center; text-align: center; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-child(odd):last-child > p:last-of-type { max-width: 68ch; margin-left: auto; margin-right: auto; }
:root main:not(:has(> article)) > div:first-of-type > div:nth-child(n+5):nth-child(odd):last-child > a:last-child { align-self: center; }

/* ---- Strip 2: EL ARCHIVO (closing band under the feed) — RULE F ---- */
:root main:not(:has(> article))::after { content: "El archivo"; display: flex; align-items: center; justify-content: center; min-height: 210px; margin-top: 56px; background: linear-gradient(rgba(20, 24, 28, .5), rgba(20, 24, 28, .3)), url("/theme-assets/post-header.jpg"); background-size: cover; background-position: center 70%; border-radius: 10px; color: #F4EDD8; font-family: var(--fb), system-ui, sans-serif; font-size: 14px; letter-spacing: .32em; text-transform: uppercase; font-weight: 700; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }

/* ---- Safety: any secondary homepage block (compact archive tail) — warm, full width, no white — RULE G ---- */
:root main:not(:has(> article)) > div:not(:first-of-type) { background: #faf5ec; border: 1px solid rgba(85, 139, 74, .16); border-radius: 8px; padding: 24px 32px; margin-top: 44px; columns: 2; column-gap: 40px; }
:root main:not(:has(> article)) > div:not(:first-of-type) a { background: #faf5ec !important; color: var(--primary); text-decoration: none; display: block; padding: 8px 0; border-bottom: 1px dotted rgba(26, 31, 20, .14); font-family: var(--fb), system-ui, sans-serif; font-size: 14.5px; }
:root main:not(:has(> article)) > div:not(:first-of-type) > * { background: #faf5ec !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  :root > body > header h1 { font-size: 34px; }
  :root main:not(:has(> article)) > div:first-of-type { grid-template-columns: 1fr; gap: 22px; }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) { padding: 32px 28px 30px; }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > h2 { font-size: 30px; max-width: none; }
  :root main:not(:has(> article)) > div:first-of-type > div:nth-child(1) > p:last-of-type { font-size: 17px; }
  :root main:not(:has(> article)) > div:not(:first-of-type) { columns: 1; }
  :root main > h1 { font-size: 34px; }
  :root main > article > p { font-size: 17px; }
}
