

button {
  padding: 10px 18px;
  border: none;
  background-color: #2563eb;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

button:hover {
  background-color: #1d4ed8;
}

/* Fondo gris del lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9998;
  inset:0;
  top: 85px;
  left: 0;
  width: 100%;
  height: 100dvh;
  padding: 30px 15px 30px 15px;
  overflow-y: auto;
  background-color: rgba(80, 80, 80, 0.85);
  box-sizing: border-box;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  overflow-x: hidden;
}
.lightbox.active {
    display: flex;
  }

/* Caja central */
.lightbox-content {
  position:relative;
  background-color: white;
  max-width: 80%;
  padding: 30px;
  border-radius: 10px;
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  max-height: calc(100dvh - 140px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  text-align: center;
}

/* Botón de cierre */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 28px;
  font-weight: bold;
  color: black;
  cursor: pointer;
}

.close-btn:hover {
  color: red;
  background-color: white;
}

/* =========================
   RESPONSIVE LIGHTBOX
========================= */
@media screen and (max-width: 480px) {
  .lightbox {
    top:120px;
    max-height: calc(100dvh - 120px);
    padding: 100px 8px 18px 8px;
  }

  .lightbox-content {
    height: calc(100dvh - 120px);
  }
}

@media screen and (max-width: 768px) {
  .lightbox {
    top:80px;
    max-height: calc(100dvh - 90px);
    padding: 90px 10px 20px 10px;
  }
  
  .lightbox-content {
    max-width: 90%;
    max-height: 92vh;
    padding: 30px 20px 35px 20px;
    max-height: calc(100dvh - 130px);
    border-radius: 14px;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .close-btn {
    top: 10px;
    right: 14px;
    font-size: 1.8rem;
  }

  .lightbox-content h2 {
    font-size: 1.3rem;
    padding-right: 25px;
    padding-left: 25px;
  }

}

/*SCHEDULE*/
/* =========================
   SCHEDULE DENTRO DEL LIGHTBOX
========================= */

.lightbox-content .schedule-section {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  font-family: "Roboto", sans-serif;
}

.lightbox-content .schedule-section img{
  width: 40%;
  padding-bottom: 20px;
}

.lightbox-content .schedule-list {
  position: relative;
  width: 100%;
}

.lightbox-content .schedule-item {
  display: grid;
  grid-template-columns: 95px 28px 1fr;
  position: relative;
  
}

.lightbox-content .schedule-item::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 108px;
  width: 3px;
  background-color: #0034d9;
}

.lightbox-content .schedule-item:last-child::before {
  bottom: auto;
  height: 14px;
}

.lightbox-content .schedule-time {
  color: #0034d9;
  font-size: 1rem;
  font-weight: 700;
  text-align: right;
  padding-top: 2px;
  padding-right: 15px;
  white-space: nowrap;
}

.lightbox-content .schedule-marker {
  position: relative;
  z-index: 2;
  width: 16px;
  height: 16px;
  margin: 0 auto;
  background-color: #0034d9;
  border-radius: 50%;
}

.lightbox-content .schedule-content {
  padding-left: 10px;
  padding-bottom: 28px;
}

.lightbox-content .schedule-content h3 {
  color: #5c5c5c;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
  margin: 0 0 6px 0;
}

.lightbox-content .schedule-content p {
  color: #6d6d6d;
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0 0 4px 0;
  text-align: left;
}

.lightbox-content .schedule-speaker {
  font-size: 0.85rem;
  font-weight: 500;
}



/* =========================
   RESPONSIVE SCHEDULE
========================= */
@media screen and (max-width: 768px) {
  .lightbox-content .schedule-item {
    grid-template-columns: 78px 24px 1fr;
    min-height: 75px;
  }

  .lightbox-content .schedule-item::before {
    left: 89px;
    width: 2px;
  }

  .lightbox-content .schedule-time {
    font-size: 0.85rem;
    padding-right: 10px;
  }

  .lightbox-content .schedule-marker {
    width: 14px;
    height: 14px;
  }

  .lightbox-content .schedule-content {
    padding-left: 8px;
    padding-bottom: 24px;
  }

  .lightbox-content .schedule-content h3 {
    font-size: 0.9rem;
  }

  .lightbox-content .schedule-content p {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 480px) {

  .lightbox-content {
    padding: 28px 14px 30px 14px;
    border-radius: 12px;
  }

  .lightbox-content .schedule-item {
    grid-template-columns: 68px 20px 1fr;
  }

  .lightbox-content .schedule-item::before {
    left: 77px;
  }

  .lightbox-content .schedule-time {
    font-size: 0.75rem;
    padding-right: 7px;
  }

  .lightbox-content .schedule-marker {
    width: 12px;
    height: 12px;
  }

  .lightbox-content .schedule-content h3 {
    font-size: 0.85rem;
  }

  .lightbox-content .schedule-content p {
    font-size: 0.75rem;
  }
}



/* =========================
   LIGHTBOX DETALLE EVENTO
========================= */

.evento-detalle {
  width: 100%;
  text-align: center;
}

.evento-detalle > img {
  display: block;
  width: 50%;
  max-width: 260px;
  height: auto;
  margin: 0 auto 30px auto;
}

.evento-detalle .section-title {
  margin-bottom: 35px;
}

.evento-detalle .section-title h4 {
  color: #0034D9;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

/* Filas */

.evento-detalle .row {
  display: flex;
  gap: 24px;
  margin-bottom: 24px;
}

/* Tarjetas */

.evento-item {
  flex: 1;
  background: #f7f8fb;
  border-radius: 20px;
  padding: 28px 24px;
  text-align: center;
  border: 1px solid #eeeeee;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.evento-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 52, 217, 0.12);
}

.evento-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.evento-icon i {
  color: #0034d9;
  font-size: 2rem;
  line-height: 1;
}

.evento-title {
  color: #0034d9;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.evento-item p {
  color: #4d4d4d;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

/* =========================
   LIGHTBOX DETALLE EVENTO - MOBILE
========================= */

@media screen and (max-width: 768px) {
  .evento-detalle > img {
    max-width: 50%;
    margin-bottom: 24px;
  }

  .evento-detalle .section-title h4 {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  .evento-detalle .row {
    flex-direction: column;
    gap: 18px;
    margin-bottom: 18px;
  }

  .evento-item {
    width: 100%;
    padding: 24px 18px;
  }

  .evento-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
  }

  .evento-icon i {
    font-size: 1.7rem;
  }

  .evento-title {
    font-size: 0.95rem;
  }

  .evento-item p {
    font-size: 0.9rem;
    line-height: 1.45;
  }
}