/* isobars.css — layer + radial fade for elements with class "has-isobars".
   Override any variable per section (or via Elementor's custom CSS). */

.has-isobars {
  /* Line colour as an RGB triplet, and opacity */
  --isobar: 31, 58, 104;
  --isobar-alpha: .42;

  /* Radial fade: centre and size of the visible area */
  --fade-x: 50%;
  --fade-y: 50%;
  --fade-w: 75%;
  --fade-h: 110%;

  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Content sits above the isobars */
.has-isobars > :not(.isobars) {
  position: relative;
  z-index: 1;
}

.isobars {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse var(--fade-w) var(--fade-h) at var(--fade-x) var(--fade-y),
    #000 0%, rgba(0, 0, 0, .75) 30%, rgba(0, 0, 0, .25) 65%, transparent 100%);
          mask-image: radial-gradient(ellipse var(--fade-w) var(--fade-h) at var(--fade-x) var(--fade-y),
    #000 0%, rgba(0, 0, 0, .75) 30%, rgba(0, 0, 0, .25) 65%, transparent 100%);
}

.isobars canvas {
  display: block;
  width: 100%;
  height: 100%;
}

/* Preset for dark backgrounds */
.has-isobars.isobars-on-dark {
  --isobar: 170, 195, 235;
}
