/* =========================================
   LWL B2 Backgrounds
   ========================================= */

.lwl-b2-bg-active {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.lwl-b2-bg-active::before,
.lwl-b2-bg-active::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.lwl-b2-bg-active::before {
  background-image: var(--lwl-b2-bg-url);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: -3;
}

.lwl-b2-bg-active::after {
  /* Readability veil above the image, below content. */
  background: linear-gradient(
    180deg,
    rgba(4, 6, 12, 0.55) 0%,
    rgba(4, 6, 12, 0.35) 40%,
    rgba(4, 6, 12, 0.6) 100%
  );
  z-index: -2;
}
