/* ==========================================================================
   Hero block (BEM: hero__element--modifier)
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 60dvh;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg-image {
  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.55) 0%, rgba(36, 34, 34, 0.92) 100%);
  z-index: -1;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-block: var(--space-xl);
}

.hero__breadcrumb {
  margin-bottom: var(--space-sm);
}

.hero__rating {
  color: var(--color-heading-gold);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-small);
}

.hero__title {
  max-width: 24ch;
}

.hero__subtitle {
  max-width: 60ch;
  margin-bottom: 0;
}

.hero__cta {
  margin-top: var(--space-sm);
  align-self: flex-start;
}

@media (min-width: 768px) {
  .hero {
    min-height: 70dvh;
  }
}
