/*
Theme Name: Multiverso de Papel Blog
Theme URI: https://blog.multiversodepapel.es/
Author: OpenAI para Rubén
Description: Tema WordPress personalizado para Multiverso de Papel con secciones de Novedades, Galería de imágenes, Gramola, Videoteca y Agenda.
Version: 4.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: multiverso-papel
*/

:root {
  --bg: #071712;
  --bg-2: #0b241d;
  --panel: #0c2f27;
  --panel-2: #123c31;
  --gold: #d5a64f;
  --gold-2: #f0d595;
  --gold-soft: rgba(240,213,149,.36);
  --ink: #f5e6c0;
  --muted: #d6c7a2;
  --muted-2: #b39f79;
  --paper: #ead6b0;
  --paper-2: #f1e2c3;
  --paper-ink: #2d2317;
  --shadow: 0 16px 44px rgba(0,0,0,.38);
  --radius: 18px;
  --max: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(49,118,92,.22), transparent 32%),
    radial-gradient(circle at 20% 0%, rgba(255,217,130,.09), transparent 18%),
    linear-gradient(180deg, #081a14 0%, #071510 100%);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.55;
}
body.admin-bar .top-nav { top: 32px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px;
  margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.container { width: min(100% - 38px, var(--max)); margin-inline: auto; }
.site-shell { overflow: clip; }

/* Navigation */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(240,213,149,.24);
  background: linear-gradient(180deg, rgba(5,24,20,.96), rgba(5,24,20,.88));
  backdrop-filter: blur(10px);
}
.top-nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  min-height: 76px;
}
.home-mark {
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1px solid rgba(240,213,149,.42);
  border-radius: 14px;
  color: var(--gold-2);
  font-size: 1.65rem;
  background: linear-gradient(180deg, rgba(21,76,64,.75), rgba(11,42,35,.75));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}
.primary-menu {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.primary-menu li { min-width: 0; }
.primary-menu a {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 14px;
  border-radius: 12px;
  color: var(--gold-2);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: background .2s ease, transform .2s ease;
}
.primary-menu a span { font-size: 1.08rem; }
.primary-menu a:hover,
.primary-menu .current-menu-item a,
.primary-menu a:focus-visible {
  background: rgba(21,76,64,.55);
  transform: translateY(-1px);
}
.nav-search {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(240,213,149,.42);
  border-radius: 999px;
  padding-inline: 8px;
  background: rgba(0,0,0,.14);
}
.nav-search button {
  border: 0; background: transparent; color: var(--gold-2);
  font-size: 1.1rem; cursor: pointer; padding: 9px 8px;
}
.nav-search input {
  width: 190px; padding: 12px 12px 12px 4px; border: 0; outline: 0;
  background: transparent; color: var(--ink);
}
.nav-search input::placeholder { color: rgba(245,230,192,.65); }
.menu-toggle { display: none; }

/* General helpers */
.eyebrow {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .82rem;
  margin-bottom: 10px;
}
.parchment-card,
.parchment-section {
  background:
    linear-gradient(180deg, rgba(255,247,225,.95), rgba(234,214,176,.93));
  color: var(--paper-ink);
  border: 1px solid rgba(100,67,24,.16);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.parchment-card {
  border-radius: 16px;
}
.parchment-mini {
  background: rgba(18, 60, 49, .72);
  border: 1px solid rgba(240,213,149,.3);
  color: var(--gold-2);
  border-radius: 16px;
}
.section-link { color: #573d1b; font-weight: 700; }
.section-link:hover { text-decoration: underline; }

/* Hero */
.home-hero {
  position: relative;
  padding: 34px 0 22px;
  overflow: hidden;
}
.hero-backdrop {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(3,14,11,.52), rgba(3,14,11,.75)),
    url('assets/images/tienda-1.png') center/cover no-repeat;
  filter: saturate(1.02);
}
.hero-backdrop::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,200,98,.19), transparent 16%),
    radial-gradient(circle at 14% 18%, rgba(255,200,98,.15), transparent 14%),
    radial-gradient(circle at 87% 24%, rgba(255,200,98,.12), transparent 14%);
}
.hero-glow {
  position: absolute; top: 110px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,209,128,.28), transparent 65%);
  filter: blur(20px);
}
.hero-glow-left { left: 4%; }
.hero-glow-right { right: 4%; }
.home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 240px 1fr 230px;
  gap: 16px;
  align-items: end;
  min-height: 380px;
}
.hero-side { display: grid; align-content: end; gap: 18px; padding-bottom: 10px; }
.hanging-note {
  justify-self: center;
  background: linear-gradient(180deg, rgba(245,228,194,.98), rgba(226,203,156,.94));
  color: #241a0f;
  text-align: center;
  font-size: clamp(1.05rem, 1.4vw, 1.38rem);
  line-height: 1.25;
  padding: 18px 18px 16px;
  min-width: 180px;
  border: 1px solid rgba(90,65,28,.2);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0,0,0,.22);
}
.book-stack {
  display: grid;
  gap: 6px;
  max-width: 160px;
}
.book-stack span {
  display: block;
  padding: 8px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--gold-2);
  border: 1px solid rgba(240,213,149,.24);
  border-radius: 2px 10px 10px 2px;
  background: linear-gradient(90deg, #492f17 0%, #2f220f 45%, #0c261f 100%);
  box-shadow: 0 8px 14px rgba(0,0,0,.22);
}
.hero-center { text-align: center; padding-inline: 12px; }
.hero-brand-wrap { position: relative; display: inline-block; }
.hero-brand-panel {
  padding: 8px 18px 0;
}
.hero-logo .custom-logo-link,
.hero-logo-fallback {
  display: inline-block;
}
.hero-logo img,
.hero-logo-fallback {
  width: min(100%, 520px);
  max-height: 190px;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.28));
}
.hero-dragon {
  position: absolute;
  left: -140px;
  bottom: -10px;
  width: clamp(200px, 22vw, 320px);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.36));
}
.hero-subtitle {
  display: inline-block;
  margin-top: -4px;
  padding: 14px 28px;
  font-size: clamp(1.55rem, 2.45vw, 2.5rem);
  line-height: 1.08;
  font-style: italic;
}
.hero-lead {
  max-width: 840px;
  margin: 14px auto 0;
  font-size: 1.18rem;
  color: #f0e2be;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.side-vignette {
  min-height: 160px;
  display: grid;
  place-items: center;
  gap: 14px;
  align-content: end;
}
.lantern-glow {
  width: 82px; height: 140px; border-radius: 20px;
  background:
    radial-gradient(circle at 50% 36%, rgba(255,215,128,.78), rgba(255,215,128,.1) 44%, transparent 64%),
    linear-gradient(180deg, rgba(50,38,20,.8), rgba(19,18,14,.55));
  box-shadow: 0 0 50px rgba(255,216,141,.18);
  position: relative;
}
.lantern-glow::before {
  content: '';
  position: absolute; inset: 18px 18px 22px;
  border-radius: 14px;
  background: radial-gradient(circle at center, rgba(255,233,176,.96), rgba(255,177,57,.5) 48%, transparent 68%);
}
.mug-quote {
  padding: 18px 22px;
  text-align: center;
  font-size: 1.15rem;
  line-height: 1.45;
}

/* Feature row */
.feature-row-wrap {
  position: relative;
  z-index: 3;
  margin-top: -6px;
  padding-bottom: 24px;
}
.feature-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.feature-tile {
  position: relative;
  border-radius: 16px;
  overflow: visible;
}
.feature-tile-image {
  height: 168px;
  border-radius: 16px 16px 0 0;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(240,213,149,.24);
  border-bottom: 0;
  box-shadow: var(--shadow);
}
.feature-tile-image::after {
  content: '';
  display: block;
  height: 100%;
  background: linear-gradient(180deg, transparent 30%, rgba(4,13,10,.75) 100%);
  border-radius: inherit;
}
.feature-tile-icon {
  position: absolute; left: 50%; top: 135px; transform: translateX(-50%);
  width: 62px; height: 62px; display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(180deg, #0f594a, #09352c);
  color: var(--gold-2);
  border: 2px solid rgba(240,213,149,.65);
  font-size: 1.6rem;
  z-index: 2;
  box-shadow: 0 8px 16px rgba(0,0,0,.28);
}
.feature-tile-body {
  min-height: 250px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 46px 20px 20px;
  text-align: center;
}
.feature-tile-body h2 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.feature-tile-body p {
  margin: 0 0 18px;
  font-size: 1rem;
  line-height: 1.35;
  color: #4a3b26;
}
.feature-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 170px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #f9ebc6;
  font-weight: 700;
  background: linear-gradient(180deg, #0e6050, #08372d);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}

/* Latest */
.latest-wrap { padding: 8px 0 34px; }
.latest-inner {
  padding: 18px 18px 20px;
  border-radius: 18px;
}
.latest-head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 4px 6px 18px;
}
.latest-head h2 {
  margin: 0;
  font-size: clamp(2rem, 2.6vw, 2.7rem);
  line-height: 1.05;
}
.latest-grid {
  display: grid;
  grid-template-columns: 1fr 250px;
  gap: 16px;
  align-items: stretch;
}
.latest-posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.latest-card {
  display: grid;
  grid-template-columns: 136px 1fr;
  gap: 12px;
  border: 1px solid rgba(90,65,28,.15);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,.42);
}
.latest-thumb { display: block; min-height: 148px; }
.latest-thumb img { width: 100%; height: 100%; object-fit: cover; }
.latest-copy { padding: 12px 12px 12px 0; color: #2a2115; }
.post-meta {
  color: #93713c;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.latest-copy h3,
.post-card h3,
.audio-card h3,
.video-card h3,
.event-card h3 {
  margin: 6px 0 8px;
  font-size: 1.28rem;
  line-height: 1.2;
}
.latest-copy p,
.post-card p,
.event-info,
.audio-card p,
.video-copy p { margin: 0; color: #50402c; }
.quote-panel {
  display: grid;
  align-content: center;
  text-align: center;
  padding: 18px;
}
.quote-panel blockquote {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2.1rem);
  line-height: 1.2;
  font-style: italic;
}
.quote-mark { font-size: 1.6rem; margin-top: 14px; color: #715426; }

/* Showcase panels */
.content-showcase { padding: 12px 0 70px; }
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.showcase-panel,
.page-content .entry-content,
.post-card,
.audio-card,
.video-card,
.event-card,
.empty-state {
  background: linear-gradient(180deg, rgba(15,56,46,.92), rgba(8,28,23,.96));
  border: 1px solid rgba(240,213,149,.22);
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.showcase-panel {
  padding: 26px;
}
.showcase-panel h2,
.page-hero h1,
.section-title h2 { margin: 0 0 10px; color: #f6e6c0; font-weight: 500; }
.showcase-panel p { color: var(--muted); margin: 0 0 18px; }
.showcase-panel-wide { grid-column: 1 / -1; }
.showcase-card { margin-top: 10px; }

.audio-grid, .video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audio-card { padding: 22px; }
.audio-card audio { width: 100%; margin-top: 12px; filter: sepia(.3) saturate(.6); }
.audio-visual { height: 42px; display: flex; align-items: end; gap: 3px; margin: 10px 0 2px; opacity: .7; }
.audio-visual span { flex: 1; min-width: 2px; background: linear-gradient(180deg, var(--gold-2), #9e7534); border-radius: 4px; animation: bars 1.8s ease-in-out infinite alternate; }
.audio-visual span:nth-child(2n){ animation-delay:-.5s } .audio-visual span:nth-child(3n){ animation-delay:-1.1s }
@keyframes bars { from{height:16%} to{height:92%} }

.video-card { overflow: hidden; }
.video-embed { aspect-ratio: 16 / 9; background: #04100d; }
.video-embed iframe, .video-embed video { width: 100%; height: 100%; border: 0; }
.video-copy { padding: 18px 20px 22px; }

.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.event-card { display: grid; grid-template-columns: 98px 1fr; overflow: hidden; }
.event-date {
  display: grid; place-items: center; align-content: center; padding: 15px; text-align: center;
  background: linear-gradient(180deg, #184537, #0b3128);
  border-right: 1px solid rgba(240,213,149,.22);
  color: var(--gold-2);
}
.event-date strong { font-size: 2rem; line-height: 1; }
.event-date span { text-transform: uppercase; letter-spacing: .09em; font-size: .76rem; }
.event-copy { padding: 18px 20px; }

.empty-state {
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

/* Interior pages */
.page-hero {
  padding: 52px 0 32px;
  background:
    linear-gradient(180deg, rgba(5,22,18,.74), rgba(5,22,18,.86)),
    url('assets/images/tienda-2.png') center/cover no-repeat;
  border-bottom: 1px solid rgba(240,213,149,.16);
}
.compact-hero { margin-bottom: 0; }
.page-hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.7rem);
}
.page-content { padding: 38px 0 70px; }
.entry-content {
  max-width: 920px;
  padding: 28px;
  color: var(--muted);
  font-size: 1.08rem;
}
.entry-content h2, .entry-content h3, .entry-content h4 { color: #f0dca9; }
.entry-content a { color: var(--gold-2); text-decoration: underline; }
.entry-content img { border-radius: 14px; margin-block: 14px; }
.post-grid.list-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.post-card { overflow: hidden; }
.list-card .post-thumb { aspect-ratio: 16 / 9; display: block; background: #102e27; }
.list-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post-card:hover .post-thumb img { transform: scale(1.035); }
.post-body { padding: 20px 20px 24px; }
.post-card p { color: var(--muted); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.pagination .page-numbers { padding: 8px 12px; border: 1px solid rgba(212,166,79,.3); border-radius: 8px; }
.pagination .current { background: #163b31; color: #f7dda1; }

/* Footer */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 38px 0 28px;
  border-top: 1px solid rgba(240,213,149,.18);
  background:
    linear-gradient(180deg, rgba(4,16,13,.92), rgba(4,16,13,.98));
}
.footer-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(4,16,13,.76), rgba(4,16,13,.92)),
    url('assets/images/tienda-2.png') center/cover no-repeat;
  opacity: .32;
}
.footer-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .9fr .8fr .55fr;
  gap: 28px;
  align-items: start;
}
.footer-brand-line { display: flex; gap: 16px; align-items: center; }
.footer-mark { width: 72px; filter: drop-shadow(0 10px 18px rgba(0,0,0,.22)); }
.footer-logo-text {
  font-size: 2.3rem;
  line-height: .92;
  color: var(--gold-2);
  font-weight: 700;
}
.footer-tagline { margin: 10px 0 0; color: var(--muted); }
.footer-title { color: var(--gold-2); text-transform: uppercase; letter-spacing: .08em; font-size: .94rem; margin-bottom: 11px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 8px 0; color: var(--muted); }
.footer-links a:hover { text-decoration: underline; }
.footer-socials { display: flex; gap: 10px; margin-bottom: 14px; }
.footer-socials span {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid rgba(240,213,149,.35);
  border-radius: 50%; color: var(--gold-2); background: rgba(255,255,255,.03);
  font-weight: 700;
}
.footer-desc { color: var(--muted); margin: 0; }
.footer-quote {
  min-height: 130px;
  display: grid; place-items: center;
  border: 1px solid rgba(240,213,149,.17);
  border-radius: 18px;
  background: rgba(7,35,28,.45);
}
.footer-mascot {
  text-align: center;
  color: var(--gold-2);
  font-size: 1.15rem;
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1320px) {
  .home-hero-inner { grid-template-columns: 180px 1fr 180px; }
  .hero-dragon { left: -110px; width: 250px; }
  .feature-row { grid-template-columns: repeat(3, 1fr); }
  .latest-posts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1080px) {
  .top-nav-inner { grid-template-columns: auto 1fr; }
  .nav-search { display: none; }
  .primary-menu a { font-size: .92rem; padding: 12px 10px; }
  .home-hero-inner { grid-template-columns: 1fr; min-height: auto; gap: 14px; }
  .hero-side-left, .hero-side-right { grid-auto-flow: column; justify-content: center; align-items: end; }
  .book-stack { grid-template-columns: repeat(5, minmax(0,1fr)); max-width: unset; width: 100%; }
  .hero-dragon { position: relative; left: auto; bottom: auto; width: 210px; margin: 0 auto -6px; }
  .hero-brand-wrap { display: block; }
  .hero-brand-panel { padding-top: 0; }
  .feature-row { grid-template-columns: repeat(2, 1fr); }
  .latest-grid { grid-template-columns: 1fr; }
  .showcase-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body.admin-bar .top-nav { top: 46px; }
  .container { width: min(100% - 20px, var(--max)); }
  .top-nav-inner { min-height: 66px; display: flex; justify-content: space-between; position: relative; }
  .menu-toggle {
    display: block; border: 1px solid rgba(240,213,149,.45); background: transparent;
    color: var(--gold-2); border-radius: 10px; padding: 9px 11px;
  }
  .primary-menu {
    position: absolute; left: 0; right: 0; top: calc(100% + 10px);
    display: none; flex-direction: column; align-items: stretch; padding: 10px;
    background: #092820; border: 1px solid rgba(212,166,79,.35); border-radius: 14px; box-shadow: var(--shadow);
  }
  .primary-menu.is-open { display: flex; }
  .primary-menu a { justify-content: center; }
  .hanging-note { min-width: 0; }
  .hero-side-left, .hero-side-right { grid-auto-flow: row; justify-content: center; }
  .book-stack { grid-template-columns: 1fr; max-width: 180px; margin-inline: auto; }
  .hero-subtitle { font-size: clamp(1.35rem, 7vw, 2rem); padding: 14px 18px; }
  .hero-lead { font-size: 1rem; }
  .feature-row { grid-template-columns: 1fr; }
  .feature-tile-image { height: 180px; }
  .latest-posts { grid-template-columns: 1fr; }
  .latest-card { grid-template-columns: 1fr; }
  .latest-copy { padding: 12px 14px 16px; }
  .events-grid, .post-grid.list-grid { grid-template-columns: 1fr; }
  .event-card { grid-template-columns: 74px 1fr; }
  .entry-content, .showcase-panel { padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand-line { align-items: flex-start; }
}

/* ===== V3 header refinement to match the conceptual image more closely ===== */
.home-hero {
  position: relative;
  padding: 0 0 22px;
  overflow: hidden;
}
.home-hero .hero-backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,18,15,.36) 0%, rgba(6,18,15,.54) 55%, rgba(6,18,15,.72) 100%),
    url('assets/images/tienda-1.png') center/cover no-repeat;
}
.home-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(255,207,120,.22), transparent 14%),
    radial-gradient(circle at 52% 11%, rgba(255,207,120,.14), transparent 12%),
    radial-gradient(circle at 84% 18%, rgba(255,207,120,.22), transparent 14%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.12));
}
.home-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 235px;
  gap: 22px;
  align-items: end;
  min-height: 355px;
  padding: 26px 0 8px;
}
.hero-left-col,
.hero-right-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}
.hero-main-col {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  min-width: 0;
}
.hero-brand-scene {
  position: relative;
  width: 100%;
  min-height: 225px;
  display: flex;
  align-items: end;
  justify-content: center;
  padding: 0 0 8px;
}
.hero-logo-scene {
  position: relative;
  text-align: center;
  max-width: 100%;
  z-index: 2;
}
.hero-logo-main {
  width: min(100%, 540px);
  margin: 0 auto;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.35));
}
.hero-tagline-card {
  display: inline-block;
  margin-top: -10px;
  padding: 12px 30px 14px;
  background: linear-gradient(180deg, rgba(245,228,194,.98), rgba(226,203,156,.94));
  color: #2d2114;
  border-radius: 6px 6px 18px 18px;
  border: 1px solid rgba(95,67,26,.18);
  box-shadow: 0 12px 24px rgba(0,0,0,.18);
  font-size: clamp(1.25rem, 2vw, 2.05rem);
  line-height: 1.08;
  font-style: italic;
}
.hero-dragon-main {
  position: absolute;
  left: 30px;
  bottom: 8px;
  width: clamp(180px, 18vw, 260px);
  z-index: 3;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.36));
}
.dragon-books {
  position: absolute;
  left: 30px;
  bottom: 0;
  width: 195px;
  height: 82px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(74,46,20,.95), rgba(36,24,11,.98));
  box-shadow:
    0 12px 20px rgba(0,0,0,.3),
    0 -18px 0 -8px rgba(104,66,28,.95),
    22px -30px 0 -16px rgba(54,37,18,.96),
    60px -12px 0 -20px rgba(93,62,28,.92);
  opacity: .92;
}
.hero-lead {
  max-width: 820px;
  margin: 10px auto 0;
  text-align: center;
  font-size: 1.08rem;
  color: #f3e7c9;
  text-shadow: 0 2px 12px rgba(0,0,0,.45);
}
.hanging-note {
  align-self: center;
  min-width: 158px;
  max-width: 190px;
  text-align: center;
  padding: 16px 14px;
  background: linear-gradient(180deg, rgba(245,228,194,.98), rgba(226,203,156,.94));
  color: #241a0f;
  border-radius: 5px;
  border: 1px solid rgba(95,67,26,.18);
  box-shadow: 0 10px 18px rgba(0,0,0,.2);
  font-size: clamp(1rem, 1.1vw, 1.25rem);
  line-height: 1.22;
}
.book-stack {
  display: grid;
  gap: 6px;
  max-width: 160px;
}
.book-stack span {
  display: block;
  padding: 9px 14px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold-2);
  border-radius: 3px 10px 10px 3px;
  border: 1px solid rgba(240,213,149,.18);
  background: linear-gradient(90deg, #52361a 0%, #2f2210 46%, #0e2a22 100%);
  box-shadow: 0 8px 14px rgba(0,0,0,.22);
}
.hero-right-deco {
  display: flex;
  align-items: end;
  justify-content: end;
  gap: 12px;
}
.lantern-deco {
  width: 72px;
  height: 128px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(48,36,18,.88), rgba(24,19,14,.58));
  position: relative;
  box-shadow: 0 0 46px rgba(255,211,120,.18);
}
.lantern-deco::before {
  content: '';
  position: absolute;
  inset: 18px 14px 20px;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(255,237,185,.96), rgba(255,186,70,.55) 46%, transparent 72%);
}
.mug-deco {
  align-self: center;
  width: 76px;
  min-height: 104px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 12px 8px;
  border-radius: 6px 6px 20px 20px;
  background: linear-gradient(180deg, rgba(251,245,231,.95), rgba(230,220,198,.9));
  color: #183528;
  font-weight: 700;
  font-size: .9rem;
  position: relative;
  box-shadow: 0 10px 20px rgba(0,0,0,.2);
}
.mug-deco::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 24px;
  width: 18px;
  height: 30px;
  border: 4px solid rgba(230,220,198,.9);
  border-left: 0;
  border-radius: 0 18px 18px 0;
}
.mini-stack {
  max-width: 112px;
}
.mini-stack span {
  padding: 8px 10px;
  font-size: .92rem;
}

@media (max-width: 1280px) {
  .home-hero-inner {
    grid-template-columns: 170px minmax(0, 1fr) 185px;
    gap: 16px;
  }
  .hero-logo-main { width: min(100%, 470px); }
  .hero-dragon-main { left: 0; width: 200px; }
  .dragon-books { left: 0; width: 170px; }
}

@media (max-width: 1080px) {
  .home-hero-inner {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 20px;
  }
  .hero-left-col,
  .hero-right-col {
    min-height: auto;
    gap: 14px;
    align-items: center;
  }
  .hero-right-deco {
    justify-content: center;
  }
  .book-stack {
    max-width: none;
    width: 100%;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .mini-stack {
    max-width: none;
    width: auto;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .hero-brand-scene {
    min-height: 250px;
  }
  .hero-dragon-main {
    left: 20px;
    width: 185px;
  }
  .dragon-books {
    left: 18px;
    width: 150px;
    height: 68px;
  }
}

@media (max-width: 760px) {
  .home-hero {
    padding-bottom: 14px;
  }
  .home-hero-inner {
    gap: 10px;
  }
  .book-stack {
    grid-template-columns: 1fr;
    max-width: 180px;
  }
  .mini-stack {
    grid-template-columns: 1fr;
    max-width: 140px;
  }
  .hero-brand-scene {
    min-height: 300px;
    padding-top: 12px;
  }
  .hero-logo-main {
    width: min(100%, 360px);
  }
  .hero-tagline-card {
    padding: 12px 18px 14px;
    font-size: clamp(1.12rem, 6vw, 1.6rem);
  }
  .hero-dragon-main {
    position: relative;
    left: auto;
    bottom: auto;
    display: block;
    margin: 0 auto -14px;
    width: 170px;
  }
  .dragon-books {
    left: 50%;
    transform: translateX(-50%);
    bottom: 44px;
    width: 140px;
    height: 60px;
  }
  .hero-lead {
    font-size: .98rem;
  }
  .hanging-note {
    font-size: 1rem;
  }
}

/* ===== V4: portada visual calcada del conceptual ===== */
.home-main-v4 { background: #071712; }
.concept-home {
  width: 100%;
  background: #06150f;
  border-bottom: 1px solid rgba(240,213,149,.18);
}
.concept-stage {
  position: relative;
  width: 100%;
  max-width: 1536px;
  margin: 0 auto;
  aspect-ratio: 1536 / 690;
  overflow: hidden;
  background: #06150f;
}
.concept-stage-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}
.concept-hit {
  position: absolute;
  z-index: 4;
  display: block;
  border-radius: 10px;
  background: rgba(255,255,255,0);
  outline: none;
}
.concept-hit:hover,
.concept-hit:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(245,222,160,.36), 0 0 22px rgba(245,222,160,.16);
  background: rgba(255,244,208,.035);
}

/* zonas clicables del menú superior, coordenadas sobre 1536x690 */
.hs-home { left: 9.7%; top: .2%; width: 4.6%; height: 8.2%; }
.hs-nav-news { left: 14.7%; top: .2%; width: 10%; height: 8.2%; }
.hs-nav-gallery { left: 25.1%; top: .2%; width: 15.2%; height: 8.2%; }
.hs-nav-gramola { left: 40.3%; top: .2%; width: 9.7%; height: 8.2%; }
.hs-nav-video { left: 49.5%; top: .2%; width: 9.8%; height: 8.2%; }
.hs-nav-agenda { left: 59%; top: .2%; width: 8.6%; height: 8.2%; }

.concept-search {
  position: absolute;
  z-index: 5;
  left: 72.1%;
  top: 1.15%;
  width: 18.7%;
  height: 5.8%;
}
.concept-search input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  border-radius: 999px;
  padding: 0 18px 0 42px;
  background: transparent;
  color: #f8e7bd;
  font: inherit;
  font-size: .95rem;
}
.concept-search input::placeholder { color: transparent; }
.concept-search input:focus {
  background: rgba(0,0,0,.15);
  box-shadow: inset 0 0 0 2px rgba(245,222,160,.28);
}

/* zonas clicables sobre las cinco tarjetas */
.hs-card-news { left: 6.4%; top: 56.5%; width: 17.4%; height: 42%; }
.hs-card-gallery { left: 24.2%; top: 56.5%; width: 17.2%; height: 42%; }
.hs-card-gramola { left: 42.1%; top: 56.5%; width: 16.2%; height: 42%; }
.hs-card-video { left: 58.7%; top: 56.5%; width: 17.1%; height: 42%; }
.hs-card-agenda { left: 76.3%; top: 56.5%; width: 17.4%; height: 42%; }

.concept-mobile-home { display: none; }

.v4-latest-wrap {
  padding: 10px 0 28px;
  background:
    linear-gradient(180deg, rgba(5,20,15,.15), rgba(5,20,15,.5)),
    radial-gradient(circle at 50% 0%, rgba(222,165,73,.10), transparent 38%);
}
.v4-latest-wrap .latest-inner {
  border: 1px solid rgba(126,91,37,.18);
}
.v4-showcase {
  border-top: 1px solid rgba(240,213,149,.1);
}
.v4-mini-gallery {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
  margin-top: 16px;
}
.v4-mini-gallery a,
.v4-mini-gallery span {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(240,213,149,.2);
}
.v4-mini-gallery img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .25s ease;
}
.v4-mini-gallery a:hover img { transform: scale(1.04); }

/* En la portada el footer se acerca más al conceptual */
.home .site-footer {
  padding-top: 30px;
  background: linear-gradient(180deg, #053227 0%, #04241d 100%);
  border-top: 2px solid rgba(221,172,83,.55);
}
.home .footer-overlay { display: none; }

@media (max-width: 900px) {
  .concept-home { display: none; }
  .concept-mobile-home {
    display: block;
    padding: 22px 16px 26px;
    background:
      linear-gradient(180deg, rgba(3,16,12,.44), rgba(3,16,12,.8)),
      url('assets/images/tienda-1.png') center/cover no-repeat;
    border-bottom: 1px solid rgba(240,213,149,.18);
  }
  .mobile-brand-panel {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 18px 14px 22px;
  }
  .mobile-dragon { width: 145px; }
  .mobile-logo { width: min(90%, 420px); }
  .mobile-brand-panel p {
    margin: 0;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(238,220,184,.94);
    color: #302317;
    font-size: 1.25rem;
    font-style: italic;
  }
  .mobile-home-nav {
    display: grid;
    gap: 9px;
    max-width: 540px;
    margin: 0 auto;
  }
  .mobile-home-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    border: 1px solid rgba(240,213,149,.32);
    border-radius: 12px;
    background: rgba(5,48,39,.88);
    color: var(--gold-2);
    font-weight: 700;
    text-transform: uppercase;
  }
}

/* ===== V4.1 · Footer informativo ===== */
.footer-inner-v41 {
  grid-template-columns: 1.25fr .75fr .9fr .85fr .8fr;
  gap: 34px;
}
.footer-inner-v41 .footer-column { min-width: 0; }
.footer-inner-v41 .footer-title {
  margin-bottom: 13px;
  font-size: .9rem;
  letter-spacing: .09em;
}
.footer-inner-v41 .footer-links li { margin: 7px 0; }
.footer-inner-v41 .footer-links a {
  color: var(--muted);
  transition: color .2s ease, padding-left .2s ease;
}
.footer-inner-v41 .footer-links a:hover {
  color: var(--gold-2);
  padding-left: 3px;
}

@media (max-width: 1180px) {
  .footer-inner-v41 { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-inner-v41 .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .footer-inner-v41 { grid-template-columns: 1fr; gap: 26px; }
  .footer-inner-v41 .footer-brand { grid-column: auto; }
}

/* ===== V4.2 · Footer equilibrado + redes sociales funcionales ===== */
.footer-inner-v42 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: clamp(28px, 3.2vw, 52px);
  row-gap: 28px;
  align-items: start;
}
.footer-inner-v42 > * {
  min-width: 0;
}
.footer-inner-v42 .footer-brand,
.footer-inner-v42 .footer-column,
.footer-inner-v42 .footer-social-block {
  width: 100%;
}
.footer-inner-v42 .footer-title {
  margin-bottom: 13px;
  font-size: .9rem;
  letter-spacing: .09em;
}
.footer-inner-v42 .footer-links li { margin: 7px 0; }
.footer-inner-v42 .footer-links a {
  color: var(--muted);
  transition: color .2s ease, padding-left .2s ease;
}
.footer-inner-v42 .footer-links a:hover {
  color: var(--gold-2);
  padding-left: 3px;
}
.footer-inner-v42 .footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-inner-v42 .social-button {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(240,213,149,.38);
  border-radius: 50%;
  background: rgba(255,255,255,.035);
  color: var(--gold-2);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.footer-inner-v42 .social-button svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}
.footer-inner-v42 .social-button:hover,
.footer-inner-v42 .social-button:focus-visible {
  transform: translateY(-3px);
  background: rgba(240,213,149,.12);
  border-color: rgba(240,213,149,.75);
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  outline: none;
}

@media (max-width: 1180px) {
  .footer-inner-v42 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer-inner-v42 .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 760px) {
  .footer-inner-v42 {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-inner-v42 .footer-brand {
    grid-column: auto;
  }
}


/* ===== V4.3 · Consentimiento de cookies + bloqueo real de contenido externo ===== */
.footer-cookie-settings {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  text-align: left;
  transition: color .2s ease, padding-left .2s ease;
}
.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
  color: var(--gold-2);
  padding-left: 3px;
  outline: none;
}

/* Contenido externo bloqueado hasta consentimiento */
.mdp-external-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3,18,14,.62), rgba(3,18,14,.91)),
    var(--mdp-media-poster, linear-gradient(135deg, #163d32, #081b16));
  background-size: cover;
  background-position: center;
  border-radius: inherit;
}
.mdp-external-media.is-loaded {
  background: #020807;
}
.mdp-external-media iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.mdp-external-media-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 26px;
  text-align: left;
  color: #f4e7c5;
}
.mdp-external-media-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(240,213,149,.62);
  background: rgba(9,61,49,.88);
  color: var(--gold-2);
  font-size: 1.35rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.3);
}
.mdp-external-media-copy {
  max-width: 520px;
}
.mdp-external-media-copy h3 {
  margin: 0 0 6px;
  color: #f6e5ba;
  font-size: 1.3rem;
}
.mdp-external-media-copy p {
  margin: 0 0 14px;
  color: #ddd0ae;
}
.mdp-external-media-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
.mdp-media-consent-btn {
  appearance: none;
  border: 1px solid rgba(240,213,149,.62);
  border-radius: 999px;
  padding: 10px 17px;
  background: linear-gradient(180deg, #145f50, #0b4035);
  color: #fff0c8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.mdp-media-consent-btn:hover,
.mdp-media-consent-btn:focus-visible {
  border-color: #f2d99b;
  box-shadow: 0 8px 20px rgba(0,0,0,.26);
  outline: none;
}
.mdp-external-media-actions a {
  color: #ead39b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Banner */
.mdp-cookie-banner[hidden],
.mdp-cookie-modal[hidden] { display: none !important; }
.mdp-cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 99990;
  width: min(calc(100% - 28px), 1100px);
  transform: translate(-50%, 20px);
  opacity: 0;
  transition: opacity .22s ease, transform .22s ease;
}
.mdp-cookie-banner.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mdp-cookie-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 22px 24px;
  border: 1px solid rgba(238,203,126,.62);
  border-radius: 18px;
  background:
    radial-gradient(circle at 15% 0%, rgba(236,201,118,.09), transparent 30%),
    linear-gradient(180deg, rgba(10,52,42,.985), rgba(5,31,25,.99));
  box-shadow: 0 22px 60px rgba(0,0,0,.48);
  backdrop-filter: blur(10px);
}
.mdp-cookie-kicker {
  color: #e8c879;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .76rem;
  font-weight: 700;
}
.mdp-cookie-copy h2,
.mdp-cookie-modal-panel h2 {
  margin: 3px 0 7px;
  color: #f8e7bd;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 500;
}
.mdp-cookie-copy p {
  max-width: 720px;
  margin: 0 0 7px;
  color: #ded0ae;
  font-size: .98rem;
}
.mdp-cookie-policy-link {
  color: #efd594;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: .92rem;
}
.mdp-cookie-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(138px, 1fr));
  gap: 10px;
}
.mdp-cookie-button {
  appearance: none;
  min-height: 44px;
  border: 1px solid rgba(240,213,149,.58);
  border-radius: 999px;
  padding: 10px 16px;
  background: linear-gradient(180deg, rgba(20,89,74,.96), rgba(10,59,49,.96));
  color: #fff0c8;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}
.mdp-cookie-button:hover,
.mdp-cookie-button:focus-visible {
  transform: translateY(-1px);
  border-color: #f4d995;
  background: linear-gradient(180deg, rgba(28,107,90,.98), rgba(13,72,60,.98));
  outline: none;
}

/* Panel de configuración */
body.mdp-cookie-modal-open { overflow: hidden; }
.mdp-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  transition: opacity .18s ease;
}
.mdp-cookie-modal.is-visible { opacity: 1; }
.mdp-cookie-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1,9,7,.72);
  backdrop-filter: blur(5px);
}
.mdp-cookie-modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(240,213,149,.56);
  border-radius: 20px;
  background:
    radial-gradient(circle at 12% 0%, rgba(237,198,113,.08), transparent 27%),
    linear-gradient(180deg, #0b382e, #061f19);
  color: #ebddba;
  box-shadow: 0 28px 80px rgba(0,0,0,.58);
}
.mdp-cookie-modal-panel > p {
  margin: 0 0 22px;
  color: #d7c8a5;
}
.mdp-cookie-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(240,213,149,.35);
  background: rgba(255,255,255,.035);
  color: #f2d99b;
  font-size: 1.45rem;
  cursor: pointer;
}
.mdp-cookie-option {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(240,213,149,.14);
}
.mdp-cookie-option h3 {
  margin: 0 0 4px;
  color: #f6e4b8;
  font-size: 1.12rem;
}
.mdp-cookie-option p {
  margin: 0;
  color: #cdbf9e;
  font-size: .94rem;
}
.mdp-cookie-always-on {
  white-space: nowrap;
  color: #efd38e;
  font-size: .88rem;
  font-weight: 700;
}
.mdp-cookie-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
}
.mdp-cookie-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mdp-cookie-switch-track {
  width: 54px;
  height: 30px;
  display: block;
  padding: 3px;
  border: 1px solid rgba(240,213,149,.42);
  border-radius: 999px;
  background: #18332c;
  transition: background .18s ease, border-color .18s ease;
}
.mdp-cookie-switch-track span {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #e9d7ae;
  transition: transform .18s ease, background .18s ease;
}
.mdp-cookie-switch input:checked + .mdp-cookie-switch-track {
  background: #17634f;
  border-color: #efd18a;
}
.mdp-cookie-switch input:checked + .mdp-cookie-switch-track span {
  transform: translateX(24px);
  background: #fff0c5;
}
.mdp-cookie-switch input:focus-visible + .mdp-cookie-switch-track {
  outline: 2px solid #f1d78e;
  outline-offset: 3px;
}
.mdp-cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid rgba(240,213,149,.14);
}
.mdp-cookie-text-button {
  appearance: none;
  border: 0;
  background: transparent;
  color: #ead29a;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .mdp-cookie-banner-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .mdp-cookie-actions {
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 620px) {
  .mdp-cookie-banner {
    bottom: 8px;
    width: min(calc(100% - 16px), 1100px);
  }
  .mdp-cookie-banner-inner {
    padding: 18px;
    border-radius: 15px;
  }
  .mdp-cookie-actions {
    grid-template-columns: 1fr;
  }
  .mdp-cookie-button { width: 100%; }
  .mdp-cookie-option {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .mdp-cookie-modal-panel { padding: 24px 18px; }
  .mdp-external-media-card {
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    text-align: center;
  }
  .mdp-external-media-icon {
    width: 48px;
    height: 48px;
    font-size: 1rem;
  }
  .mdp-external-media-copy h3 { font-size: 1.08rem; }
  .mdp-external-media-copy p { font-size: .88rem; margin-bottom: 10px; }
  .mdp-external-media-actions { justify-content: center; }
}
