/* ============================================================
   BONUSHUNTS  (/bonushunts/)
   Brand-styled embed cards at content width.
   ============================================================ */

.bonushunts-page .category-hero-bar { margin-bottom: 8px; }

.bonushunt-embeds {
  display: grid;
  gap: 20px;
  margin: 22px 0 8px;
  width: 100%;
}
/* Both cards stacked below each other, each spanning the full content width. */
.bonushunt-embeds--double,
.bonushunt-embeds--single { grid-template-columns: 1fr; }

/* Intro inside the title card, below the H1. */
.bonushunts-page .bonushunt-intro {
  margin: 10px 0 0;
  color: var(--muted, #ccb6e6);
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}
.bonushunts-page .bonushunt-intro p { margin: 0 0 8px; }
.bonushunts-page .bonushunt-intro p:last-child { margin-bottom: 0; }
.bonushunts-page .bonushunt-intro a { color: var(--accent, #ff5bbd); }

.bonushunt-card {
  background: linear-gradient(180deg, var(--card-2, #230c47), var(--card, #18062f));
  border: 2px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.bonushunt-card-title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--text, #f7eaff);
  text-align: center;
}

/* Embed fills the card at content width AND at the card's defined height (set
   inline from the admin height field), so height="100%" embeds don't collapse.
   Background is transparent so any unused height (the CasinoHub widget is short
   when no guess is running) blends into the card instead of showing a black box. */
.bonushunt-embed { width: 100%; }
.bonushunt-embed iframe {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  border: 0;
  border-radius: 14px;
  display: block;
  background: transparent;
}

.bonushunt-below { margin-top: 22px; }

/* ── Big SEO section: alternating two-column zig-zag rows ──
   (mirrors the frontpage .seo-section--split layout; base .seo-section /
   .seo-section-content styles come from bundle.css) */
.bonushunt-seo { margin-top: 26px; }
.bonushunt-seo .seo-main-title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 900;
  color: var(--text, #f7eaff);
  margin: 0 0 6px;
  text-align: center;
}
.bonushunt-seo .seo-section--split {
  display: grid;
  grid-template-columns: minmax(0, 42%) 1fr;
  gap: 30px;
  align-items: center;
}
.bonushunt-seo .seo-section--split .seo-col-media,
.bonushunt-seo .seo-section--split .seo-col-body { min-width: 0; }
.bonushunt-seo .seo-section--split .category-seo-image { margin: 0; }
.bonushunt-seo .seo-section--split .category-seo-image img {
  width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block;
}
.bonushunt-seo .seo-section--split .seo-section-title { margin-top: 0; }
/* Every 2nd image sits on the right — flip the track widths so the image
   column stays ~42% regardless of side. */
.bonushunt-seo .seo-section--split.seo-media-right { grid-template-columns: minmax(0, 1fr) minmax(0, 42%); }
.bonushunt-seo .seo-section--split.seo-media-right .seo-col-media { order: 2; }

@media (max-width: 820px) {
  .bonushunt-embeds--double { grid-template-columns: 1fr; }
  .bonushunt-embeds--single { grid-template-columns: 1fr; }
  .bonushunt-seo .seo-section--split,
  .bonushunt-seo .seo-section--split.seo-media-right { grid-template-columns: 1fr; gap: 16px; }
  .bonushunt-seo .seo-section--split .seo-col-media { order: -1 !important; }
}
