/* ==========================================================================
   bonus-banner block
   Bounded by the same .container width as the page's tables/body text
   (not a full-bleed edge-to-edge strip) — the image scales down to fit
   that width, and the text sits inside the same bounds.
   Text is centered both horizontally and vertically over a scrim.
   Same responsive image treatment as the hero block (see hero.css):
   tuned crop on the fixed mobile height, exact 18%-off-the-top crop at
   tablet/desktop widths.
   ========================================================================== */
.bonus-banner {
  margin-block: var(--space-section);
}

.bonus-banner__inner {
  position: relative;
  display: grid;
  isolation: isolate;
}

.bonus-banner__bg-img,
.bonus-banner__overlay,
.bonus-banner__content {
  grid-area: 1 / 1;
  min-width: 0;
}

.bonus-banner__bg-img {
  width: 100%;
  height: clamp(14rem, 62vw, 20rem);
  object-fit: cover;
  object-position: center 30%;
  background: var(--color-bg-dark);
}

.bonus-banner__overlay {
  background: radial-gradient(
    circle at center,
    rgba(9, 14, 15, 0.78) 0%,
    rgba(9, 14, 15, 0.55) 55%,
    rgba(9, 14, 15, 0.35) 100%
  );
}

.bonus-banner__content {
  align-self: center;
  justify-items: center;
  text-align: center;
  display: grid;
  gap: 0.6rem;
  padding-block: 1.5rem;
  z-index: 1;
}

.bonus-banner__kicker {
  color: var(--color-white);
  font-weight: var(--fw-btn);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fs-small);
}
.bonus-banner__title {
  color: var(--color-heading-accent);
  font-weight: var(--fw-heading);
  font-size: var(--fs-h2);
  max-width: 24ch;
  margin-inline: auto;
}
.bonus-banner__content .btn { width: max-content; margin-block-start: 0.5rem; }

@media (min-width: 48em) {
  .bonus-banner__bg-img {
    height: auto;
    aspect-ratio: 1895 / 680.6;
    object-fit: cover;
    object-position: center bottom;
  }
}
