/* ==========================================================================
   Hero block
   The banner image is a full-bleed cover background at every breakpoint,
   with the title/rating/copy overlaid directly on top of it (not stacked
   below). A dark gradient scrim + text-shadow keep the text readable
   regardless of the photo underneath.
   ========================================================================== */

.hero {
  background: var(--color-bg-dark);
  padding-block: 0;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 62dvh;
}

.hero__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 0, 24, 0.15) 0%, rgba(19, 0, 24, 0.55) 45%, rgba(19, 0, 24, 0.92) 100%);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.65);
  padding-block: clamp(1.75rem, 4vw, 2.75rem);
  max-width: 62rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--color-accent-yellow);
  color: var(--color-text-on-btn);
  font-weight: var(--fw-btn);
  font-size: var(--fs-small);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.hero__title {
  margin-bottom: 1rem;
}

.hero__subtitle {
  color: var(--color-white);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  max-width: 100%;
  margin-bottom: 1.5rem;
}

.hero__cta {
  margin-top: 0.25rem;
}

.breadcrumb,
.breadcrumb a,
.breadcrumb__current {
  color: var(--color-white);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}

/* Desktop/tablet: shorter relative height since the banner spans the full
   viewport width instead of a narrow mobile column. */
@media (min-width: 768px) {
  .hero {
    min-height: clamp(24rem, 32vw, 34rem);
  }
}
