/* Vídeo campaña Oxígeno Activo en la home (embed YouTube) */
.ls-home-campaign-video {
  --ls-blue: #06255b;
  --ls-radius-lg: 14px;
  --ls-shadow: 0 8px 28px rgba(6, 37, 91, 0.08);
  width: 100%;
  max-width: none;
  min-height: 80vh;
  height: 80vh;
  margin: 0;
  padding: 1.25rem 1rem;
  box-sizing: border-box;
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #eef4fb 0%, #fff 100%);
}

.ls-home-campaign-video .video-shell {
  position: relative;
  width: min(100%, 1140px);
  max-width: 1140px;
  background: #0b1a33;
  border-radius: var(--ls-radius-lg);
  overflow: hidden;
  box-shadow: var(--ls-shadow);
  transition: border-radius 0.3s ease, box-shadow 0.3s ease;
}

.ls-home-campaign-video .video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.ls-home-campaign-video .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ls-home-campaign-video .video-shell.is-cinematic {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  border-radius: 0;
  box-shadow: none;
  background: #000;
}

.ls-home-campaign-video .video-shell.is-cinematic .video-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
}

.ls-home-campaign-video .video-cinematic-exit {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 100001;
  pointer-events: auto;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  border: 2px solid #fff;
  background: #fff;
  color: var(--ls-blue);
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}

.ls-home-campaign-video .video-shell.is-cinematic .video-cinematic-exit {
  display: inline-flex;
}

.ls-home-campaign-video .video-sound-chip {
  position: absolute;
  left: 50%;
  bottom: 4.25rem;
  transform: translateX(-50%);
  z-index: 100001;
  border: 0;
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
  background: rgba(6, 37, 91, 0.92);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ls-home-campaign-video .video-sound-chip[hidden] {
  display: none !important;
}

.ls-home-campaign-video .video-shell.is-cinematic .video-sound-chip {
  bottom: 5.5rem;
}

body.has-cinematic-video {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
  overscroll-behavior: none;
}

body.has-cinematic-video header.elementor-location-header,
body.has-cinematic-video .elementor-sticky--active,
body.has-cinematic-video .elementor-sticky {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* El hero de Elementor tenía margin-top:-160px y tapaba el vídeo */
body.home .elementor-7712 > .elementor-element-6642e16 {
  --margin-top: 0px !important;
  margin-top: 0 !important;
}

@media (max-width: 767px) {
  /* En móvil el bloque solo ocupa lo que mide el vídeo, no la pantalla entera */
  .ls-home-campaign-video {
    padding: 1rem 0.75rem;
    min-height: 0;
    height: auto;
  }

  .ls-home-campaign-video .video-sound-chip {
    bottom: 3rem;
  }
}
