/* =========================================================================
   Sbobet Hub — Child Theme Design System
   Cobalt-command on porcelain/cream, light-premium, never black.
   Namespaced under .sbh-* to avoid GeneratePress collisions.
   ========================================================================= */

:root{
  --sbh-navy:#0B3D91;
  --sbh-blue:#1E88E5;
  --sbh-blue-deep:#123a7a;
  --sbh-cream:#F4F7FC;
  --sbh-porcelain:#FCFCFD;
  --sbh-white:#FFFFFF;
  --sbh-ink:#16233D;
  --sbh-ink-soft:#4A5670;
  --sbh-line:#E2E8F5;
  --sbh-magenta:#C23B9E;
  --sbh-amber:#E7A93B;
  --sbh-success:#1E9E6B;
  --sbh-radius-lg:22px;
  --sbh-radius-md:16px;
  --sbh-radius-sm:10px;
  --sbh-shadow:0 10px 30px -12px rgba(11,61,145,0.18);
  --sbh-shadow-sm:0 4px 14px -8px rgba(11,61,145,0.22);
  --sbh-maxw:1240px;
}

/* Reset scoped basics for our content zones only */
body.sbh-site{ background:var(--sbh-cream); }
body.sbh-site .site-content{ background:var(--sbh-cream); }

/* Custom logo sizing (GeneratePress core has no logo-width control without Premium) */
.site-logo img.header-image, .site-logo img.is-logo-image, .custom-logo-link img{ max-height:44px !important; width:auto !important; display:block; }
.site-logo{ display:flex; align-items:center; }

.sbh-wrap{ max-width:var(--sbh-maxw); margin:0 auto; padding:0 20px; }

/* ---------- Typography ---------- */
.sbh-site,
.sbh-route, .sbh-home{
  font-family: "Noto Sans Myanmar","Padauk", -apple-system, "Segoe UI", Roboto, sans-serif;
  color:var(--sbh-ink);
  line-height:1.75;
}
.sbh-h1{ font-size:clamp(26px,4vw,40px); font-weight:800; line-height:1.3; color:var(--sbh-navy); margin:0 0 14px; letter-spacing:-0.01em; }
.sbh-h2{ font-size:clamp(21px,2.6vw,28px); font-weight:800; color:var(--sbh-navy); margin:0 0 12px; }
.sbh-h3{ font-size:19px; font-weight:700; color:var(--sbh-blue-deep); margin:0 0 8px; }
.sbh-lede{ font-size:17px; color:var(--sbh-ink-soft); max-width:70ch; }
.sbh-p{ font-size:16px; color:var(--sbh-ink); margin:0 0 14px; max-width:75ch; }
.sbh-list{ margin:0 0 16px; padding-left:22px; }
.sbh-list li{ margin-bottom:8px; }
a.sbh-link{ color:var(--sbh-blue); font-weight:700; text-decoration:none; border-bottom:2px solid rgba(30,136,229,.25); }
a.sbh-link:hover{ border-color:var(--sbh-blue); }

/* ---------- Breadcrumb ---------- */
.sbh-breadcrumb{ font-size:13px; color:var(--sbh-ink-soft); padding:14px 0 0; }
.sbh-breadcrumb a{ color:var(--sbh-ink-soft); text-decoration:none; }
.sbh-breadcrumb a:hover{ color:var(--sbh-blue); }

/* ---------- Sticky mobile CTA (docked, per fleet convention) ---------- */
.sbh-sticky-cta{
  position:fixed; left:0; right:0; bottom:0; z-index:9999;
  background:linear-gradient(135deg,var(--sbh-navy),var(--sbh-blue));
  padding:12px 16px calc(12px + env(safe-area-inset-bottom));
  display:flex; align-items:center; justify-content:center; gap:10px;
  box-shadow:0 -8px 24px -8px rgba(11,61,145,.4);
}
.sbh-sticky-cta a{
  display:flex; align-items:center; justify-content:center; gap:8px;
  width:100%; max-width:480px; color:#fff; font-weight:800; font-size:15px;
  padding:12px 18px; border-radius:999px; background:rgba(255,255,255,.14);
  border:1.5px solid rgba(255,255,255,.5); text-decoration:none;
}
.sbh-sticky-cta a:hover{ background:rgba(255,255,255,.24); }
@media (min-width:1025px){ .sbh-sticky-cta{ display:none; } }
body.sbh-site{ padding-bottom:76px; }
@media (min-width:1025px){ body.sbh-site{ padding-bottom:0; } }

/* ---------- Route hero ---------- */
.sbh-route-hero{
  background:
    radial-gradient(1100px 420px at 85% -10%, rgba(30,136,229,.14), transparent 60%),
    linear-gradient(180deg,#EAF1FD 0%, var(--sbh-cream) 100%);
  border-bottom:1px solid var(--sbh-line);
  padding:28px 0 34px;
}
.sbh-route-hero-inner{ display:flex; align-items:center; gap:28px; flex-wrap:wrap; }
.sbh-route-hero-icon{ flex:0 0 auto; width:84px; height:84px; filter:drop-shadow(var(--sbh-shadow-sm)); }
.sbh-route-hero-icon img{ width:100%; height:100%; display:block; }
.sbh-route-hero-text{ flex:1 1 380px; }
.sbh-kicker{
  display:inline-flex; align-items:center; gap:6px; font-size:12.5px; font-weight:800;
  letter-spacing:.06em; color:var(--sbh-blue-deep); background:#E4EEFC; border:1px solid #CFE0F9;
  padding:6px 12px; border-radius:999px; margin-bottom:12px;
}

/* ---------- Disclosure banner (independent guide, non-affiliation) ---------- */
.sbh-disclosure{
  background:#FFF7E8; border:1px solid #F1DCA4; color:#6B4B10;
  border-radius:var(--sbh-radius-sm); padding:14px 18px; font-size:14px; line-height:1.6;
  margin:18px 0; display:flex; gap:10px;
}
.sbh-disclosure strong{ color:#4A3608; }

/* ---------- Section shell ---------- */
.sbh-section{ padding:38px 0; }
.sbh-section-alt{ background:var(--sbh-porcelain); }
.sbh-section-tight{ padding:26px 0; }

/* Alternating editorial row (image-left/right per binding contract) */
.sbh-editorial{ display:flex; align-items:center; gap:36px; flex-wrap:wrap; }
.sbh-editorial.sbh-reverse{ flex-direction:row-reverse; }
.sbh-editorial-media{ flex:1 1 320px; min-width:260px; }
.sbh-editorial-media img{ width:100%; border-radius:var(--sbh-radius-lg); box-shadow:var(--sbh-shadow); display:block; aspect-ratio:4/3; object-fit:cover; background:#dfe8f7; }
.sbh-editorial-media.sbh-icon-media{ display:flex; align-items:center; justify-content:center; }
.sbh-editorial-media.sbh-icon-media img{ aspect-ratio:1/1; object-fit:contain; max-width:180px; background:transparent; box-shadow:none; margin:0 auto; padding:20px; }
.sbh-editorial-body{ flex:1 1 380px; }

/* ---------- Cards ---------- */
.sbh-card{ background:var(--sbh-white); border:1px solid var(--sbh-line); border-radius:var(--sbh-radius-md); padding:20px; box-shadow:var(--sbh-shadow-sm); }
.sbh-grid{ display:grid; gap:18px; }
.sbh-grid-2{ grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.sbh-grid-3{ grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); }
.sbh-grid-4{ grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); }

/* Game inventory + game cards */
.sbh-game-card{ background:#fff; border:1px solid var(--sbh-line); border-radius:var(--sbh-radius-md); overflow:hidden; box-shadow:var(--sbh-shadow-sm); display:flex; flex-direction:column; }
.sbh-game-card img{ width:100%; aspect-ratio:3/4; object-fit:cover; display:block; background:#dfe8f7; }
.sbh-game-card-body{ padding:14px 14px 16px; flex:1; display:flex; flex-direction:column; }
.sbh-game-tag{ align-self:flex-start; font-size:11px; font-weight:800; color:var(--sbh-blue-deep); background:#E4EEFC; padding:3px 9px; border-radius:999px; margin-bottom:8px; }
.sbh-game-name{ font-weight:800; font-size:15px; color:var(--sbh-ink); margin:0 0 4px; }
.sbh-game-provider{ font-size:12px; color:var(--sbh-ink-soft); margin:0 0 8px; }
.sbh-game-desc{ font-size:13.5px; color:var(--sbh-ink-soft); line-height:1.6; }

/* Compact game-type tile grid */
.sbh-tile{ display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; text-decoration:none; background:#fff; border:1px solid var(--sbh-line); border-radius:var(--sbh-radius-sm); padding:16px 10px; box-shadow:var(--sbh-shadow-sm); transition:transform .15s ease; }
.sbh-tile:hover{ transform:translateY(-3px); border-color:var(--sbh-blue); }
.sbh-tile img{ width:44px; height:44px; }
.sbh-tile span{ font-size:13px; font-weight:700; color:var(--sbh-ink); }

/* ---------- Buttons ---------- */
.sbh-btn{ display:inline-flex; align-items:center; gap:8px; font-weight:800; font-size:15px; padding:12px 22px; border-radius:999px; text-decoration:none; }
.sbh-btn-primary{ background:linear-gradient(135deg,var(--sbh-navy),var(--sbh-blue)); color:#fff; box-shadow:0 8px 18px -6px rgba(11,61,145,.45); }
.sbh-btn-primary:hover{ filter:brightness(1.06); }
.sbh-btn-outline{ background:#fff; color:var(--sbh-navy); border:1.5px solid var(--sbh-navy); }

/* ---------- FAQ accordion ---------- */
.sbh-faq{ border-top:1px solid var(--sbh-line); }
.sbh-faq-item{ border-bottom:1px solid var(--sbh-line); }
.sbh-faq-q{ width:100%; text-align:left; background:none; border:0; padding:16px 4px; font-size:15.5px; font-weight:700; color:var(--sbh-ink); display:flex; justify-content:space-between; align-items:center; gap:14px; cursor:pointer; }
.sbh-faq-q::after{ content:"+"; font-size:22px; color:var(--sbh-blue); flex:0 0 auto; }
.sbh-faq-item.is-open .sbh-faq-q::after{ content:"–"; }
.sbh-faq-a{ display:none; padding:0 4px 18px; color:var(--sbh-ink-soft); font-size:14.5px; line-height:1.7; }
.sbh-faq-item.is-open .sbh-faq-a{ display:block; }

/* ---------- Trust strip ---------- */
.sbh-trust-strip{ background:var(--sbh-porcelain); border-top:1px solid var(--sbh-line); border-bottom:1px solid var(--sbh-line); padding:28px 0; }
.sbh-trust-row{ display:flex; gap:22px; flex-wrap:wrap; align-items:center; justify-content:center; }
.sbh-trust-row img{ height:34px; width:auto; object-fit:contain; filter:grayscale(.15); opacity:.92; }
.sbh-trust-note{ text-align:center; font-size:12.5px; color:var(--sbh-ink-soft); margin-top:14px; max-width:760px; margin-left:auto; margin-right:auto; }
.sbh-provider-marquee{ display:flex; gap:16px; flex-wrap:wrap; justify-content:center; }
.sbh-provider-marquee img{ height:30px; }

/* ---------- Review grid ---------- */
.sbh-review-note{ font-size:13px; color:var(--sbh-ink-soft); font-style:italic; margin-bottom:16px; }
.review-grid{ display:grid; gap:16px; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); }
.review-card{ background:#fff; border:1px solid var(--sbh-line); border-radius:var(--sbh-radius-md); padding:18px; box-shadow:var(--sbh-shadow-sm); }
.review-card .stars{ color:var(--sbh-amber); font-size:15px; letter-spacing:2px; margin-bottom:8px; }
.review-card .quote{ font-size:14px; color:var(--sbh-ink); margin-bottom:12px; }
.review-card .who{ display:flex; align-items:center; gap:10px; }
.review-card .avatar{ width:32px; height:32px; border-radius:50%; background:linear-gradient(135deg,var(--sbh-navy),var(--sbh-blue)); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:13px; }
.review-card .name{ font-size:13px; font-weight:700; color:var(--sbh-ink); }

/* ---------- News cards ---------- */
.sbh-news-card{ background:#fff; border:1px solid var(--sbh-line); border-radius:var(--sbh-radius-md); padding:18px; box-shadow:var(--sbh-shadow-sm); }
.sbh-news-date{ font-size:12px; color:var(--sbh-blue-deep); font-weight:800; margin-bottom:6px; }
.sbh-news-title{ font-size:16px; font-weight:800; color:var(--sbh-ink); margin:0 0 8px; }

/* ---------- Footer additions ---------- */
.sbh-footer-block{ background:#0E2A5C; color:#E9EFFB; padding:36px 0 20px; }
.sbh-footer-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr)); gap:24px; margin-bottom:24px; }
.sbh-footer-heading{ font-size:13px; font-weight:800; letter-spacing:.04em; color:#BFD3F6; margin-bottom:12px; text-transform:uppercase; }
.sbh-footer-block a{ color:#DCE7FA; text-decoration:none; font-size:13.5px; }
.sbh-footer-block a:hover{ color:#fff; }
.sbh-footer-address{ font-size:13px; color:#C6D6F3; line-height:1.7; }
.sbh-social-row{ display:flex; gap:10px; flex-wrap:wrap; margin-top:6px; }
.sbh-social-row a{ background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:7px 14px; font-size:12.5px; }
.sbh-social-row a:hover{ background:rgba(255,255,255,.16); }
.sbh-footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding-top:16px; font-size:12px; color:#9FB6DE; display:flex; flex-wrap:wrap; gap:8px 18px; justify-content:space-between; }
.sbh-footer-disclosure{ font-size:12px; color:#9FB6DE; max-width:900px; line-height:1.7; margin-bottom:16px; }

/* ---------- Responsive ---------- */
@media (max-width:640px){
  .sbh-editorial, .sbh-editorial.sbh-reverse{ flex-direction:column; }
  .sbh-route-hero-inner{ flex-direction:column; text-align:center; }
  .sbh-trust-row img{ height:26px; }
}

/* ---------- Homepage-specific ---------- */
.sbh-home-hero{
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(30,136,229,.20), transparent 60%),
    linear-gradient(180deg,#EAF1FD 0%, var(--sbh-cream) 100%);
  padding:34px 0 40px; border-bottom:1px solid var(--sbh-line);
}
.sbh-home-hero-split{ display:flex; gap:32px; align-items:center; flex-wrap:wrap; }
.sbh-home-hero-copy{ flex:1 1 380px; }
.sbh-home-hero-panel{ flex:1 1 360px; min-width:280px; }
.sbh-home-hero-panel .sbh-card{ background:linear-gradient(160deg,#0B3D91,#1E88E5); color:#fff; border:none; }
.sbh-home-hero-panel .sbh-card .sbh-h3{ color:#fff; }
.sbh-home-hero-panel .sbh-card p{ color:#EAF1FD; }
.sbh-badge-row{ display:flex; gap:8px; flex-wrap:wrap; margin:14px 0; }
.sbh-badge{ font-size:12px; font-weight:700; background:#fff; border:1px solid var(--sbh-line); border-radius:999px; padding:6px 12px; color:var(--sbh-blue-deep); }
.sbh-score-strip{ display:flex; gap:14px; overflow-x:auto; padding:6px 2px 14px; }
.sbh-score-item{ flex:0 0 auto; min-width:180px; background:#fff; border:1px solid var(--sbh-line); border-radius:var(--sbh-radius-sm); padding:14px; box-shadow:var(--sbh-shadow-sm); }
.sbh-score-item .lbl{ font-size:11px; font-weight:800; color:var(--sbh-blue-deep); text-transform:uppercase; letter-spacing:.05em; }
.sbh-score-item .val{ font-size:14px; font-weight:700; color:var(--sbh-ink); margin-top:6px; }
.sbh-search-inventory{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:18px; }
.sbh-search-inventory input, .sbh-search-inventory select{ padding:10px 14px; border-radius:999px; border:1.5px solid var(--sbh-line); font-size:14px; background:#fff; }
.sbh-search-inventory input{ flex:1 1 220px; }
.sbh-filter-tabs{ display:flex; gap:8px; flex-wrap:wrap; margin-bottom:16px; }
.sbh-filter-tab{ border:1.5px solid var(--sbh-line); background:#fff; border-radius:999px; padding:8px 16px; font-size:13px; font-weight:700; color:var(--sbh-ink-soft); cursor:pointer; }
.sbh-filter-tab.is-active{ background:var(--sbh-navy); border-color:var(--sbh-navy); color:#fff; }
.sbh-game-card[hidden]{ display:none; }

/* v2: hero background banner (sbov2) */
.sbh-home-hero.sbh-home-hero-bg{
  background:
    linear-gradient(90deg, rgba(240,246,255,.96) 0%, rgba(240,246,255,.88) 34%, rgba(240,246,255,.45) 62%, rgba(240,246,255,.15) 100%),
    url('/assets/img/agnes-batch/sbov2-hero-bg.webp') right center / cover no-repeat,
    linear-gradient(180deg,#EAF1FD 0%, #F7FAFF 100%);
  border-bottom:1px solid var(--sbh-line);
}
@media (max-width:760px){
  .sbh-home-hero.sbh-home-hero-bg{
    background:
      linear-gradient(180deg, rgba(240,246,255,.97) 0%, rgba(240,246,255,.9) 55%, rgba(240,246,255,.75) 100%),
      url('/assets/img/agnes-batch/sbov2-hero-bg.webp') center top / cover no-repeat;
  }
}
.sbh-home-hero-panel .sbh-card .sbh-btn-primary{ background:#FFC107; color:#0B3D91; border:none; font-weight:700; }
.sbh-home-hero-panel .sbh-card .sbh-btn-primary:hover{ background:#FFD54F; }
