#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#hero .hero-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  aspect-ratio: 3/5;
  padding: 2rem;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  overflow: hidden;
  color: #fff;
}

/* Fondo de video del slide */
#hero .hero-slide__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

#hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  /* text-shadow: 0 1px 2px rgba(0,0,0,.6),0 0 2px rgba(0,0,0,.3); */
}

#hero .hero-title {
  font-size: 34px;
  font-weight: bold;
}

#hero .hero-subtitle {
  font-size: 20px;
}

#hero #hero-carousel .owl-dots {
  position: absolute;
  bottom: 1.5rem;
  width: 100%;
}

#logros {
}

#logros .counters {
  --items: 1;
  display: grid;
  grid-template-columns: repeat(var(--items), minmax(0, 1fr));
  gap: 5rem;
}

#logros .counter {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#logros .counter-icon {
  aspect-ratio: 4/3;
  width: 64px;
  object-fit: contain;
}

#logros .counter-number {
  font-weight: bold;
  font-size: 28px;
}

#logros .counter-label {
  font-size: 18px;
}

#preguntas-frecuentes .faqs {
  /* max-width: 90ch; */
  margin-inline: auto;
}

#preguntas-frecuentes .faqs details:not(:last-child) {
  border-bottom: solid 1px var(--eerie-black);
}

#preguntas-frecuentes .faqs details:open {
  padding-bottom: 24px;
}

#preguntas-frecuentes .faqs details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 12px;
  font-size: 20px;
  cursor: pointer;
}

#preguntas-frecuentes .faqs details:open summary {
  font-weight: bold;
}

#preguntas-frecuentes .faqs details summary i {
  font-size: 1rem;
  rotate: -180deg;
  transition: 0.3s ease-in-out;
}

#preguntas-frecuentes .faqs details:open summary i {
  rotate: 0deg;
}

#preguntas-frecuentes .faqs details .faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1s ease;
  interpolate-size: allow-keywords;
}

#preguntas-frecuentes .faqs details:open .faq-content {
  /* Ajusta según tu contenido */
  max-height: 500px;
}

#academia {
  overflow: hidden;
}

#academia .row {
  display: flex;
  flex-direction: column;
}

#academia .flags-container img {
  aspect-ratio: 1;
  width: 28px;
  border-radius: 9999px;
  opacity: 0.85;
}

#cursos-recientes .stm_lms_courses_carousel .owl-carousel {
  padding-inline: 50px;
  margin-bottom: 0 !important;
}

#cursos-recientes .stm_lms_courses__single__inner {
  border: none;
  border-radius: 10px;
  overflow: hidden;
}

#cursos-recientes .stm_lms_courses__single--image__container {
  height: auto;
}

#cursos-recientes .stm_lms_courses__single--term {
}

#cursos-recientes .stm_lms_courses__single--price strong {
  font-size: 1.2em;
}

#cursos-recientes .stm_lms_courses_carousel__button {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: grid;
  place-content: center;
  aspect-ratio: 1;
  width: 40px;
  height: auto;
  border: none;
  color: var(--eerie-black);
}

#cursos-recientes .stm_lms_courses_carousel__button:hover {
  background: var(--maroon);
  color: #fff;
}

#cursos-recientes
  .stm_lms_courses_carousel__button.stm_lms_courses_carousel__button_prev {
  left: 0;
  translate: 0 -50%;
}

#cursos-recientes
  .stm_lms_courses_carousel__button.stm_lms_courses_carousel__button_next {
  right: 0;
  translate: 0 -50%;
}

#proximos-cursos .flyer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#proximos-cursos .flyer-image {
  aspect-ratio: 3/4;
  width: 100%;
  height: auto;
  object-fit: cover;
}

#proximos-cursos .flyer-date {
  color: var(--eerie-black);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

@media (min-width: 768px) {
  #hero .hero-slide {
    aspect-ratio: 4/3;
  }

  #logros .counters {
    gap: 3rem;
  }
}

@media (min-width: 992px) {
  #hero {
  }

  #hero .hero-slide {
    aspect-ratio: 21/9;
  }

  #hero .hero-title {
    font-size: 40px;
  }

  #hero .hero-subtitle {
    font-size: 20px;
  }

  #logros .counters {
    --items: 3;
  }

  #academia .row {
    flex-direction: row-reverse;
  }
}
