:root {
  --paper: #fbf9f4;
  --paper-2: #f3eee3;
  --ink: #24313c;
  --muted: #66717a;
  --line: rgba(36,49,60,.14);
  --brand: #176f86;
  --juicios: #a94f22;
  --homunculos: #2f6294;
  --toxicos: #64823d;
  --adiposo: #71488b;
  --exitus: #8a3b4a;
  --shadow: 0 18px 45px rgba(29, 35, 40, .11);
  --radius: 22px;
  --content: 1180px;
  --narrow: 780px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 1rem; top: -5rem; background: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.content-shell { width: min(calc(100% - 2.4rem), var(--content)); margin-inline: auto; }
.content-shell.narrow, .narrow { max-width: var(--narrow); }
.eyebrow { margin: 0 0 .55rem; color: var(--brand); text-transform: uppercase; letter-spacing: .13em; font-size: .79rem; font-weight: 800; }
h1,h2,h3 { line-height: 1.08; letter-spacing: -.025em; }
h1 { font-size: clamp(2.5rem, 6vw, 5.4rem); margin: .15em 0 .35em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); margin: .1em 0 .45em; }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.lead { font-size: clamp(1.15rem, 2.2vw, 1.48rem); line-height: 1.52; color: #42505b; }
.text-link { display: inline-block; margin-top: .7rem; color: var(--brand); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.button { display: inline-flex; align-items: center; min-height: 44px; padding: .7rem 1.05rem; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 750; }
.button-secondary { background: transparent; color: var(--ink); border: 1px solid currentColor; }

/* Hero principal: se desplaza con la página. El oscurecimiento del extremo derecho reduce el exceso de brillo sin editar la imagen original. */
.home-hero { position: relative; width: 100%; overflow: hidden; background: #eaf4f5; }
.home-hero img { width: 100%; height: auto; min-height: 310px; object-fit: cover; object-position: center; }
.home-hero .hero-dim { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, transparent 0 66%, rgba(35,15,48,.03) 77%, rgba(35,15,48,.14) 100%); }

.site-nav { position: sticky; top: 0; z-index: 100; background: rgba(251,249,244,.94); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-inner { width: min(calc(100% - 2rem), 1280px); min-height: 64px; margin: auto; display: flex; align-items: center; gap: 1.3rem; }
.nav-brand { margin-right: auto; font-family: Georgia, serif; font-weight: 700; text-decoration: none; font-size: 1.05rem; }
.nav-links { display: flex; align-items: center; gap: 1.15rem; }
.nav-links a { text-decoration: none; font-size: .91rem; font-weight: 700; white-space: nowrap; }
.nav-links a:hover { color: var(--brand); }
.nav-dropdown { position: relative; }
.nav-dropdown summary { display: flex; align-items: center; gap: .35rem; list-style: none; cursor: pointer; font-size: .91rem; font-weight: 700; white-space: nowrap; }
.nav-dropdown summary::-webkit-details-marker { display: none; }
.nav-dropdown summary:hover, .nav-dropdown summary.is-current { color: var(--brand); }
.nav-caret { transition: transform .2s ease; }
.nav-dropdown[open] .nav-caret { transform: rotate(180deg); }
.nav-dropdown-menu { position: absolute; top: calc(100% + .7rem); left: -.8rem; z-index: 110; min-width: 15rem; display: flex; flex-direction: column; padding: .45rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.nav-dropdown-menu a { padding: .55rem .75rem; border-radius: 9px; }
.nav-dropdown-menu a:hover { background: rgba(23,111,134,.07); }
.nav-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span:not(.sr-only) { display: block; height: 2px; background: currentColor; margin: 5px 0; }

.manifesto { max-width: 880px; text-align: center; }
.section-heading { margin-bottom: 2rem; }
.world-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; padding-bottom: clamp(5rem, 9vw, 8rem); }
.world-card { position: relative; min-height: 490px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: white; box-shadow: var(--shadow); isolation: isolate; }
.world-card::after { content:""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8,11,13,.84), rgba(8,11,13,.05) 60%); }
.world-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.world-card:hover img { transform: scale(1.025); }
.world-card > div { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.5rem; }
.world-card span { font-size: .8rem; opacity: .85; font-weight: 800; letter-spacing: .12em; }
.world-card h3 { margin: .25rem 0 .35rem; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.world-card p { margin: 0; max-width: 34rem; }
.latest-band { padding: clamp(4rem, 8vw, 7rem) 0; background: #eef3f3; border-block: 1px solid rgba(20,60,70,.08); }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.article-card, .empty-state { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 1.4rem; }
.article-card h3 a { text-decoration: none; }
.article-meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .78rem; color: var(--muted); }
.section-pill { font-weight: 800; }
.books-preview { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
/* Daniela en portada: presencia editorial, pero sin dominar la página. */
.daniela-feature { display: grid; grid-template-columns: minmax(150px, 220px) 1fr; align-items: center; gap: clamp(1.2rem, 3vw, 2.4rem); background: #f1e5df; border-radius: var(--radius); overflow: hidden; padding: clamp(.9rem, 2vw, 1.35rem); max-width: 920px; margin-inline: auto; }
.daniela-feature img { border-radius: 13px; box-shadow: var(--shadow); max-height: 300px; width: 100%; object-fit: cover; object-position: top; }
.daniela-feature h3 { margin-bottom: .35rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
.daniela-feature .book-tagline { margin: .25rem 0 .65rem; font-size: 1.15rem; }
.daniela-feature .button { margin-top: .35rem; }
.book-status { color: #7c3f58; font-size: .82rem; text-transform: uppercase; font-weight: 850; letter-spacing: .08em; }
.book-tagline { font-family: Georgia, serif; font-style: italic; font-size: 1.35rem; color: #6a2f48; }
.manuscript-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.manuscript-contact { margin-top: 1.6rem; padding: 1.5rem 1.7rem; border-radius: 18px; background: rgba(23,111,134,.06); }
.manuscript-contact p { margin: 0 0 .4rem; }
.manuscript-contact-title { font-weight: 800; font-size: 1.08rem; }
.manuscript-contact p a { color: var(--brand); font-weight: 700; overflow-wrap: anywhere; }
.manuscript-contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: .9rem; }
.manuscript-contact-actions .text-link { margin-top: 0; }
.footer-social { margin: .9rem 0 0; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; }
.footer-social a:hover { background: rgba(255,255,255,.1); }
.manuscript-card { padding: 1.7rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.author-band { padding: clamp(5rem, 10vw, 9rem) 0; background: #1f343a; color: #fff; }
.author-band .eyebrow { color: #8fd9df; }
.author-band .lead { color: #d6e3e5; }
.author-home { max-width: 790px; }

/* Section pages */
.section-hero { width: min(calc(100% - 2rem), 1400px); margin: 2rem auto 0; display: grid; grid-template-columns: 1.45fr .8fr; min-height: 560px; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.section-hero-image { width: 100%; height: 100%; object-fit: cover; animation: heroReveal 850ms cubic-bezier(.2,.7,.2,1) both; }
.section-hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4rem); }
.section-hero-copy h1 { font-size: clamp(2.6rem, 5vw, 5rem); }
.theme-juicios .section-hero-copy .eyebrow, .theme-juicios .section-pill { color: var(--juicios); }
.theme-homunculos .section-hero-copy .eyebrow, .theme-homunculos .section-pill { color: var(--homunculos); }
.theme-toxicos .section-hero-copy .eyebrow, .theme-toxicos .section-pill { color: var(--toxicos); }
.theme-adiposo .section-hero-copy .eyebrow, .theme-adiposo .section-pill { color: var(--adiposo); }
.section-listing { padding: clamp(4rem, 8vw, 7rem) 0; }

/* General pages */
.page-hero { padding: clamp(5rem, 11vw, 9rem) 0 clamp(3rem, 7vw, 6rem); background: #ece7dd; }
.compact-hero h1 { max-width: 900px; }
.author-hero { background: linear-gradient(135deg, #e9efe8, #e9e1d8); }
.prose { max-width: 760px; margin-inline: auto; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.78; }
.prose h2, .prose h3 { font-family: ui-sans-serif, system-ui, sans-serif; margin-top: 2.2em; }
.prose a { color: #146d83; }
.prose blockquote { margin: 2.2rem 0; padding: 1.2rem 1.5rem; border-left: 4px solid var(--brand); background: #eef4f2; font-size: 1.2rem; }
.author-prose { padding-block: clamp(4rem, 8vw, 7rem); }
.post-shell { width: min(calc(100% - 2rem), 900px); margin: auto; padding: clamp(4rem, 8vw, 7rem) 0; }
.post-header { max-width: 790px; margin: auto; text-align: center; }
.post-subtitle { font-size: 1.3rem; color: var(--muted); }
.post-byline { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.2rem; color: var(--muted); font-size: .88rem; }
.post-featured { width: 100%; max-height: 620px; object-fit: cover; border-radius: 22px; margin: 2.5rem auto 3.5rem; box-shadow: var(--shadow); }
.post-featured.is-contained { display: block; width: auto; max-width: 100%; max-height: min(88vh, 960px); object-fit: contain; }
.evidence-box { margin: 3rem auto 0; max-width: 760px; padding: 1.5rem; border-radius: 18px; background: #edf3f1; border: 1px solid rgba(23,111,134,.15); }
.evidence-box h2 { font-size: 1.4rem; }
.books-page { padding: clamp(4rem, 8vw, 7rem) 0; display: grid; gap: 2rem; }
.book-detail { display: grid; grid-template-columns: minmax(240px, 370px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; border-bottom: 1px solid var(--line); padding-bottom: 2rem; }
.book-detail.text-only { grid-template-columns: 1fr; max-width: 900px; }
.book-detail img { border-radius: 16px; box-shadow: var(--shadow); }
.daniela-landing { padding: clamp(3rem, 6vw, 5rem) 0; background: #f3e9e2; min-height: 70vh; }
.daniela-layout { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.daniela-layout > img { border-radius: 16px; box-shadow: var(--shadow); }
.chapter-list { display: grid; gap: .8rem; margin-top: 2rem; }
.chapter-list > a { padding: 1rem 1.1rem; border-radius: 12px; background: rgba(255,255,255,.65); text-decoration: none; display: grid; gap: .15rem; }
.chapter-list span { font-size: .78rem; color: #7c3f58; text-transform: uppercase; letter-spacing: .08em; }
.prose-literary { font-size: 1.14rem; }
.chapter-nav { max-width: 760px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.book-reading .chapter-nav { display:grid; grid-template-columns:1fr auto 1fr; align-items:start; gap:1rem; }
.book-reading .chapter-nav a { text-decoration:none; }
.book-reading .chapter-nav-prev, .book-reading .chapter-nav-next { display:grid; gap:.2rem; }
.book-reading .chapter-nav-next { text-align:right; }
.book-reading .chapter-nav-prev span, .book-reading .chapter-nav-next span { font-size:.78rem; color:#7c3f58; text-transform:uppercase; letter-spacing:.08em; font-weight:700; }
.book-reading .chapter-nav-prev strong, .book-reading .chapter-nav-next strong { font-family:Georgia,"Times New Roman",serif; font-size:1.15rem; font-weight:500; color:#362633; }
.book-reading .chapter-nav-index { align-self:center; font-size:.9rem; }
@media (max-width: 560px) {
  .book-reading .chapter-nav { grid-template-columns:1fr 1fr; }
  .book-reading .chapter-nav-index { grid-column:1 / -1; grid-row:2; justify-self:center; }
}

.site-footer { padding: 3rem max(1.2rem, calc((100vw - var(--content))/2)); background: #19272d; color: #dbe3e5; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.site-footer a { color: inherit; }
.medical-note { max-width: 900px; font-size: .86rem; color: #afbcc0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; margin-top: 2rem; }
.copyright { color: #93a2a7; font-size: .8rem; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@keyframes heroReveal { from { opacity: .18; transform: scale(1.035); } to { opacity: 1; transform: scale(1); } }

@media (max-width: 900px) {
  .js .nav-toggle { display: block; }
  .js .nav-links { display: none; position: absolute; left: 1rem; right: 1rem; top: 58px; flex-direction: column; align-items: stretch; padding: .8rem; background: #fff; box-shadow: var(--shadow); border-radius: 14px; }
  .js .nav-links.is-open { display: flex; }
  .nav-links a { padding: .6rem .7rem; }
  .js .nav-dropdown summary { padding: .6rem .7rem; }
  .js .nav-dropdown-menu { position: static; min-width: 0; padding: 0 0 0 .8rem; border: 0; box-shadow: none; background: transparent; }
  .world-grid, .article-grid { grid-template-columns: 1fr; }
  .world-card { min-height: 420px; }
  .section-hero { grid-template-columns: 1fr; }
  .section-hero-image { height: min(64vw, 580px); }
  .section-hero-copy { min-height: 320px; }
  .daniela-feature, .book-detail, .daniela-layout { grid-template-columns: 1fr; }
  .daniela-feature img, .daniela-layout > img { width: min(100%, 440px); }
  .manuscript-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  /* Portada: conservar la imagen completa y su proporción natural. */
  .home-hero { height:auto; min-height:0; overflow:hidden; }
  .home-hero img { display:block; width:100%; height:auto; min-height:0; object-fit:initial; object-position:initial; }
  .home-hero .hero-dim { background: linear-gradient(180deg, transparent 0 78%, rgba(35,15,48,.10) 100%); }

  /* Navegación móvil: nombres visibles en dos columnas y sin desbordamientos. */
  .nav-inner { width:calc(100% - 1.2rem); margin:0 .6rem; min-height:0; flex-wrap:wrap; gap:.35rem .65rem; padding:.55rem 0 .7rem; }
  .js .nav-toggle { display:none; }
  .js .nav-links, .nav-links { position:static; display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)); width:100%; gap:.3rem .55rem; padding:.35rem 0 0; background:transparent; box-shadow:none; border-radius:0; }
  .js .nav-links, .nav-links { grid-template-columns:repeat(3,auto); justify-content:start; gap:.3rem 1rem; }
  .nav-links a { display:block; min-width:0; width:100%; padding:.42rem .5rem; white-space:normal; overflow-wrap:break-word; line-height:1.22; font-size:.86rem; }
  .nav-links > a { padding-inline:0; }
  .nav-dropdown { position:static; }
  .js .nav-dropdown summary, .nav-dropdown summary { padding:.42rem 0; font-size:.86rem; line-height:1.22; }
  .js .nav-links, .nav-links { align-items:center; }
  .js .nav-dropdown-menu, .nav-dropdown-menu { position:absolute; left:.6rem; right:.6rem; top:100%; min-width:0; padding:.45rem; border:1px solid var(--line); background:#fff; box-shadow:var(--shadow); }
  .nav-brand { min-width:0; white-space:normal; font-size:.95rem; }
  /* Dos filas: marca y «Sobre la autora» arriba; Secciones, Especiales y Libros debajo. */
  .nav-inner { gap:0 1rem; padding:.4rem 0 .3rem; }
  .nav-brand { flex:1 1 auto; }
  .nav-inner::after { content:""; order:1; flex-basis:100%; height:0; }
  .js .nav-links, .nav-links { display:contents !important; }
  .nav-links > * { order:2; }
  .nav-links > a { width:auto; padding-block:.4rem; }
  .nav-links > a:last-child { order:1; font-size:.82rem; color:var(--muted); }
  .js .nav-dropdown summary, .nav-dropdown summary { padding:.4rem 0; }

  /* Universos y tarjetas: imagen completa, texto debajo. */
  .world-grid, .article-grid { grid-template-columns:minmax(0,1fr); }
  .world-card { min-height:0; height:auto; display:flex; flex-direction:column; background:#fff; color:var(--ink); }
  .world-card::after { display:none; }
  .world-card img { position:static; inset:auto; display:block; width:100%; height:auto; object-fit:initial; transform:none; z-index:auto; background:#eef2f4; }
  .world-card:hover img { transform:none; }
  .world-card > div { position:static; left:auto; right:auto; bottom:auto; padding:1rem 1.1rem 1.2rem; }
  .world-card span { color:var(--brand); opacity:1; }
  .world-card p { color:var(--muted); }

  .article-card-media { aspect-ratio:auto; height:auto; overflow:visible; background:#eef2f4; }
  .article-card-media img { display:block; width:100%; height:auto; object-fit:initial; object-position:initial; transform:none; }
  .article-card:hover .article-card-media img { transform:none; }

  /* Imágenes internas completas, incluida la jarra azul. */
  .section-hero { width:100%; margin-top:0; border-radius:0; box-shadow:none; }
  .section-hero-image, .post-featured, .post-content img, .ad-figure img, .book-detail img, .daniela-feature img, .daniela-layout > img { display:block; width:100%; height:auto; max-height:none; object-fit:initial; object-position:initial; }
  .section-hero-image { min-height:0; }
  .section-hero-copy { min-height:0; }
  .footer-grid { grid-template-columns:1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .section-hero-image { animation: none; }
  .world-card img { transition: none; }
}

/* ===== Robustez, accesibilidad y pulido editorial ===== */
:focus-visible { outline: 3px solid #168b96; outline-offset: 4px; }
::selection { background: #d8ecee; color: #15242d; }
a { text-underline-offset: .16em; text-decoration-thickness: .08em; }
.nav-links a[aria-current="page"] { color: var(--brand); }
.nav-links a[aria-current="page"]::after { content:""; display:block; height:2px; margin-top:.22rem; background:currentColor; opacity:.55; }
.nav-dropdown-menu a[aria-current="page"]::after { display:none; }
.nav-dropdown-menu a[aria-current="page"] { background: rgba(23,111,134,.07); }
.breadcrumb { max-width: 790px; margin: 0 auto 1.35rem; display:flex; flex-wrap:wrap; gap:.45rem; color:var(--muted); font-size:.85rem; }
.breadcrumb a { color:var(--brand); font-weight:750; text-decoration:none; }
.post-byline a { font-weight:700; text-decoration-color:rgba(23,111,134,.35); }
.post-content { overflow-wrap:anywhere; }
.post-content img { height:auto; border-radius:16px; }
.ad-figure { margin:2rem 0 3rem; padding:1rem; background:#efe5d3; border:1px solid #dfcfb5; border-radius:20px; box-shadow:0 12px 32px rgba(67,48,28,.08); }
.ad-figure img { width:100%; border-radius:12px; }
.ad-figure figcaption { margin:.8rem .3rem .15rem; text-align:center; color:#6c5c49; font-family:ui-sans-serif,system-ui,sans-serif; font-size:.78rem; }

.post-content hr { border:0; border-top:1px solid var(--line); margin:3rem 0; }
.post-end-nav { max-width:760px; margin:3rem auto 0; padding-top:1.5rem; border-top:1px solid var(--line); display:flex; justify-content:space-between; gap:1rem; font-weight:750; }
.post-end-nav a { color:var(--brand); text-decoration:none; }
.author-credit { margin:1.2rem auto 0; font-size:.9rem; color:#4e606d; }
.author-credit a { color:var(--brand); font-weight:800; }
.method-link { margin-top:1rem; display:inline-block; font-weight:750; color:var(--brand); }

/* Cards with editorial image previews. */
.article-card { padding:0; overflow:hidden; display:flex; flex-direction:column; min-width:0; }
.article-card-media { display:block; overflow:hidden; background:#e8eceb; aspect-ratio:16/9; }
.article-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .45s ease; }
.article-card:hover .article-card-media img { transform:scale(1.025); }
.article-card-body { padding:1.35rem 1.4rem 1.45rem; display:flex; flex-direction:column; flex:1; }
.article-card-body h3 { margin:.8rem 0 .55rem; line-height:1.22; font-family:Georgia,serif; font-size:1.35rem; }
.article-card-body p { color:var(--muted); margin:.2rem 0 1rem; }
.article-card-body .text-link { margin-top:auto; }
.article-meta { align-items:center; }
.article-meta time { white-space:nowrap; }

/* Scientific article common blocks. */
.article-body { max-width:760px; margin-inline:auto; }
.article-body p { margin:0 0 1.35em; }
.article-body h2 { font-family:Georgia,"Times New Roman",serif; font-size:clamp(1.7rem,3vw,2.05rem); line-height:1.2; margin:3rem 0 1rem; }
.article-body ol, .article-body ul { padding-left:1.35rem; }
.article-body li { margin-bottom:.7rem; }
.article-body .signature, .toxicos-article .byline { text-align:right; font-family:Georgia,"Times New Roman",serif; font-style:italic; color:var(--muted); }

/* Doctor Homunculos */
.homu-article .lab { text-align:center; font-family:Georgia,"Times New Roman",serif; font-size:1.2rem; padding:18px 16px; margin:28px 0; border-block:1px solid var(--line); }
.homu-article .cadence { padding-left:20px; border-left:3px solid #d7cfc2; }
.homu-article .prescription { margin:30px 0; padding:26px 30px; background:#f4f1ea; border:1px solid #e8e0d4; border-radius:22px; font-family:Georgia,"Times New Roman",serif; font-size:1.15rem; line-height:1.65; }
.homu-article .bibliography { margin-top:4rem; padding-top:1.25rem; border-top:1px solid var(--line); }
.homu-article .bibliography li { color:#56646e; font-size:.94rem; }

/* Tejido adiposo */
.adipose-article .entry-toc { max-width:760px; margin:0 auto 3rem; padding:1.4rem 1.6rem; border-radius:20px; border:1px solid #dfe6d8; background:#edf1e9; font-family:ui-sans-serif,system-ui,sans-serif; }
.adipose-article .toc-title { font-size:.7rem; letter-spacing:.18em; text-transform:uppercase; font-weight:850; color:#57763d; margin-bottom:.7rem; }
.adipose-article .entry-toc ol { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.45rem 1.5rem; counter-reset:t; }
.adipose-article .entry-toc li { counter-increment:t; display:flex; gap:.5rem; font-size:.9rem; color:#4c5d49; }
.adipose-article .entry-toc li::before { content:counter(t,decimal-leading-zero); font-size:.68rem; font-weight:850; color:#78906a; padding-top:.19rem; }
.adipose-article .entry-toc a { text-decoration:none; }
.adipose-article .key-rule { background:#edf1e9; border-left:5px solid #57763d; border-radius:0 18px 18px 0; padding:20px 22px; margin:32px 0; }
.adipose-article .pullquote { font-family:Georgia,"Times New Roman",serif; font-size:1.4rem; line-height:1.42; text-align:center; padding:28px 18px; margin:42px 0; border-block:1px solid var(--line); color:#694286; }
.adipose-article .references { margin:3.5rem 0 0; background:#f4f1ea; border-radius:24px; padding:2rem; }
.adipose-article .references h2 { margin-top:0; }
.adipose-article .references ol { margin:0; padding:0; list-style:none; counter-reset:refs; }
.adipose-article .references li { counter-increment:refs; display:grid; grid-template-columns:38px minmax(0,1fr); gap:12px; border-top:1px solid var(--line); padding:15px 0; font-size:.92rem; line-height:1.62; color:#4f5e68; }
.adipose-article .references li:first-child { border-top:0; }
.adipose-article .references li::before { content:counter(refs,decimal-leading-zero); font-size:.7rem; font-weight:850; color:#57763d; padding-top:3px; }
.adipose-article .disclaimer { margin:34px 0 0; padding:15px 18px; border-radius:14px; background:#f8f6f1; color:var(--muted); font-size:.84rem; text-align:center; border:1px solid var(--line); }
.adipose-article .author-sign { font-family:Georgia,"Times New Roman",serif; font-style:italic; text-align:right; font-size:1.12rem; color:var(--muted); margin:28px 0 0; }

/* Toxicos */
.toxicos-article .postdata { background:#edf4f5; border:1px solid #dbe7e8; border-radius:18px; padding:22px 24px; margin:38px 0; color:#41535d; }
.toxicos-article .postdata strong { color:#1b6d75; }
.toxicos-article .final-line { text-align:center; font-family:Georgia,"Times New Roman",serif; font-size:1.45rem; font-weight:700; color:#57763d; margin:38px 0 25px; }
.toxicos-article .evidence { background:#f4f1ea; border-radius:24px; padding:28px; margin-top:52px; }
.toxicos-article .evidence h2 { margin-top:0; }
.toxicos-article .evidence li { color:#56646e; font-size:.94rem; }

/* Tribunal de Nutricion Basada en Evidencia */
.tribunal-post { --trib-papel:#fbf8f1; --trib-ficha:#f4eee0; --trib-tinta:#241c12; --trib-texto:#3f3529; --trib-tenue:#8a7c66; --trib-sello:#7b2e14; --trib-linea:#d6cbb4; --trib-oro:#a56a24; --trib-azul:#344c5c; max-width:720px; margin:0 auto; color:var(--trib-tinta); font-family:Georgia,"Times New Roman",serif; }
.tribunal-post p { font-size:1.08rem; line-height:1.7; color:var(--trib-texto); }
.tribunal-post .tnbe-cargos { margin:0 0 2rem; border-block:1px solid var(--trib-linea); padding:15px 0 17px; }
.tribunal-post .tnbe-rotulo { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.67rem; letter-spacing:.18em; text-transform:uppercase; color:var(--trib-tenue); text-align:center; margin-bottom:11px; font-weight:800; }
.tribunal-post ol.tnbe-imputa { margin:0; padding:0; list-style:none; counter-reset:c; column-count:2; column-gap:38px; column-rule:1px solid var(--trib-linea); }
.tribunal-post ol.tnbe-imputa li { counter-increment:c; padding:5px 0 5px 33px; position:relative; font-size:.98rem; line-height:1.4; break-inside:avoid; }
.tribunal-post ol.tnbe-imputa li::before { content:counter(c,upper-roman) '.'; position:absolute; left:0; top:8px; font-family:ui-sans-serif,system-ui,sans-serif; font-size:.65rem; color:var(--trib-tenue); }
.tribunal-post ol.tnbe-imputa a { text-decoration:none; }
.tribunal-post .escena { font-style:italic; color:#6c604f; text-align:center; margin:25px auto; max-width:58ch; }
.tribunal-post .escena.llamada { font-family:ui-sans-serif,system-ui,sans-serif; font-style:normal; text-transform:uppercase; letter-spacing:.12em; font-size:.7rem; color:var(--trib-sello); margin-top:30px; }
.tribunal-post .cuestion { background:var(--trib-ficha); border-top:2px solid var(--trib-tinta); border-bottom:1px solid var(--trib-linea); padding:18px 22px 20px; margin:28px 0 34px; }
.tribunal-post .cuestion .tnbe-rotulo { text-align:left; }
.tribunal-post .cuestion-grid { display:grid; grid-template-columns:120px 1fr; gap:0 16px; margin:0; }
.tribunal-post .cuestion-grid dt, .tribunal-post .cuestion-grid dd { border-top:1px solid var(--trib-linea); padding-top:8px; margin-top:8px; }
.tribunal-post .cuestion-grid dt { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.63rem; letter-spacing:.12em; text-transform:uppercase; color:var(--trib-tenue); }
.tribunal-post .cuestion-grid dd { margin-left:0; font-size:.96rem; line-height:1.45; }
.tribunal-post .juicio-seccion { scroll-margin-top:90px; }
.tribunal-post .juicio-seccion h2 { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.82rem; font-weight:800; letter-spacing:.13em; text-transform:uppercase; color:var(--trib-sello); margin:3.2rem 0 1.1rem; }
.tribunal-post .dialogo { margin:0 0 17px; }
.tribunal-post .speaker { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.73em; letter-spacing:.07em; text-transform:uppercase; font-weight:850; color:var(--trib-tinta); }
.tribunal-post .dialogo.jueza .speaker { color:var(--trib-azul); }
.tribunal-post .dialogo.fiscal .speaker { color:var(--trib-sello); }
.tribunal-post .dialogo.curcuma .speaker, .tribunal-post .dialogo.magnesio .speaker { color:var(--trib-oro); }
.tribunal-post .tnbe-fallo { margin:3.6rem 0 0; background:var(--trib-ficha); border:1px solid var(--trib-linea); padding:31px 31px 26px; position:relative; }
.tribunal-post .tnbe-fallo::before { content:""; position:absolute; inset:7px; border:1px solid var(--trib-linea); pointer-events:none; }
.tribunal-post .tnbe-fallo > * { position:relative; }
.tribunal-post .tnbe-fallo h2 { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.75rem; letter-spacing:.28em; text-transform:uppercase; margin:0 0 10px; text-align:center; }
.tribunal-post .fallo-causa { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.62rem; letter-spacing:.12em; text-transform:uppercase; color:var(--trib-tenue); text-align:center; margin-bottom:20px; }
.tribunal-post .pron { font-size:.98rem; line-height:1.5; margin:0 0 18px; padding:16px 0; border-block:1px solid var(--trib-linea); }
.tribunal-post .pron b { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.62rem; letter-spacing:.14em; text-transform:uppercase; color:var(--trib-tenue); display:block; margin-bottom:7px; }
.tribunal-post .tnbe-res { display:grid; grid-template-columns:145px 1fr; gap:0 19px; align-items:baseline; }
.tribunal-post .tnbe-res > div { padding:12px 0; border-top:1px solid var(--trib-linea); }
.tribunal-post .tnbe-res > div:nth-child(-n+2) { border-top:0; }
.tribunal-post .tnbe-veredicto { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.64rem; letter-spacing:.105em; text-transform:uppercase; font-weight:850; color:var(--trib-sello); }
.tribunal-post .tnbe-veredicto.gris { color:var(--trib-tenue); }
.tribunal-post .tnbe-veredicto.oscuro { color:var(--trib-azul); }
.tribunal-post .tnbe-detalle { font-size:.96rem; line-height:1.48; }
.tribunal-post .tnbe-rec { margin-top:20px; border-top:1px solid var(--trib-linea); padding-top:16px; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.tribunal-post .tnbe-receta { font-size:.96rem; font-style:italic; margin:0; max-width:70%; color:#5c5140; }
.tribunal-post .tnbe-sello { width:102px; height:auto; flex:none; }
.tribunal-post .tnbe-firma { text-align:right; font-style:italic; color:var(--trib-tenue); font-size:.83rem; margin:12px 0 0; }
.tribunal-post .cronista { margin:24px auto 0; text-align:center; font-style:italic; color:var(--trib-tenue); font-size:.88rem; }
.tribunal-post .expediente { margin-top:4.7rem; padding-top:3rem; border-top:2px solid var(--trib-tinta); }
.tribunal-post .exp-cab { text-align:center; }
.tribunal-post .exp-cab h2 { font-size:2.1rem; font-weight:400; margin:.5rem 0; }
.tribunal-post .exp-cab p { font-size:1rem; color:#5c5140; font-style:italic; margin:0 auto; max-width:56ch; }
.tribunal-post .exp-sumario { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.67rem; letter-spacing:.13em; text-transform:uppercase; color:var(--trib-sello); margin-top:18px; padding-top:14px; border-top:1px solid var(--trib-linea); }
.tribunal-post .exp-grupo { margin-top:36px; }
.tribunal-post .exp-grupo > h3, .tribunal-post .fuentes-inst h3 { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.72rem; font-weight:800; letter-spacing:.16em; text-transform:uppercase; color:var(--trib-sello); margin:0 0 4px; }
.tribunal-post ol.exp-lista { list-style:none; margin:0; padding:0; }
.tribunal-post .exp-pieza { display:grid; grid-template-columns:62px 1fr; gap:0 18px; border-top:1px solid var(--trib-linea); padding:17px 0 16px; }
.tribunal-post .exp-num { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.58rem; text-transform:uppercase; color:var(--trib-tenue); text-align:right; padding-top:3px; line-height:1.5; }
.tribunal-post .exp-num b { display:block; font-family:Georgia,"Times New Roman",serif; font-size:1.7rem; font-weight:400; color:var(--trib-tinta); line-height:1; }
.tribunal-post .exp-parte { font-family:ui-sans-serif,system-ui,sans-serif; font-size:.58rem; letter-spacing:.14em; text-transform:uppercase; color:var(--trib-tenue); margin-bottom:5px; }
.tribunal-post .exp-parte.acusacion { color:var(--trib-sello); font-weight:850; }
.tribunal-post .exp-parte.ambas { color:var(--trib-azul); font-weight:800; }
.tribunal-post .exp-ref { margin:0; font-size:.95rem; line-height:1.46; color:var(--trib-tinta); }
.tribunal-post .exp-glosa { margin:7px 0 0; font-size:.91rem; line-height:1.51; color:#5c5140; font-style:italic; }
.tribunal-post .exp-dato { display:inline-block; margin-top:10px; background:var(--trib-ficha); border:1px solid var(--trib-linea); padding:4px 10px; font-family:ui-sans-serif,system-ui,sans-serif; font-size:.64rem; font-weight:800; color:var(--trib-sello); }
.tribunal-post .exp-volver { display:inline-block; margin:10px 0 0 10px; font-family:ui-sans-serif,system-ui,sans-serif; font-size:.62rem; letter-spacing:.1em; text-transform:uppercase; color:var(--trib-tenue); text-decoration:none; border-bottom:1px solid var(--trib-linea); }
.tribunal-post .fuentes-inst { margin-top:38px; border-top:1px solid var(--trib-linea); padding-top:20px; }
.tribunal-post .fuentes-inst li { margin:10px 0; font-size:.9rem; line-height:1.5; }
.tribunal-post .exp-nota { margin-top:34px; border-top:1px solid var(--trib-linea); padding-top:14px; font-size:.82rem; line-height:1.5; color:var(--trib-tenue); }
.tribunal-post svg { max-width:100%; height:auto; }

/* Daniela */
.chapter-content { padding-top:2.5rem; }
.chapter-content .book-section h2 { text-align:center; font-size:2rem; margin-bottom:1.7rem; }
.book-reading .daniela-chapter-title { font-family:Georgia,"Times New Roman",serif; font-size:clamp(2.3rem, 5vw, 3.35rem); line-height:1.08; font-weight:500; color:#6a2f48; margin:.35em 0 .25em; letter-spacing:-.02em; }
.book-reading .daniela-chapter-subtitle { font-family:Georgia,"Times New Roman",serif; font-size:1.1rem; font-style:italic; color:var(--muted); margin-top:.4rem; }
.chapter-content .book-section:first-child > p:first-of-type:not(.sin-capitular)::first-letter { font-family:Georgia,"Times New Roman",serif; font-size:4rem; line-height:.78; float:left; padding:.55rem .5rem 0 0; color:#7c3f58; }
.chapter-divider { margin:4rem auto; width:5rem; border-top:2px solid #d8c7bf !important; }
.chapter-content .scene-break { text-align:center; letter-spacing:.45em; margin:2.2rem 0; color:#8b747e; }
/* Daniela · reflexiones del Jesús adulto («desde la consulta») */
.chapter-content .consulta-voice { margin:2.4rem 0; padding:.15rem 0 .15rem 1.5rem; border-left:2px solid #dcc6b8; }
.chapter-content .consulta-label { display:block; margin:0 0 .55rem; font-family:Georgia,"Times New Roman",serif; font-style:italic; font-size:.9rem; line-height:1.4; color:#8b747e; }
.chapter-content .consulta-voice p:last-child { margin-bottom:0; }
@media (max-width: 640px) { .chapter-content .consulta-voice { padding-left:1.1rem; } }
/* Daniela · página manuscrita del cuaderno de Jesús */
.book-reading .cuaderno-wrap { margin:2.4rem -.5rem 2.6rem; }
.book-reading .cuaderno-caption { text-align:center; margin:0 0 .75rem; color:#756a70; font:700 .7rem/1.2 Inter,system-ui,sans-serif; text-transform:uppercase; letter-spacing:.15em; }
.book-reading .cuaderno { position:relative; overflow:hidden; padding:2.6rem 2.6rem 2.6rem 4.8rem; background:linear-gradient(to right,transparent 0,transparent 54px,#d9a0a7 54px,#d9a0a7 56px,transparent 56px), repeating-linear-gradient(to bottom,#fffdf7 0,#fffdf7 31px,#d9e4ef 32px,#fffdf7 33px); border:1px solid #e2ddd3; border-radius:9px; box-shadow:0 18px 45px rgba(60,36,50,.12); transform:rotate(-.25deg); }
.book-reading .cuaderno::before { content:""; position:absolute; left:18px; top:0; bottom:0; width:16px; background:radial-gradient(circle at center,#c9c2b9 0 4px,transparent 4.5px) center 20px/16px 34px repeat-y; opacity:.8; }
.book-reading .cuaderno-inner { transform:rotate(.15deg); font-family:"Bradley Hand","Segoe Print","Comic Sans MS",cursive; font-size:1.05rem; line-height:1.65; color:#31313a; }
.book-reading .cuaderno h3 { margin:0 0 .7rem; font-family:inherit; font-size:1.55rem; line-height:1.2; color:#2d2c34; text-decoration:underline; text-decoration-thickness:2px; text-underline-offset:5px; }
.book-reading .cuaderno p { margin:0 0 .75rem; }
.book-reading .cuaderno .big { font-weight:800; letter-spacing:.03em; }
.book-reading .cuaderno .arrow { padding-left:1rem; }
.book-reading .cuaderno .question { margin-top:.9rem; font-weight:800; }
.book-reading .cuaderno .scribble { display:inline-block; text-decoration:line-through; text-decoration-thickness:3px; }
.book-reading .cuaderno .chain { letter-spacing:.08em; white-space:nowrap; }
.book-reading .cuaderno .margin-note { margin:.8rem 0 .15rem; padding:.5rem .75rem; border:2px solid #9e8a9a; border-radius:50% 46% 52% 45%; display:inline-block; transform:rotate(-1deg); }
.book-reading .cuaderno .tiny-doodle { display:flex; gap:1.9rem; align-items:flex-end; margin:1.1rem 0 .5rem; }
.book-reading .cuaderno .doodle { display:block; flex:0 0 auto; width:130px; height:120px; position:relative; opacity:.85; }
.book-reading .cuaderno .doodle-liver { height:90px; }
.book-reading .cuaderno .doodle-liver::before { content:""; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg fill='none' stroke='%235d5360' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 38C6 19 27 9 52 12c22 2 50 3 58 13 6 8-6 18-24 27-19 10-38 18-56 15C17 65 11 53 9 38z'/%3E%3Cpath d='M58 14c-3 12-2 24 3 36' stroke-width='2'/%3E%3Cpath d='M47 66c4-6 11-9 17-8' stroke-width='2'/%3E%3C/g%3E%3Cg fill='%235d5360'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3Ccircle cx='40' cy='47' r='1.7'/%3E%3Ccircle cx='82' cy='27' r='1.8'/%3E%3Ccircle cx='24' cy='52' r='1.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; transform:rotate(-7deg); }
.book-reading .cuaderno .doodle-leg::before { content:""; position:absolute; left:0; top:0; width:60px; height:120px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 120'%3E%3Cg fill='none' stroke='%235d5360' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4c12-3 26-2 34 2 2 18-3 34-6 50-2 9 1 17 1 26-1 9-3 16-3 22l14 6c3 3 0 6-6 6H26c-3 0-4-3-4-6 0-10-2-19-3-28-1-9 0-15-2-24C13 40 8 22 12 4z'/%3E%3Cpath d='M22 58c5 2 11 2 17 0' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; transform:rotate(3deg); }
.book-reading .cuaderno .doodle-leg::after { content:""; position:absolute; left:48px; top:12px; width:80px; height:40px; background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 40'%3E%3Cg fill='none' stroke='%235d5360' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M76 26C60 22 40 18 10 20'/%3E%3Cpath d='M22 8 8 20l15 12'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; transform:rotate(-10deg); }
.book-reading .cuaderno .final-note { margin-top:1.1rem; font-weight:800; font-size:1.15rem; letter-spacing:.04em; }
@media (max-width: 640px) {
  .book-reading .cuaderno-wrap { margin:2rem 0 2.2rem; }
  .book-reading .cuaderno { padding:2.2rem 1.35rem 2.2rem 3.4rem; }
  .book-reading .cuaderno-inner { font-size:1rem; }
  .book-reading .cuaderno h3 { font-size:1.35rem; }
  .book-reading .cuaderno .tiny-doodle { gap:.75rem; }
  .book-reading .cuaderno .doodle { width:115px; height:106px; }
  .book-reading .cuaderno .doodle-liver { height:80px; }
  .book-reading .cuaderno .doodle-leg::before { width:53px; height:106px; }
  .book-reading .cuaderno .doodle-leg::after { left:42px; top:10px; width:72px; height:36px; }
  .book-reading .cuaderno .chain { white-space:normal; }
}
/* Daniela · cuaderno de Jesús, capítulo 5 (clases d5-*) */
.book-reading .d5-cuaderno-wrap { margin:2.4rem -.5rem 2.65rem }
.book-reading .d5-cuaderno-caption { margin:0 0 .75rem;text-align:center;color:#756a70; font:700 .7rem/1.2 Inter,system-ui,sans-serif; text-transform:uppercase;letter-spacing:.15em }
.book-reading .d5-cuaderno { position:relative;overflow:hidden; padding:2.5rem 2.15rem 2.55rem 4.7rem; background: linear-gradient(to right, transparent 0, transparent 54px, #d9a0a7 54px, #d9a0a7 56px, transparent 56px), repeating-linear-gradient(to bottom, #fffdf7 0,#fffdf7 31px,#d9e4ef 32px,#fffdf7 33px); border:1px solid #e2ddd3;border-radius:9px; box-shadow:0 15px 36px rgba(60,36,50,.105); transform:rotate(-.18deg); }
.book-reading .d5-cuaderno::before { content:"";position:absolute;left:18px;top:0;bottom:0;width:16px; background:radial-gradient(circle at center,#c9c2b9 0 4px,transparent 4.5px) center 20px/16px 34px repeat-y; opacity:.8 }
.book-reading .d5-cuaderno-inner { transform:rotate(.1deg); font-family:"Bradley Hand","Segoe Print","Comic Neue","Comic Sans MS",cursive; font-size:1.045rem;line-height:1.65;color:#31313a }
.book-reading .d5-cuaderno h3 { margin:0 0 .75rem;font-family:inherit;font-size:1.62rem;line-height:1.2; color:#2d2c34;text-decoration:underline; text-decoration-thickness:2px;text-underline-offset:5px }
.book-reading .d5-cuaderno p { margin:0 0 .78rem }
.book-reading .d5-cuaderno strong { font-weight:800 }
.book-reading .d5-big { font-size:1.1em;font-weight:800;letter-spacing:.025em }
.book-reading .d5-arrow { padding-left:1rem }
.book-reading .d5-question { font-weight:800;margin-top:.9rem!important }
.book-reading .d5-note { display:inline-block;margin:.55rem 0 .85rem;padding:.48rem .75rem; border:2px solid #9e8a9a;border-radius:49% 46% 50% 45%; transform:rotate(-1.2deg);font-weight:750;max-width:100% }
.book-reading .d5-scribble { text-decoration:line-through;text-decoration-thickness:2.5px }
.book-reading .d5-small { font-size:.88em }
.book-reading .d5-hand-label { font-size:.8em;font-weight:700;letter-spacing:.035em }
.book-reading .d5-figure { display:block;max-width:430px;margin:1.05rem auto .95rem; padding:.45rem .3rem;text-align:center; }
.book-reading .d5-figure svg { display:block;width:100%;height:auto;max-height:178px }
.book-reading .d5-figure figcaption { text-align:center;margin-top:.25rem;font-size:.85em;letter-spacing:.02em }
.book-reading .d5-margin-doodles { display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-around; gap:.25rem;margin:.55rem 0 .6rem;max-width:450px }
.book-reading .d5-margin-doodles figure { width:29%;margin:0;text-align:center;transform:rotate(-2deg) }
.book-reading .d5-margin-doodles figure:nth-child(2) { transform:rotate(2deg) }
.book-reading .d5-margin-doodles figure:nth-child(3) { transform:rotate(-1deg) }
.book-reading .d5-margin-doodles svg { display:block;width:100%;height:auto;max-height:70px }
.book-reading .d5-margin-doodles figcaption { font-size:.75em;margin-top:.2rem }
.book-reading .d5-conclusion { margin-top:1.05rem;font-weight:800;letter-spacing:.035em }
.book-reading .d5-divider { margin:1.1rem 0;border-top:1px dashed #bcb3c3;opacity:.8 }
.book-reading .d5-edit-arrow { display:inline-block;color:#925e6c;transform:rotate(-7deg);font-weight:800 }
.book-reading .d5-second { transform:rotate(.14deg) }
.book-reading .d5-second .d5-cuaderno-inner { transform:rotate(-.08deg) }
.book-reading .d5-omega-note { margin:.5rem 0 .6rem;display:inline-block; border:2px solid #b8a6aa;padding:.3rem .6rem; border-radius:52% 46% 55% 48%;transform:rotate(-2deg); }
/* Daniela · capítulo 6: garabatos en imagen y chuleta en tabla dentro del cuaderno d5 */
.book-reading .d6-garabatos { margin:.7rem 0 .9rem }
.book-reading .d6-garabatos img { display:block;width:100%;height:auto;max-height:130px;object-fit:contain;margin:0 auto }
.book-reading .d6-chuleta { width:100%;margin:.4rem 0 1.1rem;border-collapse:collapse;font-size:.95em;line-height:1.45 }
.book-reading .d6-chuleta th, .book-reading .d6-chuleta td { padding:.35rem .5rem;text-align:left;vertical-align:top;border-bottom:1.5px dashed #bcb3c3 }
.book-reading .d6-chuleta thead th { font-size:.85em;letter-spacing:.04em;border-bottom:2px solid #9e8a9a }
.book-reading .d6-chuleta tbody th { width:4.2rem;font-weight:800;white-space:nowrap }
/* Daniela · capítulo 7: dibujo transparente a bolígrafo sobre el papel del cuaderno y tabla de tres columnas */
.book-reading .d7-dibujo { max-width:560px;margin:.2rem auto .4rem;padding:0;border:0;background:none;box-shadow:none;line-height:0 }
.book-reading .d7-dibujo img { display:block;width:100%;height:auto;background:transparent;border:0;box-shadow:none;border-radius:0 }
.book-reading .d7-minerales { table-layout:fixed;font-size:.9em }
.book-reading .d7-minerales tbody th { width:auto;white-space:normal }
.book-reading .d7-minerales th:first-child { width:28% }
.book-reading .d7-minerales thead th:nth-child(2) { width:38% }
.book-reading .d7-minerales th, .book-reading .d7-minerales td { overflow-wrap:break-word }
@media (max-width: 640px) {
  .book-reading .d5-cuaderno-wrap { margin:2rem 0 2.2rem }
  .book-reading .d5-cuaderno { padding:2.05rem 1.05rem 2.15rem 3.55rem; background: linear-gradient(to right, transparent 0, transparent 43px, #d9a0a7 43px, #d9a0a7 45px, transparent 45px), repeating-linear-gradient(to bottom, #fffdf7 0,#fffdf7 31px,#d9e4ef 32px,#fffdf7 33px); }
  .book-reading .d5-cuaderno::before { left:8px }
  .book-reading .d5-cuaderno-inner { font-size:.98rem }
  .book-reading .d5-cuaderno h3 { font-size:1.35rem }
  .book-reading .d5-figure { margin-left:-.5rem;margin-right:-.1rem }
  .book-reading .d5-margin-doodles { gap:.35rem }
  .book-reading .d5-margin-doodles figure { width:31% }
  .book-reading .d6-garabatos figure { width:42% }
  .book-reading .d6-garabatos img { max-height:115px }
  .book-reading .d6-chuleta th, .book-reading .d6-chuleta td { padding:.3rem .3rem }
  .book-reading .d6-chuleta tbody th { width:3rem }
  .book-reading .d7-minerales { font-size:.82em }
  .book-reading .d7-minerales tbody th { width:auto }
  .book-reading .d7-dibujo { margin-left:-.6rem;margin-right:-.2rem }
}

@media (max-width: 900px) {
  .no-js .nav-inner { flex-wrap:wrap; padding-block:.65rem; }
  .no-js .nav-links { width:100%; display:flex; flex-wrap:wrap; gap:.35rem .9rem; }
  .post-end-nav { flex-direction:column; }
}
@media (max-width: 700px) {
  .article-card-body { padding:1.15rem; }
  .post-byline { font-size:.82rem; }
  .post-featured { border-radius:16px; margin-bottom:2.5rem; }
  .adipose-article .entry-toc ol { grid-template-columns:1fr; }
  .adipose-article .references { padding:1.35rem; }
  .tribunal-post ol.tnbe-imputa { column-count:1; }
  .tribunal-post .cuestion-grid { grid-template-columns:1fr; }
  .tribunal-post .cuestion-grid dd { border-top:0; margin-top:0; padding-top:2px; margin-bottom:7px; }
  .tribunal-post .tnbe-res { grid-template-columns:1fr; }
  .tribunal-post .tnbe-res > div:nth-child(even) { border-top:0; padding-top:0; }
  .tribunal-post .tnbe-rec { align-items:flex-end; }
  .tribunal-post .tnbe-receta { max-width:100%; }
  .tribunal-post .exp-pieza { grid-template-columns:1fr; gap:6px; }
  .tribunal-post .exp-num { text-align:left; }
  .tribunal-post .exp-num b { display:inline; font-size:1.35rem; margin-right:6px; }
}
@media (prefers-reduced-motion: reduce) {
  .article-card-media img { transition:none; }
}
.article-card-juicios .section-pill { color:var(--juicios); }
.article-card-homunculos .section-pill { color:var(--homunculos); }
.article-card-toxicos .section-pill { color:var(--toxicos); }
.article-card-adiposo .section-pill { color:var(--adiposo); }
.article-card-especiales .section-pill { color:#8a5a22; }
.tribunal-post ol.tnbe-imputa a { color:inherit; }
.error-page { min-height:62vh; display:grid; place-items:center; text-align:center; padding:4rem 1rem; }
.error-page > div { max-width:650px; }
.error-page .error-code { font-family:Georgia,serif; font-size:clamp(4rem,12vw,8rem); line-height:1; margin:0; color:#b7c5c6; }

/* ===== Segunda pasada editorial: orientación, continuidad y SEO visual ===== */
.section-intro { max-width: 720px; margin: .5rem 0 0; color: var(--muted); font-size: 1.02rem; }
.section-listing-head { margin-bottom: 1.8rem; }
.section-listing-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.65rem); }
.section-hero-copy > p:last-child { font-size: 1.08rem; color: #56616a; max-width: 38rem; }
.article-date { white-space: nowrap; }

.related-reading { max-width: 900px; margin: 4.5rem auto 0; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.related-reading h2 { font-size: clamp(1.8rem, 3vw, 2.45rem); margin-bottom: 1.4rem; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.related-card { min-width: 0; display: flex; flex-direction: column; gap: .45rem; padding: 1.15rem; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.72); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.related-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(29,35,40,.08); border-color: rgba(23,111,134,.28); }
.related-card > span { color: var(--brand); font-size: .7rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.related-card > strong { font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; line-height: 1.28; }
.related-card > small { color: var(--muted); line-height: 1.48; font-size: .82rem; }
.evidence-box .text-link { margin-top: .15rem; }
/* Recomendación editorial al final de los artículos (front matter `recomendacion`) */
.editorial-invitation { max-width: 760px; margin: 2.6rem auto 0; padding: 0 0 0 1.25rem; border-left: 2px solid rgba(23,111,134,.35); }
.editorial-invitation p { margin: 0 0 .55rem; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.08rem, 1.8vw, 1.22rem); line-height: 1.55; color: var(--ink); text-wrap: pretty; }
.editorial-invitation .text-link { font-weight: 750; }

@media (max-width: 900px) {
  .related-grid { grid-template-columns: 1fr; }
  .related-card { padding: 1rem 1.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .related-card { transition: none; }
}

/* Doctor Homúnculos · universo y Los cuadernos de Rolando */
.homunculos-universe { margin-bottom: 4rem; }
.homunculos-universe > h2 { margin-bottom: .55rem; font-size: clamp(2rem, 4vw, 3rem); }
.homunculos-branches { display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:2rem; }
.homunculos-branch { padding:1.5rem; border:1px solid var(--line); border-radius:20px; background:#fff; }
.homunculos-branch > span { display:inline-block; font-weight:800; font-size:.78rem; letter-spacing:.12em; color:var(--homunculos); }
.homunculos-branch h3 { font-family:Georgia,"Times New Roman",serif; font-size:1.55rem; margin:.35rem 0 .65rem; }
.homunculos-branch p { color:#56616a; }
.homunculos-branch .branch-status { margin:.7rem 0 0; font-size:.76rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#7d8790; }
.homunculos-branch-active { box-shadow:0 15px 45px rgba(26,45,62,.07); border-color:rgba(47,98,148,.28); }
.rolando-feature { display:grid; grid-template-columns:1.15fr .85fr; border-radius:24px; overflow:hidden; border:1px solid var(--line); background:#fff; margin:0 0 4.5rem; box-shadow:0 18px 55px rgba(26,45,62,.08); }
.rolando-feature-media { position:relative; min-height:390px; }
.rolando-feature-media img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.rolando-feature-copy { padding:clamp(2rem,5vw,3.5rem); display:flex; flex-direction:column; justify-content:center; }
.rolando-feature-copy h2 { font-size:clamp(2rem,4vw,3.2rem); margin:.25rem 0 .8rem; }
.rolando-feature-copy .button { align-self:flex-start; gap:.3em; margin-top:.75rem; }
.story-intro { max-width:700px; margin:0 auto 3.2rem; padding:2rem clamp(1.25rem,4vw,2.5rem); background:#f6f3ed; border:1px solid #e8e0d4; border-radius:22px; }
.story-intro p { margin-bottom:.75em; }
.story-intro .story-series { color:var(--homunculos); text-transform:uppercase; font-weight:850; letter-spacing:.1em; font-size:.78rem; }
.story-intro .story-question { font-family:Georgia,"Times New Roman",serif; font-size:1.28rem; line-height:1.45; margin-top:1.4rem; color:#244f76; }
.rolando-article > hr { width:72px; margin:3.5rem auto; border-top:2px solid rgba(47,98,148,.32); }
.story-science-note { margin-top:4.5rem; padding:clamp(1.5rem,4vw,2.5rem); border:1px solid rgba(47,98,148,.22); border-radius:22px; background:#f7f9fb; }
.story-science-note h2 { margin-top:.2rem; }
.story-science-note h3 { font-family:Georgia,"Times New Roman",serif; font-size:1.35rem; margin:2rem 0 .65rem; }
.science-fiction-box { margin:2rem 0; padding:1.25rem 1.4rem; background:#fff; border-left:4px solid var(--homunculos); border-radius:0 14px 14px 0; }
.story-manifesto { margin:2rem 0 0 !important; font-family:Georgia,"Times New Roman",serif; font-size:1.12rem; font-style:italic; }
.post-rolando .post-featured { max-height:560px; }

@media (max-width: 860px) {
  .homunculos-branches { grid-template-columns:1fr; }
  .rolando-feature { grid-template-columns:1fr; }
  .rolando-feature-media { min-height:0; height:auto; aspect-ratio:auto; overflow:visible; }
  .rolando-feature-media img { position:static; display:block; width:100%; height:auto; object-fit:initial; object-position:initial; }
}

/* Portada · estreno de Doctor Homúnculos */
.homunculos-home-feature { display:grid; grid-template-columns:1.1fr .9fr; margin-block:clamp(4rem,8vw,7rem); border-radius:26px; overflow:hidden; background:#132333; color:#fff; box-shadow:var(--shadow); }
.homunculos-home-image { min-height:470px; }
.homunculos-home-image img { width:100%; height:100%; object-fit:cover; }
.homunculos-home-copy { padding:clamp(2rem,5vw,4rem); display:flex; flex-direction:column; justify-content:center; }
.homunculos-home-copy .eyebrow { color:#a9c6df; }
.homunculos-home-universe { margin:.15rem 0 .2rem; font-family:Georgia,"Times New Roman",serif; font-size:1.15rem; }
.homunculos-home-tagline { margin:0 0 1.6rem; color:#cfdae4; font-style:italic; }
.homunculos-home-copy h2 { color:#fff; font-size:clamp(2.4rem,5vw,4.2rem); margin:.15rem 0 .9rem; }
.homunculos-home-copy p { color:#e8eef3; }
.homunculos-home-copy .button { align-self:flex-start; margin-top:.7rem; background:#eaf1f6; color:#193650; }
@media (max-width:860px) {
  .homunculos-home-feature { grid-template-columns:1fr; }
  .homunculos-home-image { min-height:0; aspect-ratio:auto; }
  .homunculos-home-image img { height:auto; object-fit:initial; }
}

/* Algunas portadas necesitan verse completas en la cuadrícula de publicaciones. */
.article-card-media-contain { background: #e9e4dc; }
.article-card-media-contain img { object-fit: contain; object-position: center; transform: none; }
.article-card:hover .article-card-media-contain img { transform: none; }


/* Historia visual · formato narrativo inmersivo */
.visual-story { --vs-ink:#17212a; --vs-paper:#f4efe5; --vs-cream:#fffaf0; --vs-rust:#a5442c; --vs-gold:#d39a58; --vs-night:#111a24; --vs-muted:#6d706f; background:var(--vs-paper); color:var(--vs-ink); margin-top:-1px; }
.visual-story-hero { position:relative; max-width:1120px; margin:0 auto; background:#111; overflow:hidden; }
.visual-story-hero img { width:100%; height:min(72vh,720px); object-fit:cover; display:block; filter:brightness(.68); }
.visual-story-hero-copy { position:absolute; left:7%; right:7%; bottom:8%; max-width:760px; color:white; text-shadow:0 3px 18px #000; }
.visual-story-kicker { font:700 12px ui-sans-serif,system-ui,sans-serif; letter-spacing:.22em; text-transform:uppercase; color:#ffd9a2; margin:0; }
.visual-story-hero-copy h1 { color:#fff; font-family:Georgia,"Times New Roman",serif; font-size:clamp(42px,7vw,82px); line-height:.94; margin:.25em 0 .18em; }
.visual-story-hero-copy > p:last-child { color:#fff; font-family:Georgia,"Times New Roman",serif; font-size:clamp(18px,2.2vw,27px); line-height:1.45; max-width:720px; margin:0; }
.visual-story-body { max-width:760px; margin:70px auto 0; padding:0 24px; font-family:Georgia,"Times New Roman",serif; font-size:20px; line-height:1.72; }
.visual-story-body p { margin:0 0 1.45em; }
.visual-story-lead { font-size:27px; line-height:1.48; }
.visual-story-body h2 { font-family:Georgia,"Times New Roman",serif; font-size:38px; line-height:1.12; margin:2em 0 .65em; }
.visual-story-figure { width:min(1080px,calc(100vw - 36px)); margin:55px 50%; transform:translateX(-50%); background:#101923; padding:10px; border-radius:18px; box-shadow:0 18px 60px #0002; }
.visual-story-figure img { display:block; width:100%; border-radius:11px; }
.visual-story-figure figcaption { font:14px/1.45 ui-sans-serif,system-ui,sans-serif; color:#6c6b67; background:var(--vs-paper); padding:10px 2px 0; }
.visual-story-clue { border-left:4px solid var(--vs-rust); padding:8px 0 8px 25px; margin:45px 0; font-size:27px; line-height:1.42; }
.little-doctor { background:#17212a; color:#fff7e9; padding:28px 32px; border-radius:18px; margin:45px 0; font-size:24px; box-shadow:0 12px 35px #0002; }
.little-doctor span { font:700 11px ui-sans-serif,system-ui,sans-serif; letter-spacing:.2em; text-transform:uppercase; color:#e6a55f; display:block; margin-bottom:9px; }
.visual-story-reveal { font-size:35px; line-height:1.25; text-align:center; margin:60px -80px; padding:36px; border-top:1px solid #b8a78e; border-bottom:1px solid #b8a78e; }
.visual-story-reveal strong { color:var(--vs-rust); }
.visual-story-note { display:block; background:#fff8ea; border:1px solid #decdb1; border-radius:15px; padding:28px 30px; margin:50px 0; font-style:normal; }
.visual-story-ending { background:var(--vs-night, #111a24); color:#fff8e9; margin:80px calc(50% - 50vw) 0; padding:80px max(24px, calc(50vw - 380px)); text-align:center; width:100vw; }
.visual-story-ending p { max-width:760px; margin:0 auto 28px; font-size:26px; }
.visual-story-ending > div { font:700 26px ui-sans-serif,system-ui,sans-serif; letter-spacing:.02em; margin-top:55px; }
.visual-story-ending small { display:block; font-size:1rem; font-style:italic; color:#e4c9a5; }
.visual-story-refs { font:15px/1.65 ui-sans-serif,system-ui,sans-serif; color:#5f625f; border-top:1px solid #cfc4b2; padding-top:28px; margin-top:60px; }
.visual-story-refs p { margin:.7em 0; }
@media(max-width:700px){.visual-story-body{font-size:18px;margin-top:45px}.visual-story-lead{font-size:23px}.visual-story-body h2{font-size:31px}.visual-story-reveal{margin:50px 0;font-size:29px;padding:28px 12px}.visual-story-hero img{height:68vh}.visual-story-clue{font-size:23px}.little-doctor{font-size:21px;padding:24px}.visual-story-ending p{font-size:22px}}
.visual-story-hero.is-stacked img { height:auto; object-fit:contain; filter:none; }
.visual-story-hero.is-stacked .visual-story-hero-copy { position:static; max-width:none; padding:36px 7% 44px; }
.visual-story-heading { max-width:1120px; margin:0 auto; padding:56px 24px 40px; text-align:center; }
.visual-story-heading h1 { font-family:Georgia,"Times New Roman",serif; font-size:clamp(38px,6vw,68px); line-height:1.02; margin:0 0 .3em; }
.visual-story-heading p { font-family:Georgia,"Times New Roman",serif; font-style:italic; font-size:clamp(19px,2.2vw,26px); line-height:1.4; color:var(--vs-muted); margin:0; }

/* ===== Portada: presentación más compacta, historia destacada, universos y últimas entradas ===== */
.manifesto { padding: clamp(2rem, 4.5vw, 3.25rem) 0 clamp(1.5rem, 3.5vw, 2.5rem); }
.manifesto h1 { max-width: 20ch; margin: 0 auto .5em; font-size: clamp(1.85rem, 4.2vw, 3.1rem); line-height: 1.12; text-wrap: balance; }
.manifesto p { max-width: 36rem; margin: 0 auto; font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.6; color: #42505b; text-wrap: pretty; }
.manifesto .manifesto-coda { margin-top: 1em; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.12rem, 1.9vw, 1.32rem); line-height: 1.45; color: var(--brand); text-wrap: balance; }

/* En portada (historia destacada) */
.featured-band { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.featured-band-title { margin: 0 0 1.1rem; font-size: clamp(1.6rem, 2.8vw, 2.2rem); }
.featured-story { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: stretch; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.featured-story-media { display: flex; align-items: center; justify-content: center; overflow: hidden; background: #e8eceb; }
.featured-story-media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; transition: transform .6s ease; }
.featured-story-media-contain { background: #e9e4dc; }
.featured-story-media-contain img { height: auto; min-height: 0; max-height: 560px; object-fit: contain; }
.featured-story:hover .featured-story-media img { transform: scale(1.02); }
.featured-story-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 3.5vw, 3rem); }
.featured-story-section { margin: 0 0 .4rem; color: var(--brand); font-size: .8rem; font-weight: 850; text-transform: uppercase; letter-spacing: .11em; }
.featured-story-juicios .featured-story-section { color: var(--juicios); }
.featured-story-homunculos .featured-story-section { color: var(--homunculos); }
.featured-story-toxicos .featured-story-section { color: var(--toxicos); }
.featured-story-adiposo .featured-story-section { color: var(--adiposo); }
.featured-story-body h3 { margin: .2rem 0 .6rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.1; }
.featured-story-body h3 a { text-decoration: none; }
.featured-story-body h3 a:hover { color: var(--brand); }
.featured-story-lead { margin: 0 0 1.4rem; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.08rem, 1.7vw, 1.22rem); line-height: 1.55; color: #42505b; }
.featured-story-link { align-self: flex-start; gap: .4rem; }
.featured-story-link:hover { background: var(--brand); }

/* Cinco universos: cuatro tarjetas en dos filas y Especiales como cierre a todo el ancho. */
.world-grid { padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.world-card { min-height: 0; aspect-ratio: 4 / 3; }
.world-card::after { background: linear-gradient(0deg, rgba(8,11,13,.82), rgba(8,11,13,.42) 26%, rgba(8,11,13,0) 50%); }
.world-card > div { left: 1.4rem; right: 1.4rem; bottom: 1.2rem; }
.world-card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: .15rem 0 .25rem; }
.world-card p { font-size: .96rem; line-height: 1.45; max-width: 30rem; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.world-card:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }

/* Últimas entradas */
.latest-more { margin: 1.8rem 0 0; text-align: center; }
.latest-more .text-link { margin-top: 0; padding: .55rem 1.1rem; border: 1px solid rgba(23,111,134,.35); border-radius: 999px; background: #fff; }
.latest-more .text-link:hover { background: rgba(23,111,134,.07); text-decoration: none; }

/* Libros: Daniela y, aparte, los manuscritos que buscan editorial. */
.manuscripts-label { display: flex; align-items: center; gap: 1rem; margin: 2.6rem 0 0; color: var(--muted); font-size: .8rem; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
.manuscripts-label::before, .manuscripts-label::after { content: ""; flex: 1; border-top: 1px solid var(--line); }
.author-band { padding: clamp(4rem, 8vw, 6.5rem) 0; }
.author-method { margin: 1.1rem 0 0; }
.author-band .method-link { margin-top: 0; color: #8fd9df; }
.author-band .button-secondary { background: var(--paper); color: var(--ink); border-color: var(--paper); transition: background-color .2s ease, border-color .2s ease; }
.author-band .button-secondary:hover { background: #fff; border-color: #8fd9df; }
.author-band .button-secondary:focus-visible { outline-color: #8fd9df; }

/* Archivo general */
.archive-hero { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem); }
.archive-hero + .section-listing { padding-top: clamp(2.5rem, 5vw, 4rem); }

@media (max-width: 900px) {
  .featured-story { grid-template-columns: 1fr; }
  .featured-story-media img, .featured-story-media-contain img { height: auto; min-height: 0; max-height: none; object-fit: initial; }
  /* Universos: imagen completa y texto debajo desde tableta. */
  .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-card { aspect-ratio: auto; display: flex; flex-direction: column; background: #fff; color: var(--ink); }
  .world-card::after { display: none; }
  .world-card img { position: static; width: 100%; height: auto; object-fit: initial; z-index: auto; transform: none; background: #eef2f4; }
  .world-card:hover img { transform: none; }
  .world-card > div { position: static; padding: 1rem 1.1rem 1.2rem; }
  .world-card span { color: var(--brand); opacity: 1; }
  .world-card p { color: var(--muted); text-shadow: none; }
}
@media (max-width: 700px) {
  .manifesto { padding: 1.4rem 0 1.15rem; text-align: left; }
  .manifesto h1 { margin: 0 0 .45em; font-size: clamp(1.6rem, 7.2vw, 1.9rem); }
  .manifesto p { margin-inline: 0; }
  .manifesto .manifesto-coda { margin-top: .75em; }
  .featured-band-title { margin-bottom: .8rem; font-size: 1.45rem; }
  .featured-story-body { padding: 1.25rem 1.2rem 1.4rem; }
  .world-grid { grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
  .manuscripts-label { margin-top: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .featured-story-media img { transition: none; }
  .featured-story:hover .featured-story-media img { transform: none; }
}

/* ===== Especiales: la ciencia, a lo grande ===== */
/* Quinto bloque de la portada: cartelera de teatro sobre escenario oscuro, a todo el ancho. */
.world-especiales { --stage-gold: #e9b872; --stage-cream: #f1d3a8; position: relative; grid-column: 1 / -1; padding: clamp(2.6rem, 4vw, 3.4rem) clamp(1rem, 3vw, 2.4rem) clamp(2rem, 4vw, 3rem); border-radius: var(--radius); box-shadow: var(--shadow); background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(233,184,114,.24), transparent 65%), #17212a; color: #fff; }
.world-especiales::before, .specials-hero::before, .specials-hero::after { content: ""; position: absolute; left: 0; right: 0; height: 12px; background: radial-gradient(circle, #f6d58f 0 2.5px, rgba(246,213,143,.22) 3.5px, transparent 5.5px) center / 26px 12px repeat-x; pointer-events: none; }
.world-especiales::before { top: 10px; opacity: .8; }
.world-especiales-header { max-width: 40rem; margin: 0 auto clamp(1.8rem, 3.5vw, 2.6rem); text-align: center; }
.world-especiales-header > span { font-size: .8rem; font-weight: 800; letter-spacing: .12em; color: var(--stage-gold); }
.world-especiales-header h3 { margin: .15rem 0 .25rem; font-size: clamp(2rem, 3.6vw, 2.9rem); }
.world-especiales-header h3 a { color: #fff; text-decoration: none; }
.world-especiales-header h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.world-especiales-header p { margin: 0; color: #d6dfe3; font-size: 1.04rem; line-height: 1.45; }
.world-especiales-header p.world-especiales-motto { margin-bottom: .35rem; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.2rem, 2vw, 1.45rem); color: var(--stage-gold); }
/* Rejilla de carteles: cada <li> es un especial; basta duplicarlo para añadir otro. */
.poster-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); justify-content: center; gap: 2rem; max-width: 1100px; margin: 0 auto; padding: 0; list-style: none; }
.poster-card { display: flex; flex-direction: column; height: 100%; border: 2px solid var(--stage-gold); border-radius: 12px; overflow: hidden; background: #111a21; color: #fff; text-decoration: none; box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 0 rgba(233,184,114,0); transition: box-shadow .3s ease, border-color .3s ease; }
/* Encuadre del recorte vertical: cambia --poster-position en la imagen o en una clase. */
.poster-card img { --poster-position: 50% 50%; display: block; width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: var(--poster-position); transition: transform .3s ease; }
.poster-focus-match { --poster-position: 50% 60%; } /* El Gran Partido del Apetito: árbitro, balón y jugadores centrales. */
.poster-focus-nobel { --poster-position: 42% 50%; } /* La gran gala de los NO-BEL: Rita Levi-Montalcini en el atril. */
.poster-plate { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .35rem; padding: .95rem 1.1rem 1.1rem; border-top: 2px solid var(--stage-gold); background: #111a21; text-align: center; }
.poster-title { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.2; color: var(--stage-cream); }
.poster-link { font-size: .92rem; font-weight: 800; letter-spacing: .04em; color: var(--stage-gold); }
.poster-card:hover, .poster-card:focus-visible { border-color: #f6d58f; box-shadow: 0 14px 34px rgba(0,0,0,.4), 0 0 22px rgba(246,213,143,.55); }
.poster-card:hover img, .poster-card:focus-visible img { transform: scale(1.03); }
.poster-card:hover .poster-link { text-decoration: underline; text-underline-offset: .18em; }
.poster-card:focus-visible { outline: 3px solid #f6d58f; outline-offset: 4px; }
.featured-story-especiales .featured-story-section { color: #8a5a22; }

/* Página /especiales/ */
.specials-hero { position: relative; overflow: hidden; padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(4rem, 8vw, 6.5rem); text-align: center; color: #fff; background: radial-gradient(ellipse 60% 75% at 50% 0%, rgba(246,213,143,.28), transparent 70%), linear-gradient(180deg, #17212a, #1f2d37); }
.specials-hero::before { top: 18px; opacity: .85; }
.specials-hero::after { bottom: 18px; opacity: .5; }
.specials-hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 1rem; color: #e9b872; font-size: .92rem; letter-spacing: .34em; }
.specials-hero .eyebrow::before, .specials-hero .eyebrow::after { content: ""; width: clamp(2rem, 8vw, 5rem); border-top: 1px solid rgba(233,184,114,.6); }
.specials-hero h1 { margin: 0 auto .3em; max-width: 18ch; text-wrap: balance; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2.8rem, 7vw, 5.6rem); letter-spacing: -.02em; }
.specials-hero .lead { max-width: 34rem; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; font-style: italic; color: #d9e2e6; }
.specials-program { padding: clamp(3.5rem, 7vw, 6rem) 0; background: var(--paper-2); }
.special-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.special-card + .special-card { margin-top: clamp(2rem, 4vw, 3rem); }
.special-card.is-reversed .special-card-media { order: 2; }
.special-card-media { display: flex; align-items: center; justify-content: center; padding: clamp(.9rem, 2vw, 1.5rem); background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(246,213,143,.24), transparent 70%), #17212a; }
.special-card-media img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 16px 40px rgba(0,0,0,.4); transition: transform .5s ease; }
.special-card-media.is-poster img { width: auto; max-width: 100%; max-height: 560px; }
.special-card:hover .special-card-media img { transform: translateY(-3px); }
.special-card-body { display: flex; flex-direction: column; justify-content: center; padding: clamp(1.6rem, 4vw, 3.2rem); }
.special-card-number { margin: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 1.05rem; color: #8a5a22; }
.special-card-category { align-self: flex-start; margin: .55rem 0 .9rem; padding: .35rem .85rem; border: 1px dashed #c99a5b; border-radius: 6px; background: #fbf3e6; color: #8a5a22; font-size: .76rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.special-card-body h2 { margin: 0 0 .5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.08; }
.special-card-body h2 a { text-decoration: none; }
.special-card-body h2 a:hover { color: var(--brand); }
.special-card-lead { margin: 0 0 1.5rem; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.08rem, 1.7vw, 1.22rem); line-height: 1.55; color: #42505b; }
.special-card-link { align-self: flex-start; gap: .4rem; }
.special-card-link:hover { background: var(--brand); }

@media (max-width: 900px) {
  .special-card { grid-template-columns: 1fr; }
  .special-card.is-reversed .special-card-media { order: 0; }
  .special-card-media.is-poster img { max-height: 520px; }
}
@media (max-width: 700px) {
  .world-especiales { padding: 2.2rem 1rem 1.6rem; }
  .world-especiales-header h3 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .poster-grid { grid-template-columns: minmax(0, 360px); gap: 1.6rem; }
  .specials-hero { text-align: left; }
  .specials-hero .eyebrow { justify-content: flex-start; }
  .specials-hero .eyebrow::before { display: none; }
  .specials-hero h1 { margin-inline: 0; }
  .specials-hero .lead { margin-inline: 0; }
  .special-card-body { padding: 1.3rem 1.2rem 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .poster-card, .poster-card img, .special-card-media img { transition: none; }
  .poster-card:hover img, .poster-card:focus-visible img, .special-card:hover .special-card-media img { transform: none; }
}

/* ===== Doctor Homúnculos: ilustración panorámica completa ===== */
/* Cabecera de /homunculos/: ilustración entera a la izquierda (sin recortar personajes ni tablero)
   y texto a la derecha; en pantallas estrechas, imagen arriba y texto debajo. */
/* Sección sin ilustración de cabecera: solo título e introducción. */
.section-hero.section-hero-plain { grid-template-columns: 1fr; min-height: 0; }
.section-hero-plain .section-hero-copy { min-height: 0; }
/* /juicios/: cabecera literaria compacta sobre el fondo crema, sin recuadro. */
.section-hero.section-hero-juicios.section-hero-plain { width: min(calc(100% - 2.4rem), 46rem); margin: 0 auto; border-radius: 0; box-shadow: none; background: transparent; overflow: visible; }
.section-hero-juicios.section-hero-plain .section-hero-copy { align-items: center; padding: clamp(2.4rem, 5vw, 3.4rem) 0 0; text-align: center; }
.section-hero-juicios.section-hero-plain .section-hero-copy h1 { margin: 0 0 .45em; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; }
.section-hero-juicios.section-hero-plain .section-hero-copy > p:not(.eyebrow) { max-width: 32rem; margin: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.08rem, 1.8vw, 1.25rem); line-height: 1.55; color: #42505b; }
.section-ornament { display: flex; align-items: center; justify-content: center; gap: .9rem; margin-top: 1.3rem; color: #a8864f; }
.section-ornament-line { width: clamp(2.5rem, 8vw, 4.5rem); height: 1px; background: currentColor; opacity: .55; }
.section-ornament svg { display: block; flex: none; }
.section-hero-juicios.section-hero-plain + .section-listing { padding-top: clamp(2rem, 4vw, 2.8rem); }
.section-hero-homunculos { grid-template-columns: 1.6fr 1fr; align-items: center; min-height: 0; }
.section-hero-homunculos .section-hero-image { height: auto; object-fit: initial; }
.section-hero-homunculos .section-hero-copy { padding: clamp(1.6rem, 3.2vw, 3.2rem); }
.section-hero-homunculos .section-hero-copy h1 { font-size: clamp(2.4rem, 3.6vw, 4rem); }
.section-hero-homunculos .section-hero-copy h1 { margin-bottom: .25em; }
.section-hero-homunculos .section-hero-copy > p:last-child { margin: 0; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.1rem, 1.8vw, 1.3rem); }
@media (min-width: 861px) { .homunculos-branches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Tarjeta de la portada: la ilustración entera a todo el ancho; bajo ella, su reflejo difuminado
   y el mismo degradado translúcido de las demás tarjetas detrás del texto. */
@media (min-width: 901px) {
  .world-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-grid > .world-card { align-self: stretch; width: 100%; }
  .world-grid > .world-homunculos { aspect-ratio: auto; display: flex; flex-direction: column; background: #3a2c22; }
  .world-grid > .world-homunculos img { position: relative; flex: none; width: 100%; height: auto; object-fit: initial; z-index: -2; }
  .world-grid > .world-homunculos:hover img { transform: none; }
  .world-grid > .world-homunculos > div { position: relative; flex: 1 1 auto; display: flex; flex-direction: column; justify-content: flex-end; left: auto; right: auto; bottom: auto; padding: .55rem 1.4rem .9rem; overflow: hidden; }
  .world-grid > .world-homunculos > div::before { content: ""; position: absolute; inset: -14px; z-index: -1; background: url("../images/homunculos-card-tres-puertas.webp") center bottom / calc(100% + 28px) auto no-repeat; transform: scaleY(-1); filter: blur(7px); }
  .world-grid > .world-homunculos p { max-width: none; }
}
@media (max-width: 900px) {
  .section-hero-homunculos { grid-template-columns: 1fr; }
}

/* ===== Secretos escondidos (ver _data/secretos.yml) ===== */
.secret-star { display: block; width: 100%; height: 100%; fill: currentColor; }
.secret-figure { position: relative; margin: 2.5rem auto 3.5rem; }
.secret-figure .post-featured { margin: 0 auto; }
.secret-figure.reveal.is-visible { transform: none; }
.secret-trigger { position: absolute; padding: 0; border: 0; border-radius: 14px; background: transparent; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.secret-trigger[hidden], .no-js .secret-trigger { display: none; }
.secret-trigger:focus-visible { outline: 2px solid #f1d38a; outline-offset: 2px; }
.secret-trigger-star { position: absolute; width: clamp(24px, 3vw, 30px); height: clamp(24px, 3vw, 30px); transform: translate(-50%, -50%); color: #f3c766; filter: drop-shadow(0 0 4px rgba(255, 232, 175, .9)) drop-shadow(0 1px 1.5px rgba(60, 30, 10, .55)); transition: transform .45s ease, filter .35s ease; }
.secret-trigger-star .secret-star { animation: secret-twinkle 3.6s ease-in-out infinite; }
.secret-trigger:hover .secret-trigger-star, .secret-trigger:focus-visible .secret-trigger-star, .is-secret-open .secret-trigger-star { transform: translate(-50%, -50%) rotate(18deg) scale(1.15); filter: drop-shadow(0 0 8px rgba(255, 226, 160, 1)) drop-shadow(0 1px 1.5px rgba(60, 30, 10, .55)); }
.secret-hint { max-width: 34rem; margin: 1.6rem auto 0; color: #7d5a58; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1rem, 1.6vw, 1.12rem); line-height: 1.5; text-wrap: balance; }
.secret-hint .secret-star { display: inline-block; width: .8em; height: .8em; margin-right: .45em; vertical-align: -.03em; color: #d4a650; }
.secret-card { position: relative; max-width: 680px; margin: -1.5rem auto 3.5rem; padding: clamp(1.5rem, 4vw, 2.3rem) clamp(1.3rem, 4.5vw, 2.6rem) 1.4rem; background: #F5F0E5; border: 1px solid rgba(120, 62, 67, .2); border-top: 3px solid #783E43; border-radius: 18px; box-shadow: 0 10px 28px rgba(60, 35, 30, .08); color: #3a2f2c; }
.secret-card:focus { outline: none; }
.secret-card:focus-visible { outline: 2px solid #783E43; outline-offset: 4px; }
.secret-card.is-open { animation: secret-unfold .45s cubic-bezier(.2, .7, .2, 1) both; }
.secret-card h2 { margin: 0 2.2rem .9rem 0; color: #783E43; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.3rem, 2.6vw, 1.6rem); font-weight: 500; font-style: italic; letter-spacing: -.01em; line-height: 1.25; }
.secret-text { font-family: Georgia, "Times New Roman", serif; font-size: 1.04rem; line-height: 1.7; }
.secret-text p { margin: 0 0 .55em; }
.secret-signature { margin: 1.3rem 0 0; padding-top: .85rem; border-top: 1px solid rgba(120, 62, 67, .18); color: #783E43; font-size: .78rem; letter-spacing: .02em; text-align: center; }
.secret-close { position: absolute; top: .7rem; right: .7rem; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #783E43; font-size: 1.6rem; line-height: 1; cursor: pointer; transition: background-color .2s ease; }
.secret-close:hover { background: rgba(120, 62, 67, .08); }
/* Gestos del personaje: faros, destello y temblor (capas superpuestas; la imagen no se mueve). */
.secret-life { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.secret-life-layer { position: absolute; transform-origin: 50% 88%; }
.secret-double { position: absolute; inset: 0; visibility: hidden; background-repeat: no-repeat; -webkit-mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--cx) var(--cy), #000 68%, transparent 100%); mask-image: radial-gradient(ellipse var(--rx) var(--ry) at var(--cx) var(--cy), #000 68%, transparent 100%); }
.secret-light { position: absolute; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 249, 228, .95) 0%, rgba(255, 228, 168, .6) 28%, rgba(255, 205, 125, .22) 52%, rgba(255, 200, 120, 0) 72%); mix-blend-mode: screen; opacity: 0; transition: opacity .35s ease; }
.secret-glint { position: absolute; left: 66%; top: 30%; width: 34%; height: 34%; transform: translate(-50%, -50%) scale(0); color: #fff6dc; filter: drop-shadow(0 0 3px rgba(255, 236, 190, .9)); opacity: 0; }
.secret-glint .secret-star { animation: none; }
@media (hover: hover) and (pointer: fine) {
  .secret-trigger:hover .secret-light { opacity: 1; }
  .secret-trigger:hover .secret-glint { animation: secret-glint .65s ease-out .12s both; }
}
.secret-trigger:focus-visible .secret-light, .is-lit .secret-light { opacity: 1; }
.secret-trigger:focus-visible .secret-glint, .is-reacting .secret-glint { animation: secret-glint .65s ease-out .12s both; }
.is-reacting .secret-light { transition-duration: .08s; }
.is-dim .secret-trigger .secret-light { opacity: .18; }
.is-shaking .secret-double { visibility: visible; }
.is-shaking .secret-life-layer { animation: secret-fidget .28s ease-in-out both; }
@keyframes secret-glint { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0) rotate(0); } 40% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(25deg); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(.4) rotate(60deg); } }
@keyframes secret-fidget { 0%, 100% { transform: none; } 20% { transform: translateX(-1.5px) rotate(-.6deg); } 45% { transform: translateX(1.5px) rotate(.6deg); } 70% { transform: translateX(-1px) rotate(-.3deg); } 88% { transform: translateX(.5px); } }
@keyframes secret-twinkle { 0%, 70%, 100% { opacity: .88; transform: scale(1); } 82% { opacity: 1; transform: scale(1.12); } }
@keyframes secret-unfold { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
  .secret-card { margin-top: -1.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .secret-card.is-open { animation: none; }
  .secret-trigger-star { transition: none; }
  .secret-trigger-star .secret-star { animation: none; }
  .secret-light { transition: none; }
  .secret-glint, .secret-double { display: none; }
  .secret-trigger:hover .secret-trigger-star, .secret-trigger:focus-visible .secret-trigger-star, .is-secret-open .secret-trigger-star { transform: translate(-50%, -50%); }
}

/* ===== Pregunta «¿Has descubierto el secreto?» (solo en artículos que la incluyen) ===== */
.secret-figure:focus { outline: none; }
.prose .secret-quiz { max-width: 560px; margin: 3.2rem auto 2.6rem; padding: 1.7rem clamp(1.2rem, 4.5vw, 2.4rem) 1.8rem; background: #F5F0E5; border: 1px solid rgba(120, 62, 67, .2); border-radius: 18px; color: #3a2f2c; text-align: center; }
.secret-quiz[hidden], .no-js .secret-quiz { display: none; }
.secret-quiz-star { display: block; width: 22px; height: 22px; margin: 0 auto .7rem; color: #d4a650; }
.prose .secret-quiz h2 { margin: 0 0 .5rem; color: #783E43; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.2rem, 2.6vw, 1.42rem); font-weight: 500; font-style: italic; line-height: 1.3; text-wrap: balance; }
.secret-quiz p { margin: 0; font-size: 1.02rem; line-height: 1.6; text-wrap: pretty; }
.secret-quiz-lead { color: #6b5753; font-style: italic; }
.secret-quiz-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.3rem; }
.secret-quiz-actions[hidden], .secret-quiz-reply[hidden], .secret-quiz-button[hidden] { display: none; }
.secret-quiz-button { min-height: 44px; padding: .55rem 1.25rem; border: 1px solid #783E43; border-radius: 999px; background: transparent; color: #783E43; font-family: Georgia, "Times New Roman", serif; font-size: 1rem; line-height: 1.2; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.secret-quiz-button:hover { background: rgba(120, 62, 67, .08); }
.secret-quiz-button:focus-visible { outline: 2px solid #783E43; outline-offset: 3px; }
.secret-quiz-reply { margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid rgba(120, 62, 67, .18); }
.secret-quiz-reply:focus { outline: none; }
.secret-quiz-reply .secret-quiz-button { margin-top: 1.1rem; }
@media (max-width: 480px) {
  .secret-quiz-actions .secret-quiz-button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .secret-quiz-button { transition: none; }
}

/* Portada: enlace discreto a «Empieza aquí» bajo el manifiesto */
.manifesto .manifesto-start { margin-top: .85em; font-size: .95rem; line-height: 1.5; }
.manifesto-start a { color: var(--muted); text-decoration: underline; text-decoration-color: rgba(23,111,134,.35); text-underline-offset: .22em; }
.manifesto-start a:hover, .manifesto-start a:focus-visible { color: var(--brand); text-decoration-color: currentColor; }

/* Página «Empieza aquí» (/empieza-aqui/) */
.page-empieza-aqui .start-here-intro { padding: clamp(2.4rem, 6vw, 4.2rem) 0 clamp(1.6rem, 4vw, 2.6rem); text-align: center; }
.page-empieza-aqui .start-here-intro h1 { margin: 0 0 .55em; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; }
.page-empieza-aqui .start-here-intro p { max-width: 38rem; margin: 0 auto .9em; color: #42505b; font-size: clamp(1.02rem, 1.6vw, 1.12rem); line-height: 1.7; text-wrap: pretty; }
.page-empieza-aqui .start-here-intro .start-here-lead { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.12rem, 1.9vw, 1.3rem); line-height: 1.55; color: var(--ink); }
.page-empieza-aqui .start-here-stories { display: grid; gap: clamp(1.6rem, 3.5vw, 2.6rem); max-width: 1040px; padding-bottom: clamp(1rem, 3vw, 2rem); }
.page-empieza-aqui .start-here-entry { --tone: var(--brand); }
.page-empieza-aqui .start-here-entry-homunculos { --tone: var(--homunculos); }
.page-empieza-aqui .start-here-entry-juicios { --tone: var(--juicios); }
.page-empieza-aqui .start-here-entry-adiposo { --tone: var(--adiposo); }
.page-empieza-aqui .start-here-entry-toxicos { --tone: var(--toxicos); }
.page-empieza-aqui .start-here-entry-especiales { --tone: #8a6420; }
.page-empieza-aqui .start-here-card { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: center; overflow: hidden; color: inherit; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.page-empieza-aqui .start-here-entry:nth-child(even) .start-here-card-media { order: 2; }
.page-empieza-aqui .start-here-card-media { align-self: stretch; display: flex; align-items: center; background: var(--paper-2); }
.page-empieza-aqui .start-here-card-media img { width: 100%; height: auto; }
.page-empieza-aqui .start-here-card-copy { padding: clamp(1.5rem, 3vw, 2.4rem); }
.page-empieza-aqui .start-here-card-section { margin: 0 0 .5rem; color: var(--tone); text-transform: uppercase; letter-spacing: .13em; font-size: .76rem; font-weight: 800; }
.page-empieza-aqui .start-here-card h2 { margin: 0 0 .6rem; font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(1.45rem, 2.6vw, 1.95rem); line-height: 1.2; color: var(--ink); text-wrap: balance; }
.page-empieza-aqui .start-here-card-teaser { margin: 0 0 1.1rem; color: #42505b; line-height: 1.65; }
.page-empieza-aqui .start-here-card-link { color: var(--tone); font-weight: 700; font-size: .95rem; }
.page-empieza-aqui .start-here-card:hover .start-here-card-link { text-decoration: underline; text-underline-offset: .22em; }
.page-empieza-aqui .start-here-card:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }
.page-empieza-aqui .start-here-outro { padding: clamp(2rem, 5vw, 3.2rem) 0 clamp(3rem, 7vw, 4.5rem); text-align: center; }
.page-empieza-aqui .start-here-outro p { max-width: 34rem; margin: 0 auto 1rem; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.1rem, 1.9vw, 1.28rem); line-height: 1.55; color: var(--ink); text-wrap: balance; }
.page-empieza-aqui .start-here-outro a { color: var(--brand); font-weight: 700; text-underline-offset: .22em; }
@media (max-width: 760px) {
  .page-empieza-aqui .start-here-intro { text-align: left; }
  .page-empieza-aqui .start-here-intro p { margin-inline: 0; }
  .page-empieza-aqui .start-here-card { grid-template-columns: 1fr; }
  .page-empieza-aqui .start-here-entry:nth-child(even) .start-here-card-media { order: 0; }
  .page-empieza-aqui .start-here-outro { text-align: left; }
  .page-empieza-aqui .start-here-outro p { margin-inline: 0; }
}

/* ===== Tribunal de Moléculas y EXITUS ===== */
.theme-exitus .section-hero-copy .eyebrow, .theme-exitus .section-pill, .article-card-exitus .section-pill, .featured-story-exitus .featured-story-section { color: var(--exitus); }
/* Tarjeta EXITUS en ordenador: el recorte 4:3 se desplaza a la derecha para que el letrero quede entero. */
.world-exitus img { object-position: 72% 50%; }
/* Página /tribunal-de-moleculas/ */
.tribunal-intro { padding: clamp(3rem, 7vw, 5rem) 0 clamp(1.8rem, 4vw, 2.8rem); text-align: center; }
.tribunal-intro .eyebrow { color: var(--juicios); }
.tribunal-intro h1 { margin: 0 0 .3em; font-family: Georgia, "Times New Roman", serif; font-weight: 500; font-size: clamp(2.4rem, 6vw, 4.4rem); }
.tribunal-intro .lead { max-width: 36rem; margin: 0 auto; font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: clamp(1.1rem, 1.9vw, 1.3rem); line-height: 1.55; color: #42505b; }
.tribunal-rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.tribunal-room { --tone: var(--juicios); display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--tone); border-radius: var(--radius); box-shadow: var(--shadow); }
.tribunal-room-toxicos { --tone: var(--toxicos); }
.tribunal-room-media { display: block; overflow: hidden; }
.tribunal-room-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; }
.tribunal-room:hover .tribunal-room-media img { transform: scale(1.02); }
.tribunal-room-copy { display: flex; flex-direction: column; flex: 1; padding: clamp(1.3rem, 3vw, 2rem); }
.tribunal-room-label { margin: 0 0 .35rem; color: var(--tone); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; }
.tribunal-room h2 { margin: 0 0 .5rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.4rem); }
.tribunal-room h2 a { text-decoration: none; }
.tribunal-room h2 a:hover { color: var(--tone); }
.tribunal-room-copy > p:not(.tribunal-room-label) { margin: 0 0 1.1rem; color: var(--muted); }
.tribunal-room-copy .text-link { margin-top: auto; color: var(--tone); }
@media (max-width: 760px) {
  .tribunal-intro { text-align: left; }
  .tribunal-intro .lead { margin: 0; }
  .tribunal-rooms { grid-template-columns: 1fr; }
}
/* «En portada» con dos historias: misma importancia, una junto a otra; en móvil, una debajo de otra. */
.featured-stories.is-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.2rem, 2.5vw, 1.8rem); align-items: stretch; }
.featured-stories.is-pair .featured-story { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
.featured-stories.is-pair .featured-story-media { aspect-ratio: 16 / 10; }
.featured-stories.is-pair .featured-story-media img { min-height: 0; }
.featured-stories.is-pair .featured-story-body { justify-content: flex-start; padding: clamp(1.3rem, 2.6vw, 2rem); }
.featured-stories.is-pair .featured-story-body h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.featured-stories.is-pair .featured-story-link { margin-top: auto; }
@media (max-width: 760px) {
  .featured-stories.is-pair { grid-template-columns: 1fr; }
  .featured-stories.is-pair .featured-story-media { aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .tribunal-room-media img { transition: none; }
  .tribunal-room:hover .tribunal-room-media img { transform: none; }
}
