.page-hero {
  width: 100%;
  position: relative;
  min-height: 100vw;
  display: flex;
  flex-direction: column;
}
.page-hero .section__bg {
  position: absolute;
  overflow: hidden;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.page-hero .section__bg-media {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* .page-hero .section__bg-media.section__bg-image {
}
.page-hero .section__bg-media.section__bg-video {
} */
.page-hero .section__inner {
  width: 100%;
  height: 100%;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 10;
  align-items: stretch;
  padding: 10rem 2.8rem 6rem;
  position: relative;
}
.page-hero.has-media .section__inner {
  background-color: rgb(var(--color-bg-contrast-rgb) / 0.5);
  padding-top: 14rem;
}
.page-hero .section__heading {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.2rem;
}
.page-hero .section__title {
  display: block;
  font-size: var(--font-size-h1);
  line-height: 1.2;
  font-weight: var(--font-weight-regular);
  font-family: var(--font-family-heading);
}
.page-hero.has-media .section__title {
  color: var(--color-text-on-contrast);
}
.page-hero .section__subtitle {
  display: block;
  font-size: 2.4rem;
  line-height: 1.3;
  opacity: 0.6;
}
.page-hero.has-media .section__subtitle {
  color: var(--color-text-on-contrast);
}

/*  */

@media (width >= 1200px) {
  .page-hero {
    width: 100%;
    position: relative;
    min-height: calc(100vw / 4);
    display: flex;
    flex-direction: column;
  }
  .page-hero .section__inner {
    padding: 10rem 8rem 6rem;
  }
}
