/* =============================================================================
   BetUSA NewsDaily v2 — one stylesheet for hub + state sites.
   Tokens come from the marketing door page. Light theme only, by design.
   ============================================================================= */
:root{
  --paper:#f3efe6; --paper-2:#e8e2d4; --white:#fffdf8;
  --ink:#10141c; --ink-soft:#1a2230; --muted:#49505d;
  --line:rgba(16,20,28,.12); --line-strong:rgba(16,20,28,.26);
  --accent:#0f7a4a; --accent-text:#0b5a37; --accent-hover:#08462b; --accent-tint:#dfe6dd;
  /* state sites override the four --accent tokens from wp_head (betusa_accent_tokens) */
  /* AAA: --play-text is the only green used for text and button fills (>=7:1 on paper, white on it 8.2:1); --play is for dots and borders */
  --heat:#d94b1f;
  --shadow:0 14px 40px rgba(16,20,28,.14);
  --font-display:"Archivo",ui-sans-serif,system-ui,"Helvetica Neue",Arial,sans-serif;
  --font-body:"Outfit",ui-sans-serif,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
  --track:.85;
  --radius:10px;
  --hdr-top:0px;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.5;-webkit-font-smoothing:antialiased}
body.bu-noscroll{overflow:hidden}
body.admin-bar{--hdr-top:32px}
@media (max-width:782px){body.admin-bar{--hdr-top:46px}}
a{color:inherit;text-decoration:none}
img,svg{display:block;max-width:100%;height:auto}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
h1,h2,h3,h4,p,ul,ol,figure{margin:0}
ul,ol{padding:0}
[hidden]{display:none!important}
:focus-visible{outline:2px solid var(--accent-text);outline-offset:2px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
.bu-skip{position:absolute;left:-999px;top:0;background:var(--ink);color:var(--white);padding:.6rem 1rem;z-index:100}
.bu-skip:focus{left:1rem;top:1rem}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important;scroll-behavior:auto!important}}

.bu-wrap{width:min(1180px,100% - 2.5rem);margin-inline:auto}
.bu-main{min-height:50vh}
.bu-mt{margin-top:1.25rem}

/* ---------- type helpers ---------- */
.bu-eyebrow{font-size:.74rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
.bu-h2{font-family:var(--font-display);font-weight:800;font-size:clamp(1.5rem,2.6vw,2rem);letter-spacing:calc(-.03em * var(--track));line-height:1.05;text-wrap:balance;margin-top:.25rem}
.bu-lede{color:var(--muted);max-width:52ch}
.bu-more-link{font-weight:700;color:var(--accent-text);white-space:nowrap}
.bu-tag{display:inline-block;padding:.22rem .5rem;border-radius:6px;background:var(--ink);color:var(--white);font-size:.68rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;line-height:1}
.bu-meta{display:flex;align-items:center;gap:.6rem;font-size:.8rem;color:var(--muted);font-weight:500}
.bu-sec-head{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin:2rem 0 1.1rem}
.bu-empty{color:var(--muted);padding:2rem 0}

/* ---------- buttons ---------- */
.bu-btn{display:inline-flex;align-items:center;justify-content:center;gap:.4rem;min-height:42px;padding:.6rem 1.05rem;border-radius:8px;font-weight:700;font-size:.95rem;line-height:1;transition:background .18s,transform .18s,color .18s;border:0}
.bu-btn:hover{transform:translateY(-1px)}
.bu-btn-play{background:var(--accent-text);color:var(--white)}
.bu-btn-play:hover{background:var(--accent-hover);color:var(--white)}
.bu-btn-ghost{border:1px solid var(--line-strong);color:var(--ink);background:transparent}
.bu-btn-ghost:hover{background:var(--white)}
.bu-btn-sm{min-height:34px;padding:.4rem .8rem;font-size:.85rem}
.bu-cta-btns{display:flex;gap:.6rem;flex-wrap:wrap}

/* ---------- header ---------- */
.bu-hdr{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:var(--hdr-top);z-index:40}
.bu-hdr-row{display:flex;align-items:center;gap:1rem;min-height:66px}
.bu-brand{font-family:var(--font-display);font-weight:800;font-size:1.3rem;letter-spacing:calc(-.035em * var(--track));white-space:nowrap;line-height:1}
.bu-brand em{font-style:normal;color:var(--accent-text)}
.bu-nav{margin-left:.5rem}
.bu-nav > ul{display:flex;gap:.15rem;list-style:none}
.bu-nav a,.bu-nav button{display:inline-flex;align-items:center;gap:.3rem;padding:.55rem .7rem;border-radius:8px;font-weight:600;font-size:.95rem;color:var(--ink-soft);line-height:1}
.bu-nav a:hover,.bu-nav button:hover{background:var(--paper)}
.bu-nav a[aria-current="page"]{background:var(--ink);color:var(--white)}
.bu-has-more{position:relative}
.bu-more{position:absolute;top:calc(100% + .35rem);left:0;min-width:200px;background:var(--white);border:1px solid var(--line);border-radius:10px;box-shadow:var(--shadow);padding:.4rem;list-style:none;z-index:5}
.bu-more a{display:block;padding:.55rem .7rem}
.bu-actions{margin-left:auto;display:flex;align-items:center;gap:.4rem}
.bu-icon-btn{width:40px;height:40px;border-radius:999px;display:grid;place-items:center;border:1px solid var(--line);color:var(--ink-soft);flex:0 0 auto}
.bu-icon-btn svg{width:18px;height:18px}
.bu-link-quiet{font-weight:600;padding:.5rem .6rem;color:var(--ink-soft)}
.bu-user{font-weight:600;font-size:.9rem;color:var(--muted);max-width:14ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bu-burger{display:none}
.bu-search{border-top:1px solid var(--line);background:var(--white)}
.bu-search form{display:flex;gap:.5rem;padding:.75rem 0}
.bu-search input{flex:1;min-width:0;font:inherit;padding:.6rem .8rem;border:1px solid var(--line-strong);border-radius:8px;background:var(--paper)}
.bu-mobile{position:fixed;inset:0;z-index:60;background:rgba(16,20,28,.45)}
.bu-mobile-inner{position:absolute;inset:0 auto 0 0;width:min(340px,86vw);background:var(--white);padding:1.25rem 1.25rem 2rem;overflow:auto;box-shadow:var(--shadow)}
.bu-mobile-close{margin-left:auto;margin-bottom:1rem}
.bu-mobile-list{list-style:none;display:grid;gap:.15rem}
.bu-mobile-list a{display:block;padding:.75rem .6rem;border-radius:8px;font-family:var(--font-display);font-weight:800;font-size:1.35rem;letter-spacing:calc(-.02em * var(--track))}
.bu-mobile-list a[aria-current="page"]{background:var(--ink);color:var(--white)}
.bu-mobile-list-sm{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--line)}
.bu-mobile-list-sm a{font-family:var(--font-body);font-weight:600;font-size:1rem;padding:.55rem .6rem}
.bu-mobile-account{display:flex;gap:.5rem;margin-top:1.25rem}
.bu-mobile-account .bu-btn{flex:1}

/* ---------- sport chips ---------- */
.bu-chips{background:var(--white);border-bottom:1px solid var(--line)}
.bu-chips-row{display:flex;gap:.4rem;overflow-x:auto;padding:.6rem 0;scrollbar-width:none}
.bu-chips-row::-webkit-scrollbar{display:none}
.bu-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .85rem;border-radius:999px;border:1px solid var(--line);font-weight:600;font-size:.85rem;white-space:nowrap;color:var(--ink-soft);background:var(--white);line-height:1}
.bu-chip.is-on{background:var(--ink);color:var(--white);border-color:var(--ink)}
.bu-chip.is-off{color:var(--muted);border-style:dashed}
.bu-dot{width:7px;height:7px;border-radius:50%;background:var(--accent);display:inline-block}
.bu-chips-note{margin-left:auto;font-size:.78rem;color:var(--muted);white-space:nowrap;display:inline-flex;align-items:center;gap:.4rem;padding-left:1rem}

/* ---------- page title strip ---------- */
.bu-pt{padding:1.6rem 0 1rem}
.bu-crumbs{font-size:.82rem;color:var(--muted);display:flex;gap:.45rem;margin-bottom:.4rem;flex-wrap:wrap}
.bu-crumbs a{color:var(--accent-text);font-weight:600}
.bu-pt h1{font-family:var(--font-display);font-weight:800;font-size:clamp(1.9rem,4vw,2.6rem);letter-spacing:calc(-.035em * var(--track));line-height:1;text-wrap:balance}
.bu-pt p{color:var(--muted);margin-top:.45rem;max-width:64ch}

/* ---------- app pages: the iframe well ---------- */
.bu-well{background:transparent;border:0;border-radius:0;padding:0;margin-bottom:2.5rem;min-height:60vh;overflow:hidden}
.bu-well > *{margin:0}
.bu-iframe{display:block;width:100%;border:0}
.bu-well p:empty{display:none}

/* ---------- stories ---------- */
.bu-story{display:grid;gap:.55rem;align-content:start}
.bu-thumb{display:block;border-radius:var(--radius);overflow:hidden;background:var(--paper-2);aspect-ratio:16/10}
.bu-thumb img{width:100%;height:100%;object-fit:cover}
.bu-tile{display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(135deg,var(--ink) 0%,#233047 100%);color:var(--white)}
.bu-tile-abbr{font-family:var(--font-display);font-weight:800;font-size:clamp(1.4rem,3vw,2.2rem);letter-spacing:calc(-.03em * var(--track));opacity:.9}
.bu-story-title{font-family:var(--font-display);font-weight:700;letter-spacing:calc(-.02em * var(--track));line-height:1.12;text-wrap:balance;font-size:1.05rem}
.bu-story-title a:hover{color:var(--accent-hover)}
.bu-story-dek{color:var(--muted)}
.bu-story-body{display:grid;gap:.5rem}
.bu-story-big .bu-story-title{font-size:clamp(1.45rem,3vw,2.15rem)}
.bu-story-big .bu-thumb{border-radius:var(--radius)}
.bu-lead{display:grid;grid-template-columns:1.35fr 1fr;gap:1.5rem;margin-top:.5rem}
.bu-side{display:grid;gap:1rem;align-content:start}
.bu-story-row{grid-template-columns:118px 1fr;gap:.9rem;align-items:center}
.bu-story-row .bu-thumb{aspect-ratio:4/3;border-radius:8px}
.bu-story-row .bu-story-title{font-size:1.02rem}
.bu-story-row .bu-tile-abbr{font-size:1rem}
.bu-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.25rem}
.bu-story-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--white);padding:.7rem .7rem .9rem}
.bu-story-card .bu-thumb{border-radius:6px}
.bu-story-card .bu-story-body{padding:0 .2rem}

/* ---------- pagination ---------- */
.bu-pagination{margin:2rem 0 1rem}
.bu-pagination .nav-links{display:flex;gap:.35rem;flex-wrap:wrap;justify-content:center}
.bu-pagination .page-numbers{display:inline-flex;align-items:center;min-height:38px;padding:.4rem .8rem;border:1px solid var(--line);border-radius:8px;background:var(--white);font-weight:600;font-size:.9rem}
.bu-pagination .page-numbers.current{background:var(--ink);color:var(--white);border-color:var(--ink)}
.bu-pagination .page-numbers.dots{border:0;background:none}
.bu-pagination .screen-reader-text{display:none}

/* ---------- article ---------- */
.bu-article{max-width:72ch;padding:1.25rem 0 2.5rem}
.bu-article .bu-crumbs{margin-bottom:.75rem}
.bu-article-title{font-family:var(--font-display);font-weight:800;font-size:clamp(1.9rem,4vw,2.8rem);letter-spacing:calc(-.035em * var(--track));line-height:1.02;text-wrap:balance;margin:.6rem 0 .75rem}
.bu-dek{font-size:1.15rem;color:var(--muted);margin-bottom:1rem}
.bu-article-media{margin:1.25rem 0;border-radius:var(--radius);overflow:hidden;background:var(--paper-2)}
.bu-article-media img{width:100%;height:auto}
.bu-article-cta{margin-top:1.75rem}
.bu-related{padding-bottom:2.5rem}

/* WordPress content */
.bu-entry{font-size:1.08rem;line-height:1.68}
.bu-entry > *{margin:0 0 1.1rem}
.bu-entry > *:last-child{margin-bottom:0}
.bu-entry h2,.bu-entry h3,.bu-entry h4{font-family:var(--font-display);letter-spacing:calc(-.02em * var(--track));line-height:1.15;margin-top:1.8rem}
.bu-entry h2{font-size:1.6rem}
.bu-entry h3{font-size:1.3rem}
.bu-entry h4{font-size:1.1rem}
.bu-entry a{color:var(--accent-hover);text-decoration:underline;text-underline-offset:2px}
.bu-entry ul,.bu-entry ol{padding-left:1.4rem}
.bu-entry li{margin:.3rem 0}
.bu-entry blockquote{border-left:3px solid var(--accent);padding:.25rem 0 .25rem 1rem;color:var(--muted);font-size:1.05em}
.bu-entry img{border-radius:8px}
.bu-entry figure{margin-inline:0}
.bu-entry figcaption{font-size:.85rem;color:var(--muted);margin-top:.4rem}
.bu-entry table{border-collapse:collapse;width:100%;font-size:.95rem;font-variant-numeric:tabular-nums}
.bu-entry th,.bu-entry td{padding:.55rem .7rem;border-top:1px solid var(--line);text-align:left}
.bu-entry thead th{background:var(--paper-2);border-top:0;font-size:.74rem;letter-spacing:.08em;text-transform:uppercase}
.bu-entry .wp-block-table{overflow-x:auto}
.bu-entry .alignwide,.bu-entry .alignfull{max-width:100%}
.bu-entry iframe{max-width:100%}

/* utility pages (FAQs, login, register) */
.bu-utility{max-width:72ch;padding-bottom:2.5rem}
.bu-utility .bu-entry input[type="text"],.bu-utility .bu-entry input[type="email"],.bu-utility .bu-entry input[type="password"],.bu-utility .bu-entry input[type="url"],.bu-utility .bu-entry textarea{width:100%;font:inherit;padding:.65rem .8rem;border:1px solid var(--line-strong);border-radius:8px;background:var(--white)}
.bu-utility .bu-entry label{font-weight:600;display:block;margin-bottom:.3rem}
.bu-utility .bu-entry input[type="submit"],.bu-utility .bu-entry button{display:inline-flex;align-items:center;min-height:42px;padding:.6rem 1.05rem;border-radius:8px;font-weight:700;background:var(--accent-text);color:var(--white);border:0;cursor:pointer}
.bu-utility .bu-entry .tml-field-wrap{margin-bottom:1rem}
.bu-utility .bu-entry .tml-links{font-size:.9rem;list-style:none;padding:0}

/* ---------- state home ---------- */
.bu-hero{padding:2.25rem 0 1.5rem}
.bu-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:2rem;align-items:end}
.bu-hero h1{font-family:var(--font-display);font-weight:800;font-size:clamp(2.2rem,5.2vw,3.8rem);line-height:.96;letter-spacing:calc(-.045em * var(--track));text-wrap:balance;max-width:14ch;margin-top:.5rem}
.bu-hero h1 em{font-style:normal;color:var(--accent-text)}
.bu-hero p{font-size:1.08rem;color:var(--muted);max-width:42ch;margin:.85rem 0 1.25rem}
.bu-panel{background:var(--ink);color:var(--white);border-radius:var(--radius);padding:1.1rem 1.1rem .5rem;box-shadow:var(--shadow)}
.bu-panel-head{margin-bottom:.35rem}
.bu-panel .bu-eyebrow{color:#99a2b1;display:flex;align-items:center;gap:.5rem}
.bu-panel .bu-eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--heat);box-shadow:0 0 0 4px rgba(217,75,31,.25)}
.bu-panel-row{display:flex;justify-content:space-between;align-items:center;gap:.75rem;padding:.7rem 0;border-top:1px solid rgba(255,253,248,.12)}
.bu-panel-row:first-of-type{border-top:0}
.bu-panel-row strong{display:block;font-weight:700}
.bu-panel-row small{display:block;font-size:.78rem;color:#99a2b1;margin-top:.1rem}
.bu-panel-row:hover strong{color:#b8f0d0}

/* ---------- sections ---------- */
.bu-section{padding:2.25rem 0}
.bu-cta-band{background:var(--white);border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-top:1.5rem}
.bu-cta-row{display:grid;grid-template-columns:1.2fr .8fr;gap:2rem;align-items:center}
.bu-cta-row .bu-lede{margin-top:.5rem}
.bu-cta-row .bu-cta-btns{justify-content:end}
.bu-network .bu-lede{margin:.4rem 0 .9rem}
.bu-states{display:flex;flex-wrap:wrap;gap:.35rem}
.bu-st{padding:.38rem .55rem;border:1px solid var(--line);border-radius:6px;font-size:.8rem;font-weight:600;background:var(--white);color:var(--ink-soft);line-height:1}
.bu-st:hover{border-color:var(--ink)}
.bu-st.is-here{background:var(--accent-text);color:var(--white);border-color:var(--accent-text)}
.bu-map{margin-top:1.5rem}
.bu-map svg,.bu-map img{max-width:100%;height:auto;margin-inline:auto}

/* ---------- footer ---------- */
.bu-ftr{background:var(--ink);color:var(--white);padding:2.5rem 0 1.5rem;margin-top:1.5rem}
.bu-ftr-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:2rem}
.bu-ftr h4{font-family:var(--font-display);font-size:.82rem;letter-spacing:.08em;text-transform:uppercase;color:#99a2b1;margin-bottom:.6rem}
.bu-ftr ul{list-style:none;display:grid;gap:.35rem;font-size:.92rem;color:rgba(255,253,248,.82)}
.bu-ftr a:hover{color:#b8f0d0}
.bu-ftr .bu-brand{color:var(--white)}
.bu-ftr .bu-brand em{color:#b8f0d0}
.bu-ftr p{color:rgba(255,253,248,.7);font-size:.92rem;max-width:36ch;margin-top:.6rem}
.bu-ftr-bottom{border-top:1px solid rgba(255,253,248,.12);margin-top:2rem;padding-top:1rem;font-size:.8rem;color:#99a2b1;display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap}

/* ---------- phone bottom tabs ---------- */
.bu-tabbar{display:none;position:sticky;bottom:0;z-index:30;background:var(--white);border-top:1px solid var(--line);padding:.3rem .5rem calc(.3rem + env(safe-area-inset-bottom,0px))}
.bu-tabbar ul{list-style:none;display:grid;grid-template-columns:repeat(5,1fr)}
.bu-tabbar a,.bu-tabbar button{display:grid;justify-items:center;gap:.15rem;font-size:.64rem;font-weight:600;color:var(--muted);padding:.3rem 0;width:100%;line-height:1}
.bu-tabbar [aria-current="page"]{color:var(--accent-text)}
.bu-tabbar svg{width:22px;height:22px}

/* ---------- responsive ---------- */
@media (max-width:1000px){
  .bu-grid3{grid-template-columns:repeat(2,1fr)}
  .bu-ftr-grid{grid-template-columns:1fr 1fr}
  .bu-cta-row{grid-template-columns:1fr}
  .bu-cta-row .bu-cta-btns{justify-content:start}
}
@media (max-width:760px){
  .bu-wrap{width:calc(100% - 2rem)}
  .bu-nav,.bu-link-quiet,.bu-actions .bu-btn,.bu-user{display:none}
  .bu-burger{display:grid}
  .bu-hdr-row{min-height:58px}
  .bu-brand{font-size:1.15rem}
  .bu-chips-note{display:none}
  .bu-hero{padding-top:1.5rem}
  .bu-hero-grid{grid-template-columns:1fr;gap:1.25rem}
  .bu-hero h1{max-width:none}
  .bu-lead{grid-template-columns:1fr}
  .bu-grid3{grid-template-columns:1fr}
  .bu-ftr-grid{grid-template-columns:1fr 1fr;gap:1.5rem}
  .bu-ftr-grid > :first-child{grid-column:1 / -1}
  .bu-section{padding:1.75rem 0}
  .bu-tabbar{display:block}
  .bu-well{padding:0;margin-bottom:1.5rem}
  .bu-entry{font-size:1.02rem}
  .bu-sec-head{align-items:start;flex-direction:column;gap:.35rem}
}
