:root {
  --color-bg-page: #ffffff;
  --color-accent: #ffd84a;
  --color-text-main: #111111;
  --color-text-muted: #000000;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

/* Page transition: fade out to gradient, then fade in to new page */
html {
  position: relative;
  background: #f2c94c;
}

html::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(45deg, #f2c94c 0%, #ff9bb3 50%, #f2c94c 100%);
  background-size: 400% 400%;
  background-position: 0% 50%;
  opacity: 1;
  animation: pageTransitionGradient 0.56s ease-in-out forwards;
  pointer-events: none;
}

@keyframes pageTransitionGradient {
  0%, 44% {
    opacity: 1;
    background-position: 0% 50%;
  }
  56% {
    opacity: 1;
    background-position: 100% 50%;
  }
  100% {
    opacity: 0;
    background-position: 0% 50%;
  }
}

body {
  margin: 0;
  background-color: var(--color-bg-page);
  color: var(--color-text-main);
  font-family: 'Satoshi';
  font-size: 1rem;
  animation: pageContentFadeIn 0.56s ease-in-out forwards;
}

@keyframes pageContentFadeIn {
  0%, 56% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Exit transition: fade out current page to gradient on link click */
html::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: linear-gradient(45deg, #f2c94c 0%, #ff9bb3 50%, #f2c94c 100%);
  background-size: 400% 400%;
  background-position: 50% 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

html.page-exiting::after {
  opacity: 1;
}

html.page-exiting body {
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  html::before {
    animation: none;
    opacity: 0;
  }

  body {
    animation: none;
  }

  html::after {
    transition: none;
  }

  html.page-exiting body {
    transition: none;
  }
}

h1,
h2,
h3 {
  font-family: 'Satoshi';
  font-weight: 700;
  margin: 0;
}

h4,
h5,
h6 {
  font-family: 'Satoshi';
  font-weight: 700;
  margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  font-size: 1rem;
}

img {
  max-width: 100%;
  display: block;
}

.media-placeholder {
  min-height: 120px;
  background: #e9e9e9;
  display: block;
}

/* ancho visual similar al diseño */
.container {
  max-width: 1180px;
}

/* ===================== HEADER ===================== */
.header-site {
  border-bottom: 1px solid #e5e5e5;
  padding: 8px 0;
  font-size: 1rem;
  background-color: rgb(255 255 255 / 95%);
  backdrop-filter: blur(2.5px);
  -webkit-backdrop-filter: blur(2.5px);
  z-index: 1100;
}

.menu-open .header-site {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1200;
}

/* Evita que el header tape el lightbox */
.lg-on .header-site {
  opacity: 0;
  pointer-events: none;
}

.header-logo {
  font-size: 1rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.header-logo span {
  display: block;
}

.header-nav {
  font-size: 12px;
}

.header-site nav a {
  font-family: "Satoshi", sans-serif;
  font-size: 500;
  padding: 0 15px;
  white-space: nowrap;
}
.bars-icon {
  font-size: 1.5rem;
}

/* ===================== HEADER V2 (INDEX) ===================== */
.header-site--v2 {
  padding: 6px 0 8px;
}

.header-site--v2 .container {
  display: grid;
  gap: 6px;
}

.header-site--v2 .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-site--v2 .header-logo img {
  height: 34px;
  width: auto;
}

.header-site--v2 .header-actions {
  gap: 16px;
  font-size: 1rem;
  font-family: "Satoshi", sans-serif;
}

.header-site--v2 .header-actions a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  background-image: linear-gradient(#000, #000);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .2s ease;
}

.header-site--v2 .header-actions a:hover,
.header-site--v2 .header-actions a:focus-visible {
  text-decoration: none;
  background-size: 100% 2px;
}

.header-site--v2 .header-actions .header-cta {
  background-image: linear-gradient(90deg, #f2c94c 0%, #ff9bb3 100%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  transition: none;
}

.header-site--v2 .header-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-site--v2 .header-actions button.header-search {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #000;
  font-size: 1rem;
  font-weight: 500;
  font-family: inherit;
  background-image: linear-gradient(#000, #000);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .2s ease;
}

.header-site--v2 .header-actions button.header-search:hover,
.header-site--v2 .header-actions button.header-search:focus-visible {
  background-size: 100% 2px;
}

.header-site--v2 .header-cta {
  background: linear-gradient(90deg, #f2c94c 0%, #ff9bb3 100%);
  color: #000;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: 0 0;
  transition: none;
}

.header-site--v2 .header-actions .header-cta:hover,
.header-site--v2 .header-actions .header-cta:focus-visible {
  background-size: 100% 100%;
}

.header-site--v2 .header-bottom {
  padding-bottom: 6px;
}

.header-site--v2 .header-primary {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1rem;
  font-family: "Satoshi", sans-serif;
}

.header-site--v2 .header-primary a {
  color: #000;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  font-weight: 500;
  font-size: 1rem;
  background-image: linear-gradient(#FFAEA8, #FFAEA8);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .2s ease;
}

.header-site--v2 .header-primary a:hover,
.header-site--v2 .header-primary a:focus-visible,
.header-site--v2 .header-primary a.is-active {
  text-decoration: none;
  background-size: 100% 2px;
  background-color: transparent;
}

.header-site--v2 .header-primary a.is-active {
  font-weight: 500;
}

.header-site--v2 .nav-caret {
  font-size: 0.8em;
  line-height: 1;
}

.header-site--v2 .header-lang {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-family: "Satoshi", sans-serif;
}

.header-site--v2 .header-lang a {
  color: #C6C6C6;
  text-decoration: none;
  background-image: linear-gradient(#000, #000);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .2s ease;
}

.header-site--v2 .header-lang a.is-active {
  color: #000;
  font-weight: 500;
  background-size: 100% 2px;
}

.header-site--v2 .header-lang a:hover,
.header-site--v2 .header-lang a:focus-visible {
  background-size: 100% 2px;
}

.header-mega {
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  padding: 18px 0 24px;
  display: none;
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 1090;
}

.header-mega.is-open {
  display: block;
}

.header-mega__panel {
  display: none;
  margin-left: var(--mega-left, 0px);
  max-width: min(680px, 100%);
}

.header-mega__panel.is-active {
  display: block;
}

.header-mega__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.header-mega__list a {
  color: #000;
  text-decoration: none;
  font-size: 3rem;
  font-weight: 500;
  font-family: "Satoshi", sans-serif;
  line-height: 1.05;
}

.header-mega__list a:hover,
.header-mega__list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: #FFAEA8;
  text-decoration-thickness: 2px;
}

/* ===================== HERO ===================== */
:root {
  --hero-gap-d: 15px;
  --hero-gap-t: 15px;
  --hero-gap-m: 14px;
  --hero-peek-d: 80px;
  --hero-peek-t: 60px;
  --hero-peek-m: 40px;
  --hero-h-d: 480px;
  --hero-h-t: 380px;
  --hero-h-m: 300px;
  --hero-overlay-bg: 151, 16, 23;
}

.hero-title h1 {
  font-size: 3rem;
  font-weight: 300;
}

/* Igual que static: sin overflow. Solo 0 margin hztl para full width. */
.hero-flickity-wrapper {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  overflow: visible;
}

.section-hero {
  overflow: visible;
}

.hero-flickity {
  width: 100%;
  perspective: 1000px;
}

.flickity-viewport {
  overflow: hidden;
}

.flickity-slider {
  will-change: transform;
  backface-visibility: hidden;
}

.carousel-cell {
  position: relative;
  display: block;
  height: var(--hero-h-d);
  margin-right: var(--hero-gap-d);
  overflow: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  z-index: 1;
}

@media (max-width: 991.98px) {
  .carousel-cell {
    height: var(--hero-h-t);
    margin-right: var(--hero-gap-t);
  }
}

@media (max-width: 575.98px) {
  .carousel-cell {
    height: var(--hero-h-m);
    margin-right: var(--hero-gap-m);
  }
}

/* La animación fuerte va en la IMAGEN (no en la celda) */
.carousel-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.95) contrast(.96) brightness(.98);
  opacity: .92;
  transition:
    transform .5s cubic-bezier(.22, .61, .36, 1),
    filter .5s cubic-bezier(.22, .61, .36, 1),
    opacity .5s cubic-bezier(.22, .61, .36, 1),
    box-shadow .5s cubic-bezier(.22, .61, .36, 1);
  will-change: transform, filter, opacity, box-shadow;
}

.carousel-cell .hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 24px;
  background: linear-gradient(0deg, rgba(var(--hero-overlay-bg), 0.92) 0%, rgba(var(--hero-overlay-bg), 0.82) 55%, rgba(var(--hero-overlay-bg), 0) 100%);
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .35s ease, transform .35s ease;
  pointer-events: none;
}

.carousel-cell .hero-overlay-content {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 24px;
  row-gap: 6px;
  align-items: start;
  width: 100%;
}

.carousel-cell .hero-overlay-content h4 {
  grid-column: 1 / -1;
  font-family: "Satoshi", sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
}

.carousel-cell .hero-overlay-text {
  min-width: 0;
  grid-column: 1;
  grid-row: 2;
}

.carousel-cell .hero-overlay p {
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  margin: 0 0 10px;
}

.carousel-cell .hero-overlay-time {
  font-family: "Inconsolata", monospace;
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: inline-block;
}

.carousel-cell .hero-overlay-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  flex: 0 0 auto;
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}

.carousel-cell:hover .hero-overlay,
.carousel-cell:focus-visible .hero-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* DESTACADA */
.carousel-cell.is-highlight img {
  filter: saturate(1.08) contrast(1.08) brightness(1.02);
  opacity: 1;
}

/* Vecinas (prev/next) para dar más contraste visual */
.carousel-cell.is-near img {
  filter: saturate(.98) contrast(.98) brightness(.99);
  opacity: .95;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
}

/* El resto queda más “plano” */
.carousel-cell:not(.is-highlight):not(.is-near) img {
  transform: translateZ(0) scale(.98);
  filter: saturate(.92) contrast(.94) brightness(.98);
  opacity: .86;
}

/* Botones */
.flickity-prev-next-button {
  background: transparent;
  width: 44px;
  height: 44px;
}

.flickity-prev-next-button .flickity-button-icon {
  fill: #111;
  opacity: .45;
}

.flickity-prev-next-button:hover .flickity-button-icon {
  opacity: .9;
}

/* Dots cuadrados (como la maqueta) */
.flickity-page-dots {
  bottom: -24px;
}

.flickity-page-dots .dot {
  width: 25px !important;
  height: 7px !important;
  border-radius: 0px !important;
  background: transparent !important;
  border: 1px solid #62676b !important;
  opacity: .7 !important;
  margin: 0 4px !important;
}

.flickity-page-dots .dot.is-selected {
  background: #62676b !important;
  opacity: 1 !important;
}

/* ===================== HORARIO ===================== */
.horario-title h3 {
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  font-size: 2.25rem;
}

/* Texto central: dos líneas, jerarquía clara y legible */
.horario-info p {
  color: #111;
  font-weight: 400;
  line-height: 1.35;
  font-size: 1.2rem;
}

/* Botón “Ver mapa”: pastilla amarilla con leve sombra y borde sutil */
.btn-map {
  --map-bg: #fff;
  --map-bg-hover: #000;
  --map-border: #000;
  background: var(--map-bg);
  border: 1px solid var(--map-border);
  color: #000;
  font-weight: 500;
  padding: 0.2rem 1.5rem;
  font-size: 1.2rem;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.btn-map:hover {
  background-color: var(--map-bg-hover);
  color: #fff;
}

.btn-map:active {
  transform: translateY(0);
}

.btn-map:focus {
  outline: none;
  box-shadow: 0 0 0 .2rem rgba(255, 227, 122, .45);
}

/* Línea divisoria: gris muy sutil como en la captura */
.horario-divider {
  border: 0;
  height: 1px;
  background: #CFCFCF;
  opacity: 1;
}

/* Ajustes responsivos finos */
@media (max-width: 991.98px) {

  /* En tablet/móvil, que el botón no quede pegado al texto */
  #horario .btn-map {
    margin-top: .25rem;
  }
}

/* ===================== CARTELERA ===================== */
.cartelera-sidebar-title h3 {
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  font-size: 2.25rem;
}

.cartelera-sidebar-filter-title {
  font-weight: 700;
  color: #111;
}

.cartelera-month {
  font-weight: 500;
  line-height: 1.1;
  font-size: 2.25rem;
}

.cartelera-top-filters {
  display: inline-flex;
  gap: 10px;
}

.cartelera-top-filter {
  border: 0;
  background: transparent;
  color: #000;
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  background-image: linear-gradient(#000, #000);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  cursor: pointer;
  padding: 0;
  opacity: .6;
  transition: color .2s ease, background-size .2s ease, opacity .2s ease;
}

.cartelera-top-filter.active,
.cartelera-top-filter:hover {
  color: #000;
  opacity: 1;
  background-size: 100% 2px;
}

.cartelera-calendar-btn {
  border: 1px solid #111;
  background: #fff;
  color: #111;
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  padding: .35rem .95rem;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.cartelera-calendar-btn:hover {
  background: #111;
  color: #fff;
}

/* ===== Filtros ===== */
.cartelera-filtros {
  margin: 0;
  padding: 0;
}

.cartelera-filtros .filter-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 0;
  cursor: pointer;
  font-weight: 500;
  color: #111;
  user-select: none;
}

.cartelera-filtros .filter-item:hover {
  opacity: .85;
}

.cartelera-filtros .filter-item.active {
  font-weight: 700;
}

.dot {
  width: .8rem;
  height: .8rem;
  border-radius: 50%;
  display: inline-block;
}

.dot-all {
  background: #9aa0a6;
}

.dot-taller {
  background: #5CBF8E;
}

.dot-curso {
  background: #111;
}

.dot-lanzamiento {
  background: #E0692E;
}

.dot-charla {
  background: #6E3D2D;
}

.dot-otros {
  background: #2D5BFF;
}

/* ===== Flechas ===== */
.arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  border: 0;
  background: #fff;
  color: #111;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}

.arrow-btn:hover {
  transform: translateY(-1px);
}

/* ===== Tarjetas ===== */
.cartelera-card {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 3rem;
}

.cartelera-card:focus {
  outline: 2px solid rgba(0, 0, 0, .2);
  outline-offset: 2px;
}

.cartelera-card__media {
  overflow: hidden;
}

.cartelera-card__media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
  transition: transform .3s ease;
}

.cartelera-card:hover .cartelera-card__media img,
.cartelera-card:focus .cartelera-card__media img {
  transform: scale(1.05);
}

.cartelera-card:has(.card-dot:hover) .cartelera-card__media img,
.cartelera-card:has(.card-dot:focus-visible) .cartelera-card__media img {
  transform: none;
}

@media (min-width:576px) {
  .cartelera-card__media img {
    height: 240px;
  }
}

@media (min-width:1200px) {
  .cartelera-card__media img {
    height: 210px;
  }
}

/* Dots de categoría por tarjeta (arriba a la izquierda) */
.card-dots {
  display: flex;
  gap: .35rem;
  z-index: 2;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.card-live {
  font-family: "Inconsolata", monospace;
  font-weight: 400;
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #111;
}

.card-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.3rem;
  width: 1.3rem;
  border-radius: 999px;
  color: #fff;
  font-family: 'Inconsolata';
  font-size: .9rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  padding: 0;
  transition: width .2s ease, padding .2s ease;
}

.card-dot-text {
  opacity: 0;
  transform: translateX(6px);
  transition: opacity .15s ease, transform .2s ease;
}

.card-dot:hover,
.card-dot:focus-visible {
  width: auto;
  padding: 0 .65rem;
}

.card-dot:hover .card-dot-text,
.card-dot:focus-visible .card-dot-text {
  opacity: 1;
  transform: translateX(0);
}

.cartelera-card-title {
  font-weight: 500;
  color: #000;
  margin: .55rem 0 .25rem;
  font-size: 1.1rem;
}

.cartelera-card-title span {
  display: inline;
  padding-bottom: 2px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-image: linear-gradient(#000, #000);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size .2s ease;
}

.cartelera-card:hover .cartelera-card-title span,
.cartelera-card:focus .cartelera-card-title span {
  background-size: 100% 2px;
}

.cartelera-card:has(.card-dot:hover) .cartelera-card-title span,
.cartelera-card:has(.card-dot:focus-visible) .cartelera-card-title span {
  background-size: 0 2px;
}

.cartelera-card-date {
  font-family: 'Inconsolata';
  color: #000;
  font-size: 1.05rem;
  letter-spacing: .08em;
  margin-bottom: .1rem;
}

.cartelera-card-meta {
  font-family: 'Inconsolata';
  color: #000;
  font-size: 1.1rem;
}

.cartelera-load {
  border: 0;
  background: transparent;
  color: #111;
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}

.cartelera-load:disabled {
  opacity: .5;
  cursor: default;
}

/* ===================== NEWSLETTER (BOLETÍN) ===================== */
.section-newsletter {
  padding-top: 28px;
  padding-bottom: 32px;
}

.newsletter-title p {
  font-family: "Satoshi", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.newsletter-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-input {
  color: #fff;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 12px 16px;
  font-size: 0.95rem;
  flex: 1 1 180px;
  font-weight: 400;
  height: 52px;
  background-color: transparent;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.85);
  opacity: 1;
}

.newsletter-button {
  color: #fff;
  border-radius: var(--radius-pill);
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 0 26px;
  font-size: 0.95rem;
  white-space: nowrap;
  font-weight: 400;
  height: 52px;
}

.newsletter-button:hover {
  color: #000;
  background-color: #fff;
}

/* ===================== COLECCIÓN EN LÍNEA ===================== */
.cartelera-title h3 {
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  font-size: 2.25rem;
}

.colec-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  margin-bottom: 14px;
}

.colec-tabs {
  justify-self: start;
  display: inline-flex;
  gap: 18px;
  align-items: center;
}

.colec-tab {
  border: 0;
  background: transparent;
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #111;
  text-decoration: none;
  background-image: linear-gradient(#000, #000);
  background-size: 0 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  cursor: pointer;
  padding: 0;
  opacity: .6;
  transition: opacity .2s ease, background-size .2s ease;
}

.colec-tab.active,
.colec-tab:hover {
  opacity: 1;
  background-size: 100% 2px;
}

.colec-nav {
  display: inline-flex;
  gap: 12px;
}

.colec-flickity {
  width: 100%;
}

.flickity-viewport {
  overflow: hidden;
}

:root {
  --colec-gap: 24px;
}

.colec-cell {
  display: block;
  width: calc(50% - var(--colec-gap) / 2);
  margin-right: var(--colec-gap);
  text-decoration: none;
  color: inherit;
}

/* 1 visible en móvil */
@media (max-width: 575.98px) {
  .colec-cell {
    width: 100%;
    margin-right: 16px;
  }

  :root {
    --colec-gap: 16px;
  }
}

.colec-cell figure {
  overflow: hidden;
  border-radius: 0px;
}

.colec-cell img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

@media (max-width: 575.98px) {
  .colec-cell img {
    height: 240px;
  }
}

.colec-cell:hover img {
  transform: scale(1.03);
}

.colec-cap {
  font-weight: 600;
  font-size: clamp(14px, .35vw + 13px, 16px);
  line-height: 1.25;
  padding: .65rem .25rem 0;
}

/* Flechas externas (las tuyas) */
.colec-arrow {
  border: 0;
  background: transparent;
  color: #111;
  font-size: 20px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: transform .15s ease, opacity .15s ease;
}

.colec-arrow:hover {
  transform: translateY(-1px);
  opacity: .7;
}

.colec-cta {
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  padding: .35rem 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.colec-cta:hover {
  background: #111;
  color: #fff;
}

@media (max-width: 991.98px) {
  .colec-header {
    grid-template-columns: 1fr;
    justify-items: start;
    gap: 12px;
  }

  .colec-nav {
    justify-self: end;
  }
}

/* ===================== PUBLICACIONES ===================== */
.pub-title h3 {
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  font-size: 2.25rem;
}

.pub-row {
  border-bottom: 1px solid #CFCFCF;
  padding: 10px;
}

.pub-row-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  cursor: pointer;
}

.pub-row-toggle:focus-visible {
  outline: 2px solid rgba(0, 0, 0, .25);
  outline-offset: 4px;
}

.pub-label {
  font-weight: 400;
  color: #000;
  font-size: 1.2rem;
}

.pub-count {
  text-align: center;
  font-weight: 400;
  color: #000;
  font-size: 1.2rem;
}

.pub-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 30px;
  line-height: 1;
  padding: 0;
  transition: transform .12s ease, opacity .12s ease;
  font-family: 'Satoshi';
}

.pub-row-toggle:hover .pub-plus {
  transform: translateY(-1px);
  opacity: .8;
}

.pub-row-toggle[aria-expanded="true"] .pub-plus {
  transform: rotate(45deg);
}

.pub-collapse {
  padding: 6px 0 12px;
}

.pub-files {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: .95rem;
  color: #111;
}

.pub-link a {
  font-size: 1.1rem;
  text-align: right;
  margin-top: 6px;
  color: var(--color-text-muted);
}

@media (max-width: 575.98px) {
  .pub-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #111;
    border-radius: 999px;
    padding: .2rem .95rem;
    font-size: .9rem;
    color: #111;
  }

  .pub-row-toggle .row {
    align-items: center;
  }

  .pub-row {
    grid-template-columns: 1fr 90px 36px;
    padding: 16px 0;
  }

  .pub-title h3 {
    font-size: 1.5rem;
  }

  .pub-plus {
    width: 28px;
    height: 28px;
    font-size: 22px;
  }

  .pub-files {
    font-size: .9rem;
  }
}

/* ===================== ARCHIVO AUDIOVISUAL ===================== */
.av-title h3 {
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.1;
  font-size: 2.25rem;
}

.av-feature-media {
  position: relative;
  overflow: hidden;
}

.av-player {
  width: 100%;
  height: clamp(200px, 35vw, 200px);
  display: block;
  background: #000;
  border: 0;
}

.av-item.is-active {
  background: rgba(0, 0, 0, 0.03);
}

.av-item.is-active .av-title-sm {
  font-weight: 400;
}

.av-feature-media img {
  width: 100%;
  height: clamp(200px, 35vw, 200px);
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.av-feature-media .av-hover {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: clamp(28px, 2.2vw + 12px, 48px);
  opacity: 0;
  transition: opacity .25s ease, backdrop-filter .25s ease;
  backdrop-filter: blur(0px);
}

.av-feature:hover img {
  transform: scale(1.02);
}

.av-feature:hover .av-hover {
  opacity: 1;
  backdrop-filter: blur(2px);
}

.av-item {
  display: grid;
  align-items: center;
  grid-template-columns: 142px 1fr 100px 36px;
  gap: 25px;
  padding: 18px 0;
  border-bottom: 1px solid #cfcfcf;
  text-decoration: none;
  color: inherit;
  transition: background-color .15s ease;
}

.av-item:hover {
  background-color: #fafafa;
}

.av-thumb {
  width: 132px;
  height: 90px;
  object-fit: cover;
}

.av-title-sm {
  font-weight: 400;
  color: #000;
  font-size: 1.2rem;
  line-height: 1.25;
}

.av-time {
  text-align: center;
  font-weight: 400;
  color: #111;
  font-size: 1.2rem;
}

.av-plus {
  border: 0;
  background: transparent;
  color: #000;
  font-size: 30px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  transition: transform .12s ease, opacity .12s ease;
  font-family: 'Satoshi';
}

.av-item:hover .av-plus {
  transform: translateY(-1px);
  opacity: .85;
}

.av-link a {
  font-size: 1.1rem;
  text-align: right;
  margin-top: 6px;
  color: var(--color-text-muted);
}

@media (max-width: 991.98px) {
  .av-item {
    grid-template-columns: 120px 1fr 80px 32px;
  }

  .av-thumb {
    width: 120px;
    height: 68px;
  }
}

@media (max-width: 575.98px) {
  .av-item {
    grid-template-columns: 110px 1fr 30px;
    padding: 14px 0;
  }

  .av-thumb {
    width: 110px;
    height: 64px;
  }
}

/* ===================== EXPOSICIÓN ACTUAL ===================== */
.expo-title h3 {
  font-family: "Satoshi", sans-serif;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.05;
  font-size: 2.25rem;
}

.expo-period {
  font-family: "Inconsolata", monospace;
  font-weight: 400;
  line-height: 1.2;
  font-size: 1.125rem;
  text-transform: uppercase;
  letter-spacing: .2em;
}

/* Imagen grande con proporción alta (similar a la maqueta) */
.expo-figure {
  border-radius: 0px;
  overflow: hidden;
  height: clamp(280px, 42vw, 450px);
  margin: 0;
}

.expo-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Aside derecho */
.expo-aside-eyebrow {
  font-weight: 400;
  color: #000;
  font-size: 1.2rem;
  margin-bottom: .2rem;
}

.expo-aside-title p {
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  color: #000;
  line-height: 1.15;
  font-size: 1.5rem;
  margin: 0 0 12px;
}

.expo-aside-body p {
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.5;
  color: #000;
  margin-bottom: 12px;
}

.expo-aside-body p:last-child {
  margin-bottom: 0;
}

.expo-link-wrap {
  margin-top: auto;
}

.expo-link a {
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  color: #000;
  font-size: 1rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.expo-link a:hover {
  opacity: .8;
}

/* Ajustes responsivos finos */
@media (max-width: 991.98px) {
  .expo-figure {
    height: clamp(220px, 52vw, 440px);
  }
}

@media (max-width: 575.98px) {
  .expo-period {
    margin-top: -.25rem;
  }

  .expo-figure {
    height: clamp(200px, 58vw, 380px);
  }
}

/* ===================== AMIGOS DEL MUSEO ===================== */
.amigos {
  background-color: #FFD900;
}

.amigos-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.amigos-title p {
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 2.25rem;
  line-height: 1.1;
  margin: 0;
  color: #111;
}

.amigos-cta {
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  color: #111;
  border: 1px solid #111;
  border-radius: 999px;
  padding: .45rem 1.2rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.amigos-cta:hover {
  background: #111;
  color: #fff;
}

@media (max-width: 767.98px) {
  .amigos-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ===================== BANDA GRADIENTE ===================== */

.band-video {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  color: #fff;
  background: #0a1b5f;
}

.band-video .content {
  position: relative;
  z-index: 2;
}

/* ambas instancias apiladas */
.band-video .vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity .45s ease;
  /* duración del crossfade */
  filter: saturate(1.05) contrast(1.02);
  pointer-events: none;
}

.band-video .vid.active {
  opacity: 1;
}

/* degradado de color por encima del video (opcional) */
.band-video.fx-crossfade::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 70, 255, .25), rgba(255, 91, 43, .25));
}

/* accesibilidad */
@media (prefers-reduced-motion: reduce) {
  .band-video .vid {
    transition: none;
  }
}

/* ===================== OVERLAY PANTALLA COMPLETA ===================== */
.fs-menu {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-areas: "stack";
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.fs-menu[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.fs-menu[hidden] {
  display: block;
  opacity: 0;
  pointer-events: none;
}

.fs-menu__backdrop {
  grid-area: stack;
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
}

.fs-menu__panel{
  display: grid;
  align-content: end;
  justify-items: flex-start;
  gap: clamp(12px, 2vh, 18px);
  min-height: 100dvh;
  padding: clamp(28px,5vw,48px) clamp(24px,6vw,64px) clamp(40px,8vh,80px);
  z-index: 1;
}

.fs-menu__search-wrap {
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e5e5;
}

.fs-menu__search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: none;
  border: none;
  padding: 0;
  font-size: 1.1rem;
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  color: #000;
  cursor: pointer;
}

.fs-menu__search-btn:hover,
.fs-menu__search-btn:focus-visible {
  opacity: 0.75;
  outline: none;
}

.fs-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(8px, 1.6vh, 12px);
}

.fs-menu__item {
  border-bottom: 0;
  padding-bottom: 0;
}

.fs-menu[data-open="true"] .fs-menu__item {
  animation: fsItemIn .45s ease forwards;
}

.fs-menu[data-open="true"] .fs-menu__item:nth-child(1) { animation-delay: .05s; }
.fs-menu[data-open="true"] .fs-menu__item:nth-child(2) { animation-delay: .1s; }
.fs-menu[data-open="true"] .fs-menu__item:nth-child(3) { animation-delay: .15s; }
.fs-menu[data-open="true"] .fs-menu__item:nth-child(4) { animation-delay: .2s; }

.fs-menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.fs-link {
  display: block;
  font-weight: 500;
  line-height: 1.05;
  font-size: clamp(28px, 5.6vw, 64px);
  color: #000;
  text-decoration: none;
  margin: 0;
  transition: opacity .2s ease, transform .2s ease;
}

.fs-link:hover, .fs-link:focus-visible {
  opacity: .75;
  outline: none;
}

.fs-menu__toggle {
  display: grid;
  place-items: center;
  width: clamp(28px, 4vw, 40px);
  height: clamp(28px, 4vw, 40px);
  border-radius: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.fs-menu__toggle:hover,
.fs-menu__toggle:focus-visible {
  opacity: 0.7;
  outline: none;
}

.fs-menu__toggle-icon {
  position: relative;
  width: 20px;
  height: 20px;
}

.fs-menu__toggle-icon::before,
.fs-menu__toggle-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #000;
  transform: translateY(-50%);
  transition: transform .2s ease, opacity .2s ease;
}

.fs-menu__toggle-icon::after {
  transform: translateY(-50%) rotate(90deg);
}

.fs-menu__item.is-open .fs-menu__toggle-icon::after {
  opacity: 0;
  transform: translateY(-50%) rotate(90deg) scaleY(0);
}

.fs-sublist {
  list-style: none;
  margin: 6px 0 0;
  padding: 0 0 0 clamp(10px, 2vw, 18px);
  display: grid;
  gap: 6px;
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height .25s ease, opacity .25s ease;
}

.fs-sublink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: clamp(14px, 2vw, 18px);
  letter-spacing: 0.01em;
  color: rgba(0, 0, 0, 0.75);
  text-decoration: none;
  padding-left: 18px;
  position: relative;
}

.fs-sublink::before {
  content: "";
  width: 12px;
  height: 1px;
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.fs-sublink:hover,
.fs-sublink:focus-visible {
  color: rgba(0, 0, 0, 0.95);
  outline: none;
}

.fs-menu__close {
  position: absolute;
  top: clamp(16px, 3vw, 28px);
  right: clamp(16px, 3vw, 28px);
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  padding: 8px 12px;
  font-size: 16px;
  line-height: 1;
  margin-top: 55px;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .fs-menu {
    transition: none;
  }

  .fs-link {
    transition: none;
  }

  .fs-sublist {
    transition: none;
  }

  .fs-menu[data-open="true"] .fs-menu__item {
    animation: none;
  }
}

@keyframes fsItemIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-toggle .menu-icon {
  transition: transform .2s ease, opacity .2s ease;
}

[data-open="true"]~.menu-toggle .menu-icon,
/* si el botón no es hermano, omite esta línea */
.menu-open .menu-icon {
  transform: rotate(90deg);
}

/* si usas una clase global */

/* ===================== RESPONSIVE ===================== */
@media (max-width: 767.98px) {
  .header-nav {
    display: none;
  }

  .hero-title h1 {
    font-size: 2.5rem;
  }

  .hero-gallery img {
    height: 220px;
  }

  .cartelera-card {
    min-width: 180px;
  }

  .coleccion-gallery img {
    height: 240px;
  }

  .expo-main-img {
    height: 260px;
  }
}

@media (min-width: 992px) {
  .fs-menu__panel {
    padding-left: clamp(48px, 8vw, 120px);
  }
}

.site-footer {
  background: #91402C;
  color: #f6efe9;
  padding-bottom: 20px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.footer-top {
  padding-top: 18px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-family: "Satoshi", sans-serif;
  font-weight: 500;
  font-size: 1.2rem;
  margin: 0 0 10px;
}

.footer-col a {
  display: block;
  font-family: "Satoshi", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  margin-bottom: 10px;
  opacity: .92;
}

.footer-col a:hover {
  opacity: .7;
}

.footer-social {
  display: flex;
  gap: 14px;
  padding: 18px 0 18px;
}

.footer-social a {
  font-size: 1.4rem;
  opacity: 1;
}

.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.footer-links a {
  font-family: "Satoshi";
  font-weight: 400;
  font-size: .8rem;
  opacity: .9;
}

.footer-logo {
  text-align: right;
  line-height: 1.2;
}

.footer-logo__img {
  display: inline-block;
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
}

@media (max-width: 767.98px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .footer-logo {
    text-align: left;
  }
}

@media (max-width: 575.98px) {
  .footer-top {
    padding-top: 22px;
    padding-bottom: 18px;
  }

  .footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
  }

  .footer-col a {
    font-size: .95rem;
    margin-bottom: 6px;
  }

  .footer-social {
    justify-content: flex-end;
    gap: 12px;
    padding: 0;
  }

  .footer-bottom {
    padding-top: 16px;
  }

  .footer-links a {
    font-size: .75rem;
  }
}

@media (max-width: 575.98px) {
  .header-site .container {
    padding-top: .35rem !important;
    padding-bottom: .35rem !important;
  }

  .section-hero {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .hero-title {
    margin-bottom: .75rem !important;
  }

  .hero-title h1 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  :root {
    --hero-h-m: 340px;
  }

  .carousel-cell.is-highlight .hero-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: none;
  }

  .carousel-cell .hero-overlay {
    padding: 16px;
    background: linear-gradient(0deg, rgba(var(--hero-overlay-bg), 0.95) 0%, rgba(var(--hero-overlay-bg), 0.8) 38%, rgba(var(--hero-overlay-bg), 0) 100%);
  }

  .carousel-cell .hero-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-cell .hero-overlay-content h4 {
    display: none;
  }

  .carousel-cell .hero-overlay p {
    font-size: 1rem;
    line-height: 1.25;
    margin: 0;
  }

  .carousel-cell .hero-overlay-text .mb-5 {
    margin-bottom: 0 !important;
  }

  .carousel-cell .hero-overlay-time {
    display: none;
  }

  .carousel-cell .hero-overlay-cta {
    display: inline-flex;
    font-size: .8rem;
    padding: 4px 10px;
    margin-top: 12px;
    align-self: flex-end;
  }

  .hero-flickity {
    padding-bottom: 22px;
  }

  .hero-flickity .flickity-page-dots {
    bottom: 0;
  }

  .hero-flickity .flickity-page-dots .dot {
    width: 18px;
    height: 4px;
    border-radius: 0;
    background: #c9c9c9;
    margin: 0 4px;
    opacity: 1;
  }

  .hero-flickity .flickity-page-dots .dot.is-selected {
    background: #111;
  }

  #horario {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  #horario .row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title btn"
      "info info";
    align-items: center;
    row-gap: 8px;
  }

  #horario .row > :nth-child(1) {
    grid-area: title;
  }

  #horario .row > :nth-child(2) {
    grid-area: info;
  }

  #horario .row > :nth-child(3) {
    grid-area: btn;
    justify-self: end;
  }

  .horario-title h3 {
    font-size: 1.45rem;
  }

  .horario-info p {
    font-size: .95rem;
  }

  .btn-map {
    font-size: .9rem;
    padding: .2rem .95rem;
  }

  .horario-divider {
    margin-top: 12px !important;
  }

  .section-expo {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .section-expo .expo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .expo-title h3 {
    font-size: 1.6rem;
    line-height: 1.2;
  }

  .expo-period {
    font-size: 1.125rem;
    letter-spacing: .12em;
    margin-top: 0;
  }

  .expo-period-mobile {
    margin-bottom: 12px;
  }

  .expo-figure {
    height: 240px;
    margin-left: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
    margin-right: calc(-1 * var(--bs-gutter-x, 1.5rem) / 2);
  }

  .expo-figure img {
    object-fit: cover;
  }

  .expo-aside-title p {
    font-size: 1.75rem;
    margin: 0 0 6px;
  }

  .expo-aside-body p {
    font-size: .9rem;
  }

  .expo-link a {
    font-size: .9rem;
  }

  .expo-link-wrap {
    margin-top: 10px;
  }

  .section-cartelera {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .cartelera-sidebar-title h3 {
    font-size: 1.45rem;
  }

  .cartelera-filtros {
    display: none;
  }

  .cartelera-main-header {
    flex-wrap: wrap;
    gap: 10px;
  }

  .cartelera-top-filters {
    gap: 12px;
  }

  .cartelera-top-filter {
    font-size: .9rem;
  }

  .cartelera-calendar-btn {
    font-size: .85rem;
    padding: .25rem .7rem;
  }

  .cartelera-card {
    position: relative;
  }

  .cartelera-card__media img {
    height: 190px;
  }

  .cartelera-card-title {
    font-size: 1rem;
  }

  .cartelera-card-date,
  .cartelera-card-meta {
    font-size: .85rem;
  }

  .cartelera-card {
    margin-bottom: 3rem;
  }

  .cartelera-card-live {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #55C28D;
    color: #fff;
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 999px;
  }

  .card-dot {
    width: auto;
    padding: 0 .65rem;
  }

  .card-dot-text {
    opacity: 1;
    transform: translateX(0);
  }

  .section-newsletter {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .newsletter-title p {
    font-size: 1.6rem;
    line-height: 1.2;
    max-width: 18ch;
  }

  .newsletter-form-row {
    flex-direction: column;
    gap: 10px;
  }

  .newsletter-input {
    height: 40px;
    font-size: .9rem;
    padding: 8px 12px;
    flex: 0 0 auto;
    width: 100%;
  }

  .newsletter-button {
    width: auto;
    height: 32px;
    font-size: .85rem;
    padding: 0 14px;
    align-self: flex-start;
  }

  .section-coleccion {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .cartelera-title h3 {
    font-size: 1.45rem;
  }

  .colec-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .colec-tabs {
    display: none;
  }

  .colec-arrow {
    font-size: 18px;
  }

  .colec-cta {
    font-size: .9rem;
    padding: .3rem .85rem;
  }

  #publicaciones {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .pub-title h3 {
    font-size: 1.45rem;
  }

  .pub-row {
    padding: 12px 0;
  }

  .pub-label,
  .pub-count {
    font-size: .95rem;
  }

  .pub-plus {
    font-size: 2rem;
  }

  .pub-link a {
    font-size: .9rem;
  }

  .section-audiovisual {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
  }

  .av-title h3 {
    font-size: 1.45rem;
  }

  .av-list {
    margin-top: 6px;
  }

  .av-item {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 16px 0;
  }

  .av-thumb {
    display: none;
  }

  .av-title-sm {
    font-size: 1rem;
    line-height: 1.35;
  }

  .av-time {
    display: none;
  }

  .av-plus {
    font-size: 2rem;
    justify-self: end;
    line-height: 1;
  }

  .av-link a {
    font-size: .9rem;
  }

  .av-link {
    margin-top: 12px;
  }

  .av-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #111;
    border-radius: 999px;
    padding: .2rem .95rem;
    font-size: .9rem;
    color: #111;
  }
}

/* ===================== SEARCH MODAL (full-page, like GAM) ===================== */
.search-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
}

.search-modal[hidden] {
  display: none !important;
}

.search-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.search-modal__panel {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: #fff;
  z-index: 1;
}

.search-modal__header {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}

.search-modal__row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-modal__input {
  flex: 1;
  font-size: 1.5rem;
  font-family: "Satoshi", sans-serif;
  border: none;
  outline: none;
  padding: 0.5rem 0;
}

.search-modal__input::placeholder {
  color: #999;
}

.search-modal__close {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: #333;
  flex-shrink: 0;
}

.search-modal__close:hover,
.search-modal__close:focus-visible {
  color: #000;
}

.search-modal__body {
  padding: 2rem 0;
}

.search-modal__results {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-modal__results a {
  display: block;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
  color: #111;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: "Satoshi", sans-serif;
}

.search-modal__results a:hover,
.search-modal__results a:focus-visible {
  color: #000;
  text-decoration: underline;
}

.search-modal__empty,
.search-modal__loading {
  color: #666;
  font-size: 1rem;
  padding: 1rem 0;
}
