/* 1099ERICH four product-page full-width hero images — v15.4 DIRECT
   Only the four HTML pages carrying er-wide-hero-v154 are affected.
   Keep their existing image paths, buttons, pricing and other sections.
*/
.form-page-hero.er-wide-hero-v154 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 0 !important;
  background: #edf4f9;
  border-bottom: 1px solid #d9e5ed;
}
.form-page-hero.er-wide-hero-v154 > .container {
  position: relative;
  isolation: isolate;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  grid-template-columns: none !important;
  gap: 0 !important;
  width: min(100% - 48px, 1200px);
  max-width: 1200px;
  box-sizing: border-box;
  min-height: 550px !important;
  margin: 0 auto;
  padding: 55px 18px !important;
}
.form-page-hero.er-wide-hero-v154 > .container::after {
  display: none !important;
  content: none !important;
}
/* Gradient increases text contrast on photos while retaining a visible image. */
.form-page-hero.er-wide-hero-v154 > .container::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg,
    #fff 0%,
    rgba(255,255,255,.97) 21%,
    rgba(255,255,255,.91) 35%,
    rgba(255,255,255,.63) 49%,
    rgba(255,255,255,.13) 70%,
    rgba(255,255,255,0) 100%);
}
.form-page-hero.er-wide-hero-v154 .subpage-hero-copy {
  position: relative;
  z-index: 2;
  flex: 0 1 540px;
  max-width: 540px;
  min-width: 0;
  padding: 0;
}
.form-page-hero.er-wide-hero-v154 .subpage-hero-copy h1 {
  color: #122f4c;
  max-width: 540px;
  line-height: 1.12;
}
.form-page-hero.er-wide-hero-v154 .subpage-hero-copy p {
  max-width: 505px;
  color: #3d5267;
  line-height: 1.67;
}
.form-page-hero.er-wide-hero-v154 .subpage-hero-copy .hero-actions {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
/* Convert the EXISTING <img> to an edge-to-edge photographic hero.
   Specific selectors override earlier width/height !important rules. */
.form-page-hero.er-wide-hero-v154 figure.subpage-hero-box {
  position: absolute !important;
  inset: 0 auto 0 50% !important;
  transform: translateX(-50%) !important;
  display: block !important;
  z-index: 0;
  width: 100vw !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  overflow: hidden !important;
  pointer-events: none;
}
.form-page-hero.er-wide-hero-v154 figure.subpage-hero-box > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  max-height: none !important;
  min-height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
/* Preserve captions for screen readers without placing them over the photo. */
.form-page-hero.er-wide-hero-v154 figure.subpage-hero-box > figcaption {
  position: absolute !important;
  height: 1px !important;
  width: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
@media (max-width: 950px) {
  .form-page-hero.er-wide-hero-v154 > .container {
    min-height: 510px !important;
    padding: 44px 16px !important;
  }
  .form-page-hero.er-wide-hero-v154 > .container::before {
    background: linear-gradient(90deg,
      rgba(255,255,255,.99) 0%,
      rgba(255,255,255,.94) 39%,
      rgba(255,255,255,.70) 67%,
      rgba(255,255,255,.20) 100%);
  }
  .form-page-hero.er-wide-hero-v154 .subpage-hero-copy {
    flex-basis: 515px;
  }
}
@media (max-width: 700px) {
  /* Mobile: photo stays full-bleed BELOW readable text, no unwanted overlay. */
  .form-page-hero.er-wide-hero-v154 > .container {
    width: 100%;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 36px 18px 0 !important;
  }
  .form-page-hero.er-wide-hero-v154 > .container::before {
    display: none !important;
    content: none !important;
  }
  .form-page-hero.er-wide-hero-v154 .subpage-hero-copy {
    flex: 1 1 auto;
    max-width: 100%;
    padding: 0 0 30px;
  }
  .form-page-hero.er-wide-hero-v154 .subpage-hero-copy h1 {
    font-size: clamp(30px, 7.5vw, 43px);
  }
  .form-page-hero.er-wide-hero-v154 .subpage-hero-copy p {
    font-size: 15px;
    line-height: 1.6;
  }
  .form-page-hero.er-wide-hero-v154 figure.subpage-hero-box {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    flex: none;
    width: 100vw !important;
    min-height: 0 !important;
    height: clamp(220px, 49vw, 320px) !important;
    margin: 0 0 0 -18px !important;
  }
  .form-page-hero.er-wide-hero-v154 figure.subpage-hero-box > img {
    object-position: center !important;
  }
}
