/* Page-specific rules for best-casinos.html */

/* Swaps just this page's hero photo away from the shared .page-hero-landing-bg
   image (also used by free-bets/fancies) without touching those pages. */
.best-casinos-hero-bg { background-image:url('../assets/images/tft-bets-old-trafford-1.jpg'); }

@media (max-width: 768px) {
    .header-cta, .header-cta-primary { display: none; }
    .mobile-menu-cta { display: flex; }
    .operator-card-actions, .operator-card-cta-row { flex-direction: column; align-items: center; gap: 8px; }
  }

@media (max-width: 1240px) {
    .header-nav { display: none; }
    .hamburger-button { display: flex; }
  }

/* .operator-card-featured is deliberately left out of this — it always
   spans both columns via its own components.css rule (grid-column:1/-1).
   Including it here used to be harmless only because components.css
   loaded after this file and won the tie regardless; now that load order
   is reversed (see the top of components.css), this file winning the tie
   would squash the featured card into a single column. */
.operator-card, .operator-card-static { grid-column: span 1; }

@media (max-width: 1080px) {
    .operator-card-actions, .operator-card-cta-row { grid-column: 1 / -1; }
    .operator-card-featured { grid-template-columns: 110px minmax(0,1fr); }
  }

@media (max-width: 960px) {
    .footer-cols { grid-template-columns: 1fr 1fr; }
  }

@media (max-width: 680px) {
    .page-hero-content { padding: 72px 20px 150px; }
    .page-hero-content h1 { font-size: 36px; }
    .operator-card, .operator-card-static, .operator-card-featured { grid-column: 1 / -1; padding: 20px; }
    .operator-card-featured { grid-template-columns: 1fr; }
    .operator-card-featured > div:nth-child(2) { width: 100%; }
    /* .operator-card-logo stretches to the card's full width once the grid
       collapses to one column — nothing capped its width, so the (contain-fit,
       center-positioned) logo image ends up looking off-center inside a huge
       white box. Give the box a sane width and center it instead. */
    .operator-card-logo { width: 160px; max-width: 100%; margin: 0 auto; }
    .footer-cols { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 28px; }
    .footer-legal { padding: 48px 20px 28px; }
    header > div { padding: 0 20px; gap: 16px; }
    section.section { padding-left: 20px; padding-right: 20px; }
  }
