/*CSS VIDEO GALERIA INDYROCK, Tiene su .js */

.galeria-videos-indyrock {
  width: 100%;
  max-width: 1000px;
  margin: 25px auto;
}

.video-principal-indyrock {
  position: relative;
  width: 100%;
  background: #000;
  cursor: pointer;
  overflow: hidden;
}

.video-principal-indyrock img {
  width: 100%;
  display: block;
}

.boton-play-indyrock {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.68);
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  z-index: 5;
}

.miniaturas-videos-indyrock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.miniatura-video-indyrock {
  cursor: pointer;
  background: #f2f2f2;
  padding: 5px;
  transition: all 0.2s ease;
}

.miniatura-video-indyrock:hover {
  background: #dddddd;
}

.miniatura-video-indyrock img {
  width: 100%;
  display: block;
}

.miniatura-video-indyrock span {
  display: block;
  font-size: 13px;
  line-height: 1.25;
  color: #222;
  margin-top: 5px;
}

.lightbox-video-indyrock {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.92) !important;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.lightbox-video-indyrock.activa {
  display: flex;
}

.contenedor-video-lightbox-indyrock {
  width: min(78vw, 1200px);
  max-width: 1200px;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}

.contenedor-video-lightbox-indyrock iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.cerrar-lightbox-indyrock {
  position: fixed;
  top: 18px;
  right: 24px;
  z-index: 100000;
  background: rgba(0,0,0,0.45);
  color: #ffffff;
  border: 2px solid #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 36px;
  line-height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cerrar-lightbox-indyrock:hover {
  background: rgba(0,0,0,0.7);
}

@media (max-width: 800px) {

  .miniaturas-videos-indyrock {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
  }

  .contenedor-video-lightbox-indyrock {
    width: 94vw;
    max-width: 94vw;
  }

  .cerrar-lightbox-indyrock {
    width: 58px;
    height: 58px;
    font-size: 44px;
    line-height: 48px;
    top: 14px;
    right: 14px;
  }

  .boton-play-indyrock {
    width: 62px;
    height: 62px;
    font-size: 28px;
  }
}
