/* V48 — Flexo Line's supplied real facility photograph, Careers hero only.
   The real image is kept at its natural aspect ratio (cover, never stretched).
   Text, links and application flow remain real website elements. */
body.fl17-careers-page .fl17-careers-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(560px, 47vw, 710px);
    display: flex;
    align-items: center;
    background-color: #0a0e12;
    background-image:
      linear-gradient(90deg,
        rgba(4, 8, 13, 0.91) 0%,
        rgba(4, 8, 13, 0.83) 17%,
        rgba(4, 8, 13, 0.67) 39%,
        rgba(4, 8, 13, 0.30) 68%,
        rgba(4, 8, 13, 0.11) 100%),
      linear-gradient(180deg,
        rgba(3, 6, 10, 0.02) 0%,
        rgba(3, 6, 10, 0.03) 59%,
        rgba(3, 6, 10, 0.49) 100%),
      url('../images/flexoline-careers-building-actual.jpg');
    background-size: cover, cover, cover;
    background-position: center, center, 49% 42%;
    background-repeat: no-repeat;
}
body.fl17-careers-page .fl17-careers-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 77%, rgba(4,7,10,.38) 100%);
}
body.fl17-careers-page .fl17-careers-hero-inner {
    position: relative;
    z-index: 1;
    padding-top: clamp(100px, 9vw, 140px);
    padding-bottom: clamp(92px, 8vw, 124px);
}
body.fl17-careers-page .fl17-careers-hero h1,
body.fl17-careers-page .fl17-careers-hero .fl17-careers-lede {
    text-shadow: 0 2px 24px rgba(0,0,0,.18);
}
body.fl17-careers-page .fl17-careers-hero .fl17-careers-lede {
    max-width: 760px;
    color: rgba(246,248,250,.94);
}
@media (max-width: 900px) {
  body.fl17-careers-page .fl17-careers-hero {
    min-height: 590px;
    background-position: center, center, 44% center;
    background-image:
      linear-gradient(90deg,rgba(4,8,13,.89) 0%,rgba(4,8,13,.70) 58%,rgba(4,8,13,.27) 100%),
      linear-gradient(180deg,rgba(3,6,10,.08),rgba(3,6,10,.44)),
      url('../images/flexoline-careers-building-actual.jpg');
  }
}
@media (max-width: 600px) {
  body.fl17-careers-page .fl17-careers-hero {
    min-height: min(720px, max(555px, 90svh));
    align-items: center;
    background-position: center, center, 42% center;
    background-image:
      linear-gradient(90deg, rgba(4,7,11,.84),rgba(4,7,11,.54)),
      linear-gradient(180deg, rgba(2,4,8,.10) 0%,rgba(2,4,8,.43) 45%,rgba(2,4,8,.73) 100%),
      url('../images/flexoline-careers-building-actual.jpg');
  }
  body.fl17-careers-page .fl17-careers-hero-inner {
    padding-top: 72px;
    padding-bottom: 76px;
  }
  body.fl17-careers-page .fl17-careers-hero h1 {
    font-size: clamp(40px, 11vw, 58px);
    line-height: 1.06;
  }
  body.fl17-careers-page .fl17-careers-hero .fl17-careers-lede {
    font-size: clamp(16px, 4.2vw, 19px);
    line-height: 1.58;
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.fl17-careers-page .fl17-careers-hero {
    background-attachment: scroll;
  }
}
