.custom-cta {
  position: relative;
  isolation: isolate;
  background-color: var(--cta-bg, var(--blue));
  color: var(--cta-color, #fff);
}

.custom-cta.has-background-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.custom-cta.has-background-image::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--cta-bg, var(--blue));
  content: "";
  opacity: var(--cta-overlay, .55);
}

.custom-cta-inner {
  position: relative;
  z-index: 1;
}

.custom-cta h2,
.custom-cta .eyebrow,
.custom-cta .custom-intro {
  color: inherit;
}

@media (max-width: 850px) {
  .custom-cta.has-background-image {
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  .custom-cta.has-background-image {
    background-attachment: scroll;
  }
}
