/* Marcelo Rioja — estilos compartidos de las páginas de libro (se cachea una vez para todas) */
:root { --accent: #a64a29; --ink: #2b2320; --paper: #faf5ee; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Lora', serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
}
.container { max-width: 760px; margin: 0 auto; padding: 0 1.5rem; }
.vz-hero__inner { max-width: 1080px; margin: 0 auto; padding: 0 1.5rem; }
.vz-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(250,245,238,0.92); backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(43,35,32,0.08);
  padding: 1rem 0;
}
.vz-nav .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.vz-nav a.brand { font-family: 'Fraunces', serif; font-weight: 600; color: var(--ink); text-decoration: none; font-size: 1.05rem; }
.vz-nav .nav-right { display: flex; align-items: center; gap: 1.25rem; }
.vz-nav a.back { color: var(--accent); text-decoration: none; font-size: 0.92rem; font-weight: 600; }
.vz-langswitch { display: flex; gap: 0.4rem; }
.vz-langswitch a {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.03em;
  color: var(--ink); text-decoration: none;
  padding: 0.25rem 0.55rem; border-radius: 6px; border: 1px solid rgba(43,35,32,0.15);
}
.vz-langswitch a.is-active { background: var(--accent); color: #fff; border-color: var(--accent); }

.vz-hero { padding: 3.5rem 0 2.5rem; }
.vz-hero__inner {
  display: flex; align-items: center; gap: 3.5rem;
  flex-wrap: wrap;
}
.vz-hero__cover {
  width: 380px; max-width: 100%; height: auto; border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
  flex-shrink: 0;
  display: block;
  margin: 0 auto;
}
.vz-hero__content { flex: 1 1 360px; min-width: 300px; }
.vz-hero__badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); background: rgba(191,90,53,0.12);
  border-radius: 999px; padding: 0.35rem 0.9rem; margin-bottom: 1.25rem;
}
.vz-hero h1 {
  font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(2rem, 4vw, 2.9rem);
  margin: 0 0 0.75rem; line-height: 1.15;
}
.vz-hero__sub { font-size: 1.1rem; opacity: 0.8; margin: 0 0 1.5rem; }
.vz-charity {
  display: inline-block;
  font-size: 0.95rem; font-weight: 600;
  background: rgba(191,90,53,0.08);
  border: 1px solid rgba(191,90,53,0.25);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  margin: 0 0 1.75rem;
}
.vz-buy { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1rem; }
.vz-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.75rem 1.4rem; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  text-decoration: none; border: 1px solid var(--accent); transition: transform .15s ease;
}
.vz-btn:hover { transform: translateY(-1px); }
.vz-btn--solid {
  background: transparent; border: none; padding: 0; display: inline-flex; align-items: center;
}
.vz-btn--solid:hover { transform: translateY(-1px); }
.vz-apple-badge-img { display: block; height: 41px; width: auto; }
.vz-btn--amazon {
  background: transparent; border: none; padding: 0; display: inline-flex; align-items: center;
}
.vz-btn--amazon:hover { transform: translateY(-1px); }
.vz-amazon-badge-img { display: block; height: 19px; width: auto; }
.vz-btn--kobo {
  background: transparent; border: none; padding: 0; display: inline-flex; align-items: center;
}
.vz-btn--kobo:hover { transform: translateY(-1px); }
.vz-kobo-badge-img { display: block; height: 28px; width: auto; }
.vz-lang-note { font-size: 0.85rem; opacity: 0.72; margin: 0; }

.vz-section { padding: 2.25rem 0; border-top: 1px solid rgba(43,35,32,0.08); }
.vz-section h2 {
  font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--accent);
  margin: 0 0 0.25rem;
}
.vz-section .kicker { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.72; margin: 0 0 0.5rem; }
.vz-section h3.sub { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.vz-section p { margin: 0 0 1.1rem; }
.vz-section em { color: var(--accent); font-style: italic; }
.vz-section .signoff { font-style: italic; opacity: 0.75; margin-top: 1.5rem; }

.vz-footer { text-align: center; padding: 3rem 0 4rem; color: rgba(43,35,32,0.78); font-size: 0.9rem; }
.vz-footer a { color: var(--accent); }

@media (max-width: 760px) {
  .vz-hero { padding: 2.25rem 0 1.5rem; text-align: center; }
  .vz-hero__inner { justify-content: center; text-align: center; }
  .vz-hero__cover { width: 260px; margin: 0 auto 1.5rem; }
  .vz-charity, .vz-buy { justify-content: center; }
}
  
.vz-section h3 { font-family: 'Fraunces', serif; font-weight: 500; font-size: 1.15rem; margin: 1.6rem 0 0.5rem; }
.vz-related { list-style: none; margin: 0.5rem 0 0; padding: 0; }
.vz-related li { margin: 0 0 0.55rem; }
.vz-related a { color: var(--accent); text-decoration: none; font-weight: 600; }
.vz-related a:hover { text-decoration: underline; }
.vz-related span { opacity: 0.72; font-size: 0.9rem; }

/* ===== Accordion: editor letter & editorial certificate ===== */
details.accordion { border: none; }
details.accordion > summary.accordion__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  user-select: none;
}
details.accordion > summary.accordion__summary::-webkit-details-marker { display: none; }
details.accordion > summary.accordion__summary::marker { content: ""; }
details.accordion > summary.accordion__summary::after {
  content: "+";
  margin-left: auto;
  flex-shrink: 0;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  border: 1.5px solid rgba(166,74,41,0.45);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 600;
  transition: transform .2s ease, background .2s ease;
}
details.accordion[open] > summary.accordion__summary::after {
  content: "\2212";
  background: rgba(166,74,41,0.1);
}
details.accordion .accordion__hint {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
details.accordion[open] > summary.accordion__summary { margin-bottom: 1rem; }

/* ===== Series page ===== */
.vz-hero--series { padding: 3rem 0 1rem; }
.vz-hero--series .vz-hero__inner { max-width: 760px; }
.vz-hero--series .vz-hero__content { flex: 1 1 100%; }
.vz-series { display: grid; gap: 1.75rem; margin-top: 1.25rem; }
.vz-series__book { display: flex; gap: 1.5rem; align-items: flex-start; }
.vz-series__cover { flex: 0 0 140px; }
.vz-series__cover img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 12px 28px rgba(0,0,0,0.22); }
.vz-section .vz-series__info h3 { font-size: 1.25rem; margin: 0 0 0.4rem; }
.vz-series__info h3 a { color: var(--ink); text-decoration: none; }
.vz-series__info h3 a:hover { color: var(--accent); }
.vz-series__tagline { margin: 0 0 0.6rem; opacity: 0.8; }
.vz-series__more { color: var(--accent); font-weight: 600; text-decoration: none; }
.vz-series__more:hover { text-decoration: underline; }
.vz-lang-note a { color: var(--accent); }
@media (max-width: 520px) {
  .vz-series__book { gap: 1rem; }
  .vz-series__cover { flex-basis: 96px; }
}

