/* Contenedor principal del widget */
.vor-video-hotspot {
  position: relative;
  display: block;
  overflow: hidden;
  color: #fff; /* El texto overlay será blanco por defecto */
}

/* Imagen de portada */
.vor-hotspot-cover {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease, opacity 0.3s ease;
  transform-origin: center center;
  z-index: 1;
}

/* Video (posicionado absoluto sobre la imagen) */
.vor-hotspot-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;  /* Cubrir el contenedor manteniendo proporción */
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.3s ease;
  transform-origin: center center;
  z-index: 2;
}

/* Overlay de texto (título y subtítulo centrados) */
.vor-hotspot-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 2em;
  gap: 0.05em; /* 👈 ESTE VALOR CONTROLA EL ESPACIO ENTRE EL TÍTULO Y EL SUBTÍTULO */
}

.vor-hotspot-title {
  font-size: 6.5em;
  margin: 0;
  /* Se podría agregar sombra de texto para legibilidad en fondos claros */
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}
.vor-hotspot-subtitle {
  font-size: 1.5em;
  margin: 0;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}

/* Efecto hover: zoom y crossfade */
.vor-video-hotspot:hover .vor-hotspot-cover {
  transform: scale(1.1);
  opacity: 0;
}
.vor-video-hotspot:hover .vor-hotspot-video {
  transform: scale(1.1);
  opacity: 1;
}

/* -------------------------------
   Estilos responsive para móviles
--------------------------------*/
@media screen and (max-width: 768px) {
  .vor-hotspot-overlay {
    padding-top: 1em;
    gap: 0.3em;
  }

  .vor-hotspot-title {
    font-size: 1.2em;
    text-align: center;
    padding: 0 1em;
  }

  .vor-hotspot-subtitle {
    font-size: 0.95em;
    text-align: center;
    padding: 0 1em;
  }
}

@media screen and (max-width: 480px) {
  .vor-hotspot-title {
    font-size: 1em;
  }

  .vor-hotspot-subtitle {
    font-size: 0.9em;
  }
}