@import url("brand-chrome-2027.css?v=1");

/* /portada27/ overrides: same look as adelantos2027.css (the current homepage), plus the
   cartelera filter bar. Load AFTER fitam-2026.css. Uses --brand-accent-2027, defined in variables.css. */

/* Brick red (#ff575d/#ff585d/#fa575e/#fa595a family, ~#ff5a5e) -> --brand-accent-2027 */
#logos-programas .link-logo a .tag-info-portada,
#logos-programas .link-logo a:hover,
#calendario-filtros .programacion-fitam .bloque-obra .tags-obra ul li.special-tag,
#calendario-filtros .programacion-fitam .bloque-obra .overlay-info,
#calendario-filtros .programacion-fitam .bloque-obra .links-obras .reserva-obra a,
#carousel-obras .info-obra-banner .links-obras a {
  background-color: var(--brand-accent-2027);
}

#calendario-filtros .programacion-fitam .bloque-obra .ver-info-obra a,
#calendario-filtros .programacion-fitam .bloque-obra .links-obras .reserva-obra a:hover,
#carousel-obras .info-obra-banner .links-obras .reserva-obra a:hover {
  color: var(--brand-accent-2027);
}

/* Vista Rápida hover: keep the original white text on the new pink background */
#calendario-filtros .programacion-fitam .bloque-obra:hover .ver-info-obra a {
  background-color: var(--brand-accent-2027);
  color: #fff;
}

/* Mira lo que está pasando: section background, and card hover */
.bg-redes {
  background-color: var(--brand-accent-2027);
}

.noticias-redes .rrss-box:hover {
  background-color: var(--brand-accent-2027);
}

/* Ver Más link: black border like the Comprar/Reservar button */
#calendario-filtros .programacion-fitam .bloque-obra .links-obras .ver-mas-obra a {
  border: 1px solid #000;
  padding: 0.3rem 1rem;
}

#calendario-filtros .programacion-fitam .bloque-obra .links-obras .ver-mas-obra a:hover {
  background-color: #000;
}

/* Mira lo que está pasando: title font */
.noticias-redes .titulo-rrss p {
  font-family: "owners-narrow", sans-serif;
}

/* Hero carousel arrows: dark red hover (rgb(165, 0, 52)) -> brand pink */
#carousel-obras .arrows .carousel-control-prev:hover,
#carousel-obras .arrows .carousel-control-next:hover {
  background-color: var(--brand-accent-2027);
  color: #000;
}

/* Filter bar: hover text (fitam-2026.css rgb(255, 88, 93)) and active underline (fitam-2025.css #ff4f54) */
#calendario-filtros .filtros-portada a:hover {
  color: var(--brand-accent-2027);
}

#calendario-filtros .filtros-portada .active-obra span {
  border-bottom-color: var(--brand-accent-2027) !important;
}

/* Cartelera loader: teal (#93d2c1) -> brand pink */
.spinner,
.spinner i {
  color: var(--brand-accent-2027);
}


/* ---- UX pass ---- */
/* Cartelera cards: dates and venue */
#calendario-filtros .programacion-fitam .bloque-obra .overlay-info .resumen-obra { margin: 0 0 12px; }
#calendario-filtros .programacion-fitam .bloque-obra .overlay-info .resumen-obra p {
  margin: 0;
  font-family: "owners-narrow", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  line-height: 120%;
  color: #000;
}
#calendario-filtros .programacion-fitam .bloque-obra .overlay-info .resumen-obra .resumen-lugar { font-weight: 500; }

/* Pagination status + clear filters */
.filter-clear-all {
  padding: 6px 12px;
  background: #000; color: #fff;
  border: 0;
  font: 700 1.1rem "owners-narrow", sans-serif;
  text-transform: uppercase;
  cursor: pointer;
}
.filter-clear-all:hover { background: var(--brand-accent-2027); color: #000; }
.filter-tag-close { min-width: 32px; min-height: 32px; }

/* Hero arrows: bigger targets, never over the text */
#carousel-obras .arrows .carousel-control-prev,
#carousel-obras .arrows .carousel-control-next { width: 44px; height: 44px; opacity: 1; }
@media (max-width: 767.98px) {
  #carousel-obras .arrows { height: 44px !important; }
  #calendario-filtros .filtros-portada a { display: inline-block; padding: 10px 8px; }
  #calendario-filtros .programacion-fitam .bloque-obra .ver-info-obra a { padding: 16px 10px 12px; }
}

/* Sold-out plays: full opacity (only finished plays are dimmed) + diagonal ribbon on the image */
#calendario-filtros .programacion-fitam .bloque-obra.agotada.sold-out { opacity: 1; }
#calendario-filtros .programacion-fitam .bloque-obra .top-obra { overflow: hidden; }
#calendario-filtros .programacion-fitam .bloque-obra .ribbon-agotada {
  position: absolute; top: 0; right: 0; width: 140px; height: 140px;
  overflow: hidden; pointer-events: none; z-index: 2;
}
#calendario-filtros .programacion-fitam .bloque-obra .ribbon-agotada span {
  position: absolute; top: 28px; right: -38px; width: 170px;
  transform: rotate(45deg); background: #000; color: #fff;
  text-align: center; padding: 5px 0 3px; font-weight: 700;
  letter-spacing: .08em; font-size: .85rem; box-shadow: 0 1px 4px rgba(0,0,0,.4);
}
