.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  width: calc(100% - (var(--page-gutter) * 2));
  max-width: none;
  min-height: 321px;
  place-items: center;
  margin: var(--page-gutter) auto 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--color-secondary-ink);
}

.page-hero__media,
.page-hero__overlay {
  position: absolute;
  inset: 0;
}

.page-hero__media {
  z-index: var(--z-behind);
}

.page-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
}

.page-hero__overlay {
  z-index: var(--z-base);
  background: rgba(0, 0, 0, 0.3);
}

.page-hero__title {
  position: relative;
  z-index: var(--z-content);
  max-width: calc(100% - (var(--content-gutter) * 2));
  color: var(--color-secondary-cream);
  text-align: center;
}

@media (max-width: 1366px) {
  .page-hero {
    min-height: 306px;
  }
}

@media (max-width: 1166px) {
  .page-hero {
    min-height: 280px;
  }
}

@media (max-width: 1024px) {
  .page-hero {
    min-height: 256px;
  }
}

@media (max-width: 768px) {
  .page-hero {
    min-height: 232px;
    border-radius: 10px;
  }
}

@media (max-width: 480px) {
  .page-hero {
    min-height: 210px;
  }

  .page-hero__image {
    object-position: 50% 72%;
  }
}

@media (max-width: 360px) {
  .page-hero {
    min-height: 198px;
  }
}

@media (min-width: 769px) and (max-height: 620px) {
  .page-hero {
    min-height: 244px;
  }
}
