/* JOBS PAGE HERO */

& {
  --s-layout-padding-top: 1rem;
  --s-layout-padding-bottom: .25rem;
  --s-layout-padding-x: 0rem;
  --s-layout-margin-top: 0rem;
  --s-layout-margin-bottom: 0rem;
  --s-title-style-font-size: 3rem;
  --s-subtitle-style-font-size: 1.5rem;
}

h1 + p {
  width: 505px !important;
  max-width: 100% !important;
  color: #0a203c !important;
  white-space: normal !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

h1 + p::after {
  content: none !important;
  display: none !important;
}

@media screen and (max-width: 767px) {
  & {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-image: none !important;
    isolation: isolate !important;
  }

  > div.absolute.inset-0 > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 75% center !important;
  }

  > div.absolute.inset-0::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.80) 35%,
      rgba(255,255,255,.15) 75%,
      transparent 100%
    ) !important;
    pointer-events: none !important;
  }

  > div.relative {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 20px !important;
    gap: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  h1 {
    width: 225px !important;
    max-width: 225px !important;
    margin: 0 0 5px !important;
    color: #0a203c !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -.6px !important;
    white-space: normal !important;
    text-wrap: initial !important;
  }

  h1 + p {
    width: 285px !important;
    max-width: 285px !important;
    margin: 0 0 8px !important;
    color: #0a203c !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.2px !important;
    white-space: pre-line !important;
    text-wrap: initial !important;
  }
}
/* FORCE EXACT TWO-LINE HEADLINE ON PHONE AND TABLET */

@media screen and (max-width: 1024px) {
  h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: normal !important;
  }

  h1::before {
    content: "Find Work";
    display: block !important;
    color: #0a203c !important;
    font-size: clamp(30px, 6vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.6px !important;
    white-space: nowrap !important;
  }

  h1::after {
    content: "Close to Home";
    display: block !important;
    color: #0a203c !important;
    font-size: clamp(30px, 6vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.6px !important;
    white-space: nowrap !important;
  }
}