/* ==========================================================================
   ELCHE SE MUEVE · SISTEMA EDITORIAL PRO PARA LOS 7 ESPACIOS CULTURALES
   1. Cines Odeon (.odeon-*)       -> Azul Cine (#1d4ed8)
   2. Gran Teatro (.gt-*)          -> Carmesi Escenico (#be123c)
   3. La Llotja (.ll-*)            -> Ambar Dorado (#b45309)
   4. Sala Tramoia (.tr-*)         -> Cian Escenico (#0e7490)
   5. CCCE L'Escorxador (.esc-*)   -> Violeta Contemporaneo (#7c3aed)
   6. Hort dels Pontos (.hp-*)     -> Verde Palmeral (#047857)
   7. Barrios y Pedanias (.byp-*)  -> Terracota Festivo (#c2410c)
   ========================================================================== */

/* --- A. TIPOGRAFIA, TABLAS Y COMPONENTES UIKIT / BOOTSTRAP HEREDADOS --- */
.prose {
  font-size: 1.04rem;
  line-height: 1.74;
  color: #1e293b;
}

.prose h2 {
  margin: 2.1rem 0 0.85rem;
  padding-bottom: 0.42rem;
  border-bottom: 2px solid #e2e8f0;
  font-size: clamp(1.32rem, 2.2vw, 1.65rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: #09111f;
  line-height: 1.25;
}

.prose h3 {
  margin: 1.5rem 0 0.55rem;
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.prose blockquote {
  margin: 1.4rem 0;
  padding: 1rem 1.25rem;
  background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 100%);
  border-left: 4px solid #0d9488;
  border-radius: 0 12px 12px 0;
  color: #0f172a;
  font-style: normal;
}

.prose hr {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1 20%, #cbd5e1 80%, transparent);
  margin: 2rem 0;
}

.prose img.img-thumbnail,
.prose .img-thumbnail,
.prose .uk-thumbnail {
  display: inline-block;
  padding: 5px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  box-shadow: 0 8px 20px -8px rgba(9, 17, 31, 0.14);
  max-width: 100%;
  height: auto;
}

/* Listas descriptivas UIkit (usadas en conciertos y fichas de L'Escorxador) */
.prose dl.uk-description-list-line {
  background: #f8fafc;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1.25rem 0;
}
.prose dl.uk-description-list-line dt {
  font-weight: 850;
  color: #09111f;
  padding-top: 0.65rem;
  margin-top: 0.65rem;
  border-top: 1px solid #e2e8f0;
}
.prose dl.uk-description-list-line dt:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}
.prose dl.uk-description-list-line dd {
  margin: 0.2rem 0 0;
  color: #475569;
  font-size: 0.94rem;
}

/* Tablas ricas y UIkit */
.prose .esm-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.35rem 0;
  border-radius: 14px;
  border: 1px solid #dbe3ee;
  box-shadow: 0 6px 20px -8px rgba(9, 17, 31, 0.08);
  background: #ffffff;
}
.prose table,
.prose table.uk-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  background: #ffffff;
  color: #1e293b;
  margin: 0;
}
.prose table thead th,
.prose table tr:first-child th {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.75rem 0.9rem;
  text-align: left;
  border-bottom: 2px solid #0d9488;
}
.prose table td,
.prose table tbody th {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #e2e8f0;
  vertical-align: middle;
}
.prose table.uk-table-striped tbody tr:nth-child(even),
.prose table tbody tr:nth-child(even) {
  background: #f8fafc;
}
.prose table tbody tr:hover {
  background: #f0fdfa;
}

/* Rejillas Bootstrap heredadas: distingue ficha horizontal 4+8 (La Llotja 24-25) vs rejilla multi-tarjeta */
.prose .row {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 1.3rem 0 !important;
  align-items: stretch;
}
.prose .row::before,
.prose .row::after { display: none !important; }

.prose .col-md-12, .prose .col-sm-12, .prose .col-12 { grid-column: span 12; }
.prose .col-md-9 { grid-column: span 9; }
.prose .col-md-8 { grid-column: span 8; }
.prose .col-md-6, .prose .col-sm-6 { grid-column: span 6; }
.prose .col-md-4, .prose .col-sm-4 { grid-column: span 4; }
.prose .col-md-3, .prose .col-sm-3 { grid-column: span 3; }

/* Caso 1: Fila 4+8 o 3+9 (Cartel izq + Ficha der en La Llotja #1416 y #1693) -> Tarjeta horizontal unificada */
.prose .row:has(> .col-md-8),
.prose .row:has(> .col-md-9) {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-left: 4px solid var(--esm-v-accent, #0d9488);
  border-radius: 16px;
  padding: 1.1rem;
  box-shadow: 0 8px 22px -10px rgba(9, 17, 31, 0.1);
  align-items: start;
}
.prose .row:has(> .col-md-8) > [class*="col-md-"],
.prose .row:has(> .col-md-9) > [class*="col-md-"] {
  background: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

/* Caso 2: Rejilla de tarjetas iguales (col-md-6 + col-md-6 o 3x col-md-4 en Escorxador #1421 / Odeon #1584) */
.prose .row:not(:has(> .col-md-8)):not(:has(> .col-md-9)) > [class*="col-md-"] {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-top: 3px solid var(--esm-v-accent, #0d9488);
  border-radius: 14px;
  padding: 1rem 1.05rem;
  box-shadow: 0 6px 18px -8px rgba(9, 17, 31, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.prose .row > [class*="col-md-"] img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

@media (max-width: 820px) {
  .prose .row:not(:has(> .col-md-8)) > .col-md-4,
  .prose .row:not(:has(> .col-md-8)) > .col-md-6 { grid-column: span 6; }
}
@media (max-width: 620px) {
  .prose .col-md-9, .prose .col-md-8, .prose .col-md-6, .prose .col-md-4, .prose .col-md-3 {
    grid-column: span 12 !important;
  }
}

/* Botones e iconos FA -> SVG */
.prose a.btn, .prose button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.48rem 0.95rem;
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 800;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: transform 0.15s ease, filter 0.15s ease;
  margin-top: 0.35rem;
}
.prose a.btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.prose a.btn-sm { padding: 0.36rem 0.76rem; font-size: 0.78rem; border-radius: 8px; }
.prose a.btn-primary { background: linear-gradient(180deg, #2563eb, #1d4ed8) !important; color: #fff !important; }
.prose a.btn-info { background: linear-gradient(180deg, var(--esm-v-accent, #0d9488), var(--esm-v-dark, #0b6e66)) !important; color: #fff !important; }
.prose a.btn-warning { background: linear-gradient(180deg, #f59e0b, #d97706) !important; color: #fff !important; }

.esm-fa-svg {
  display: inline-flex;
  align-items: center;
  vertical-align: -0.15em;
  margin-right: 0.34rem;
  color: var(--esm-v-accent, #0d9488);
  flex-shrink: 0;
}
.esm-fa-svg svg { width: 1.02em; height: 1.02em; }

/* --- B. TEMATIZACION AUTOMATICA PARA AGENDAS CRONOLOGICAS (ESCORXADOR, PONTOS, TRAMOIA 24-25, BARRIOS) --- */
.prose[data-venue-theme="escorxador"] { --esm-v-accent: #7c3aed; --esm-v-dark: #4c1d95; --esm-v-soft: #f5f3ff; --esm-v-border: #ddd6fe; }
.prose[data-venue-theme="llotja"]     { --esm-v-accent: #b45309; --esm-v-dark: #78350f; --esm-v-soft: #fffbeb; --esm-v-border: #fde68a; }
.prose[data-venue-theme="tramoia"]    { --esm-v-accent: #0e7490; --esm-v-dark: #164e63; --esm-v-soft: #ecfeff; --esm-v-border: #a5f3fc; }
.prose[data-venue-theme="pontos"]     { --esm-v-accent: #047857; --esm-v-dark: #064e3b; --esm-v-soft: #ecfdf5; --esm-v-border: #a7f3d0; }
.prose[data-venue-theme="barrios"]    { --esm-v-accent: #c2410c; --esm-v-dark: #7c2d12; --esm-v-soft: #fff7ed; --esm-v-border: #fed7aa; }
.prose[data-venue-theme="granteatro"] { --esm-v-accent: #be123c; --esm-v-dark: #881337; --esm-v-soft: #fff1f2; --esm-v-border: #fecdd3; }
.prose[data-venue-theme="odeon"]      { --esm-v-accent: #1d4ed8; --esm-v-dark: #1e3a8a; --esm-v-soft: #eff6ff; --esm-v-border: #bfdbfe; }

/* Cabecera automatica para articulos de sala que solo tenian H2/H3/H5 planos (#1640 Escorxador, #1453/#1606 Pontos) */
.prose[data-venue-theme] > h2:not([class]) {
  background: linear-gradient(90deg, var(--esm-v-soft, #f8fafc) 0%, #ffffff 100%);
  border: 1px solid var(--esm-v-border, #e2e8f0);
  border-left: 5px solid var(--esm-v-accent, #0d9488);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  margin: 2rem 0 1rem;
  color: #09111f;
}

.prose[data-venue-theme] > h3:not([class]) {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0f172a;
  color: #ffffff !important;
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.34rem 0.82rem;
  border-radius: 999px;
  margin: 1.35rem 0 0.55rem;
}
.prose[data-venue-theme] > h3:not([class]) span { color: #ffffff !important; }

.prose .esm-agenda-meta-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 0.32rem;
  padding: 0.26rem 0.72rem !important;
  margin: 0.18rem 0.45rem 0.35rem 0 !important;
  border-radius: 8px;
  background: var(--esm-v-soft, #f1f5f9);
  border: 1px solid var(--esm-v-border, #cbd5e1);
  color: #0f172a !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
  line-height: 1.3 !important;
}

/* --- C. MOTOR UNIFICADO DE WRAPPERS DE PROGRAMACION PARA LOS 7 ESPACIOS --- */
.odeon-cartelera-wrapper {
  --v-grad: linear-gradient(135deg, #09152b 0%, #16336b 58%, #1d4ed8 100%);
  --v-bar: linear-gradient(90deg, #0f172a 0%, #1e3a8a 100%);
  --v-main: #1d4ed8; --v-soft: #eff6ff; --v-bdr: #bfdbfe; --v-sub: #bfdbfe; --v-shadow: rgba(29, 78, 216, 0.26);
}
.gt-programacion-wrapper {
  --v-grad: linear-gradient(135deg, #2a0815 0%, #6b102c 55%, #be123c 100%);
  --v-bar: linear-gradient(90deg, #1f0913 0%, #881337 100%);
  --v-main: #be123c; --v-soft: #fff1f2; --v-bdr: #fecdd3; --v-sub: #fecdd3; --v-shadow: rgba(190, 18, 60, 0.26);
}
.llotja-programacion-wrapper {
  --v-grad: linear-gradient(135deg, #291505 0%, #78350f 55%, #b45309 100%);
  --v-bar: linear-gradient(90deg, #271305 0%, #92400e 100%);
  --v-main: #b45309; --v-soft: #fffbeb; --v-bdr: #fde68a; --v-sub: #fde68a; --v-shadow: rgba(180, 83, 9, 0.26);
}
.tramoia-programacion-wrapper {
  --v-grad: linear-gradient(135deg, #08202b 0%, #155e75 55%, #0e7490 100%);
  --v-bar: linear-gradient(90deg, #082f49 0%, #0e7490 100%);
  --v-main: #0e7490; --v-soft: #ecfeff; --v-bdr: #a5f3fc; --v-sub: #cffafe; --v-shadow: rgba(14, 116, 144, 0.26);
}
.escorxador-programacion-wrapper {
  --v-grad: linear-gradient(135deg, #1b0b38 0%, #5b21b6 55%, #7c3aed 100%);
  --v-bar: linear-gradient(90deg, #1e1b4b 0%, #6d28d9 100%);
  --v-main: #7c3aed; --v-soft: #f5f3ff; --v-bdr: #ddd6fe; --v-sub: #ede9fe; --v-shadow: rgba(124, 58, 237, 0.26);
}
.pontos-programacion-wrapper {
  --v-grad: linear-gradient(135deg, #04241b 0%, #065f46 55%, #047857 100%);
  --v-bar: linear-gradient(90deg, #022c22 0%, #047857 100%);
  --v-main: #047857; --v-soft: #ecfdf5; --v-bdr: #a7f3d0; --v-sub: #d1fae5; --v-shadow: rgba(4, 120, 87, 0.26);
}
.barrios-programacion-wrapper {
  --v-grad: linear-gradient(135deg, #2e1105 0%, #9a3412 55%, #c2410c 100%);
  --v-bar: linear-gradient(90deg, #431407 0%, #c2410c 100%);
  --v-main: #c2410c; --v-soft: #fff7ed; --v-bdr: #fed7aa; --v-sub: #ffedd5; --v-shadow: rgba(194, 65, 12, 0.26);
}

:is(.odeon-cartelera-wrapper, .gt-programacion-wrapper, .llotja-programacion-wrapper, .tramoia-programacion-wrapper, .escorxador-programacion-wrapper, .pontos-programacion-wrapper, .barrios-programacion-wrapper) {
  margin: 0.75rem 0 2.2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 1. HERO DE SALA (Odeon, Gran Teatro, Llotja, Tramoia, Escorxador, Pontos, Barrios) */
:is(.odeon-hero, .gt-hero, .ll-hero, .tr-hero, .esc-hero, .hp-hero, .byp-hero) {
  background: var(--v-grad) !important;
  color: #ffffff !important;
  border-radius: 20px;
  padding: 1.55rem 1.7rem;
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  box-shadow: 0 16px 36px -10px var(--v-shadow);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

:is(.odeon-hero-brand, .gt-hero-brand, .ll-hero-brand, .tr-hero-brand, .esc-hero-brand, .hp-hero-brand, .byp-hero-brand) {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.odeon-logo-circle {
  width: 56px; height: 56px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.14); border: 1.5px solid rgba(255, 255, 255, 0.32);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.odeon-logo-circle::before { content: "🎬"; font-size: 1.6rem; line-height: 1; }

.gt-badge-30 {
  width: 64px; height: 64px; border-radius: 16px;
  background: rgba(254, 243, 199, 0.18); border: 1.5px solid rgba(252, 211, 77, 0.55);
  display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; line-height: 1.05;
}
.gt-badge-30 .num { font-size: 1.35rem; font-weight: 900; color: #fef08a !important; }
.gt-badge-30 .yr { font-size: 0.64rem; font-weight: 800; text-transform: uppercase; color: #fde68a !important; }

:is(.odeon-hero-titles, .gt-hero-titles, .ll-hero-titles, .tr-hero-titles, .esc-hero-titles, .hp-hero-titles, .byp-hero-titles) h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: clamp(1.42rem, 2.6vw, 1.92rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em;
}

:is(.odeon-trimester, .gt-subtitle, .ll-subtitle, .tr-subtitle, .esc-subtitle, .hp-subtitle, .byp-subtitle) {
  margin: 0.28rem 0 0 !important;
  font-size: 0.9rem !important;
  font-weight: 700;
  color: var(--v-sub) !important;
}

.tr-hero-tagline {
  display: inline-block;
  margin-top: 0.45rem;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.74rem;
  font-weight: 750;
  color: #ecfeff !important;
}

:is(.odeon-hero-meta, .gt-hero-meta, .ll-hero-meta, .tr-hero-meta, .esc-hero-meta, .hp-hero-meta, .byp-hero-meta) {
  background: rgba(9, 17, 31, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  padding: 0.8rem 1.05rem;
  font-size: 0.83rem;
  line-height: 1.5;
  backdrop-filter: blur(8px);
  max-width: 440px;
}
:is(.odeon-hero-meta, .gt-hero-meta, .ll-hero-meta, .tr-hero-meta, .esc-hero-meta, .hp-hero-meta, .byp-hero-meta) p {
  margin: 0.16rem 0 !important;
  color: #f8fafc !important;
}
:is(.odeon-hero-meta, .gt-hero-meta, .ll-hero-meta, .tr-hero-meta, .esc-hero-meta, .hp-hero-meta, .byp-hero-meta) strong {
  color: var(--v-sub) !important;
}
:is(.odeon-hero-meta, .gt-hero-meta, .ll-hero-meta, .tr-hero-meta, .esc-hero-meta, .hp-hero-meta, .byp-hero-meta) a {
  color: #ffffff !important;
  text-decoration: underline !important;
  font-weight: 750;
}

/* 2. BARRAS DE NAVEGACION POR MESES / CICLOS */
:is(.odeon-cycle-nav, .gt-month-nav, .ll-month-nav, .tr-nav, .esc-month-nav, .hp-month-nav, .byp-month-nav) {
  background: var(--v-soft);
  border: 1px solid var(--v-bdr);
  border-radius: 16px;
  padding: 0.9rem 1.1rem;
  margin-bottom: 1.75rem;
}

:is(.odeon-cycle-nav-title, .gt-month-nav-title, .ll-month-nav-title, .tr-nav-title, .esc-month-nav-title, .hp-month-nav-title, .byp-month-nav-title) {
  margin: 0 0 0.55rem !important;
  font-size: 0.75rem !important;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #334155 !important;
}

:is(.odeon-cycle-nav-list, .gt-month-nav-list, .ll-month-nav-list, .tr-nav-list, .esc-month-nav-list, .hp-month-nav-list, .byp-month-nav-list) {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.46rem;
}
:is(.odeon-cycle-nav-list, .gt-month-nav-list, .ll-month-nav-list, .tr-nav-list, .esc-month-nav-list, .hp-month-nav-list, .byp-month-nav-list) li {
  margin: 0 !important; padding: 0 !important;
}
:is(.odeon-cycle-nav-list, .gt-month-nav-list, .ll-month-nav-list, .tr-nav-list, .esc-month-nav-list, .hp-month-nav-list, .byp-month-nav-list) a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--v-bdr);
  color: #0f172a !important;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none !important;
  transition: all 0.16s ease;
}
:is(.odeon-cycle-nav-list, .gt-month-nav-list, .ll-month-nav-list, .tr-nav-list, .esc-month-nav-list, .hp-month-nav-list, .byp-month-nav-list) a:hover {
  background: var(--v-main);
  border-color: var(--v-main);
  color: #ffffff !important;
  transform: translateY(-1px);
}

:is(.odeon-cycle-count, .gt-month-count, .ll-month-count, .tr-count, .esc-month-count, .hp-month-count, .byp-month-count) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 21px;
  height: 19px;
  padding: 0 0.38rem;
  border-radius: 999px;
  background: var(--v-soft);
  color: var(--v-main);
  font-size: 0.7rem;
  font-weight: 850;
}
:is(.odeon-cycle-nav-list, .gt-month-nav-list, .ll-month-nav-list, .tr-nav-list, .esc-month-nav-list, .hp-month-nav-list, .byp-month-nav-list) a:hover span {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff !important;
}

/* 3. SECCIONES DE MES / CICLO */
:is(.odeon-cycle-section, .gt-month-section, .ll-month-section, .tr-section, .esc-month-section, .hp-month-section, .byp-month-section) {
  margin: 2.2rem 0;
  scroll-margin-top: 92px;
}

:is(.odeon-cycle-header, .gt-month-header, .ll-month-header, .tr-section-header, .esc-month-header, .hp-month-header, .byp-month-header) {
  background: linear-gradient(90deg, var(--v-soft) 0%, #ffffff 100%);
  border: 1px solid var(--v-bdr);
  border-left: 5px solid var(--v-main);
  border-radius: 14px;
  padding: 0.9rem 1.2rem;
  margin-bottom: 1.15rem;
}
:is(.odeon-cycle-header, .gt-month-header, .ll-month-header, .tr-section-header, .esc-month-header, .hp-month-header, .byp-month-header) :is(h2, h3) {
  margin: 0.1rem 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: #09111f !important;
}
:is(.odeon-cycle-tag, .gt-month-tag, .ll-month-tag, .tr-section-tag, .esc-month-tag, .hp-month-tag, .byp-month-tag) {
  display: inline-block;
  font-size: 0.69rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--v-main);
  color: #ffffff !important;
}

/* 4. TARJETAS DE PELICULA / ESPECTACULO / CONCIERTO / ACTIVIDAD */
:is(.odeon-movie-card, .gt-show-card, .ll-show-card, .tr-show-card, .esc-show-card, .hp-show-card, .byp-show-card) {
  background: #ffffff;
  border: 1px solid #dbe3ee;
  border-radius: 18px;
  overflow: hidden;
  margin: 0 0 1.25rem;
  box-shadow: 0 10px 28px -10px rgba(9, 17, 31, 0.1);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
:is(.odeon-movie-card, .gt-show-card, .ll-show-card, .tr-show-card, .esc-show-card, .hp-show-card, .byp-show-card):hover {
  border-color: var(--v-bdr);
  box-shadow: 0 16px 34px -10px var(--v-shadow);
}

/* Cabecera oscura/color de fechas y horarios dentro de cada tarjeta */
:is(.odeon-card-schedule, .gt-card-schedule, .ll-card-schedule, .tr-card-schedule, .esc-card-schedule, .hp-card-schedule, .byp-card-schedule) {
  background: var(--v-bar) !important;
  color: #ffffff !important;
  padding: 0.7rem 1.15rem;
}

:is(.odeon-schedule-main, .gt-schedule-top, .ll-schedule-top, .tr-schedule-top, .esc-schedule-top, .hp-schedule-top, .byp-schedule-top) {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
}

:is(.odeon-dates, .gt-dates, .ll-dates, .tr-month-label, .tr-dates, .esc-dates, .hp-dates, .byp-dates) {
  font-size: 0.88rem;
  font-weight: 850;
  color: #ffffff !important;
}

:is(.odeon-times, .gt-genre-badge, .ll-genre-badge, .tr-genre-badge, .esc-genre-badge, .hp-genre-badge, .byp-genre-badge) {
  font-size: 0.72rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #ffffff !important;
}

/* Cajas de sesiones multiples (Sala Tramoia .tr-sessions-box) y barras de metadatos / precios */
.tr-sessions-box {
  margin-top: 0.45rem;
  padding: 0.42rem 0.68rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.81rem;
  color: #f0f9ff !important;
}
.tr-sessions-box p, .tr-sessions-box div { margin: 0.12rem 0 !important; color: #f0f9ff !important; }

:is(.gt-meta-bar, .ll-meta-bar, .tr-meta-bar, .esc-meta-bar, .hp-meta-bar, .byp-meta-bar) {
  margin-top: 0.4rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.9rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.92) !important;
}

:is(.ll-price-pill, .tr-age-pill, .esc-price-pill, .hp-price-pill, .byp-price-pill) {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.56rem;
  border-radius: 999px;
  background: rgba(254, 240, 138, 0.22);
  border: 1px solid rgba(253, 224, 71, 0.48);
  color: #fef08a !important;
  font-size: 0.74rem;
  font-weight: 850;
}

/* Cuerpo 2 columnas: Cartel + Informacion */
:is(.odeon-card-body, .gt-card-body, .ll-card-body, .tr-card-body, .esc-card-body, .hp-card-body, .byp-card-body) {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.15rem;
  align-items: start;
}
:is(.gt-card-body, .ll-card-body, .tr-card-body, .esc-card-body, .hp-card-body, .byp-card-body):not(:has(img)) {
  grid-template-columns: 1fr;
}

:is(.odeon-poster-wrap, .gt-poster-wrap, .ll-poster-wrap, .tr-poster-wrap, .esc-poster-wrap, .hp-poster-wrap, .byp-poster-wrap) {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 8px 20px -6px rgba(9, 17, 31, 0.25);
}
.odeon-poster-wrap { aspect-ratio: 2 / 3; }

:is(.odeon-poster-wrap, .gt-poster-wrap, .ll-poster-wrap, .tr-poster-wrap, .esc-poster-wrap, .hp-poster-wrap, .byp-poster-wrap) img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  object-fit: cover;
}
.odeon-poster-wrap img { height: 100% !important; }

.odeon-age-badge {
  position: absolute; top: 8px; right: 8px;
  padding: 0.2rem 0.5rem; border-radius: 7px;
  background: rgba(9, 17, 31, 0.88); border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff !important; font-size: 0.7rem; font-weight: 850;
}

:is(.odeon-movie-info, .gt-show-info, .ll-show-info, .tr-show-info, .esc-show-info, .hp-show-info, .byp-show-info) {
  min-width: 0;
}

:is(.odeon-movie-title, .gt-show-title, .ll-show-title, .tr-show-title, .esc-show-title, .hp-show-title, .byp-show-title) {
  margin: 0 0 0.35rem !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 1.24rem !important;
  font-weight: 850 !important;
  color: #09111f !important;
  line-height: 1.25 !important;
}

:is(.ll-show-subtitle, .tr-company, .gt-company, .esc-show-subtitle, .hp-show-subtitle, .byp-show-subtitle) {
  margin: 0 0 0.55rem !important;
  font-size: 0.9rem !important;
  font-weight: 750;
  color: var(--v-main) !important;
}

:is(.odeon-tech-sheet, .gt-tech-sheet, .ll-tech-sheet, .tr-tech-sheet, .esc-tech-sheet, .hp-tech-sheet, .byp-tech-sheet) {
  background: var(--v-soft);
  border: 1px solid var(--v-bdr);
  border-radius: 11px;
  padding: 0.62rem 0.85rem;
  margin-bottom: 0.72rem;
  font-size: 0.83rem;
  line-height: 1.5;
  color: #334155;
}
:is(.odeon-tech-sheet, .gt-tech-sheet, .ll-tech-sheet, .tr-tech-sheet, .esc-tech-sheet, .hp-tech-sheet, .byp-tech-sheet) :is(p, div, li) {
  margin: 0.15rem 0 !important;
}

:is(.odeon-label, .gt-label, .ll-label, .tr-label, .esc-label, .hp-label, .byp-label) {
  font-weight: 800;
  color: var(--v-main) !important;
}

:is(.odeon-synopsis, .gt-synopsis, .ll-synopsis, .tr-synopsis, .esc-synopsis, .hp-synopsis, .byp-synopsis) {
  font-size: 0.93rem;
  line-height: 1.62;
  color: #1e293b;
}
:is(.odeon-synopsis, .gt-synopsis, .ll-synopsis, .tr-synopsis, .esc-synopsis, .hp-synopsis, .byp-synopsis) p {
  margin: 0 0 0.5rem !important;
}

:is(.odeon-card-footer, .gt-card-footer, .ll-card-footer, .tr-card-footer, .esc-card-footer, .hp-card-footer, .byp-card-footer) {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 0.58rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.79rem;
  font-weight: 700;
  color: #475569;
}
.odeon-footer-cycle { font-weight: 800; color: var(--v-main) !important; }

/* Cajas finales de taquilla e informacion practica */
:is(#odeon-info-entradas, .odeon-info-box, .ll-info-box, .tr-info-box, .gt-info-box, .esc-info-box, .esm-venue-info-callout) {
  background: linear-gradient(90deg, #f0fdfa 0%, #f8fafc 100%);
  border: 1px solid #99f6e4;
  border-left: 5px solid #0d9488;
  border-radius: 14px;
  padding: 1rem 1.2rem;
  margin: 1.4rem 0;
}

/* Responsive movil unificado para las 7 salas */
@media (max-width: 720px) {
  :is(.odeon-hero, .gt-hero, .ll-hero, .tr-hero, .esc-hero, .hp-hero, .byp-hero) {
    padding: 1.2rem;
    border-radius: 16px;
  }
  :is(.odeon-hero-meta, .gt-hero-meta, .ll-hero-meta, .tr-hero-meta, .esc-hero-meta, .hp-hero-meta, .byp-hero-meta) {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
  }
  :is(.odeon-card-body, .gt-card-body, .ll-card-body, .tr-card-body, .esc-card-body, .hp-card-body, .byp-card-body) {
    grid-template-columns: 1fr !important;
    gap: 0.95rem;
    padding: 0.95rem;
  }
  :is(.odeon-poster-wrap, .gt-poster-wrap, .ll-poster-wrap, .tr-poster-wrap, .esc-poster-wrap, .hp-poster-wrap, .byp-poster-wrap) {
    max-width: 220px;
    margin: 0 auto;
  }
  :is(.odeon-cycle-nav-list, .gt-month-nav-list, .ll-month-nav-list, .tr-nav-list, .esc-month-nav-list, .hp-month-nav-list, .byp-month-nav-list) {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  :is(.odeon-cycle-nav-list, .gt-month-nav-list, .ll-month-nav-list, .tr-nav-list, .esc-month-nav-list, .hp-month-nav-list, .byp-month-nav-list) a {
    white-space: nowrap;
  }
}

/* === ESM_CARD_FOOTER_STRETCH_FIX === */
html body .art-card-footer,
html body .blog-card-footer,
html body .card-footer,
html body .card-meta,
html body .card-meta-footer,
html body .esm-card-foot,
html body .esm-card-footer,
html body .esm-place-links,
html body .post-card-footer,
html body .rel-card-body {
  width: 100% !important;
  align-self: stretch !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.85rem !important;
  margin-top: auto !important;
}

html body .art-card-footer > :last-child,
html body .blog-card-footer > :last-child,
html body .card-footer > :last-child,
html body .card-meta > :last-child,
html body .card-meta-footer > :last-child,
html body .esm-card-foot > :last-child,
html body .esm-card-footer > :last-child,
html body .esm-place-links > :last-child,
html body .post-card-footer > :last-child,
html body .rel-card-body > :last-child {
  margin-left: auto !important;
  padding-left: 0.75rem !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.32rem !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   SELLO INTEGRAL 100% · LOS 7 ESPACIOS CULTURALES DE ELCHE (59 CLASES RESTANTES)
   Contraste AAA + Rejillas 2 columnas + Tablas Descuentos + Navegacion Pildoras
   ========================================================================== */

/* --- 0. BLINDAJE DE CONTRASTE BLANCO EN TODOS LOS HEROES CULTURALES --- */
html body main .prose .gt-hero,
html body main .prose .odeon-hero,
html body main .prose .esc-hero,
html body main .prose .ll-hero,
html body main .prose .tr-hero,
html body main .prose .hp-hero {
  color: #ffffff !important;
  border-radius: 22px !important;
  padding: 1.55rem 1.65rem !important;
  margin: 0 0 1.25rem !important;
  box-shadow: 0 18px 38px -14px rgba(9, 17, 31, 0.36) !important;
}

html body main .prose .esc-hero {
  background: linear-gradient(132deg, #090d16 0%, #1e1b4b 54%, #4f46e5 100%) !important;
  border: 1px solid rgba(199, 210, 254, 0.28) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.9fr);
  gap: 1.2rem;
  align-items: center;
}

html body main .prose .hp-hero {
  background: linear-gradient(132deg, #1c1917 0%, #422006 54%, #b45309 100%) !important;
  border: 1px solid rgba(253, 230, 138, 0.3) !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, 0.9fr);
  gap: 1.2rem;
  align-items: center;
}

html body main .prose .esc-hero h2,
html body main .prose .hp-hero h2,
html body main .prose .gt-hero h2,
html body main .prose .odeon-hero h2,
html body main .prose .ll-hero h2,
html body main .prose .tr-hero h2 {
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: clamp(1.35rem, 2.5vw, 1.78rem) !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35) !important;
}

html body main .prose .esc-period,
html body main .prose .hp-subtitle,
html body main .prose .tr-hero-tagline {
  margin: 0.38rem 0 0 !important;
  font-size: 0.92rem !important;
  font-weight: 750 !important;
  color: #e0e7ff !important;
}
html body main .prose .hp-subtitle {
  color: #fef3c7 !important;
}

.esc-disciplines {
  display: inline-block;
  margin-top: 0.55rem;
  padding: 0.26rem 0.72rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff !important;
  font-size: 0.76rem;
  font-weight: 800;
}

html body main .prose .esc-hero-meta,
html body main .prose .hp-hero-meta {
  background: rgba(9, 13, 22, 0.46) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 15px !important;
  padding: 0.85rem 1rem !important;
  display: flex;
  flex-direction: column;
  gap: 0.32rem;
}
html body main .prose .esc-hero-meta p,
html body main .prose .esc-hero-meta strong,
html body main .prose .hp-hero-meta p,
html body main .prose .hp-hero-meta strong,
html body main .prose .hp-hero-meta span {
  margin: 0 !important;
  font-size: 0.81rem !important;
  line-height: 1.38 !important;
  color: #f8fafc !important;
}
html body main .prose .esc-hero-meta a,
html body main .prose .hp-hero-meta a {
  color: #a5b4fc !important;
  font-weight: 850 !important;
  text-decoration: underline !important;
}

/* --- 1. REJILLAS MAESTRAS DE ESPECTACULOS Y PELICULAS (2 COLUMNAS) --- */
.escorxador-wrapper,
.pontos-programacion-wrapper {
  margin: 1.1rem 0 2.2rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html body main .prose .gt-shows-grid,
html body main .prose .odeon-movies-grid,
html body main .prose .ll-shows-grid,
html body main .prose .tr-shows-grid,
html body main .prose .esc-grid,
html body main .prose .hp-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(315px, 1fr)) !important;
  gap: 1.05rem !important;
  align-items: stretch !important;
  margin: 0.85rem 0 1.5rem !important;
}

/* --- 2. NAVEGACION POR PILDORAS (L'ESCORXADOR Y HORT DELS PONTOS) --- */
html body main .prose nav.esc-nav,
html body main .prose nav.hp-nav {
  background: #f8fafc !important;
  border: 1px solid #dbe3ee !important;
  border-radius: 18px !important;
  padding: 0.9rem 1.1rem !important;
  margin: 0 0 1.3rem !important;
}

html body main .prose p.esc-nav-title,
html body main .prose p.hp-nav-title {
  margin: 0 0 0.55rem !important;
  font-size: 0.78rem !important;
  font-weight: 850 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #334155 !important;
}

html body main .prose ul.esc-nav-list,
html body main .prose ul.hp-nav-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.42rem !important;
}

html body main .prose ul.esc-nav-list > li,
html body main .prose ul.hp-nav-list > li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body main .prose ul.esc-nav-list > li::before,
html body main .prose ul.hp-nav-list > li::before {
  content: none !important;
  display: none !important;
}

html body main .prose ul.esc-nav-list a,
html body main .prose ul.hp-nav-list a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.38rem;
  padding: 0.36rem 0.78rem !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  transition: all 0.14s ease;
}
html body main .prose ul.esc-nav-list a:hover {
  background: #4f46e5 !important;
  border-color: #4f46e5 !important;
  color: #ffffff !important;
}
html body main .prose ul.hp-nav-list a:hover {
  background: #b45309 !important;
  border-color: #b45309 !important;
  color: #ffffff !important;
}

.esc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: #eef2ff;
  color: #4338ca;
  font-size: 0.7rem;
  font-weight: 900;
}

/* --- 3. CCCE L'ESCORXADOR (.esc-*) --- */
.esc-section {
  margin: 1.5rem 0 1.9rem;
  scroll-margin-top: 92px;
}

html body main .prose .esc-section-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.8rem !important;
  flex-wrap: wrap !important;
  background: #f8fafc !important;
  border: 1px solid #dbe3ee !important;
  border-left: 5px solid #4f46e5 !important;
  border-radius: 15px !important;
  padding: 0.85rem 1.1rem !important;
  margin-bottom: 0.95rem !important;
}

html body main .prose .esc-section-header h2 {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 1.15rem !important;
  font-weight: 900 !important;
  color: #09111f !important;
}
html body main .prose .esc-section-header p {
  margin: 0.2rem 0 0 !important;
  font-size: 0.83rem !important;
  color: #475569 !important;
}

.esc-section-tag {
  padding: 0.24rem 0.7rem;
  border-radius: 999px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #3730a3 !important;
  font-size: 0.75rem;
  font-weight: 850;
  white-space: nowrap;
}

html body main .prose article.esc-card,
html body main .prose .esc-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 17px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 10px 24px -14px rgba(9, 17, 31, 0.12) !important;
  margin: 0 !important;
}

html body main .prose .esc-card-formacion {
  border-top: 3px solid #0d9488 !important;
}
html body main .prose .esc-card-exposiciones {
  border-top: 3px solid #d97706 !important;
}

.esc-card-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  color: #ffffff !important;
  padding: 0.8rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.esc-date {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #a5b4fc !important;
  text-transform: uppercase;
}

.esc-time {
  font-size: 0.8rem;
  font-weight: 800;
  color: #f8fafc !important;
}

.esc-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.1rem;
}

.esc-space-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff !important;
  font-size: 0.7rem;
  font-weight: 800;
}

.esc-card-body {
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  flex: 1;
}

html body main .prose .esc-title,
html body main .prose h3.esc-title {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 1.04rem !important;
  font-weight: 900 !important;
  color: #09111f !important;
  line-height: 1.28 !important;
}

.esc-company {
  font-size: 0.83rem !important;
  font-weight: 750 !important;
  color: #4338ca !important;
  margin: 0 !important;
}

.esc-details {
  font-size: 0.84rem !important;
  color: #334155 !important;
  line-height: 1.45 !important;
  margin: 0.15rem 0 0 !important;
}

/* --- 4. HORT DELS PONTOS (.hp-*) --- */
html body main .prose section.hp-card,
html body main .prose .hp-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 10px 24px -14px rgba(9, 17, 31, 0.12) !important;
  scroll-margin-top: 94px;
  margin: 0 !important;
}

.hp-card-header {
  background: linear-gradient(135deg, #292524 0%, #451a03 100%);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  flex-wrap: wrap;
  border-bottom: 3px solid #d97706;
}

.hp-date {
  font-size: 0.78rem;
  font-weight: 900;
  color: #fde68a !important;
  letter-spacing: 0.02em;
}

.hp-badge {
  padding: 0.16rem 0.56rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.2);
  border: 1px solid rgba(253, 230, 138, 0.45);
  color: #fef3c7 !important;
  font-size: 0.71rem;
  font-weight: 850;
}

.hp-card-body {
  padding: 0.85rem 1rem;
  flex: 1;
}

html body main .prose ul.hp-activity-list,
html body main .prose .hp-activity-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.58rem !important;
}

html body main .prose .hp-activity-item {
  list-style: none !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-left: 4px solid #d97706 !important;
  border-radius: 11px !important;
  padding: 0.65rem 0.8rem !important;
  margin: 0 !important;
}
html body main .prose .hp-activity-item::before {
  content: none !important;
  display: none !important;
}

.hp-activity-type {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.48rem;
  border-radius: 6px;
  background: #fef3c7;
  color: #92400e !important;
  margin-bottom: 0.25rem;
}

html body main .prose .hp-activity-title {
  margin: 0.1rem 0 0 !important;
  font-size: 0.92rem !important;
  font-weight: 850 !important;
  color: #09111f !important;
  line-height: 1.32 !important;
}

/* --- 5. DETALLES ESPECIFICOS DE GRAN TEATRO, ODEON, LA LLOTJA Y LA TRAMOIA --- */
.gt-show-subtitle {
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  color: #475569 !important;
  margin: 0.15rem 0 0.35rem !important;
}

.gt-price-pill,
.ll-age-pill,
.tr-age-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46 !important;
  font-size: 0.74rem;
  font-weight: 850;
  white-space: nowrap;
}

.ll-age-pill,
.tr-age-pill {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1e40af !important;
}

.gt-special-banner,
.odeon-extra-note {
  background: linear-gradient(90deg, #fffbeb 0%, #fef3c7 100%);
  border: 1px solid #fcd34d;
  border-left: 4px solid #d97706;
  border-radius: 13px;
  padding: 0.78rem 1rem;
  margin: 0.9rem 0;
  font-size: 0.85rem;
  font-weight: 700;
  color: #78350f !important;
}

/* Tabla de descuentos del Gran Teatro */
html body main .prose table.gt-discounts-table {
  width: 100% !important;
  border-collapse: collapse !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid #cbd5e1 !important;
  margin: 0.85rem 0 1rem !important;
  font-size: 0.84rem !important;
  background: #ffffff !important;
}

html body main .prose table.gt-discounts-table th {
  background: #0f172a !important;
  color: #ffffff !important;
  font-weight: 850 !important;
  padding: 0.58rem 0.8rem !important;
  text-align: left !important;
  border: 0 !important;
}

html body main .prose table.gt-discounts-table td {
  padding: 0.52rem 0.8rem !important;
  border-bottom: 1px solid #e2e8f0 !important;
  color: #1e293b !important;
}

html body main .prose td.gt-discount-pct {
  font-weight: 900 !important;
  color: #be123c !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
  background: #fff1f2 !important;
  text-align: center !important;
  width: 76px;
}

/* Sesiones y Laboratorios de Sala La Tramoia */
html body main .prose .tr-card-lab {
  border: 1.5px solid #99f6e4 !important;
  background: #f0fdfa !important;
}

.tr-header-lab {
  background: linear-gradient(135deg, #064e3b 0%, #0d9488 100%) !important;
  color: #ffffff !important;
  padding: 0.75rem 1rem;
}

.tr-session-family,
.tr-session-school {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  padding: 0.2rem 0.58rem;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 850;
  margin: 0.15rem 0.25rem 0.15rem 0;
}
.tr-session-family {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534 !important;
}
.tr-session-school {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e !important;
}

html body main .prose blockquote.tr-who-quote {
  margin: 1.25rem 0 0 !important;
  padding: 1rem 1.2rem !important;
  border-radius: 15px !important;
  background: #f8fafc !important;
  border: 1px solid #dbe3ee !important;
  border-left: 5px solid #0e7490 !important;
  font-style: italic;
  font-size: 0.87rem !important;
  line-height: 1.55 !important;
  color: #1e293b !important;
}
html body main .prose blockquote.tr-who-quote cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-weight: 850;
  font-size: 0.78rem;
  color: #0e7490 !important;
}

/* --- 6. CAJAS DE PIE E INFORMACION PRACTICA UNIFICADAS EN LOS 7 ESPACIOS --- */
html body main .prose .gt-info-footer,
html body main .prose .odeon-info-footer,
html body main .prose .ll-info-footer,
html body main .prose .tr-info-footer,
html body main .prose .esc-footer-info,
html body main .prose .hp-footer {
  margin-top: 1.75rem !important;
  padding-top: 1.25rem !important;
  border-top: 2px solid #e2e8f0 !important;
}

html body main .prose .gt-info-grid,
html body main .prose .odeon-info-grid,
html body main .prose .ll-info-grid,
html body main .prose .tr-info-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1rem !important;
  margin: 0.85rem 0 !important;
}

html body main .prose .gt-info-box,
html body main .prose .odeon-info-box,
html body main .prose .ll-info-box,
html body main .prose .tr-info-box,
html body main .prose .esc-footer-box,
html body main .prose .hp-footer-box,
html body main .prose .byp-footer-box {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px !important;
  padding: 1rem 1.15rem !important;
  font-size: 0.85rem !important;
  color: #334155 !important;
  box-shadow: 0 6px 18px -12px rgba(9, 17, 31, 0.08) !important;
}

html body main .prose .esc-footer-box h3,
html body main .prose .esc-footer-box h4,
html body main .prose .hp-footer-box h3,
html body main .prose .hp-footer-box h4,
html body main .prose .byp-footer-box h3,
html body main .prose .byp-footer-box h4 {
  margin: 0 0 0.5rem !important;
  font-size: 0.98rem !important;
  font-weight: 900 !important;
  color: #09111f !important;
}

/* Barra de filtro instantaneo universal en las salas culturales */
.esm-venue-quickbar {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 0.72rem 0.95rem;
  margin: 0 0 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 22px -14px rgba(9, 17, 31, 0.1);
}

.esm-venue-q-input {
  flex: 1;
  min-width: 220px;
  border: 1.5px solid #cbd5e1;
  background: #f8fafc;
  border-radius: 10px;
  padding: 0.46rem 0.82rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #09111f;
}
.esm-venue-q-input:focus {
  outline: none;
  border-color: #0d9488;
  background: #ffffff;
}

.esm-venue-q-count {
  font-size: 0.78rem;
  font-weight: 800;
  color: #475569;
  white-space: nowrap;
}

@media (max-width: 820px) {
  html body main .prose .esc-hero,
  html body main .prose .hp-hero {
    grid-template-columns: 1fr !important;
    padding: 1.25rem 1.2rem !important;
  }
  html body main .prose .gt-shows-grid,
  html body main .prose .odeon-movies-grid,
  html body main .prose .ll-shows-grid,
  html body main .prose .tr-shows-grid,
  html body main .prose .esc-grid,
  html body main .prose .hp-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   CORRECCION EDITORIAL ANCHO COMPLETO (1 COLUMNA) · CARTELERAS CON IMAGEN Y SINOPSIS
   Evita columnas estranguladas junto al sidebar y corrige contraste en sesiones
   ========================================================================== */

/* 1. Forzar 1 sola columna amplia (100% del ancho de lectura) en las salas con sinopsis/cartel */
html body main .prose .gt-shows-grid,
html body main .prose .odeon-movies-grid,
html body main .prose .ll-shows-grid,
html body main .prose .tr-shows-grid,
html body main .prose .esc-grid,
html body main .prose .hp-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 1.25rem !important;
  width: 100% !important;
  margin: 1rem 0 1.75rem !important;
}

html body main .prose .gt-shows-grid > *,
html body main .prose .odeon-movies-grid > *,
html body main .prose .ll-shows-grid > *,
html body main .prose .tr-shows-grid > *,
html body main .prose .esc-grid > *,
html body main .prose .hp-grid > * {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 2. Maquetacion interior horizontal amplia (Cartel izquierda + Texto ancho derecha) */
html body main .prose .tr-card-body,
html body main .prose .gt-card-body,
html body main .prose .odeon-card-body,
html body main .prose .ll-card-body {
  display: grid !important;
  grid-template-columns: 200px minmax(0, 1fr) !important;
  gap: 1.35rem !important;
  align-items: start !important;
  padding: 1.2rem 1.35rem !important;
}

/* Si una tarjeta concreta no lleva imagen/figure dentro de card-body, ocupar el 100% del ancho */
html body main .prose .tr-card-body:not(:has(img)),
html body main .prose .gt-card-body:not(:has(img)),
html body main .prose .odeon-card-body:not(:has(img)),
html body main .prose .ll-card-body:not(:has(img)) {
  grid-template-columns: minmax(0, 1fr) !important;
}

/* Si card-body tiene mas de 2 hijos directos (imagen + titulo + parrafos sueltos sin contenedor derecho),
   colocar la imagen en la columna 1 y agrupar todo el texto fluido en la columna 2 */
html body main .prose .tr-card-body > img,
html body main .prose .tr-card-body > figure,
html body main .prose .tr-card-body > picture,
html body main .prose .tr-card-body > div:first-child:has(img),
html body main .prose .gt-card-body > img,
html body main .prose .gt-card-body > figure,
html body main .prose .gt-card-body > picture,
html body main .prose .gt-card-body > div:first-child:has(img),
html body main .prose .odeon-card-body > img,
html body main .prose .odeon-card-body > figure,
html body main .prose .odeon-card-body > picture,
html body main .prose .odeon-card-body > div:first-child:has(img),
html body main .prose .ll-card-body > img,
html body main .prose .ll-card-body > figure,
html body main .prose .ll-card-body > picture,
html body main .prose .ll-card-body > div:first-child:has(img) {
  grid-column: 1 !important;
  grid-row: 1 / span 12 !important;
  width: 100% !important;
  margin: 0 !important;
}

html body main .prose .tr-card-body:has(img) > :not(:first-child),
html body main .prose .gt-card-body:has(img) > :not(:first-child),
html body main .prose .odeon-card-body:has(img) > :not(:first-child),
html body main .prose .ll-card-body:has(img) > :not(:first-child) {
  grid-column: 2 !important;
  min-width: 0 !important;
}

html body main .prose .tr-card-body img,
html body main .prose .gt-card-body img,
html body main .prose .odeon-card-body img,
html body main .prose .ll-card-body img,
html body main .prose .esc-card-body img {
  width: 100% !important;
  max-width: 210px !important;
  height: auto !important;
  border-radius: 14px !important;
  object-fit: cover !important;
  box-shadow: 0 8px 20px -8px rgba(9, 17, 31, 0.22) !important;
  margin: 0 !important;
  float: none !important;
}

/* Evitar que cualquier palabra o titulo largo desborde la tarjeta */
html body main .prose .tr-card-body h3,
html body main .prose .gt-card-body h3,
html body main .prose .odeon-card-body h3,
html body main .prose .ll-card-body h3,
html body main .prose .esc-card-body h3 {
  overflow-wrap: break-word !important;
  word-break: normal !important;
  font-size: 1.22rem !important;
  line-height: 1.28 !important;
  margin: 0 0 0.35rem !important;
  color: #09111f !important;
}

html body main .prose .tr-card-body p,
html body main .prose .gt-card-body p,
html body main .prose .odeon-card-body p,
html body main .prose .ll-card-body p,
html body main .prose .esc-card-body p {
  font-size: 0.95rem !important;
  line-height: 1.62 !important;
  color: #1e293b !important;
  margin: 0.35rem 0 0 !important;
}

/* 3. Corregir contraste de texto blanco invisible dentro de las cajas pastel de Sala Tramoia */
html body main .prose .tr-session-family,
html body main .prose .tr-session-school {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.45rem !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.48rem 0.8rem !important;
  border-radius: 10px !important;
  margin: 0.25rem 0 !important;
}

html body main .prose .tr-session-family,
html body main .prose .tr-session-family *,
html body main .prose .tr-session-family span,
html body main .prose .tr-session-family strong,
html body main .prose .tr-session-family time {
  color: #064e3b !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

html body main .prose .tr-session-school,
html body main .prose .tr-session-school *,
html body main .prose .tr-session-school span,
html body main .prose .tr-session-school strong,
html body main .prose .tr-session-school time {
  color: #78350f !important;
  text-shadow: none !important;
  font-weight: 800 !important;
}

/* En cabecera de tarjeta ancha, colocar las sesiones familiares y escolares en paralelo si hay espacio */
html body main .prose .tr-card-schedule {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  gap: 0.5rem !important;
  width: 100% !important;
  margin: 0.4rem 0 !important;
}

/* 4. Movil: apilar cartel arriba centrado/ancho y sinopsis debajo al 100% */
@media (max-width: 680px) {
  html body main .prose .tr-card-body,
  html body main .prose .gt-card-body,
  html body main .prose .odeon-card-body,
  html body main .prose .ll-card-body {
    grid-template-columns: 1fr !important;
    gap: 0.9rem !important;
    padding: 1rem !important;
  }

  html body main .prose .tr-card-body > img,
  html body main .prose .tr-card-body > figure,
  html body main .prose .tr-card-body > picture,
  html body main .prose .tr-card-body > div:first-child:has(img),
  html body main .prose .gt-card-body > img,
  html body main .prose .gt-card-body > figure,
  html body main .prose .gt-card-body > picture,
  html body main .prose .gt-card-body > div:first-child:has(img),
  html body main .prose .odeon-card-body > img,
  html body main .prose .odeon-card-body > figure,
  html body main .prose .odeon-card-body > picture,
  html body main .prose .odeon-card-body > div:first-child:has(img),
  html body main .prose .ll-card-body > img,
  html body main .prose .ll-card-body > figure,
  html body main .prose .ll-card-body > picture,
  html body main .prose .ll-card-body > div:first-child:has(img) {
    grid-column: 1 !important;
    grid-row: auto !important;
  }

  html body main .prose .tr-card-body:has(img) > :not(:first-child),
  html body main .prose .gt-card-body:has(img) > :not(:first-child),
  html body main .prose .odeon-card-body:has(img) > :not(:first-child),
  html body main .prose .ll-card-body:has(img) > :not(:first-child) {
    grid-column: 1 !important;
  }

  html body main .prose .tr-card-body img,
  html body main .prose .gt-card-body img,
  html body main .prose .odeon-card-body img,
  html body main .prose .ll-card-body img {
    max-width: 100% !important;
    max-height: 260px !important;
    width: auto !important;
    margin: 0 auto !important;
    display: block !important;
  }
}
