/* ==========================================================================
   Bookmakkers — design chiaro e sportivo
   Scritto per sostituire global.css / homepage.css / bookmakers.css.
   Priorità: leggibilità della classifica e chiarezza della CTA.
   ========================================================================== */

/* --- Token -------------------------------------------------------------- */
:root {
    --page:      #f2f5f9;
    --surface:   #ffffff;
    --surface-2: #f8fafc;
    --ink:       #0e1726;
    --ink-2:     #47566b;
    --muted:     #7b8a9e;
    --line:      #e2e8f0;

    --brand:     #0a63d6;
    --brand-ink: #084aa3;
    --sky:       #94d6ff;

    --go:        #00a14b;   /* azione: scommetti */
    --go-ink:    #00803b;
    --casino:    #e08700;   /* azione secondaria: casinò */

    --gold:      #b8860b;
    --radius:    14px;
    --radius-sm: 9px;
    --shadow:    0 1px 2px rgba(14,23,38,.06), 0 4px 14px rgba(14,23,38,.05);
    --shadow-up: 0 6px 24px rgba(14,23,38,.10);
    --wrap:      1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: Outfit, "Segoe UI", system-ui, -apple-system, sans-serif;
    background: var(--page);
    color: var(--ink);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

/* i numeri sono il contenuto: allineati e leggibili */
.hp-bm-row-score, .hp-bm-row-rank, .star-score, .score-num,
.bqs-value, .hp-stat-num, .bm-cta-card-amount, .hp-bm-bonus-val {
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
}

/* --- Navigazione -------------------------------------------------------- */
.bookmakkers-nav {
    position: sticky; top: 0; z-index: 200;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    height: 64px;
}
.nav-inner { display: flex; align-items: center; gap: 28px; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; height: 64px; }
.nav-logo { display: flex; align-items: center; gap: .36em; font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; flex-shrink: 0; }
.nav-logo:hover { text-decoration: none; }
.logo-mark { display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; background: var(--brand); color: #fff; border-radius: 8px; font-size: .72em; font-weight: 800; }
.logo-word { color: var(--ink); }
.logo-dot { color: var(--brand); }

.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; flex: 1; min-width: 0; flex-wrap: nowrap; }
.nav-links > li { position: relative; flex-shrink: 0; }
.nav-links > li > a {
    display: flex; align-items: center; gap: 5px;
    padding: 9px 11px; border-radius: var(--radius-sm);
    color: var(--ink-2); font-size: 14.5px; font-weight: 600;
    white-space: nowrap;                       /* niente voci a capo */
}
.nav-links > li > a:hover { background: var(--surface-2); color: var(--brand); text-decoration: none; }
.nav-caret { font-size: 10px; opacity: .6; }

/* tendina */
.nav-links .sub-menu {
    display: none; position: absolute; top: calc(100% - 2px); left: 0;
    min-width: 230px; max-height: 70vh; overflow-y: auto;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow-up);
    padding: 6px; list-style: none; z-index: 210;
}
.nav-links li:hover > .sub-menu, .nav-links li:focus-within > .sub-menu { display: block; }
.nav-links .sub-menu a {
    display: block; padding: 9px 12px; border-radius: 7px;
    font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
}
.nav-links .sub-menu a:hover { background: var(--surface-2); color: var(--brand); text-decoration: none; }
.sub-menu--wide { columns: 2; column-gap: 6px; min-width: 430px; right: 0; left: auto; }
.sub-menu--wide li { break-inside: avoid; }
.sub-child { padding-left: 22px !important; color: var(--muted) !important; }
.nav-more > a { color: var(--brand); }

.nav-right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.btn-nav-primary {
    background: var(--brand); color: #fff; padding: 10px 18px;
    border-radius: var(--radius-sm); font-size: 14px; font-weight: 700; white-space: nowrap;
}
.btn-nav-primary:hover { background: var(--brand-ink); text-decoration: none; }

.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; }
.nav-mobile-drawer { display: none; }
.nav-mobile-drawer.open { display: block; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 16px 18px; }
.mobile-nav-links { list-style: none; }
.mobile-nav-links a { display: block; padding: 11px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }

/* --- Carosello ---------------------------------------------------------- */
.bm-carousel-bar { background: var(--surface); border-bottom: 1px solid var(--line); }
.bm-carousel-inner { max-width: var(--wrap); margin: 0 auto; padding: 14px 22px; }
.bm-carousel-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.bm-carousel-title { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.bm-carousel-live-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.bm-carousel-all { margin-left: auto; font-size: 13px; font-weight: 700; }
.bm-carousel-viewport { overflow-x: auto; scrollbar-width: none; }
.bm-carousel-viewport::-webkit-scrollbar { display: none; }
.bm-carousel-track { display: flex; gap: 10px; }
.bm-car-item {
    flex: 0 0 auto; width: 132px; text-align: center; padding: 14px 10px;
    background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius);
}
.bm-car-logo-wrap { display: block; margin-bottom: 8px; }
.bm-car-emoji { font-size: 30px; }
.bm-car-name { display: block; font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.bm-car-cta { font-size: 12.5px; font-weight: 700; color: var(--brand); }

/* --- Hero (compatto: la classifica è il contenuto) ---------------------- */
.hp-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hp-hero-bg, .hp-hero-orb, .hp-grid-overlay { display: none; }
.hp-hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 46px 22px 40px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.hp-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--brand); margin-bottom: 14px; }
.hp-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--go); }
.hp-hero-title { margin-bottom: 14px; }
.hp-hero-title em { font-style: normal; color: var(--brand); }
.hp-hero-sub { font-size: 17.5px; color: var(--ink-2); max-width: 46ch; margin-bottom: 18px; }
.hp-trust-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); font-weight: 600; }
.hp-trust-sep { color: var(--line); }

.hp-hero-ctas-side { display: grid; gap: 9px; }
.hp-side-cta { padding: 13px 18px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 700; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.hp-side-cta:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }
.hp-side-cta--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.hp-side-cta--primary:hover { background: var(--brand-ink); color: #fff; }
.hp-side-cta--secondary { background: var(--surface-2); }

/* --- Statistiche -------------------------------------------------------- */
.hp-stats-strip { max-width: var(--wrap); margin: 0 auto; padding: 24px 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.hp-stat-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.hp-stat-num { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.hp-stat-lbl { font-size: 13px; color: var(--muted); }

/* --- Sezioni ------------------------------------------------------------ */
.hp-section { padding: 46px 0; }
.hp-section--dark { background: var(--ink); color: #fff; }
.hp-section-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.hp-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; }
.hp-section-head--center { flex-direction: column; align-items: center; text-align: center; }
.hp-section-sub { color: var(--ink-2); margin-top: 6px; }
.hp-section--dark .hp-section-sub, .hp-section-sub--muted { color: #aebdd1; }
.hp-section-title--light { color: #fff; }
.hp-label-tag { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 6px; }
.hp-label-tag--dark { color: var(--sky); }
.hp-link-all, .hp-section-link { font-size: 14.5px; font-weight: 700; white-space: nowrap; }

/* --- Card top 4 --------------------------------------------------------- */
.hp-bm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 40px; }
.hp-bm-card {
    position: relative; background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 14px;
}
.hp-bm-card:has(.hp-bm-top-badge) { border-color: var(--brand); box-shadow: var(--shadow-up); }
.hp-bm-top-badge {
    position: absolute; top: -11px; left: 20px; background: var(--brand); color: #fff;
    font-size: 11.5px; font-weight: 700; padding: 4px 11px; border-radius: 20px;
}
.hp-bm-card-head { display: flex; align-items: center; gap: 12px; }
.hp-bm-logo { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--surface-2); border-radius: 10px; flex-shrink: 0; }
.hp-bm-card-name { font-size: 17px; font-weight: 800; }
.hp-bm-stars { font-size: 13px; color: var(--gold); }
.hp-bm-stars span { color: var(--ink-2); font-weight: 700; margin-left: 4px; }
.hp-bm-rank-badge { margin-left: auto; font-size: 20px; font-weight: 800; color: var(--line); }

.hp-bm-bonus-box { background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 13px; text-align: center; }
.hp-bm-bonus-val { font-size: 25px; font-weight: 800; color: var(--go-ink); letter-spacing: -.02em; }
.hp-bm-bonus-lbl { font-size: 12.5px; color: var(--muted); }

.hp-bm-tags, .hp-bm-row-tags, .bm-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hp-tag, .tag {
    font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 20px;
    background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line);
}
.hp-tag--green, .tag-aams { background: #e9f7ef; color: #00713a; border-color: #bfe6ce; }
.hp-tag--red,   .tag-live { background: #fdeaea; color: #b42318; border-color: #f6cfcd; }
.hp-tag--gold,  .tag-casino { background: #fdf3e2; color: #92610b; border-color: #f2ddb5; }
.hp-tag--blue,  .tag-mobile { background: #e8f1fd; color: var(--brand-ink); border-color: #c8ddf8; }

.hp-bm-card-actions { display: grid; gap: 8px; margin-top: auto; }
.hp-bm-visit, .bm-cta-btn--sport, .btn-visit, .hp-btn-primary {
    display: block; text-align: center; background: var(--go); color: #fff;
    padding: 13px 18px; border-radius: var(--radius-sm); font-weight: 800; font-size: 15px;
    min-height: 46px;
}
.hp-bm-visit:hover, .bm-cta-btn--sport:hover, .btn-visit:hover, .hp-btn-primary:hover { background: var(--go-ink); color: #fff; text-decoration: none; }
.hp-bm-casino, .bm-cta-btn--casino, .btn-visit--casino {
    display: block; text-align: center; background: var(--surface); color: var(--casino);
    border: 1.5px solid var(--casino); padding: 11px 18px; border-radius: var(--radius-sm); font-weight: 700; font-size: 14px;
}
.hp-bm-casino:hover, .bm-cta-btn--casino:hover, .btn-visit--casino:hover { background: #fff8ec; text-decoration: none; }
.hp-bm-review { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--ink-2); padding: 4px; }

/* --- Classifica: la riga è il cuore del sito ---------------------------- */
.hp-bm-full-list-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.hp-bm-full-list-title { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.hp-bm-full-list-rule { flex: 1; height: 1px; background: var(--line); }
.hp-bm-rows, .bm-rows-wrap { display: grid; gap: 10px; }

.hp-bm-row, .bm-row {
    display: grid;
    grid-template-columns: 34px 52px minmax(120px, 1fr) 120px 62px 250px;
    align-items: center; gap: 14px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 12px 16px;
}
.hp-bm-row:hover, .bm-row:hover { border-color: #c9d6e6; }
.hp-bm-row-rank, .bm-row-rank { font-size: 17px; font-weight: 800; color: var(--muted); }
.hp-bm-row-logo, .bm-row-logo { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; background: var(--surface-2); border-radius: 10px; font-size: 22px; }
.hp-bm-row-info, .bm-row-main { display: grid; gap: 5px; min-width: 0; }
.hp-bm-row-name, .bm-row-name { font-size: 16px; font-weight: 800; color: var(--ink); }
.hp-bm-row-bonus, .bm-row-bonus { display: grid; gap: 2px; }
.hp-bm-row-bval, .bm-row-bonus-val { font-size: 17px; font-weight: 800; color: var(--go-ink); }
.bm-row-bonus-lbl { font-size: 12px; color: var(--muted); }
.hp-bm-row-score, .bm-row-score {
    font-size: 19px; font-weight: 800; color: var(--brand);
    background: #eef5fe; border-radius: var(--radius-sm); padding: 7px 0; text-align: center;
}
.hp-bm-row-ctas, .bm-row-actions { display: flex; gap: 7px; justify-content: flex-end; flex-wrap: wrap; }
.hp-bm-row-btn, .bm-row-cta {
    background: var(--go); color: #fff; padding: 10px 15px; border-radius: var(--radius-sm);
    font-size: 13.5px; font-weight: 700; white-space: nowrap; min-height: 42px;
    display: inline-flex; align-items: center;
}
.hp-bm-row-btn:hover, .bm-row-cta:hover { background: var(--go-ink); text-decoration: none; }
.hp-bm-row-btn--casino, .bm-row-cta--casino { background: var(--surface); color: var(--casino); border: 1.5px solid var(--casino); }
.hp-bm-row-btn--casino:hover { background: #fff8ec; }
.hp-bm-row-btn--review, .bm-row-review { background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line); }
.hp-bm-row-btn--review:hover { background: var(--surface); color: var(--brand); }
.hp-bm-full-list-footer { text-align: center; margin-top: 22px; }
.hp-btn-primary--lg { display: inline-block; padding: 15px 30px; font-size: 16px; }

/* --- Perché / sport / news ---------------------------------------------- */
.hp-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp-feature-card { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 22px; }
.hp-feature-icon { font-size: 24px; margin-bottom: 10px; }
.hp-feature-title { font-size: 16.5px; margin-bottom: 6px; color: #fff; }
.hp-feature-desc { font-size: 14.5px; color: #aebdd1; }

.hp-sport-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.hp-sport-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 14px; text-align: center; color: var(--ink); }
.hp-sport-card:hover { border-color: var(--brand); text-decoration: none; }
.hp-sport-emoji { font-size: 26px; }
.hp-sport-name { font-weight: 800; font-size: 15px; margin-top: 6px; }
.hp-sport-count { font-size: 12.5px; color: var(--muted); }
.hp-sport-arrow { display: none; }
.hp-sport-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; }

.hp-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hp-news-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hp-news-body { padding: 18px; }
.hp-news-title { font-size: 16.5px; margin-bottom: 8px; }
.hp-news-title a { color: var(--ink); }
.hp-news-excerpt { font-size: 14.5px; color: var(--ink-2); }
.hp-news-meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); margin-top: 10px; }

/* --- CTA finale --------------------------------------------------------- */
.hp-cta-banner { background: var(--brand); color: #fff; padding: 46px 0; }
.hp-cta-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.hp-cta-title { color: #fff; }
.hp-cta-title em { font-style: normal; color: var(--sky); }
.hp-cta-text p { color: #d5e6fb; margin-top: 6px; }
.hp-cta-actions { display: grid; gap: 8px; justify-items: center; }
.hp-cta-banner .hp-btn-primary { background: #fff; color: var(--brand); }
.hp-cta-banner .hp-btn-primary:hover { background: var(--sky); color: var(--ink); }
.hp-cta-note { font-size: 12.5px; color: #c3daf6; }

/* --- Scheda bookmaker --------------------------------------------------- */
.bm-single-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.bm-single-hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 20px 22px 26px; }
.article-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 16px; display: flex; gap: 7px; flex-wrap: wrap; }
.breadcrumb-current { color: var(--ink-2); font-weight: 600; }
.bm-single-top { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.bm-single-logo { width: 78px; height: 78px; display: flex; align-items: center; justify-content: center; font-size: 38px; background: var(--surface-2); border-radius: var(--radius); }
.bm-single-heading { flex: 1; min-width: 200px; }
.bm-single-name { margin-bottom: 7px; }
.bm-single-stars { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.star-icons { color: var(--gold); }
.star-score { font-weight: 800; color: var(--ink-2); }
.bm-single-score-box { text-align: center; }
.score-ring { width: 72px; height: 72px; border-radius: 50%; border: 4px solid var(--brand); display: flex; align-items: center; justify-content: center; background: #eef5fe; }
.score-num { font-size: 24px; font-weight: 800; color: var(--brand); }
.score-label { font-size: 12px; color: var(--muted); margin-top: 5px; }

.bm-dual-cta-wrap { max-width: var(--wrap); margin: 22px auto 0; padding: 0 22px; }
.bm-dual-cta-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.bm-cta-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: grid; gap: 12px; }
.bm-cta-card--sport { border-color: var(--go); border-width: 1.5px; }
.bm-cta-card--casino { border-color: #f0dcb4; }
.bm-cta-card--disabled { opacity: .55; }
.bm-cta-card-head { display: flex; gap: 11px; align-items: center; }
.bm-cta-card-icon { font-size: 22px; }
.bm-cta-card-title { font-weight: 800; font-size: 15.5px; }
.bm-cta-card-desc { font-size: 13.5px; color: var(--muted); }
.bm-cta-card-amount { font-size: 34px; font-weight: 800; color: var(--go-ink); letter-spacing: -.03em; }
.bm-cta-card-amount--casino { color: var(--casino); }
.bm-cta-note { font-size: 12px; color: var(--muted); text-align: center; }

.bm-quick-stats { max-width: var(--wrap); margin: 22px auto 0; padding: 0 22px; }
.bm-quick-stats-inner { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.bqs-item { display: grid; justify-items: center; gap: 3px; text-align: center; }
.bqs-icon { font-size: 17px; }
.bqs-label { font-size: 11.5px; color: var(--muted); }
.bqs-value { font-weight: 800; font-size: 14.5px; }

/* --- Layout articolo ---------------------------------------------------- */
.article-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.article-hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 22px 22px 28px; }
.article-title { margin-bottom: 10px; }
.article-meta { display: flex; gap: 10px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }

.article-layout { max-width: var(--wrap); margin: 0 auto; padding: 30px 22px 50px; }
.article-layout-inner { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 34px; align-items: start; }
.article-content-wrap { min-width: 0; }
.article-body { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; font-size: 17px; color: #1c2838; }
.article-body h2 { font-size: 1.5rem; margin: 34px 0 12px; padding-bottom: 9px; border-bottom: 2px solid var(--sky); }
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { font-size: 1.15rem; margin: 24px 0 8px; }
.article-body p { margin-bottom: 15px; max-width: 72ch; }
.article-body ul, .article-body ol { margin: 0 0 16px 22px; }
.article-body li { margin-bottom: 7px; }
.article-body a { font-weight: 600; }
.article-body strong { color: var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; margin-bottom: 18px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 11px; text-align: left; }
.article-body th { background: var(--surface-2); font-size: 13.5px; }

/* --- CTA dentro l'articolo ---------------------------------------------- */
.bm-mid-cta { margin-top: 20px; }
.bm-mid-cta-inner { display: grid; gap: 11px; }
.bm-mid-block { display: flex; align-items: center; gap: 16px; justify-content: space-between; background: var(--surface); border: 1.5px solid var(--go); border-radius: var(--radius); padding: 16px 20px; flex-wrap: wrap; }
.bm-mid-block--casino { border-color: var(--casino); }
.bm-mid-block-info strong { display: block; font-size: 15.5px; }
.bm-mid-block-info span { font-size: 13.5px; color: var(--muted); }

/* --- Sidebar ------------------------------------------------------------ */
.article-sidebar { display: grid; gap: 16px; position: sticky; top: 82px; }
.sidebar-widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.sidebar-widget-title { font-size: 13.5px; font-weight: 800; color: var(--ink-2); margin-bottom: 13px; }
.bm-sticky-widget { text-align: center; }
.bsw-logo { font-size: 32px; }
.bsw-name { font-size: 17px; font-weight: 800; margin: 5px 0; }
.bsw-score { font-size: 14px; color: var(--ink-2); font-weight: 700; margin-bottom: 13px; }
.bsw-score span { color: var(--gold); font-weight: 400; }
.bsw-bonus { background: var(--surface-2); border-radius: var(--radius-sm); padding: 13px; margin-bottom: 11px; }
.bsw-bonus-val { font-size: 24px; font-weight: 800; color: var(--go-ink); }
.bsw-bonus-lbl { font-size: 12.5px; color: var(--muted); }
.bsw-cta-btn { margin-bottom: 9px; }
.bsw-divider { height: 1px; background: var(--line); margin: 14px 0; }
.bsw-note { font-size: 11.5px; color: var(--muted); }

.sbm-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.sbm-item:last-child { border-bottom: 0; }
.sbm-rank { font-size: 13px; font-weight: 800; color: var(--muted); }
.sbm-logo { font-size: 19px; }
.sbm-info { flex: 1; min-width: 0; }
.sbm-name { display: block; font-size: 14.5px; font-weight: 700; }
.sbm-bonus { font-size: 12.5px; color: var(--go-ink); font-weight: 700; }
.sbm-cta { font-size: 13px; font-weight: 700; color: var(--brand); }

/* --- CTA finale scheda -------------------------------------------------- */
.bm-final-cta { background: var(--ink); color: #fff; padding: 44px 0; margin-top: 10px; }
.bm-final-cta-inner { max-width: 760px; margin: 0 auto; padding: 0 22px; text-align: center; }
.bm-final-cta-inner h2 { color: #fff; margin-bottom: 8px; }
.bm-final-cta-inner > p { color: #aebdd1; margin-bottom: 24px; }
.bm-final-cta-btns { display: flex; gap: 20px; justify-content: center; align-items: center; flex-wrap: wrap; }
.bm-final-cta-block { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 20px 24px; min-width: 230px; }
.bm-final-bonus-label { font-size: 24px; font-weight: 800; color: #6ee7a8; }
.bm-final-bonus-label--casino { color: #f7c964; }
.bm-final-bonus-sub { font-size: 13px; color: #aebdd1; margin-bottom: 13px; }
.bm-final-or { color: #7f8ea3; font-size: 13px; }
.bm-final-note { font-size: 12.5px; color: #8fa0b6; margin-top: 20px; }

/* --- Pagina lista bookmaker --------------------------------------------- */
.bm-hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.bm-hero-inner { max-width: var(--wrap); margin: 0 auto; padding: 40px 22px; }
.hero-eyebrow { font-size: 13px; font-weight: 700; color: var(--brand); margin-bottom: 10px; }
.hero-title { margin-bottom: 10px; }
.hero-subtitle { font-size: 17px; color: var(--ink-2); max-width: 62ch; }
.hero-stats { display: flex; gap: 30px; margin-top: 20px; flex-wrap: wrap; }
.hero-stat-value { font-size: 23px; font-weight: 800; }
.hero-stat-label { font-size: 12.5px; color: var(--muted); }

.filters-bar { max-width: var(--wrap); margin: 20px auto 0; padding: 0 22px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.filter-tab { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 9px 16px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.filter-tab:hover { border-color: var(--brand); color: var(--brand); }
.filter-tab.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-sep { width: 1px; height: 22px; background: var(--line); }
.sort-group { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.sort-label { font-size: 13px; color: var(--muted); }
.sort-select { padding: 8px 11px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); font-size: 13.5px; }
.bm-list-content { max-width: var(--wrap); margin: 22px auto; padding: 0 22px; }
.bm-page-content { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 22px; }
.list-header { display: flex; align-items: center; gap: 14px; margin: 26px 0 14px; }
.list-title { font-size: 14px; font-weight: 800; color: var(--ink-2); }
.section-rule { flex: 1; height: 1px; background: var(--line); }
.info-box { display: flex; gap: 14px; background: #eef5fe; border: 1px solid #c8ddf8; border-radius: var(--radius); padding: 18px 20px; margin-top: 26px; }
.info-title { font-weight: 800; margin-bottom: 5px; }
.info-text { font-size: 14.5px; color: var(--ink-2); }

.bm-featured { position: relative; background: var(--surface); border: 2px solid var(--brand); border-radius: var(--radius); padding: 22px; margin-bottom: 18px; }
.bm-featured-badge { position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.bm-featured-inner { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.bm-featured-logo { font-size: 42px; }
.bm-featured-info { flex: 1; min-width: 180px; }
.bm-featured-name { font-size: 22px; }
.bm-featured-cta { text-align: center; min-width: 210px; }
.bm-featured-bonus { font-size: 28px; font-weight: 800; color: var(--go-ink); }
.bm-featured-bonus-lbl { font-size: 12.5px; color: var(--muted); margin-bottom: 11px; }
.bm-cta-primary { display: block; background: var(--go); color: #fff; padding: 13px; border-radius: var(--radius-sm); font-weight: 800; }
.bm-cta-primary:hover { background: var(--go-ink); color: #fff; text-decoration: none; }
.bm-featured-review { display: inline-block; margin-top: 9px; font-size: 13.5px; font-weight: 700; }

/* --- Altri bookmaker (fondo scheda) ------------------------------------- */
.bm-related { max-width: var(--wrap); margin: 0 auto; padding: 0 22px 44px; }
.bm-related h2 { font-size: 1.3rem; margin-bottom: 16px; }
.bm-related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.bm-related-card { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; color: var(--ink); }
.bm-related-card:hover { border-color: var(--brand); text-decoration: none; }
.bm-related-emoji { font-size: 22px; }
.bm-related-name { flex: 1; font-weight: 700; font-size: 14.5px; }
.bm-related-score { font-weight: 800; color: var(--brand); }

/* --- Footer ------------------------------------------------------------- */
.bookmakkers-footer { background: var(--ink); color: #c4d1e2; padding: 44px 0 26px; margin-top: 0; }
.footer-inner { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 28px; }
.footer-brand { max-width: 320px; }
.footer-logo { display: flex; align-items: center; gap: .36em; font-size: 20px; font-weight: 800; color: #fff; margin-bottom: 10px; }
.footer-logo .logo-word { color: #fff; }
.footer-logo .logo-mark { background: var(--sky); color: var(--ink); }
.footer-tagline { font-size: 14.5px; color: #93a5bb; margin-bottom: 14px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge { font-size: 12px; font-weight: 700; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 4px 11px; }
.footer-nav-list { list-style: none; columns: 2; column-gap: 34px; }
.footer-nav-list a { color: #c4d1e2; font-size: 14px; line-height: 2; }
.footer-nav-list a:hover { color: var(--sky); }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; font-size: 13px; color: #93a5bb; }
.footer-bottom { margin-top: 14px; font-size: 13px; color: #93a5bb; }
.footer-copy a { color: var(--sky); }

/* --- Responsive --------------------------------------------------------- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    .nav-hamburger { display: flex; }
    .hp-hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 34px 20px; }
    .hp-bm-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-features-grid, .hp-news-grid { grid-template-columns: repeat(2, 1fr); }
    .hp-sport-grid { grid-template-columns: repeat(3, 1fr); }
    .article-layout-inner { grid-template-columns: 1fr; }
    .article-sidebar { position: static; }
    .bm-quick-stats-inner { grid-template-columns: repeat(3, 1fr); }
    .hp-bm-row, .bm-row { grid-template-columns: 30px 44px 1fr 100px 54px; row-gap: 12px; }
    .hp-bm-row-ctas, .bm-row-actions { grid-column: 1 / -1; justify-content: stretch; }
    .hp-bm-row-btn, .bm-row-cta { flex: 1; justify-content: center; }
}

@media (max-width: 640px) {
    .hp-stats-strip { grid-template-columns: repeat(2, 1fr); }
    .hp-bm-grid, .hp-features-grid, .hp-news-grid { grid-template-columns: 1fr; }
    .hp-sport-grid { grid-template-columns: repeat(2, 1fr); }
    .bm-dual-cta-inner { grid-template-columns: 1fr; }
    .bm-quick-stats-inner { grid-template-columns: repeat(2, 1fr); }
    .article-body { padding: 22px 18px; font-size: 16.5px; }
    .hp-bm-row, .bm-row { grid-template-columns: 28px 40px 1fr; }
    .hp-bm-row-bonus, .bm-row-bonus, .hp-bm-row-score, .bm-row-score { grid-column: 2 / -1; }
    .hp-bm-row-score, .bm-row-score { justify-self: start; padding: 5px 14px; }
    .bm-single-top { gap: 14px; }
    .bm-single-logo { width: 62px; height: 62px; font-size: 30px; }
    .footer-nav-list { columns: 1; }
    .hp-cta-inner { flex-direction: column; text-align: center; }
}

/* --- Barra CTA fissa su mobile (scheda bookmaker) ----------------------- */
.bm-mobile-cta { display: none; }
@media (max-width: 860px) {
    body.single-bookmaker { padding-bottom: 76px; }
    .bm-mobile-cta {
        display: flex; align-items: center; gap: 12px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 300;
        background: var(--surface); border-top: 1px solid var(--line);
        padding: 10px 14px; box-shadow: 0 -4px 18px rgba(14,23,38,.10);
    }
    .bm-mobile-cta-info { min-width: 0; }
    .bm-mobile-cta-name { font-size: 14px; font-weight: 800; }
    .bm-mobile-cta-bonus { font-size: 13px; font-weight: 700; color: var(--go-ink); }
    .bm-mobile-cta-btn { margin-left: auto; background: var(--go); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm); font-weight: 800; white-space: nowrap; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* --- Rifiniture ---------------------------------------------------------- */
.hp-hero-text { min-width: 0; }
.hp-trust-item { white-space: nowrap; }
.hp-side-cta--ghost { background: var(--surface); }
.hp-news-date { white-space: nowrap; }
.article-meta-item { white-space: nowrap; }
.article-meta-sep { color: var(--line); }
.hp-bm-row-name--link:hover { color: var(--brand); }

/* logo: stesse proporzioni ovunque */
.bm-car-logo-img, .bm-single-logo-img, .bsw-logo-img, .hp-bm-row-logo-img {
    object-fit: contain;
}
.bm-car-logo-img  { width: 60px; height: 60px; }
.bm-single-logo-img { width: 66px; height: 66px; }
.bsw-logo-img     { width: 54px; height: 54px; }
.hp-bm-row-logo-img { width: 38px; height: 38px; }

/* pulsanti CTA finale: la variante casinò non deve sembrare primaria */
.bm-final-btn-sport  { background: var(--go); }
.bm-final-btn-casino { background: transparent; border: 1.5px solid #f7c964; color: #f7c964; }
.bm-final-btn-casino:hover { background: rgba(247,201,100,.12); color: #f7c964; }

/* anteprima articoli */
.hp-news-thumb { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.hp-news-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- Blocco bookmaker dentro il testo ----------------------------------- */
.inline-bm {
    margin: 30px 0;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-left: 4px solid var(--brand);
    border-radius: var(--radius);
    padding: 18px 20px;
}
.inline-bm-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.inline-bm-title { font-size: 14px; font-weight: 800; color: var(--ink); }
.inline-bm-all { margin-left: auto; font-size: 13px; font-weight: 700; }
.inline-bm-list { display: grid; gap: 8px; }
.inline-bm-item {
    display: flex; align-items: center; gap: 12px;
    background: var(--surface); border: 1px solid var(--line);
    border-radius: var(--radius-sm); padding: 10px 12px;
}
.inline-bm-logo { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 20px; background: var(--surface-2); border-radius: 8px; flex-shrink: 0; }
.inline-bm-logo img { object-fit: contain; }
.inline-bm-info { display: grid; gap: 1px; min-width: 0; flex: 1; }
.inline-bm-name { font-size: 15px; font-weight: 800; color: var(--ink); }
.inline-bm-meta { font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.inline-bm-cta {
    background: var(--go); color: #fff; padding: 9px 16px; border-radius: var(--radius-sm);
    font-size: 13.5px; font-weight: 800; white-space: nowrap; min-height: 40px;
    display: inline-flex; align-items: center;
}
.inline-bm-cta:hover { background: var(--go-ink); color: #fff; text-decoration: none; }
.inline-bm-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; }

@media (max-width: 480px) {
    .inline-bm { padding: 14px; margin-left: -4px; margin-right: -4px; }
    .inline-bm-item { gap: 9px; padding: 9px 10px; }
    .inline-bm-cta { padding: 9px 12px; font-size: 13px; }
}

/* menu mobile */
.nav-mobile-drawer { display: none; }
.nav-mobile-drawer.open {
    display: block; background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; max-height: 76vh; overflow-y: auto;
}
.mobile-nav-links { list-style: none; }
.mobile-nav-links a { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.mobile-nav-links .mobile-sub a { padding-left: 18px; font-weight: 500; color: var(--ink-2); font-size: 14.5px; }

/* ==========================================================================
   Correzioni mobile
   ========================================================================== */

/* niente scorrimento orizzontale: un solo elemento che sfora rovina la pagina */
html, body { overflow-x: hidden; max-width: 100%; }

/* la tendina larga non deve uscire dallo schermo */
.sub-menu--wide { max-width: min(430px, calc(100vw - 40px)); }

/* tabelle dentro gli articoli: scorrono invece di sfondare */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-bottom: 18px; }
.table-scroll table { margin-bottom: 0; min-width: 480px; }

/* contenuto importato: niente larghezze fisse ereditate da WordPress */
.article-body img, .article-body iframe, .article-body video, .article-body embed {
    max-width: 100%; height: auto;
}
.article-body iframe { aspect-ratio: 16 / 9; width: 100%; }
.article-body pre { overflow-x: auto; }
.article-body * { max-width: 100%; }

/* parole lunghe (URL incollati) non allargano la colonna */
.article-body, .hp-news-title, .inline-bm-name, .bm-single-name {
    overflow-wrap: break-word; word-break: break-word;
}

@media (max-width: 380px) {
    /* schermi molto stretti: la riga classifica resta leggibile */
    .hp-bm-row, .bm-row { padding: 10px 12px; gap: 10px; }
    .hp-bm-row-btn, .bm-row-cta { font-size: 13px; padding: 10px 12px; }
    .bm-cta-card-amount { font-size: 28px; }
    .hp-hero-inner { padding: 26px 16px; }
    .hp-section-inner, .bm-list-content, .article-layout { padding-left: 16px; padding-right: 16px; }
    .bm-mobile-cta-name { font-size: 13px; }
    .bm-mobile-cta-btn { padding: 11px 15px; }
}

/* tap target: su touch tutti i pulsanti raggiungono i 44px minimi */
@media (pointer: coarse) {
    .hp-bm-row-btn, .bm-row-cta, .inline-bm-cta, .sbm-cta,
    .filter-tab, .hp-bm-review, .bm-featured-review, .nav-links > li > a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .nav-mobile-drawer a, .mobile-nav-links a { min-height: 46px; display: flex; align-items: center; }
}

/* ==========================================================================
   Banner cookie — classi del modulo cookie.php, adattate al tema chiaro
   ========================================================================== */
.ck { position: fixed; inset: auto 0 0 0; z-index: 900; display: flex; justify-content: center; padding: 16px; }
.ck.ck-hidden { display: none; }

.ck-box {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 -8px 40px rgba(14, 23, 38, .16);
    padding: 20px 22px; max-width: 660px; width: 100%;
}
.ck-text { margin: 0 0 12px; font-size: 14.5px; color: var(--ink-2); }
.ck-text a { font-weight: 700; }

.ck-scelte { display: grid; gap: 9px; margin: 0 0 15px; font-size: 14px; color: var(--ink-2); }
.ck-scelte label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; }
.ck-scelte input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.ck-scelte span { color: var(--muted); }

.ck-azioni { display: flex; flex-wrap: wrap; gap: 10px; }
.ck-azioni .btn {
    cursor: pointer; border: 0; font: inherit; font-weight: 800; font-size: 14.5px;
    background: var(--go); color: #fff; padding: 12px 20px;
    border-radius: var(--radius-sm); min-height: 46px;
}
.ck-azioni .btn:hover { background: var(--go-ink); }
.ck-azioni .btn.ck-sec { background: var(--surface); color: var(--ink-2); border: 1px solid var(--line); }
.ck-azioni .btn.ck-sec:hover { background: var(--surface-2); color: var(--brand); border-color: var(--brand); }

/* biscottino per cambiare idea */
.ck-riapri {
    position: fixed; right: 14px; bottom: 14px; z-index: 890;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--surface); color: var(--ink);
    font-size: 18px; cursor: pointer; box-shadow: var(--shadow);
}
.ck-riapri:hover { border-color: var(--brand); }
.ck-riapri.ck-hidden { display: none; }

@media (max-width: 480px) {
    .ck { padding: 10px; }
    .ck-box { padding: 16px; }
    .ck-azioni .btn { flex: 1 1 100%; }
    /* con la barra CTA fissa il biscottino si sposta sopra */
    body.single-bookmaker .ck-riapri { bottom: 86px; }
}

/* ── ricerca ── */
.search-form { display: flex; gap: 8px; margin: 14px 0; max-width: 520px; }
.search-form input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: 16px; background: var(--surface); color: var(--ink); }
.search-form button { white-space: nowrap; padding: 12px 18px; }
.search-hit { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 10px; }
.search-hit-title { font-size: 17px; font-weight: 800; color: var(--ink); display: block; margin-bottom: 4px; }
.search-hit-title:hover { color: var(--brand); }
.search-hit-text { font-size: 14.5px; color: var(--ink-2); margin-bottom: 6px; }
.search-hit-url { font-size: 12.5px; color: var(--muted); }
.head-cerca { display: flex; align-items: center; }
.head-cerca input { width: 150px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 20px; font-size: 14px; background: var(--surface-2); color: var(--ink); }
.head-cerca input:focus { width: 210px; background: var(--surface); }
@media (max-width: 1024px) { .head-cerca { display: none; } }
