/* ============================================================================
   page-hero.css — the single hero component for the eight hub pages.
   Used by: /bonuses/ /odds/ /free-games/ /telegram-casinos/ /web3-casinos/
            /tools/ /blog/ /news/

   Loaded from inc/header.php (all PHP pages) and directly by the static hubs.
   The doubled class (.cgb-page-hero.cgb-page-hero) is deliberate: three hubs
   declare their hero rules in a <style> block inside the body, which would
   otherwise beat a head stylesheet at equal specificity. One class = one look.
   ========================================================================== */

.cgb-page-hero.cgb-page-hero {
  box-sizing: border-box;
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 28px;
  text-align: center;
  background: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cgb-page-hero.cgb-page-hero h1 {
  margin: 0;
  padding: 0;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: #f5b82e;
  /* Neutralise the gradient-clipped headings (this is what rendered the
     /news/ emoji as a solid square: emoji glyphs cannot be clipped). */
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: #f5b82e;
  text-fill-color: #f5b82e;
}

.cgb-page-hero.cgb-page-hero p {
  margin: 10px auto 0;
  max-width: 640px;
  font-size: 15.5px;
  line-height: 1.5;
  color: #94a3b8;
}

/* Two hubs decorated their hero with a radial glow pseudo-element. Dropping it
   is what makes the eight heroes actually look like one component. */
.cgb-page-hero.cgb-page-hero::before,
.cgb-page-hero.cgb-page-hero::after {
  content: none;
  display: none;
}

/* Optional eyebrow, only if a hub needs one later. Not used today: only two of
   the eight pages had a pill, so they were removed rather than half-applied. */
.cgb-page-hero.cgb-page-hero .cgb-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245, 184, 46, 0.35);
  background: rgba(245, 184, 46, 0.08);
  color: #f5b82e;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Secondary line that sits under the subtitle (odds freshness stamp). */
.cgb-page-hero.cgb-page-hero .cgb-hero-meta {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #94a3b8;
}

@media (max-width: 768px) {
  .cgb-page-hero.cgb-page-hero {
    padding: 28px 16px 20px;
  }
  .cgb-page-hero.cgb-page-hero h1 {
    letter-spacing: -0.4px;
  }
  .cgb-page-hero.cgb-page-hero p {
    font-size: 15px;
  }
}
