/* ==========================================================================
   hero block — BEM: hero__element--modifier
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--color-white);
  /* Keep the section at least as tall as the banner's own aspect ratio so
     object-fit: contain is always width-constrained (full-bleed), never
     letterboxed on the sides — matters most on short heroes (no CTA). */
  min-height: calc(100vw / 4.3);
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background-color: var(--color-bg-dark);
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: linear-gradient(180deg, rgba(20, 18, 18, 0.55) 0%, rgba(20, 18, 18, 0.85) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(2.5rem, 6vw, 5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 46rem;
}

/* Pages without a CTA button (support, privacy, responsible-gaming) would
   otherwise render a noticeably shorter — and so less prominent — hero than
   the rest of the site. Give them a bit of extra bottom breathing room so
   the banner reads with the same visual weight across all pages. */
.hero__inner:not(:has(.hero__cta)) {
  padding-bottom: clamp(4rem, 10vw, 8rem);
}

.hero__breadcrumb { margin-bottom: 0.25rem; }
.hero__breadcrumb a,
.hero__breadcrumb .breadcrumb__current { color: rgba(245, 241, 234, 0.85); }

.hero__rating { align-self: flex-start; }

.hero__title {
  font-size: var(--fs-h1);
  color: var(--color-white);
}

.hero__subtitle {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: rgba(245, 241, 234, 0.82);
  max-width: 42rem;
}

.hero__cta {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.95rem 2.25rem;
}
