.hero {
  position: relative;
  display: flex;
  align-items: center;
  /* Same banner size on every page, matching the homepage. */
  min-height: clamp(20rem, 45vw, 28rem);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 34, 34, 0.35) 0%, rgba(36, 34, 34, 0.92) 100%);
  z-index: -1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-block: 2.5rem 2.75rem;
}

.hero__content .breadcrumb {
  justify-content: center;
  margin-bottom: 0.25rem;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 179, 117, 0.15);
  color: var(--color-accent-light-bg);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-small);
  margin: 0;
}

.hero__title {
  margin: 0 auto;
  max-width: 45rem;
}

.hero__subtitle {
  max-width: 40rem;
  color: var(--color-white);
  font-size: clamp(0.9375rem, 1.6vw, 1.0625rem);
  margin: 0 auto;
}

.hero__cta {
  margin-top: 0.5rem;
}

@media (min-width: 48em) {
  .hero {
    min-height: clamp(24rem, 40vw, 32rem);
  }
}
