/* HR hero aligned with the Website page hero system. */
body.hr-page .hero,
body.hr-page .hero * { box-sizing: border-box; }

body.hr-page .hero {
  width: min(1240px, calc(100% - 32px));
  max-width: 1240px;
  margin: 0 auto;
  padding: 136px 0 50px;
  background: #fff;
  text-align: center;
}

body.hr-page .hero__title {
  width: min(920px, 100%);
  max-width: none;
  min-height: 0;
  margin: 0 auto;
  padding: 0;
  color: #000 !important;
  font-family: "Montserrat", "Montserrat Variable", sans-serif !important;
  font-size: clamp(30px, 3.6vw, 39.06px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0;
  text-align: center !important;
  white-space: normal !important;
}

body.hr-page .hero__subtitle {
  width: min(760px, 100%);
  height: auto;
  margin: 16px auto 0;
  padding: 0;
  color: #000;
  font-family: "Montserrat", "Montserrat Variable", sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 1.5 !important;
  text-align: center !important;
}

body.hr-page .hero__cta {
  display: inline-flex;
  width: auto;
  min-width: 188px;
  min-height: 40px;
  height: 40px;
  margin-top: 24px;
  padding: 8px 14px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  background: linear-gradient(#0c3c01, #0c3c01) padding-box,
    radial-gradient(50% 130% at 50% 50%, #f1f1ef 0%, #5b6d49 100%) border-box;
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 16px !important;
  font-weight: 400;
  line-height: 24px;
  text-decoration: none;
  white-space: nowrap;
}

body.hr-page .hero__image-wrap {
  width: 100%;
  height: 552px;
  margin-top: 32px;
  overflow: hidden;
  border-radius: 24px;
  background: #d9d9d9;
  line-height: 0;
}

body.hr-page .hero__image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  border-radius: inherit;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 641px) and (max-width: 1199px) {
  body.hr-page .hero {
    width: calc(100% - 48px);
    padding-top: 112px !important;
    padding-bottom: 32px !important;
  }
  body.hr-page .hero__title {
    width: min(760px, 100%) !important;
    font-size: clamp(32px, 4.2vw, 40px) !important;
  }
  body.hr-page .hero__break { display: none !important; }
  body.hr-page .hero__subtitle { width: min(680px, 100%) !important; }
  body.hr-page .hero__image-wrap {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 28px;
    border-radius: 20px;
  }
}

@media (max-width: 640px) {
  body.hr-page .hero {
    width: calc(100% - 32px);
    padding-top: 94px !important;
    padding-bottom: 24px !important;
    overflow-x: clip;
  }
  body.hr-page .hero__title {
    width: 100% !important;
    font-size: clamp(25px, 6.6vw, 32px) !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
  }
  body.hr-page .hero__break { display: none !important; }
  body.hr-page .hero__subtitle {
    width: 100% !important;
    margin-top: 18px;
    font-size: 15px !important;
    line-height: 1.5 !important;
  }
  body.hr-page .hero__cta {
    min-height: 40px;
    height: 40px;
    margin-top: 22px;
  }
  body.hr-page .hero__image-wrap {
    height: auto;
    aspect-ratio: 4 / 3;
    margin-top: 28px;
    border-radius: 16px;
  }
}

@media (max-width: 380px) {
  body.hr-page .hero__title { font-size: clamp(24px, 6.5vw, 27px) !important; }
}
