@charset "UTF-8";
.cbc-programs-carousel {
  background-color: #010205;
  margin: 0 !important;
  padding-top: 2em;
  padding-bottom: 2em;
  display: flex;
  justify-content: center;
  gap: 3rem;
}
.cbc-programs-carousel.cbc-bg-transparent {
  background-color: transparent;
}
.cbc-programs-carousel.cbc-bg-black {
  background-color: #000000;
}
.cbc-programs-carousel.cbc-bg-gray {
  background-color: #E9EBEE;
}
.cbc-programs-carousel.cbc-bg-light-blue {
  background-color: #27C9C9;
}
.cbc-programs-carousel.cbc-bg-gray .cbc-subtitle, .cbc-programs-carousel.cbc-bg-transparent .cbc-subtitle {
  color: #0071AB;
}
.cbc-programs-carousel .cbc-subtitle {
  font-size: 1.75rem;
  font-weight: 400;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 1px;
  width: max-content;
  margin-top: 0;
  display: flex;
  align-items: center;
}
@media (max-width: 768px) {
  .cbc-programs-carousel .cbc-subtitle {
    font-size: 1.2rem;
    width: 100%;
  }
}
.cbc-programs-carousel .cbc-subtitle .cbc-arrow-wrap {
  transition: transform 0.3s ease;
  height: 27px;
  width: auto;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.2em;
}
.cbc-programs-carousel .cbc-subtitle .cbc-arrow-wrap:hover {
  transform: translateX(5px);
}
.cbc-programs-carousel.modo-eureka .cbc-subtitle {
  font-family: "Belligan";
}
.cbc-programs-carousel.modo-eureka .cbc-subtitle .cbc-arrow-wrap {
  width: 25px;
  width: 25px;
  background-color: #F9E74D;
  margin-left: 0.2em;
}
.cbc-programs-carousel.modo-eureka figure {
  border-radius: 1em;
}

.cbc-programs-carousel-container {
  position: relative;
  display: flex;
  flex-direction: column;
}

.cbc-programs-carousel .cbc-swiper {
  width: 100%;
  overflow: hidden;
}

.cbc-programs-carousel .swiper-wrapper {
  align-items: stretch;
}

.cbc-programs-carousel .swiper-slide.cbc-poster {
  display: block;
  text-decoration: none;
  height: auto;
}

.cbc-programs-carousel figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.cbc-programs-carousel .cbc-poster-img {
  display: block;
  width: 100%;
  height: auto;
}

.cbc-programs-carousel .cbc-poster:hover figure,
.cbc-programs-carousel .cbc-poster:focus figure {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.cbc-programs-carousel .swiper-pagination-bullet {
  opacity: 0.6;
}

.cbc-programs-carousel .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Fallback mínimo sin imagen */
.cbc-poster-fallback {
  display: grid;
  place-items: center;
  aspect-ratio: 2/3;
  background: #f0f0f0;
  color: #333;
  font-weight: 600;
  padding: 12px;
  text-align: center;
  border-radius: 12px;
}

/* Accesibilidad */
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden;
  white-space: nowrap;
}

.cbc-empty {
  opacity: 0.7;
  padding: 12px;
}

.swiper-button-prev.btn-flecha,
.swiper-button-next.btn-flecha {
  background-color: transparent;
  color: transparent;
  border: 0;
  width: 50px;
  height: 50px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.swiper-button-prev.btn-flecha {
  left: -3em;
}

.swiper-button-next.btn-flecha {
  right: -3em;
}

.swiper-button-prev.btn-flecha::after,
.swiper-button-next.btn-flecha::after {
  display: none;
}

.swiper-button-next.btn-flecha.btn-flecha-blue {
  background-image: url(../images/right_blue_arrow.png);
}

.swiper-button-prev.btn-flecha.btn-flecha-blue {
  background-image: url(../images/left_blue_arrow.png);
}

.swiper-button-next.btn-flecha.btn-flecha-red {
  background-image: url(../images/right_red_arrow.png);
}

.swiper-button-prev.btn-flecha.btn-flecha-red {
  background-image: url(../images/left_red_arrow.png);
}

.swiper-button-next.btn-flecha.btn-flecha-white {
  background-image: url(../images/right_white_arrow.png);
}

.swiper-button-prev.btn-flecha.btn-flecha-white {
  background-image: url(../images/left_white_arrow.png);
}
