/* v4.5: automatic hero decoration; layout and video remain in the base styles. */
.home-hero {
  background: linear-gradient(115deg, #f2f7fb, #edf8fb 65%, #f2f5f8);
}

.home-hero .hero-kicker {
  color: #14628d;
  border-left-color: #0086a8;
}

.home-hero .hero-dx-heading {
  color: #153b54;
}

.hero-dx-heading strong {
  position: relative;
  color: #1765c1;
  font-weight: inherit;
}

/* The lettering stays fully visible throughout the light sweep. */
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .hero-dx-heading strong {
    background-image: linear-gradient(
      105deg,
      #164da0 0%,
      #1765c1 26%,
      #0086a8 38%,
      #007b91 47%,
      #1765c1 59%,
      #164da0 75%,
      #164da0 100%
    );
    background-size: 300% 100%;
    background-position: 100% 50%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    animation: none;
  }

  .home-hero .hero-dx-heading strong {
    /* This hero's requested decoration is independent of the global motion reset. */
    animation: hero-text-light 4.8s ease-in-out infinite !important;
  }
}

.hero-dx-heading strong::after {
  position: absolute;
  right: 0;
  bottom: -0.08em;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #1765c1, #0086a8);
  box-shadow: 0 2px 9px rgb(0 134 168 / 20%);
  content: "";
}

.home-hero .hero-description {
  color: #29485c;
}

@keyframes hero-text-light {
  0%, 15% { background-position: 100% 50%; }
  85%, 100% { background-position: 0% 50%; }
}

/* Keep the approved background paths; make their motion visible from the first frame. */
.home-hero .hero-fx .fx-map {
  animation: fxmap 24s linear -6s infinite alternate, fxa 20s ease-in-out infinite !important;
}

.home-hero .hero-fx .fx-draw {
  animation: fxdraw 24s linear -6s infinite alternate, fxb 20s ease-in-out infinite !important;
}

.home-hero .hero-fx.is-paused canvas {
  animation-play-state: paused !important;
}

@media (max-width: 640px) {
  .home-hero .hero-fx .fx-map {
    animation: fxa 20s ease-in-out infinite !important;
  }

  .home-hero .hero-fx .fx-draw {
    animation: fxb 20s ease-in-out infinite !important;
  }
}

@media (forced-colors: active), print {
  .home-hero .hero-dx-heading strong {
    animation: none !important;
    background: none;
    color: inherit;
  }

  .hero-dx-heading strong::after {
    display: none;
  }

  .home-hero .hero-fx .fx-map,
  .home-hero .hero-fx .fx-draw {
    animation: none !important;
  }
}
