/**
 * Golden Play — hero block.
 * The image is a normal <img>, full width, height auto (never cropped).
 */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

.hero__media img {
  width: 100%;
  height: auto;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 19, 19, 0.1) 0%, rgba(19, 19, 19, 0.55) 55%, rgba(19, 19, 19, 0.92) 100%);
}

.hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero__content-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-block: var(--space-xl) clamp(1.5rem, 4vw, 3rem);
  max-width: 46rem;
}

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

.hero__rating {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius-pill);
  background: var(--color-gold-gradient);
  color: var(--color-white);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
}

.hero__title {
  font-size: var(--fs-h1-banner);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-banner);
  color: var(--color-white);
  text-transform: none;
}

.hero__subtitle {
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-lead);
  max-width: 42ch;
}

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

@media (min-width: 768px) {
  .hero__content-inner {
    padding-block: var(--space-2xl) clamp(2rem, 5vw, 4rem);
  }
}

/*
 * Mobile only (< 768px): the banner image becomes a pure background —
 * it is cropped (object-fit: cover) to fill the hero's height, and the
 * hero's height is driven by the text content instead of the image's
 * natural aspect ratio. This guarantees the H1, subtitle and CTA button
 * are always fully visible, however long the heading is. Desktop/tablet
 * (>= 768px) keeps the original full, uncropped image behaviour above —
 * nothing in this block runs there.
 */
@media (max-width: 767px) {
  .hero {
    min-height: 24rem;
  }

  .hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero__content {
    position: relative;
    inset: auto;
  }

  .hero__content-inner {
    padding-block: var(--space-xl);
  }
}
