@font-face {
  font-family: "FairCura Icons";
  src: url("../fonts/faircura-icons.woff2") format("woff2");
  font-display: block;
  font-style: normal;
  font-weight: 400;
}

.jobs-page {
  color: #000;
  font-size: 16px;
  line-height: 1.6;
}

.jobs-page .primary-navigation a[aria-current="page"] {
  color: #b62b26;
}

.jobs-page main h1,
.jobs-page main h2,
.jobs-page main h3,
.jobs-page main p {
  margin-top: 0;
}

.jobs-shell {
  width: 100%;
  margin-inline: auto;
}

.jobs-hero {
  position: relative;
  display: flex;
  height: 40vh;
  margin-top: 100px;
  align-items: center;
  overflow: hidden;
  background: url("../images/page-jobs.jpg") center center / cover no-repeat;
}

.jobs-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgb(255 255 255 / 50%);
}

.jobs-hero > img {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 1;
  width: 100%;
}

.jobs-hero h1 {
  position: relative;
  z-index: 2;
  margin: 0;
  color: #b62b26;
  font-size: 41.6px;
  font-weight: 400;
  text-align: center;
}

.jobs-welcome {
  position: relative;
  height: 525px;
  padding: 91px 20px 40px;
  background: url("../images/plant-light.jpg") left top / contain no-repeat;
}

.jobs-welcome::before {
  position: absolute;
  inset: 0;
  content: "";
  background: rgb(255 255 255 / 80%);
}

.jobs-welcome-copy {
  position: relative;
  width: min(100%, 710px);
  margin-inline: auto;
  text-align: center;
}

.jobs-kicker {
  margin-bottom: 20px;
  font-family: "Lato", Arial, sans-serif;
  font-size: 41.6px;
  line-height: 1.06;
}

.jobs-decoration {
  position: relative;
  z-index: 3;
  height: 20px;
}

.jobs-decoration img {
  display: none;
}

.jobs-main {
  position: relative;
    height: auto;
    padding-bottom: 10em;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(180deg, #b62b26 0%, #93304a 100%);
}

.jobs-main-wave {
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  width: 100%;
  height: auto;
}

.jobs-main-glow {
  position: relative;
  z-index: 2;
  height: 100%;
  padding-top: 68px;
  background: radial-gradient(at center right, rgb(255 255 255 / 40%) 0%, rgb(255 255 255 / 0%) 61%);
}

.jobs-search {
  display: grid;
  height: 700px;
  grid-template-columns: 1fr;
  padding: 76px 5% 35px;
}

.jobs-search-copy h2 {
  margin-bottom: 20px;
  font-size: 48px;
  font-weight: 400;
}

.jobs-search-copy p {
  margin-bottom: 20px;
}

.jobs-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px 25px;
  border: 2px solid #fff;
  border-radius: 30px;
  color: #b62b26;
  background: #fff;
  font-family: "Lato", Arial, sans-serif;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease;
}

.jobs-button:hover,
.jobs-button:focus-visible {
  color: #fff;
  background: transparent;
}

.jobs-team-image {
  align-self: center;
  margin-top: 35px;
}

.jobs-team-image img {
  width: 100%;
  height: auto;
}

.jobs-benefits {
  display: grid;
  height: 1293px;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: -55px;
  padding: 0 5%;
}

.jobs-benefit-card {
  position: relative;
  overflow: hidden;
  padding: 82px 10% 56px;
  background: #93304a;
}

.jobs-benefit-card::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 115px;
  content: "";
  background: url("../images/card-wave.svg") bottom center / 100% 100% no-repeat;
  opacity: .8;
}

.jobs-benefit-card h2 {
  position: relative;
  z-index: 1;
  font-size: 35.2px;
  font-weight: 400;
}

.jobs-benefit-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 26px;
  font-size: 28.8px;
  font-weight: 400;
}

.jobs-benefit-card p {
  position: relative;
  z-index: 1;
}

.jobs-openings {
  height: 377px;
  padding: 48px 5% 35px;
  text-align: left;
}

.jobs-openings h2 {
  margin-bottom: 20px;
  font-size: 41.6px;
  font-weight: 400;
}

.jobs-openings > p {
  font-size: 22.4px;
}

.jobs-openings ul {
  display: flex;
  flex-direction: column;
  gap: 17px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jobs-openings a {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #fff;
  font-size: 20px;
}

.jobs-openings a > span {
  font-family: "FairCura Icons";
  font-size: 32px;
  line-height: 1;
}

.jobs-openings a:hover,
.jobs-openings a:focus-visible {
  color: #eaeaea;
}

.jobs-bottom-curve {
  position: absolute;
  right: -31.5%;
  bottom: -1px;
  left: -31.5%;
  z-index: 0;
  width: 163%;
  height: 270px;
  fill: #fff;
}

.jobs-closing {
  height: 161px;
  padding: 66px 20px 0;
  text-align: center;
}

.jobs-closing h2 {
  margin: 0;
  color: #b62b26;
  font-size: 32px;
  font-weight: 400;
}
@media (max-width: 1024px) {
	.jobs-hero {
		background-size: cover;
		background-position: left;
	}
}

@media (min-width: 768px) {
  .jobs-hero {
    height: 65vh;
    margin-top: -60px;
  }

  .jobs-hero h1 {
    font-size: 57.6px;
  }

  .jobs-welcome {
    height: 303px;
    padding-top: 58px;
  }

  .jobs-main {
	height: auto;
	padding-bottom: 9em;
  }

  .jobs-main-glow {
    padding-top: 320px;
  }

  .jobs-search {
    height: 551px;
    grid-template-columns: repeat(2, 1fr);
    padding: 0 5% 5%;
  }

  .jobs-search-copy {
    padding-right: 8%;
  }

  .jobs-team-image {
    margin-top: 50px;
  }

  .jobs-benefits {
    height: 555px;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    margin-top: -213px;
  }

  .jobs-benefit-card {
    padding: 10% 6% 2% 10%;
  }

  .jobs-benefit-card:first-child {
    margin-right: 2.5%;
  }

  .jobs-openings {
    height: 286px;
    padding: 5% 8% 2% 10%;
    text-align: center;
  }

  .jobs-openings ul {
    flex-direction: row;
    justify-content: center;
    gap: 50px;
  }

  .jobs-openings li {
    max-width: 31%;
  }

  .jobs-closing {
    height: 180px;
    padding-top: 112px;
	padding-bottom: 10em;
  }

  .jobs-closing h2 {
    font-size: 48px;
  }
}

@media (min-width: 1025px) {
  .jobs-hero {
    margin-top: -2px;
  }

  .jobs-hero h1 {
    padding-left: 10%;
    font-size: 64px;
    text-align: left;
  }
  .jobs-decoration img {
    position: absolute;
    bottom: 50px;
    display: block;
    width: 240px;
    right: -100px;
    max-width: none;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .jobs-main {
    height: calc(1970px + 16.1vw);
  }

  .jobs-main-glow {
    padding-top: calc(8px + 15.2vw);
  }

  .jobs-search {
    height: calc(562px + 24.2vw);
  }

  .jobs-benefits {
    height: calc(1159px - 23.9vw);
    margin-top: calc(-255px + 10.3vw);
  }

  .jobs-openings {
    height: calc(225px + 10.9vw);
  }

  .jobs-closing {
    height: 228px;
  }
}

@media (min-width: 900px) and (max-width: 1024px) {
  .jobs-hero {
    margin-top: -35px;
  }
}

@media (min-width: 1441px) {
  .jobs-hero {
    height: 90vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jobs-button {
    transition: none;
  }
}
