/* ============================================================
   AnimatedBG for Divi — Frontend CSS v0.1.0
   ============================================================ */

/* Ensure the host element can contain the absolutely-positioned canvas */
[data-abd-id] {
  position: relative;
}

/* Canvas sits behind all content */
[data-abd-id] > canvas:first-child {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Push Divi's inner content above the canvas */
[data-abd-id] > *:not(canvas) {
  position: relative;
  z-index: 1;
}



/* ImageGlow overlay — always visible, overrides Divi hover/opacity CSS */
.abd-igl-overlay {
  /* visibility/display stay forced to prevent Divi hiding the overlay,
     but opacity is intentionally NOT !important so the engine's inline
     intensity value takes effect */
  visibility: visible !important;
  display: block !important;
  transition: none !important;
}

/* Prevent Divi from applying hover opacity changes to images inside a
   glow host — Divi uses .et_pb_image:hover img { opacity } transitions */
.et_pb_image:has(.abd-igl-overlay) img,
.et_pb_module:has(.abd-igl-overlay) img {
  opacity: 1 !important;
  transition: none !important;
}
