.my-5{
  margin-top: 0rem !important;
}

.my-5{
  margin-bottom: 0rem !important;
}

/* Botón flotante circular */
.btn-flotante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 110px;
  height: 110px;
  background: var(--color-terciario) !important;
  color: #fff;
  border: 3px solid #3d71bd;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: background 0.3s ease;
  z-index: 999;
  /* Animación */
  animation: pulse 2.5s infinite;
}

/* Efecto hover */
.btn-flotante:hover {
  background: #e64a19;
}

/* Animación de pulso */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.19);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive: botón más pequeño en pantallas chicas */
@media (max-width: 600px) {
  .btn-flotante {
    width: 80px;
    height: 80px;
    font-size: 0.8rem;
  }
}






/* Banner horario */


.banner__horario {
  background: linear-gradient(135deg, #3d71bd, #335a96);
  color: #fff;
  padding: 20px;
  text-align: center;
  max-width: 1100px;
  width: 95%;
  margin: 2rem auto;
  border-radius: 20px;
  border: solid var(--color-terciario);
}

.banner__horario h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.horarios {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.horario {
  background: rgba(255, 255, 255, 0.1);
  padding: 15px 25px;
  border-radius: 10px;
  min-width: 250px;
  transition: transform 0.3s ease;
}

.horario:hover {
  transform: scale(1.05);
}

.horario span {
  font-size: 1.5rem;
  margin-right: 10px;
}

.horario p {
  margin: 0;
  font-size: 1rem;
}

/* Responsive */
@media (max-width: 600px) {
  .banner__horario h1 {
    font-size: 1.5rem;
  }
  .horarios {
    flex-direction: column;
    align-items: center;
  }
  .horario {
    width: 100%;
    max-width: 300px;
  }
}

    /* Estilo para el contenedor */
    .contenedor__lista {
      width: 95%;
      max-width: 450px;
      margin: 0 auto;
      padding: 15px;
      border: 2px solid transparent;
      border-radius: 8px;
      /*background-color: #f9f9f9;*/
    }

    /* Estilo para la lista */
    .contenedor__lista ul {
      list-style-type: none; /* Quita los puntos */
      padding: 0;
    }

    /* Estilo para cada elemento */
    .contenedor__lista ul li {
      background-color: #335a96;
      color: #f9f9f9 !important;
      margin: 1rem 0;
      padding: 10px;
      border-radius: 5px;
      transition: background-color 0.3s;
    }

    /* Efecto hover */
    .contenedor__lista ul li:hover {
      background-color: #c0c0c0;
      cursor: pointer;
    }



/* Short */
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "video text"
      "extra extra";
    gap: 1.5rem;
    max-width: 900px;
    margin: auto;
    padding: 2rem;
  }
  
  .video {
    grid-area: video;
  }
  
  .video iframe {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
  }
  
  .text ul,
  .extra ul {
    list-style: none;
    padding-left: 0;
  }
  
  .text li,
  .extra li {
    list-style-type: none !important;
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.6rem;
  }
  
  .text li::before,
  .extra li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .2em;
    width: 0.6em;
    height: 0.6em;
    background-color:  var(--color-terciario); /* Verde UNAM */
    border-radius: 50%;
  }
  



  .text {
    grid-area: text;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  }
  
  .text h2 {
    margin: 2rem auto;     
    color: var(--color-terciario);
  }
  
  .text ul {
    padding-left: 1.2rem;
    margin-top: 1rem;
  }
  
  .text li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
  }
  
  .extra {
    grid-area: extra;
    background-color: #b7e8fa;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
  }
  
  .extra h3 {
    margin-top: 0;
    color: var(--color-terciario);
  }
  
  .extra p {
    font-size: 1rem;
    color: #333;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .info-grid {
      grid-template-columns: 1fr;
      grid-template-areas:
        "video"
        "text"
        "extra";
    }
  
    .extra {
      text-align: left;
    }
  }
  
  


/* Video Youtube */

  .video-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 90%;
    margin: 2rem auto;
    position: relative;
  }
  
  .video-thumbnail {
    position: relative;
    cursor: pointer;
    width: 100%;
    max-width: 560px;
    display: block;
  }
  
  .video-thumbnail img {
    width: 100%;
    border-radius: 12px;
    display: block;
  }
  
  .play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 1rem 1.2rem;
    pointer-events: none;
  }
  
  .video-embed {
    display: none;
    width: 100%;
    max-width: 560px;
    aspect-ratio: 16 / 9;
  }
  
  .video-embed iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
  }
  