.hero {
  padding: 24px 0 54px;
  position: relative;
  min-height: calc(100vh - var(--header-height));
  display: flex;
}
@media (min-width: 48em) {
  .hero {
    min-height: 500px;
  }
}
@media (min-width: 62em) {
  .hero {
    padding: 54px 0 112px;
    min-height: 600px;
  }
}
@media (min-width: 75em) {
  .hero {
    min-height: 650px;
  }
}
@media (min-width: 88.25em) {
  .hero {
    padding: 60px 0 80px;
    display: flex;
    min-height: 750px;
  }
}
.hero:before {
  content: "";
  display: block;
  width: 100%;
  height: 70%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgb(0, 0, 0) 100%);
  z-index: 0;
}
.hero__wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__bg {
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  object-fit: cover;
  object-position: left;
}
@media (min-width: 62em) {
  .hero__bg {
    object-fit: contain;
    object-position: bottom right;
  }
}
@media (min-width: 75em) {
  .hero__bg {
    width: 82%;
  }
}
@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }
}
.hero__subtitle {
  max-width: 310px;
  margin-top: 100px;
}
@media (min-width: 62em) {
  .hero__subtitle {
    max-width: 450px;
  }
}
.hero__subtitle--wide {
  max-width: 480px;
}

.hero--training .hero__bg {
  width: 100%;
  object-fit: cover;
  object-position: center;
}
.hero--training .hero__subtitle {
  margin-top: auto;
}
@media (min-width: 48em) {
  .hero--training .hero__subtitle {
    margin-top: 48px;
    margin-left: 15%;
  }
}
.hero--page {
  min-height: unset;
}
.hero--page span:last-child {
  margin-top: -1.1em;
  margin-left: auto;
}