/* Hero block — BEM: hero__element--modifier */

.hero {
  background-color: var(--color-bg-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 3rem 3.5rem;
  min-height: 380px;
  justify-content: center;
}

.hero__breadcrumb {
  margin-bottom: 0.5rem;
}

.hero__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.375rem 0.875rem;
  background: rgba(43, 41, 41, 0.7);
  border-radius: var(--radius-card);
  font-size: 0.8125rem;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero__rating-stars {
  color: var(--color-heading-gold);
  letter-spacing: 1px;
}

.hero__title {
  max-width: 44rem;
  color: var(--color-white);
}

.hero__subtitle {
  max-width: 40rem;
  margin-bottom: 0;
  color: var(--color-text-main);
  font-size: 1rem;
}

.hero__cta {
  width: fit-content;
  margin-top: 0.5rem;
}

@media (min-width: 768px) {
  .hero__inner {
    min-height: 420px;
    padding-block: 3.5rem;
  }
}

/* Background images are wide banner crops (~2.3:1). On wider viewports a
   fixed min-height makes the section far wider than tall, forcing
   background-size:cover to crop most of the image's top/bottom (cutting
   off characters and the logo). Scale the height with viewport width so
   the crop stays close to the source aspect ratio. */
@media (min-width: 1024px) {
  .hero__inner {
    min-height: clamp(480px, 40vw, 680px);
  }
}
