/* Videos de fondo Elementor: el export deja fondo blanco encima del video */
.elementor-element[data-settings*="background_video_link"]:not(.elementor-motion-effects-element-type-background),
.elementor-element[data-settings*="background_video_link"] > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-color: transparent !important;
}

.elementor-element[data-settings*="background_video_link"] .elementor-background-video-container {
  opacity: 1;
}

/* Slideshow de fondo: el export estático no genera las capas de imagen */
.elementor-element[data-settings*="background_slideshow_gallery"] {
  position: relative;
  overflow: hidden;
}

.elementor-background-slideshow {
  inset: 0;
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.elementor-background-slideshow__slide {
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 0.5s ease-in-out;
}

.elementor-background-slideshow__slide--active {
  opacity: 1;
}

.elementor-background-slideshow__slide__image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 100%;
  width: 100%;
}

.elementor-element[data-settings*="background_slideshow_gallery"] > .e-con-inner,
.elementor-element[data-settings*="background_slideshow_gallery"] > .elementor-widget-container,
.elementor-element[data-settings*="background_slideshow_gallery"] > .elementor-element {
  position: relative;
  z-index: 1;
}
