/* ==========================================================
   JFGS — Sitio oficial · Hoja de estilos
   ========================================================== */
/* Fuentes alojadas en el propio sitio (sin depender de Google) */
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Source Serif 4"; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/source-serif-4-latin-600-italic.woff2") format("woff2"); }
:root {
  --navy: #13344d;
  --navy-2: #0c2438;
  --navy-soft: #2a4a63;
  --ink: #1b2430;
  --text: #303a46;
  --muted: #5d6874;
  --line: #d8dee5;
  --tint: #eef2f6;
  --tint-2: #f6f8fa;
  --paper: #ffffff;
  --accent: #9b1c22;
  --display: "Cormorant Garamond", "Times New Roman", serif;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 2px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy-2); }
h1, h2, h3, h4 { color: var(--ink); margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; }

.sr-only, .hp {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
[hidden] { display: none !important; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(16px, 3vw, 24px); }
.center { text-align: center; }
.muted { color: var(--muted); }
.upper { text-transform: uppercase; letter-spacing: .01em; }

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  color: var(--navy);
  letter-spacing: -.01em;
  margin-bottom: .35em;
}
.display-sm {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1.06;
  color: var(--navy);
  margin-bottom: .3em;
}
.display-sm a { color: inherit; text-decoration: none; }
.display-sm a:hover { text-decoration: underline; }
.lead {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  color: var(--navy-soft);
  margin-bottom: .6em;
}
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--navy-soft);
  margin-bottom: 1rem;
}
.eyebrow.line { display: flex; align-items: center; gap: 16px; }
.eyebrow.line::after { content: ""; height: 1px; width: 120px; background: var(--navy); opacity: .6; }
.kicker {
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: .5rem;
}
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { color: var(--navy); }
.meta { font-size: .82rem; color: var(--muted); margin: 0; }
.h-section {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.6rem, 2.6vw, 2.15rem);
  text-transform: uppercase;
  color: var(--navy);
  letter-spacing: .01em;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.divided, .press-cta, .press, .article-head { position: relative; }
.divided::before, .press-cta::before, .press::before, .article-head::after {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--line);
}
.divided::before, .press-cta::before, .press::before { top: 0; }
.article-head::after { bottom: 0; }
.h-section.line { display: flex; align-items: center; gap: 20px; }
.h-section.line::after { content: ""; flex: 1; height: 1px; background: var(--navy); opacity: .35; }
.h-small {
  font-family: var(--display); font-weight: 600; font-size: 1.55rem; text-transform: uppercase;
  color: var(--navy); margin: 1.6rem 0 .9rem; padding-bottom: .55rem; position: relative;
}
.h-small::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 1px; background: var(--navy); }
.h-small:first-child { margin-top: 0; }
.rule { display: block; width: 72px; height: 1px; background: var(--navy); margin: 18px 0 22px; }
.rule.small { width: 48px; margin: 12px 0 14px; opacity: .6; }
.center .rule { margin-left: auto; margin-right: auto; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 24px;
  font-family: var(--sans); font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid var(--navy); border-radius: var(--radius);
  transition: background .2s, color .2s, border-color .2s;
}
.btn .ico { width: 16px; height: 16px; flex: none; }
.btn-solid { background: var(--navy); color: #fff; }
.btn-solid:hover { background: var(--navy-2); color: #fff; border-color: var(--navy-2); }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 40px; padding: 9px 18px; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-row.center { justify-content: center; }
.badge {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 18px;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy);
  background: var(--tint); border: 1px dashed var(--navy-soft);
}
.link-more { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.link-more .ico { width: 15px; height: 15px; }
.link-more:hover { text-decoration: underline; }
.ico { width: 20px; height: 20px; flex: none; }

/* ---------- Encabezado ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(1.4) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand img { height: 46px; width: auto; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav a {
  display: block; padding: 8px 0;
  font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--navy); border-bottom-color: var(--line); }
.nav a[aria-current="page"] { color: var(--navy); border-bottom-color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy); margin: 5px 0; transition: transform .2s, opacity .2s; }

/* ---------- Hero inicio ---------- */
.hero-bar { background: var(--navy); width: clamp(10px, 3.4vw, 54px); flex: none; }
.hero {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: stretch;
  background: var(--tint); height: clamp(520px, 76vh, 700px);
}
.hero-text { padding: clamp(40px, 6vw, 88px) clamp(20px, 3vw, 44px) clamp(40px, 6vw, 88px) clamp(20px, 4.5vw, 72px); align-self: center; }
.hero-text .display { max-width: 15.5ch; font-size: clamp(2.8rem, 5.2vw, 6rem); line-height: 1; margin-bottom: .45em; text-wrap: balance; }
.hero-text .eyebrow { font-size: clamp(.78rem, 1vw, .9rem); margin-bottom: 1.4rem; }
.hero-img { position: relative; overflow: hidden; height: 100%; aspect-ratio: 1206 / 1174; max-width: 52vw; }
.hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- Tarjetas ---------- */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.card { display: flex; flex-direction: column; border-top: 1px solid var(--navy); padding-top: 18px; }
.card-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--tint); margin-bottom: 16px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-title { font-family: var(--display); font-size: 1.6rem; line-height: 1.12; margin-bottom: .5rem; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { color: var(--navy); text-decoration: underline; }
.card-sum { font-family: var(--serif); font-size: .95rem; color: var(--text); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Banda de libro ---------- */
.book-band { background: var(--navy); color: #dfe7ee; margin-top: clamp(40px, 6vw, 72px); }
.book-band-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.book-band-cover img { width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.book-band .display-sm, .book-band .lead { color: #fff; }
.book-band .eyebrow, .book-band .muted { color: #b9c7d4; }
.book-band .btn-solid { background: #fff; color: var(--navy); border-color: #fff; }
.book-band .btn-solid:hover { background: var(--tint); }
.book-band .btn-ghost { color: #fff; border-color: #fff; }
.book-band .badge { background: transparent; color: #fff; border-color: #b9c7d4; }

/* ---------- Banda de boletín ---------- */
.news-band { background: var(--tint); border-top: 1px solid var(--line); margin-top: clamp(48px, 7vw, 88px); }
.home .news-band { margin-top: 0; }
.news-band-inner { display: grid; grid-template-columns: auto 1fr minmax(320px, 440px); align-items: center; gap: 28px; padding-top: 30px; padding-bottom: 30px; }
.news-band-title { font-family: var(--display); font-weight: 600; font-size: 1.9rem; text-transform: uppercase; color: var(--navy); padding-right: 28px; border-right: 1px solid var(--navy-soft); line-height: 1.1; }
.news-band-text { font-family: var(--serif); margin: 0; color: var(--text); }
.subscribe { display: flex; flex-wrap: wrap; gap: 0; }
.subscribe input[type=email] { flex: 1 1 200px; min-width: 0; }
.subscribe .btn { border-radius: 0 var(--radius) var(--radius) 0; }
.subscribe .form-msg { flex-basis: 100%; }
input, textarea {
  font: inherit; font-size: .95rem; color: var(--ink);
  width: 100%; min-height: 46px; padding: 11px 14px;
  border: 1px solid #b9c3cd; border-radius: var(--radius); background: #fff;
}
input:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(19,52,77,.12); }
textarea { resize: vertical; min-height: 150px; }
.form-msg { font-size: .88rem; margin: 8px 0 0; min-height: 1.2em; }
.form-msg.ok { color: #1d6b3a; }
.form-msg.err { color: var(--accent); }

/* ---------- Pie ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .85rem; }
.footer-links a { color: var(--text); text-decoration: none; }
.footer-links a:hover { color: var(--navy); text-decoration: underline; }
.footer-social { display: flex; gap: 8px; justify-content: center; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; color: var(--navy); border-radius: 50%; transition: background .2s; }
.footer-social a:hover { background: var(--tint); }
.footer-social span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.footer-copy { font-size: .8rem; color: var(--muted); text-align: right; margin: 0; }

/* ---------- Acerca de ---------- */
.quote-hero { background: var(--tint); padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); text-align: center; }
.big-quote { font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.5rem); line-height: 1.22; color: var(--ink); margin: 0 auto; max-width: 30ch; font-weight: 500; }
.quote-hero .rule { margin: 26px auto 0; width: 80px; }
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 35% 30%; }
.about-role { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.prose-sm { font-family: var(--serif); font-size: 1.04rem; line-height: 1.7; color: var(--text); }
.prose-sm p { margin-bottom: 1em; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); }
.divided { margin-top: clamp(32px, 5vw, 56px); }
.divided > :first-child { padding-right: clamp(0px, 3vw, 40px); border-right: 1px solid var(--line); }
.formacion { list-style: none; padding: 0; margin: 0; }
.formacion li { position: relative; padding-left: 20px; margin-bottom: 18px; }
.formacion li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--navy); border-radius: 50%; }
.formacion strong { display: block; font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--ink); line-height: 1.2; }
.formacion span { font-size: .92rem; color: var(--muted); }
.pubs { list-style: none; padding: 0; margin: 0; }
.pub { display: flex; gap: 18px; align-items: center; text-decoration: none; margin-bottom: 16px; color: var(--ink); }
.pub strong { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.2; }
.pub em { display: block; font-style: normal; font-size: .9rem; color: var(--muted); }
.pub:hover strong { text-decoration: underline; }
.mini-cover { width: 56px; height: 78px; object-fit: cover; flex: none; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
.type-cover { display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(160deg, #1d4462, var(--navy-2)); color: #e9eef3; font-family: var(--display); font-size: .5rem; line-height: 1.15; padding: 6px; }
.type-cover.big { width: 100%; aspect-ratio: 2 / 3; flex-direction: column; gap: 18px; font-size: 1.35rem; padding: 18px; box-shadow: 0 14px 30px rgba(0,0,0,.25); border-left: 6px solid rgba(255,255,255,.12); }
.type-cover.big span { overflow-wrap: anywhere; hyphens: auto; }
.work-cover, .work-body { min-width: 0; }
.type-cover.big small { font-family: var(--sans); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #aebfce; }
.press-cta { margin-top: clamp(32px, 5vw, 56px); }
.big-link { font-family: var(--display); font-size: 1.6rem; }

/* ---------- Ensayos (índice) ---------- */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search .ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search input { padding-left: 40px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chips-label { font-size: .85rem; color: var(--muted); margin-right: 4px; }
.chip { min-height: 36px; padding: 6px 16px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: .85rem; border-radius: 999px; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.featured { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding-top: clamp(28px, 4vw, 48px); padding-bottom: 8px; }
.featured-img img { width: 100%; box-shadow: 0 16px 40px rgba(12,36,56,.22); }
.featured-sum { font-family: var(--serif); font-size: 1.05rem; line-height: 1.7; margin-top: 1rem; max-width: 62ch; }
.list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 clamp(24px, 4vw, 48px); }
.list-item { display: grid; grid-template-columns: 92px 1fr; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.list-item[hidden] { display: none; }
.list-thumb img { width: 92px; height: 128px; object-fit: cover; object-position: 50% 15%; }
.list-title { font-family: var(--display); font-size: 1.4rem; line-height: 1.15; margin-bottom: .3rem; }
.list-title a { color: var(--ink); text-decoration: none; }
.list-title a:hover { color: var(--navy); text-decoration: underline; }
.list-sub { font-family: var(--serif); font-size: .92rem; color: var(--muted); margin-bottom: .4rem; }
.empty { padding: 24px 0; color: var(--muted); }
#more { margin-top: 28px; }

/* ---------- Artículo ---------- */
.article-head { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(24px, 5vw, 56px); align-items: center; padding-top: clamp(28px, 4vw, 52px); padding-bottom: clamp(24px, 3vw, 36px); }
.article-cover img { width: 100%; box-shadow: 0 16px 40px rgba(12,36,56,.22); }
.article-title { font-family: var(--display); font-weight: 600; font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.04; color: var(--navy); margin-bottom: .35em; }
.article-sub { font-family: var(--display); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.3; color: var(--navy-soft); margin-bottom: 1.2rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.article-meta strong { color: var(--ink); font-weight: 600; }
.share { display: flex; align-items: center; gap: 4px; font-size: .85rem; color: var(--muted); }
.share span { margin-right: 6px; }
.share a, .share button { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: var(--navy); background: none; border: 0; }
.share a:hover, .share button:hover { background: var(--tint); }
.share .ico { width: 18px; height: 18px; }
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); padding-top: clamp(28px, 4vw, 48px); }
.prose { font-family: var(--serif); font-size: 1.13rem; line-height: 1.8; color: #262f3a; max-width: 700px; }
.prose > p:first-of-type::first-letter {
  float: left; font-family: var(--display); font-weight: 600; color: var(--navy);
  font-size: 4.6em; line-height: .82; padding: .06em .1em 0 0;
}
.prose p { margin: 0 0 1.25em; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose h2 { font-family: var(--display); font-size: 1.9rem; line-height: 1.15; color: var(--navy); margin: 2em 0 .7em; }
.prose h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--ink); margin: 1.8em 0 .6em; }
.prose blockquote {
  margin: 1.8em 0; padding: 18px 26px; border-left: 3px solid var(--navy); background: var(--tint-2);
  font-family: var(--display); font-size: 1.5rem; line-height: 1.35; color: var(--navy);
}
.prose blockquote p { margin: 0; }
.prose blockquote strong, .prose blockquote em { color: inherit; }
.prose a { color: var(--navy); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.25em; }
.prose img { margin: 1.6em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article-aside { display: flex; flex-direction: column; gap: 24px; }
.aside-card { border: 1px solid var(--line); padding: 22px; background: #fff; }
.article-aside > .aside-card:last-child { position: sticky; top: 96px; }
.author-card img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 25%; margin-bottom: 14px; }
.author-name { font-family: var(--display); font-size: 1.35rem; font-weight: 600; color: var(--navy); text-transform: uppercase; line-height: 1.15; margin-bottom: .4rem; }
.aside-title { font-family: var(--display); font-size: 1.3rem; font-weight: 600; color: var(--navy); text-transform: uppercase; margin-bottom: .5rem; }
.aside-card .muted { font-size: .9rem; }
.aside-card .subscribe { flex-direction: column; gap: 8px; }
.aside-card .subscribe .btn { border-radius: var(--radius); }
.aside-card .subscribe input[type=email] { flex: none; }
.next-list { list-style: none; padding: 0; margin: 0; }
.next-list a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; text-decoration: none; border-top: 1px solid var(--line); }
.next-list li:first-child a { border-top: 0; }
.next-list img { width: 52px; height: 74px; object-fit: cover; flex: none; }
.next-list strong { display: block; font-family: var(--display); font-size: 1.08rem; line-height: 1.2; color: var(--ink); }
.next-list em { font-style: normal; font-size: .78rem; color: var(--muted); }
.next-list a:hover strong { text-decoration: underline; }

/* ---------- Libros ---------- */
.book-hero { display: grid; grid-template-columns: auto 1.05fr 1fr; background: var(--tint); align-items: stretch; position: relative; overflow: hidden; }
.book-hero::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: min(40%, 560px); background: url("/assets/img/sitio/palacio-fondo.webp") right center / cover no-repeat; opacity: .5; pointer-events: none; }
.book-hero-img { position: relative; min-height: 540px; overflow: hidden; }
.book-hero-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(238,242,246,0) 50%, rgba(238,242,246,.75) 85%, var(--tint) 100%); }
.book-hero-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
.book-hero-text { padding: clamp(32px, 5vw, 64px) clamp(20px, 4vw, 64px) clamp(32px, 5vw, 64px) clamp(8px, 1.5vw, 24px); align-self: center; position: relative; z-index: 1; }
.book-hero-text .display { font-size: clamp(2.4rem, 5vw, 4.4rem); text-transform: uppercase; }
.book-hero .event { background: rgba(255,255,255,.85); }
.event { margin-top: 20px; padding: 16px 18px; background: #fff; border-left: 3px solid var(--navy); }
.event p { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.event p:last-child { margin: 0; }
.event .ico { color: var(--navy); }
.event-title { font-family: var(--display); font-size: 1.2rem; line-height: 1.3; color: var(--ink); display: block !important; margin-bottom: 10px !important; }
.works { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 56px); }
.work { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; }
.works .work + .work { border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 48px); }
.work-cover img { width: 100%; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.work-title { font-family: var(--display); font-size: 1.75rem; line-height: 1.12; color: var(--navy); margin-bottom: .3rem; }
.work-sub { font-size: 1rem; color: var(--text); }
.chapters { align-items: start; }
.chapter-list { list-style: none; padding: 0; margin: 0; }
.chapter-list li { position: relative; padding-left: 20px; margin-bottom: 16px; }
.chapter-list li::before { content: ""; position: absolute; left: 0; top: .7em; width: 6px; height: 6px; background: var(--navy); border-radius: 50%; }
.chapter-list strong { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--ink); line-height: 1.25; }
.chapter-list span { font-size: .9rem; color: var(--muted); }

/* ---------- Boletín ---------- */
.split-hero { display: grid; grid-template-columns: auto 1fr 1fr; background: var(--paper); border-bottom: 1px solid var(--line); }
.split-text { padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 64px); align-self: center; }
.split-text p { font-family: var(--serif); font-size: 1.05rem; }
.split-text .lead { font-family: var(--display); font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.split-img { position: relative; min-height: 360px; overflow: hidden; }
.split-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% 50%; }
.split-text .subscribe { margin-top: 18px; }
.fine { font-size: .8rem !important; font-family: var(--sans) !important; color: var(--muted); margin-top: 8px; }
.gift { display: flex; gap: 18px; align-items: flex-start; background: var(--tint); padding: 18px 20px; margin: 18px 0; }
.gift .ico { width: 34px; height: 34px; color: var(--navy); }
.gift strong { font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; color: var(--navy); }
.gift p { margin: 4px 0 0; font-size: .95rem; }
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.benefit { display: flex; gap: 20px; padding: 6px clamp(14px, 2.5vw, 32px); }
.benefit:first-child { padding-left: 0; }
.benefit + .benefit { border-left: 1px solid var(--line); }
.benefit-ico { display: grid; place-items: center; width: 72px; height: 72px; flex: none; border-radius: 50%; background: var(--tint); color: var(--navy); }
.benefit-ico .ico { width: 30px; height: 30px; }
.benefit h3 { font-family: var(--display); font-size: 1.45rem; color: var(--ink); margin-bottom: .3rem; }
.benefit p { font-size: .95rem; color: var(--muted); margin: 0; }
.past { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
.past-item { display: flex; align-items: center; gap: 16px; padding: 12px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.past-item:hover { border-color: var(--navy); box-shadow: 0 6px 18px rgba(12,36,56,.08); }
.past-item img { width: 64px; height: 92px; object-fit: cover; flex: none; }
.past-item span { flex: 1; }
.past-item strong { display: block; font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
.past-item em { font-style: normal; font-size: .8rem; color: var(--muted); }
.past-item .ico { color: var(--navy); }

/* ---------- Contacto ---------- */
.banner { display: grid; grid-template-columns: auto 1fr; position: relative; min-height: 260px; }
.banner-img { grid-column: 2; grid-row: 1; background-size: cover; background-position: center 35%; background-repeat: no-repeat; }
.banner-img::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 42% 75% at 50% 50%, rgba(238,242,246,.82), rgba(238,242,246,.35) 70%, rgba(238,242,246,.05) 100%); }
.banner .hero-bar { grid-column: 1; grid-row: 1; position: relative; z-index: 1; }
.banner-text { grid-column: 2; grid-row: 1; position: relative; z-index: 1; text-align: center; align-self: center; padding: 40px var(--gutter); }
.banner-text .display { margin-bottom: 0; }
.banner-text .rule { margin: 14px auto 16px; }
.banner-text .lead { color: var(--ink); max-width: 34ch; margin: 0 auto; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 80px); max-width: 1040px; }
.contact-info { border-right: 1px solid var(--line); padding-right: clamp(0px, 4vw, 48px); }
.ico-line { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; word-break: break-word; }
.ico-line .ico { color: var(--navy); }
.contact-form { display: grid; gap: 12px; }
.press { display: grid; grid-template-columns: minmax(0, .9fr) 1.3fr; gap: clamp(24px, 4vw, 48px); align-items: center; margin-top: clamp(32px, 5vw, 56px); }
.press-img img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 2px; }
.press .btn .ico { width: 18px; height: 18px; }

.notfound { padding-bottom: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .news-band-inner { grid-template-columns: 1fr; text-align: left; gap: 12px; }
  .news-band-title { border-right: 0; padding-right: 0; }
  .article-grid { grid-template-columns: 1fr; }
  .article-aside { display: grid; grid-template-columns: repeat(2, 1fr); }
  .article-aside > .aside-card:last-child { position: static; grid-column: 1 / -1; }
  .prose { max-width: 720px; }
  .banner-img { background-position: 82% 40%; }
  .banner-img::after { background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(238,242,246,.88), rgba(238,242,246,.55) 80%, rgba(238,242,246,.3) 100%); }
  .book-hero { grid-template-columns: auto 1fr; }
  .book-hero::after { width: 70%; top: auto; height: 55%; opacity: .25; }
  .book-hero-img::after { background: linear-gradient(180deg, rgba(238,242,246,0) 60%, var(--tint) 100%); }
  .book-hero-text { padding-left: clamp(20px, 4vw, 64px); }
  .book-hero-img { grid-column: 2; min-height: 0; aspect-ratio: 16 / 10; min-width: 0; }
  .book-hero .hero-bar { grid-row: span 2; }
  .book-hero-text { grid-column: 2; }
  .works { grid-template-columns: 1fr; }
  .works .work + .work { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 28px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); display: none; box-shadow: 0 14px 24px rgba(0,0,0,.06); }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--navy); font-weight: 600; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .brand img { height: 40px; }
  .hero { grid-template-columns: auto 1fr; }
  .hero .hero-bar { grid-row: span 2; }
  .hero { height: auto; }
  .hero-img { grid-column: 2; height: auto; max-width: none; aspect-ratio: 1206 / 1174; }
  .hero-text { grid-column: 2; grid-row: 1; padding-top: 40px; padding-bottom: 36px; }
  .grid-3 { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 120px 1fr; gap: 0 18px; }
  .card-img { aspect-ratio: 2 / 3; margin: 0; }
  .card-title { font-size: 1.35rem; }
  .book-band-inner { grid-template-columns: 1fr; }
  .about, .two-col, .contact-grid, .press { grid-template-columns: 1fr; }
  .divided > :first-child { border-right: 0; padding-right: 0; }
  .contact-info { border-right: 0; padding-right: 0; }
  .featured { grid-template-columns: 1fr; }
  .featured-img { max-width: 280px; }
  .list { grid-template-columns: 1fr; }
  .article-head { grid-template-columns: 1fr; }
  .article-cover { max-width: 260px; }
  .split-hero { grid-template-columns: auto 1fr; }
  .split-hero .hero-bar { grid-row: span 2; }
  .split-img { grid-column: 2; aspect-ratio: 4 / 3; min-height: 0; }
  .benefits, .past { grid-template-columns: 1fr; }
  .benefit { padding: 14px 0; }
  .benefit + .benefit { border-left: 0; border-top: 1px solid var(--line); }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-links { justify-content: center; }
  .footer-copy { text-align: center; }
}
@media (max-width: 560px) {
  .article-aside { grid-template-columns: 1fr; }
  .work { grid-template-columns: 110px minmax(0, 1fr); gap: 18px; }
  .type-cover.big { font-size: .95rem; padding: 10px; gap: 10px; }
  .type-cover.big small { font-size: .5rem; }
  .prose { font-size: 1.06rem; }
  .subscribe .btn { border-radius: var(--radius); width: 100%; margin-top: 8px; }
  .subscribe { flex-direction: column; }
  .subscribe input[type=email] { flex-basis: auto; }
  .btn-row .btn { width: 100%; }
  .filters { gap: 12px; }
  .search { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .news-band, .article-aside, .share { display: none !important; }
  .article-grid { grid-template-columns: 1fr; }
}

.pdf-btn { margin-top: 16px; }
.pdf-btn .ico { width: 16px; height: 16px; }

/* ---------- Páginas legales ---------- */
.legal { max-width: 820px; }
.legal-prose { font-size: 1.04rem; line-height: 1.75; }
.legal-prose > p:first-of-type::first-letter { float: none; font: inherit; color: inherit; padding: 0; }
.legal-prose h2 { font-size: 1.55rem; margin-top: 1.8em; }
.legal-prose ul, .legal-prose ol { margin-bottom: 1.2em; }
.legal-prose li { margin-bottom: .4em; }
.form-legal { flex-basis: 100%; font-size: .78rem; color: var(--muted); margin: 8px 0 0; }
.form-legal a { color: inherit; }
.confirmado { max-width: 900px; padding-bottom: 40px; }
.confirmado-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--tint); color: var(--navy); margin-bottom: 18px; }
.confirmado-ico .ico { width: 34px; height: 34px; }
