/* ══════════════════════════════════════════════════════════════
   Tema visual · Ruta «El disputado voto del Sr. Cayo»
   Castilla rural de Delibes y campaña electoral de 1977:
   ocre de páramo, piedra caliza, verde del cañón del Ebro y un rojo
   desvaído de cartel electoral como acento. Sin logotipos, carteles
   ni tipografías oficiales de la película.
   ══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@400;700&family=Special+Elite&display=swap');

:root {
  --route-ink: #2b241c;          /* tierra oscura */
  --route-paper: #f3ecdf;        /* papel envejecido */
  --route-ocre: #c49a4a;         /* páramo */
  --route-stone: #b9b2a5;        /* piedra caliza */
  --route-green: #5f6b4a;        /* cañón del Ebro */
  --route-accent: #a8432f;       /* rojo desvaído de cartel */
  --route-motif-opacity: 0.10;
  /* Motivo: trama suave de papeleta (líneas horizontales y un recuadro) */
  --route-motif-svg: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><g fill='none' stroke='%23f3ecdf' stroke-width='1'><rect x='22' y='22' width='116' height='116' rx='2'/><path d='M38 56h84M38 74h84M38 92h84M38 110h52'/><rect x='104' y='104' width='18' height='18'/><path d='M107 113l5 5 8-11'/></g></svg>");
}

/* ── Tipografía ─────────────────────────────────────────────── */
.ma-route-hero .ma-hero-title,
.ma-section-title,
.ma-route-story h3,
.ma-route-film-card h4,
.ma-route-quote blockquote,
.ma-route-promo h3 {
  font-family: 'Libre Baskerville', Georgia, serif;
  letter-spacing: -0.01em;
}
.ma-label,
.ma-route-story-eyebrow,
.ma-route-film-year,
.ma-route-tidbit-mark,
.ma-route-promo-tag,
.ma-route-promo-code {
  font-family: 'Special Elite', 'Courier New', monospace;
  letter-spacing: 0.04em;
}

/* ── Cabecera ───────────────────────────────────────────────── */
.ma-route-hero {
  background-color: var(--route-ink);
  position: relative;
}
.ma-route-hero::before {
  background-image: var(--route-motif-svg);
  background-repeat: repeat;
  opacity: var(--route-motif-opacity);
}
.ma-route-hero .ma-route-crumb,
.ma-route-hero .ma-route-crumb a,
.ma-route-hero .ma-label { color: rgba(243, 236, 223, 0.78); }
.ma-route-hero .ma-hero-title {
  color: var(--route-paper);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}
.ma-route-hero-title-accent { color: var(--route-ocre); }
.ma-route-hero .ma-hero-text2 { color: rgba(243, 236, 223, 0.9); }

/* ── Botones ────────────────────────────────────────────────── */
.ma-route-hero .ma-btn:not(.ma-btn-outline),
.ma-route-cta .ma-btn {
  background: var(--route-accent);
  color: var(--route-paper);
  border-color: var(--route-accent);
}
.ma-route-hero .ma-btn:not(.ma-btn-outline):hover,
.ma-route-cta .ma-btn:hover { background: #bf5340; border-color: #bf5340; }
.ma-route-hero .ma-btn-outline {
  color: var(--route-paper);
  border-color: rgba(243, 236, 223, 0.6);
  background: transparent;
}
.ma-route-hero .ma-btn-outline:hover { background: rgba(243, 236, 223, 0.12); }

/* ── Fondo del cuerpo ───────────────────────────────────────── */
body {
  background:
    radial-gradient(circle at 12% 18%, rgba(196, 154, 74, 0.07), transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(95, 107, 74, 0.06), transparent 45%);
  background-attachment: fixed;
}

/* ── Acentos de módulos ─────────────────────────────────────── */
.ma-route-story-eyebrow,
.ma-route-film-year,
.ma-route-tidbit-mark { color: var(--route-accent); }
.ma-route-story-place i { color: var(--route-green); }
.ma-route-quote blockquote { font-style: normal; }

/* ── Fichas película / novela ───────────────────────────────── */
.ma-route-film-card.is-book { background: var(--route-paper); }

/* ── Bloque de promoción del aniversario ────────────────────── */
.ma-route-promo {
  background: var(--route-paper);
  border-radius: 10px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}
.ma-route-promo::after {           /* sello de papeleta, decorativo */
  content: "";
  position: absolute;
  right: -30px; bottom: -30px;
  width: 180px; height: 180px;
  background-image: var(--route-motif-svg);
  filter: invert(1);
  opacity: 0.06;
  pointer-events: none;
}
.ma-route-promo-tag {
  display: inline-block;
  background: var(--route-accent);
  color: var(--route-paper);
  font-size: 0.78rem;
  padding: 0.25rem 0.7rem;
  border-radius: 3px;
  margin-bottom: 1rem;
}
.ma-route-promo h3 { margin: 0 0 0.4rem; font-size: 1.5rem; color: var(--route-ink); }
.ma-route-promo-dates { color: var(--route-green); font-weight: 700; margin-bottom: 1.4rem; }
.ma-route-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.4rem;
}
.ma-route-promo-item h4 { font-size: 1rem; font-weight: 700; margin: 0 0 0.3rem; color: var(--route-ink); }
.ma-route-promo-item p { margin: 0; font-size: 0.92rem; }
.ma-route-promo-code {
  display: inline-block;
  background: #fff;
  color: var(--route-accent);
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
  font-size: 1rem;
}
.ma-route-promo-steps { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.ma-route-promo-steps li { margin-bottom: 0.35rem; font-size: 0.92rem; }
.ma-route-promo-legal { font-size: 0.78rem; color: #6b6c70; margin: 0; }
