/*
 * Theme Name:  BonusProHub Child
 * Theme URI:   https://bonusprohub.com
 * Description: BonusProHub child theme for GeneratePress
 * Author:      BonusProHub
 * Author URI:  https://bonusprohub.com
 * Template:    generatepress
 * Version:     4.0
 * License:     GNU General Public License v2 or later
 * Text Domain: generatepress-child
 *
 * BonusProHub — Child Theme
 * Style v4.0 — Editorial
 *
 * Mobile-first: base = 375px, desktop = min-width: 768px
 */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Inter:wght@400;500;600;700;800&display=swap');

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
    --black:  #111111;
    --white:  #ffffff;
    --gold:   #f59e0b;
    --gold-d: #d97706;
    --green:  #059669;
    --red:    #dc2626;

    --t-main:  #111111;
    --t-body:  #374151;
    --t-muted: #6b7280;
    --t-faint: #9ca3af;
    --t-tiny:  #d1d5db;

    --bg:     #f9fafb;
    --bg-w:   #ffffff;
    --border: #e5e7eb;
    --bord-d: #d1d5db;

    --serif: 'DM Serif Display', Georgia, serif;
    --sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --r:     4px;
    --pad:   16px;
    --max-w: 1080px;
    --tr:    all 0.15s ease;
}

/* =============================================================
   2. RESET
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; padding: 0; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--t-body); background: var(--bg); -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--gold); }
p    { margin: 0 0 14px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--t-main); line-height: 1.2; margin: 0 0 12px; font-weight: 400; }
h1 { font-size: 26px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }
h4 { font-size: 14px; font-family: var(--sans); font-weight: 700; }

@media (min-width: 768px) {
    :root { --pad: 24px; }
    h1 { font-size: clamp(26px, 3vw, 38px); }
    h2 { font-size: clamp(20px, 2.5vw, 28px); }
    h3 { font-size: clamp(17px, 2vw, 22px); }
}

/* =============================================================
   3. LAYOUT
   ============================================================= */
.bph-container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.bph-section       { padding: 32px 0; background: var(--bg-w); }
.bph-section--gray { background: var(--bg); }
.bph-section--dark { background: var(--black); }
@media (min-width: 768px) { .bph-section { padding: 48px 0; } }

/* Section head: заголовок + "view all" — editorial стиль */
.bph-section-head {
    display: flex; align-items: flex-end; justify-content: space-between;
    border-bottom: 2px solid var(--black);
    padding-bottom: 10px; margin-bottom: 0; gap: 12px; flex-wrap: wrap;
}
.bph-section-head h2    { margin: 0; font-size: 20px; }
.bph-section-head p     { font-size: 12px; color: var(--t-faint); margin: 0; font-family: var(--sans); }
.bph-section-head a     { font-size: 12px; font-weight: 600; color: var(--t-muted); text-decoration: none; white-space: nowrap; font-family: var(--sans); }
.bph-section-head a:hover { color: var(--black); }
@media (min-width: 768px) { .bph-section-head h2 { font-size: 22px; } }

/* =============================================================
   4. BUTTONS
   ============================================================= */
.bph-btn-primary {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--gold); color: var(--black) !important;
    font-weight: 700; font-size: 13px; font-family: var(--sans);
    padding: 9px 18px; border-radius: var(--r);
    text-decoration: none !important; transition: var(--tr); border: none; cursor: pointer; white-space: nowrap;
}
.bph-btn-primary:hover { background: var(--gold-d); }

.bph-btn-dark {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--black); color: var(--white) !important;
    font-weight: 700; font-size: 13px; font-family: var(--sans);
    padding: 9px 18px; border-radius: var(--r);
    text-decoration: none !important; transition: var(--tr); border: none; cursor: pointer; white-space: nowrap;
}
.bph-btn-dark:hover { background: #333; }

.bph-btn-outline {
    display: inline-flex; align-items: center; justify-content: center;
    background: transparent; color: var(--black) !important;
    font-weight: 600; font-size: 13px; font-family: var(--sans);
    padding: 8px 16px; border-radius: var(--r);
    text-decoration: none !important; border: 1.5px solid var(--bord-d); transition: var(--tr); cursor: pointer; white-space: nowrap;
}
.bph-btn-outline:hover { border-color: var(--black); }

/* =============================================================
   5. NAV — mobile first
   ============================================================= */
#bph-nav { background: var(--black); position: sticky; top: 0; z-index: 1000; }

.bph-nav-inner { display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 8px; }

.bph-nav-logo { font-family: var(--serif); font-size: 20px; color: var(--white); text-decoration: none !important; white-space: nowrap; flex-shrink: 0; }
.bph-nav-logo b { color: var(--gold); font-weight: 400; }

.bph-nav-menu { display: none; }
.bph-nav-cta  { display: none !important; }

@media (min-width: 768px) {
    .bph-nav-menu { display: flex; align-items: center; flex: 1; padding: 0 8px; }
    .bph-nav-cta  { display: inline-flex !important; flex-shrink: 0; font-size: 12px !important; padding: 7px 14px !important; }
}

.bph-nav-item { position: relative; }

.bph-nav-link {
    color: rgba(255,255,255,0.55) !important; text-decoration: none !important;
    font-size: 13px; font-weight: 500; font-family: var(--sans);
    padding: 6px 13px; transition: color 0.1s;
    display: flex; align-items: center; gap: 3px; white-space: nowrap;
}
.bph-nav-link:hover,
.bph-nav-link.is-active { color: var(--white) !important; }
.bph-nav-arrow { font-size: 9px; opacity: 0.4; }

.bph-nav-dropdown {
    position: absolute; top: calc(100% + 4px); left: 0;
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--r); box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 5px; min-width: 185px; z-index: 1001; display: none;
}
.bph-nav-dropdown a { display: block; padding: 7px 10px; color: var(--t-body) !important; text-decoration: none !important; font-size: 13px; font-family: var(--sans); border-radius: 3px; }
.bph-nav-dropdown a:hover { background: var(--bg); color: var(--black) !important; }

.bph-burger { display: flex; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; flex-shrink: 0; }
.bph-burger span { display: block; width: 20px; height: 1.5px; background: rgba(255,255,255,0.7); }
@media (min-width: 768px) { .bph-burger { display: none; } }

.bph-mobile-menu { display: none; background: var(--black); border-top: 1px solid rgba(255,255,255,0.07); }
.bph-mobile-menu.is-open { display: block; }
@media (min-width: 768px) { .bph-mobile-menu { display: none !important; } }
.bph-mobile-menu a { display: block; color: rgba(255,255,255,0.65) !important; text-decoration: none !important; font-size: 15px; font-weight: 500; font-family: var(--sans); padding: 13px var(--pad); border-bottom: 1px solid rgba(255,255,255,0.05); }
.bph-mobile-menu a:hover { color: var(--white) !important; }

/* =============================================================
   6. HERO
   ============================================================= */
.bph-hero { background: var(--black); padding: 36px 0 30px; }
@media (min-width: 768px) { .bph-hero { padding: 52px 0 44px; } }

.bph-hero-tag { display: inline-block; color: var(--gold); font-size: 11px; font-weight: 600; font-family: var(--sans); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 12px; }
.bph-hero h1 { color: var(--white) !important; font-size: 26px !important; margin: 0 0 12px !important; line-height: 1.15 !important; font-weight: 400 !important; }
.bph-hero h1 b { color: var(--gold); font-weight: 400; }
@media (min-width: 768px) { .bph-hero h1 { font-size: clamp(28px, 4vw, 44px) !important; } }
.bph-hero p { color: rgba(255,255,255,0.55) !important; font-size: 14px !important; margin: 0 0 22px !important; line-height: 1.65 !important; max-width: 480px; font-family: var(--sans) !important; }
.bph-hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.bph-hero-stats { display: flex; gap: 24px; flex-wrap: wrap; padding-top: 20px; margin-top: 20px; border-top: 1px solid rgba(255,255,255,0.08); }
.bph-hero-stat__num { color: var(--white); font-family: var(--serif); font-size: 22px; line-height: 1; }
.bph-hero-stat__label { color: rgba(255,255,255,0.38); font-size: 11px; margin-top: 3px; font-family: var(--sans); }

/* =============================================================
   7. DISCLAIMER
   ============================================================= */
.bph-disclaimer { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--r); padding: 10px 14px; font-size: 12px; color: #78350f; margin: 20px 0; line-height: 1.5; font-family: var(--sans); }

/* =============================================================
   8. CASINO ROWS — editorial table style
   ============================================================= */
.bph-casino-row {
    display: flex; align-items: center;
    gap: 14px; padding: 13px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.bph-casino-row:last-child { border-bottom: none; }
.bph-casino-row--featured { padding-left: 12px; margin-left: -12px; border-left: 3px solid var(--gold); }

.bph-row-rank { font-family: var(--serif); font-size: 18px; color: var(--t-tiny); min-width: 26px; text-align: center; flex-shrink: 0; }
.bph-row-rank--top { color: var(--gold); }

.bph-row-logo { width: 72px; height: 42px; flex-shrink: 0; }
.bph-row-logo img { width: 72px; height: 42px; object-fit: contain; border-radius: var(--r); background: var(--bg); border: 1px solid var(--border); padding: 3px; }
.bph-row-logo__placeholder { width: 72px; height: 42px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--t-faint); font-weight: 600; font-family: var(--sans); }

.bph-row-info { flex: 1; min-width: 0; }
.bph-row-name { font-size: 14px; font-weight: 700; color: var(--t-main) !important; text-decoration: none !important; display: block; margin-bottom: 3px; font-family: var(--sans); }
.bph-row-name:hover { color: var(--gold) !important; }
.bph-row-bonus { font-size: 13px; color: var(--green); margin-bottom: 4px; line-height: 1.3; font-family: var(--sans); }
.bph-row-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.bph-row-tag { font-size: 11px; color: var(--t-faint); border: 1px solid var(--border); padding: 1px 7px; border-radius: 3px; font-family: var(--sans); }

.bph-row-score { flex-shrink: 0; text-align: right; min-width: 44px; }
.bph-row-score__num { font-family: var(--serif); font-size: 22px; color: var(--t-main); line-height: 1; }
.bph-row-score__label { font-size: 10px; color: var(--t-faint); margin-top: 1px; font-family: var(--sans); }

.bph-row-cta { flex-shrink: 0; text-align: center; }
.bph-row-btn { display: block; background: var(--black); color: var(--white) !important; font-size: 12px; font-weight: 700; font-family: var(--sans); padding: 9px 16px; border-radius: var(--r); text-decoration: none !important; white-space: nowrap; margin-bottom: 5px; transition: var(--tr); }
.bph-row-btn:hover { background: #333; }
.bph-row-review { font-size: 11px; color: var(--t-faint) !important; text-decoration: underline !important; display: block; text-align: center; font-family: var(--sans); }

@media (max-width: 767px) {
    .bph-row-score { display: none; }
    .bph-row-rank  { font-size: 14px; min-width: 20px; }
    .bph-row-logo  { width: 60px; height: 36px; }
    .bph-row-logo img, .bph-row-logo__placeholder { width: 60px; height: 36px; }
    .bph-row-btn   { font-size: 11px; padding: 8px 12px; }
}

/* =============================================================
   9. CATEGORY PILLS
   ============================================================= */
.bph-cat-pills { display: flex; flex-wrap: wrap; gap: 7px; padding: 16px 0; }
.bph-cat-pill { background: var(--bg-w); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 500; color: var(--t-muted); text-decoration: none !important; display: flex; align-items: center; gap: 5px; transition: var(--tr); font-family: var(--sans); }
.bph-cat-pill:hover { border-color: var(--black); color: var(--black) !important; }
.bph-cat-pill span { font-size: 11px; color: var(--t-tiny); }

/* =============================================================
   10. BONUS GRID
   ============================================================= */
.bph-bonus-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 768px) { .bph-bonus-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
.bph-bonus-card { background: var(--bg-w); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; position: relative; }
.bph-bonus-card--exclusive { border-color: var(--gold); }
.bph-bonus-card__tag { position: absolute; top: 0; right: 0; font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 0 var(--r) 0 5px; text-transform: uppercase; font-family: var(--sans); }
.bph-bonus-card__casino { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.bph-bonus-card__casino img { width: 42px; height: 26px; object-fit: contain; border-radius: 3px; }
.bph-bonus-card__casino-name { font-weight: 700; font-size: 13px; color: var(--t-main); font-family: var(--sans); }
.bph-bonus-card__headline { font-family: var(--serif); font-size: 17px; color: var(--t-main); margin-bottom: 10px; line-height: 1.3; }
.bph-bonus-card__meta { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.bph-bonus-card__meta-item { background: var(--bg); border-radius: 3px; padding: 5px 9px; }
.bph-bonus-card__meta-label { font-size: 10px; color: var(--t-faint); text-transform: uppercase; display: block; font-family: var(--sans); }
.bph-bonus-card__meta-value { font-size: 12px; font-weight: 700; color: var(--t-body); font-family: var(--sans); }
.bph-bonus-card__legal { font-size: 10px; color: var(--t-tiny); text-align: center; margin: 6px 0 0; font-family: var(--sans); }

/* =============================================================
   11. GUIDES + TRUST
   ============================================================= */
.bph-guides-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.bph-trust-grid  { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 768px) {
    .bph-guides-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
    .bph-trust-grid  { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.bph-guide-card { background: var(--bg-w); border: 1px solid var(--border); border-radius: var(--r); padding: 18px; text-decoration: none !important; display: block; transition: var(--tr); }
.bph-guide-card:hover { border-color: var(--black); }
.bph-guide-card__tag { font-size: 11px; color: var(--t-faint); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; font-family: var(--sans); }
.bph-guide-card__title { font-family: var(--serif); font-size: 16px; color: var(--t-main); margin: 0 0 7px; line-height: 1.3; }
.bph-guide-card__excerpt { font-size: 13px; color: var(--t-muted); margin: 0; line-height: 1.6; font-family: var(--sans); }

.bph-trust-card { background: var(--bg-w); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; }
.bph-trust-card__icon  { font-size: 26px; margin-bottom: 10px; }
.bph-trust-card__title { font-family: var(--serif); font-size: 16px; margin: 0 0 7px; }
.bph-trust-card__text  { font-size: 13px; color: var(--t-muted); margin: 0; line-height: 1.65; font-family: var(--sans); }

/* =============================================================
   12. FAQ
   ============================================================= */
.bph-faq__item { border-bottom: 1px solid var(--border); }
.bph-faq__question { padding: 14px 0; font-weight: 700; font-size: 14px; color: var(--t-main); cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-family: var(--sans); user-select: none; }
.bph-faq__question::after { content: '+'; font-size: 18px; color: var(--t-faint); font-weight: 300; flex-shrink: 0; margin-left: 12px; }
.bph-faq__item.is-open .bph-faq__question::after { content: '−'; }
.bph-faq__answer { display: none; padding: 0 0 14px; font-size: 14px; color: var(--t-muted); line-height: 1.75; font-family: var(--sans); }
.bph-faq__item.is-open .bph-faq__answer { display: block; }

/* =============================================================
   13. REVIEW PAGE
   ============================================================= */
.bph-review-header { background: var(--black); padding: 28px 0 24px; }
@media (min-width: 768px) { .bph-review-header { padding: 40px 0 36px; } }

.bph-breadcrumb { font-size: 11px; color: rgba(255,255,255,0.3); margin-bottom: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 0; font-family: var(--sans); }
.bph-breadcrumb a { color: rgba(255,255,255,0.38) !important; text-decoration: none !important; }
.bph-breadcrumb a:hover { color: rgba(255,255,255,0.65) !important; }

.bph-review-header__inner { display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 768px) { .bph-review-header__inner { flex-direction: row; align-items: flex-start; gap: 24px; } }

.bph-review-header__logo img { width: 100px; height: 52px; object-fit: contain; border-radius: var(--r); background: white; padding: 6px; flex-shrink: 0; }
.bph-review-header__info { flex: 1; min-width: 0; }
.bph-review-header__title { font-family: var(--serif) !important; color: var(--white) !important; font-size: 22px !important; margin: 0 0 8px !important; line-height: 1.2 !important; font-weight: 400 !important; }
@media (min-width: 768px) { .bph-review-header__title { font-size: clamp(22px, 2.5vw, 30px) !important; } }
.bph-review-header__verdict { color: rgba(255,255,255,0.55); font-size: 14px; margin: 0 0 10px; line-height: 1.65; font-family: var(--sans); }
.bph-review-header__meta { display: flex; flex-wrap: wrap; gap: 12px; font-family: var(--sans); }
.bph-review-header__author { color: rgba(255,255,255,0.4); font-size: 12px; }
.bph-review-header__author strong { color: rgba(255,255,255,0.65); }
.bph-last-updated { color: rgba(255,255,255,0.3); font-size: 12px; }

.bph-review-header__score { display: none; }
@media (min-width: 768px) { .bph-review-header__score { display: block; text-align: center; flex-shrink: 0; margin-left: auto; } }
.bph-review-score-big { font-family: var(--serif); font-size: 52px; font-weight: 400; color: var(--white); line-height: 1; }
.bph-review-score-label { color: rgba(255,255,255,0.4); font-size: 11px; margin-top: 4px; font-family: var(--sans); }

.bph-review-layout { display: block; padding: 24px 0 40px; }
@media (min-width: 768px) { .bph-review-layout { display: grid; grid-template-columns: 1fr 265px; gap: 40px; align-items: start; padding: 40px 0 60px; } }

.bph-review-main { min-width: 0; overflow-wrap: break-word; }
.bph-review-content { font-size: 15px; line-height: 1.8; color: var(--t-body); font-family: var(--sans); }
.bph-review-content h2 { margin-top: 32px; }
.bph-review-content h3 { margin-top: 22px; }
.bph-review-content img { max-width: 100%; border-radius: var(--r); margin: 16px 0; }

.bph-review-sidebar { margin-top: 24px; }
@media (min-width: 768px) { .bph-review-sidebar { margin-top: 0; position: sticky; top: 68px; } }

.bph-scorecard { border: 1px solid var(--border); border-radius: var(--r); padding: 16px; margin-bottom: 12px; background: var(--bg-w); }
.bph-scorecard h3 { margin: 0 0 12px; font-size: 13px; font-family: var(--sans); font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--t-faint); }
.bph-scorecard__overall { text-align: center; padding: 10px 0 14px; border-bottom: 1px solid var(--border); margin-bottom: 12px; }
.bph-scorecard__num { font-family: var(--serif); font-size: 50px; color: var(--t-main); line-height: 1; }
.bph-scorecard__label { font-size: 11px; color: var(--t-faint); margin-top: 3px; font-family: var(--sans); }
.bph-scorecard__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 7px; }
.bph-scorecard__row-label { font-size: 12px; color: var(--t-body); font-family: var(--sans); }
.bph-scorecard__row-right { display: flex; align-items: center; gap: 7px; }
.bph-score-bar { width: 60px; height: 3px; background: var(--bg); border-radius: 2px; overflow: hidden; }
.bph-score-bar__fill { height: 100%; border-radius: 2px; }
.bph-scorecard__score-val { font-size: 12px; font-weight: 700; min-width: 22px; text-align: right; font-family: var(--sans); }

.bph-pros-cons { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 28px; }
@media (min-width: 768px) { .bph-pros-cons { grid-template-columns: 1fr 1fr; gap: 16px; } }
.bph-pros-cons__block { border: 1px solid var(--border); border-radius: var(--r); padding: 14px; }
.bph-pros-cons__block--pros { border-left: 3px solid var(--green); }
.bph-pros-cons__block--cons { border-left: 3px solid var(--red); }
.bph-pros-cons__title { font-size: 12px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 5px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.5px; }
.bph-pros-cons__block--pros .bph-pros-cons__title { color: var(--green); }
.bph-pros-cons__block--cons .bph-pros-cons__title { color: var(--red); }
.bph-pros-cons__list { list-style: none; margin: 0; padding: 0; }
.bph-pros-cons__list li { font-size: 13px; padding: 4px 0 4px 16px; position: relative; color: var(--t-body); line-height: 1.5; font-family: var(--sans); }
.bph-pros-cons__block--pros .bph-pros-cons__list li::before { content: '+'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.bph-pros-cons__block--cons .bph-pros-cons__list li::before { content: '−'; position: absolute; left: 0; color: var(--red); font-weight: 700; }

.bph-quick-facts { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 24px; font-family: var(--sans); }
.bph-quick-facts td { padding: 8px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.bph-quick-facts td:first-child { color: var(--t-faint); width: 40%; padding-right: 12px; }
.bph-quick-facts td:last-child { color: var(--t-body); font-weight: 500; }
.bph-quick-facts tr:last-child td { border-bottom: none; }

.bph-sticky-cta { display: none; position: fixed; top: 0; left: 0; right: 0; z-index: 9999; background: var(--black); padding: 8px 0; }
.bph-sticky-cta.is-visible { display: block; }
.bph-sticky-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.bph-sticky-cta__name { color: var(--white); font-weight: 700; font-size: 13px; font-family: var(--sans); }
.bph-sticky-cta__bonus { color: rgba(255,255,255,0.45); font-size: 11px; font-family: var(--sans); }

/* =============================================================
   14. TAXONOMY + EEAT HEROES
   ============================================================= */
.bph-taxonomy-hero { background: var(--black); padding: 28px 0 24px; }
@media (min-width: 768px) { .bph-taxonomy-hero { padding: 44px 0 36px; } }
.bph-taxonomy-hero h1 { color: var(--white) !important; font-size: 22px !important; margin: 6px 0 10px !important; }
.bph-taxonomy-hero p  { color: rgba(255,255,255,0.5) !important; font-size: 14px !important; max-width: 540px; margin: 0 0 12px !important; font-family: var(--sans) !important; }
.bph-taxonomy-stats { display: flex; gap: 16px; flex-wrap: wrap; }
.bph-taxonomy-stat { color: rgba(255,255,255,0.38); font-size: 12px; font-family: var(--sans); }

.bph-eeat-hero { background: var(--black); padding: 36px 0 30px; text-align: center; }
@media (min-width: 768px) { .bph-eeat-hero { padding: 54px 0 44px; } }
.bph-eeat-hero h1 { color: var(--white) !important; margin: 8px 0 12px !important; }
.bph-eeat-hero p  { color: rgba(255,255,255,0.5) !important; font-size: 15px !important; max-width: 540px; margin: 0 auto !important; font-family: var(--sans) !important; line-height: 1.7 !important; }

.bph-eeat-body { max-width: 720px; margin: 0 auto; padding: 36px var(--pad) 52px; }
@media (min-width: 768px) { .bph-eeat-body { padding: 52px var(--pad) 72px; } }
.bph-eeat-body h2 { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); font-size: 20px; }
.bph-eeat-body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.bph-eeat-body h3 { font-size: 15px; margin-top: 20px; font-family: var(--sans); font-weight: 700; }
.bph-eeat-body p  { font-size: 15px; line-height: 1.8; color: var(--t-body); font-family: var(--sans); }
.bph-eeat-body ul, .bph-eeat-body ol { padding-left: 20px; margin: 0 0 16px; }
.bph-eeat-body li { font-size: 15px; line-height: 1.8; color: var(--t-body); margin-bottom: 4px; font-family: var(--sans); }

.bph-team-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 20px 0; }
@media (min-width: 768px) { .bph-team-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
.bph-team-card { border: 1px solid var(--border); border-radius: var(--r); padding: 16px; display: flex; gap: 14px; align-items: flex-start; background: var(--bg-w); }
.bph-team-card__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--black); display: flex; align-items: center; justify-content: center; color: var(--gold); font-family: var(--serif); font-size: 18px; flex-shrink: 0; }
.bph-team-card__name  { font-size: 14px; font-weight: 700; color: var(--t-main); margin: 0 0 2px; font-family: var(--sans); }
.bph-team-card__role  { font-size: 11px; color: var(--t-faint); margin: 0 0 7px; font-family: var(--sans); text-transform: uppercase; letter-spacing: 0.5px; }
.bph-team-card__bio   { font-size: 13px; color: var(--t-muted); margin: 0; line-height: 1.6; font-family: var(--sans); }

.bph-steps { margin: 20px 0; }
.bph-step { display: flex; gap: 14px; margin-bottom: 16px; align-items: flex-start; }
.bph-step__num { width: 26px; height: 26px; border-radius: 50%; background: var(--black); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; flex-shrink: 0; font-family: var(--sans); }
.bph-step__title { font-size: 14px; font-weight: 700; color: var(--t-main); margin: 0 0 3px; font-family: var(--sans); }
.bph-step__text  { font-size: 13px; color: var(--t-muted); margin: 0; line-height: 1.65; font-family: var(--sans); }

.bph-criteria { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13px; font-family: var(--sans); }
.bph-criteria th { border-bottom: 2px solid var(--black); color: var(--t-main); padding: 8px 10px; text-align: left; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.bph-criteria td { padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.bph-criteria tr:last-child td { border-bottom: none; }
.bph-criteria td:first-child { font-weight: 600; color: var(--t-main); width: 30%; }
.bph-criteria td:last-child { color: var(--t-muted); }

.bph-rg-links { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 16px 0; }
@media (min-width: 768px) { .bph-rg-links { grid-template-columns: repeat(2, 1fr); } }
.bph-rg-link-card { border: 1px solid var(--border); border-radius: var(--r); padding: 14px; display: flex; gap: 10px; align-items: flex-start; background: var(--bg-w); }
.bph-rg-link-card__icon { font-size: 20px; flex-shrink: 0; }
.bph-rg-link-card__name { font-size: 13px; font-weight: 700; color: var(--t-main); margin: 0 0 2px; font-family: var(--sans); }
.bph-rg-link-card__desc { font-size: 12px; color: var(--t-muted); margin: 0 0 5px; line-height: 1.5; font-family: var(--sans); }
.bph-rg-link-card a { font-size: 12px; font-weight: 600; font-family: var(--sans); }

/* =============================================================
   15. FOOTER
   ============================================================= */
#bph-footer { background: var(--black); padding: 36px 0 20px; }

.bph-footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-bottom: 28px; }
@media (min-width: 768px) { .bph-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; } }

.bph-footer-brand__logo { display: flex; align-items: center; margin-bottom: 10px; text-decoration: none !important; }
.bph-footer-brand__name { font-family: var(--serif); font-size: 17px; color: rgba(255,255,255,0.45); }
.bph-footer-brand__name b { color: var(--gold); font-weight: 400; }
.bph-footer-brand__desc { color: rgba(255,255,255,0.26); font-size: 12px; line-height: 1.7; margin: 0; font-family: var(--sans); }

.bph-footer-col h4 { color: rgba(255,255,255,0.25); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin: 0 0 10px; font-family: var(--sans); }
.bph-footer-col a { display: block; color: rgba(255,255,255,0.32) !important; text-decoration: none !important; font-size: 12px; padding: 3px 0; font-family: var(--sans); }
.bph-footer-col a:hover { color: rgba(255,255,255,0.65) !important; }

.bph-footer-rg { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 16px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.bph-footer-rg-label { color: rgba(255,255,255,0.2); font-size: 11px; font-family: var(--sans); }
.bph-footer-rg a { color: rgba(255,255,255,0.26) !important; font-size: 11px; text-decoration: underline !important; font-family: var(--sans); }
.bph-footer-rg a:hover { color: rgba(255,255,255,0.5) !important; }

.bph-footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 14px; }
.bph-footer-bottom p { color: rgba(255,255,255,0.18); font-size: 11px; margin: 0 0 5px; line-height: 1.7; font-family: var(--sans); }
.bph-footer-bottom a { color: rgba(255,255,255,0.26) !important; }

.bph-footer-legal-links { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.bph-footer-legal-links a { color: rgba(255,255,255,0.2) !important; font-size: 11px; text-decoration: none !important; font-family: var(--sans); }
.bph-footer-legal-links a:hover { color: rgba(255,255,255,0.45) !important; }

.bph-rg-bar { background: #0a0a0a; padding: 10px var(--pad); text-align: center; }
.bph-rg-bar p { color: rgba(255,255,255,0.22); font-size: 11px; line-height: 1.8; font-family: var(--sans); }
.bph-rg-bar a { color: rgba(255,255,255,0.28) !important; }

/* =============================================================
   16. GP OVERRIDES
   ============================================================= */
body.bph-fullwidth-page #page,
body.bph-fullwidth-page #content,
body.bph-fullwidth-page .site-main,
body.bph-fullwidth-page article,
body.bph-fullwidth-page .inside-article,
body.bph-fullwidth-page .entry-content {
    max-width: 100% !important; width: 100% !important;
    padding: 0 !important; margin: 0 !important;
    display: block !important; float: none !important;
    box-sizing: border-box !important;
}

/* =============================================================
   17. PAGINATION
   ============================================================= */
.bph-pagination {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 6px; margin-top: 28px; font-family: var(--sans);
}
.bph-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border: 1px solid var(--border); border-radius: var(--r);
    font-size: 13px; font-weight: 600; color: var(--t-body) !important;
    text-decoration: none !important; transition: var(--tr);
}
.bph-pagination .page-numbers:hover { border-color: var(--black); color: var(--black) !important; }
.bph-pagination .page-numbers.current { background: var(--black); border-color: var(--black); color: var(--white) !important; }
.bph-pagination .prev, .bph-pagination .next { width: auto; padding: 0 14px; }

/* =============================================================
   18. CALCULATORS
   ============================================================= */
.bph-calc-hero { background: var(--black); padding: 32px 0 28px; }
@media (min-width: 768px) { .bph-calc-hero { padding: 48px 0 40px; } }
.bph-calc-hero h1 { color: var(--white) !important; margin: 8px 0 10px !important; font-size: 24px !important; }
@media (min-width: 768px) { .bph-calc-hero h1 { font-size: clamp(24px, 3vw, 36px) !important; } }
.bph-calc-hero p { color: rgba(255,255,255,0.5) !important; font-size: 14px !important; max-width: 560px; margin: 0 !important; font-family: var(--sans) !important; line-height: 1.65 !important; }

/* Calculator widget */
.bph-calc-layout { max-width: 860px; margin: 0 auto; padding: 32px var(--pad) 52px; }
@media (min-width: 768px) { .bph-calc-layout { display: grid; grid-template-columns: 1fr 300px; gap: 32px; align-items: start; padding: 40px var(--pad) 60px; } }

.bph-calc-widget { background: var(--bg-w); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; }
.bph-calc-widget h2 { font-size: 16px !important; font-family: var(--sans) !important; font-weight: 700 !important; margin: 0 0 18px !important; color: var(--t-main) !important; padding: 0 !important; border: none !important; }

/* Form fields */
.bph-calc-field { margin-bottom: 16px; }
.bph-calc-label { display: block; font-size: 12px; font-weight: 700; color: var(--t-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; font-family: var(--sans); }
.bph-calc-input {
    width: 100%; padding: 10px 12px;
    border: 1px solid var(--border); border-radius: var(--r);
    font-size: 15px; font-family: var(--sans); color: var(--t-main);
    background: var(--bg); outline: none; transition: border-color 0.15s;
}
.bph-calc-input:focus { border-color: var(--black); background: var(--bg-w); }
.bph-calc-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px; cursor: pointer; }
.bph-calc-hint { font-size: 11px; color: var(--t-faint); margin-top: 4px; font-family: var(--sans); }

/* Slider */
.bph-calc-slider { width: 100%; accent-color: var(--black); cursor: pointer; }

/* Calculate button */
.bph-calc-btn {
    width: 100%; padding: 12px;
    background: var(--black); color: var(--white);
    border: none; border-radius: var(--r);
    font-size: 14px; font-weight: 700; font-family: var(--sans);
    cursor: pointer; transition: background 0.15s; margin-top: 4px;
}
.bph-calc-btn:hover { background: #333; }

/* Results */
.bph-calc-results { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); display: none; }
.bph-calc-results.is-visible { display: block; }
.bph-calc-results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.bph-calc-result-item { background: var(--bg); border-radius: var(--r); padding: 12px 14px; }
.bph-calc-result-item.full { grid-column: 1 / -1; }
.bph-calc-result-item.highlight { background: var(--black); }
.bph-calc-result-label { font-size: 11px; color: var(--t-faint); text-transform: uppercase; letter-spacing: 0.5px; font-family: var(--sans); margin-bottom: 4px; }
.bph-calc-result-item.highlight .bph-calc-result-label { color: rgba(255,255,255,0.45); }
.bph-calc-result-value { font-family: var(--serif); font-size: 24px; color: var(--t-main); line-height: 1; }
.bph-calc-result-item.highlight .bph-calc-result-value { color: var(--white); }
.bph-calc-result-value.good { color: var(--green); }
.bph-calc-result-value.bad  { color: var(--red); }
.bph-calc-result-value.warn { color: var(--gold); }
.bph-calc-verdict { font-size: 13px; line-height: 1.65; font-family: var(--sans); }

/* Sidebar — related calcs */
.bph-calc-sidebar { }
.bph-calc-related { background: var(--bg-w); border: 1px solid var(--border); border-radius: var(--r); padding: 16px; margin-bottom: 12px; }
.bph-calc-related h3 { font-size: 13px !important; font-family: var(--sans) !important; font-weight: 700 !important; margin: 0 0 12px !important; text-transform: uppercase; letter-spacing: 0.5px; color: var(--t-faint) !important; }
.bph-calc-related a { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 13px; color: var(--t-body) !important; text-decoration: none !important; font-family: var(--sans); }
.bph-calc-related a:last-child { border-bottom: none; }
.bph-calc-related a:hover { color: var(--black) !important; }

/* ── Calculator CTA block ── */
.bph-calc-cta-block { border-top: 2px solid var(--gold) !important; }
.bph-cta-casino {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.bph-cta-casino:last-of-type { border-bottom: none; }
.bph-cta-casino__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}
.bph-cta-casino__logo {
    height: 28px;
    max-width: 90px;
    object-fit: contain;
    flex-shrink: 0;
}
.bph-cta-casino__logo-fallback {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    color: var(--t-faint);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 3px;
    padding: 4px 6px;
    flex-shrink: 0;
}
.bph-cta-casino__score {
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
    margin-left: auto;
}
.bph-cta-casino__bonus {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--t-muted);
    margin-bottom: 7px;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.bph-cta-casino__actions {
    display: flex;
    gap: 6px;
    align-items: center;
}
.bph-cta-casino__visit {
    display: inline-block;
    background: var(--gold);
    color: var(--black) !important;
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 3px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: opacity 0.15s;
}
.bph-cta-casino__visit:hover { opacity: 0.85; }
.bph-cta-casino__review {
    font-family: var(--sans);
    font-size: 11px;
    color: var(--t-faint) !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.bph-cta-casino__review:hover { color: var(--t-body) !important; }
.bph-cta-casino__all {
    display: block !important;
    text-align: center;
    margin-top: 10px;
    padding: 8px !important;
    background: var(--bg);
    border: 1px solid var(--border) !important;
    border-radius: 3px;
    font-family: var(--sans) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--t-body) !important;
    text-decoration: none !important;
    transition: background 0.15s, color 0.15s;
}
.bph-cta-casino__all:hover { background: var(--black) !important; color: var(--white) !important; }
.bph-cta-casino__disclaimer {
    font-size: 10px;
    color: var(--t-tiny);
    font-family: var(--sans);
    margin: 6px 0 0;
    text-align: center;
}
.bph-calc-related-icon { font-size: 14px; flex-shrink: 0; }

/* Hub page grid */
.bph-calc-hub-grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 768px) { .bph-calc-hub-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.bph-calc-hub-card {
    background: var(--bg-w); border: 1px solid var(--border);
    border-radius: var(--r); padding: 18px 20px;
    text-decoration: none !important; display: flex; align-items: flex-start; gap: 14px;
    transition: var(--tr);
}
.bph-calc-hub-card:hover { border-color: var(--black); }
.bph-calc-hub-card__icon { font-size: 26px; flex-shrink: 0; line-height: 1; }
.bph-calc-hub-card__tier { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--t-faint); margin-bottom: 4px; font-family: var(--sans); }
.bph-calc-hub-card__name { font-family: var(--serif); font-size: 16px; color: var(--t-main); margin: 0 0 5px; line-height: 1.2; }
.bph-calc-hub-card__desc { font-size: 12px; color: var(--t-muted); margin: 0; line-height: 1.5; font-family: var(--sans); }
.bph-calc-hub-card--tier1 { border-left: 3px solid var(--gold); }

/* Parlay legs */
.bph-parlay-leg { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.bph-parlay-leg .bph-calc-input { flex: 1; }
.bph-parlay-remove { background: none; border: 1px solid var(--border); border-radius: var(--r); padding: 8px 10px; cursor: pointer; color: var(--t-faint); font-size: 14px; transition: var(--tr); }
.bph-parlay-remove:hover { border-color: var(--red); color: var(--red); }
.bph-parlay-add { background: none; border: 1px solid var(--border); width: 100%; padding: 8px; border-radius: var(--r); font-size: 12px; color: var(--t-muted); cursor: pointer; transition: var(--tr); font-family: var(--sans); margin-bottom: 12px; }
.bph-parlay-add:hover { border-color: var(--black); color: var(--black); }

/* Odds converter tabs */
.bph-odds-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.bph-odds-tab { flex: 1; text-align: center; padding: 9px 6px; font-size: 12px; font-weight: 600; font-family: var(--sans); color: var(--t-faint); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.bph-odds-tab.is-active { color: var(--black); border-bottom-color: var(--black); }

/* Progress bar for bankroll */
.bph-calc-bar-wrap { background: var(--bg); border-radius: 3px; height: 6px; overflow: hidden; margin-top: 6px; }
.bph-calc-bar-fill { height: 100%; border-radius: 3px; transition: width 0.4s ease; }

/* Roulette grid */
.bph-roulette-bets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-bottom: 14px; }
.bph-roulette-bet { border: 1px solid var(--border); border-radius: var(--r); padding: 8px 10px; cursor: pointer; transition: var(--tr); font-family: var(--sans); }
.bph-roulette-bet:hover, .bph-roulette-bet.is-active { border-color: var(--black); background: var(--black); color: var(--white); }
.bph-roulette-bet .name { font-size: 12px; font-weight: 700; }
.bph-roulette-bet .odds { font-size: 11px; color: var(--t-faint); }
.bph-roulette-bet.is-active .odds { color: rgba(255,255,255,0.5); }

/* =============================================================
   19. BETTING CALCULATORS — additions
   ============================================================= */
/* Arb / overround outcome rows */
.bph-arb-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 8px; }
.bph-arb-row .bph-calc-input { flex: 1; }
.bph-arb-label { font-size: 11px; color: var(--t-faint); font-family: var(--sans); margin-top: 12px; margin-bottom: 4px; }

/* Asian handicap visual */
.bph-ah-visual { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.bph-ah-btn { flex: 1; min-width: 80px; border: 1px solid var(--border); border-radius: var(--r); padding: 8px; text-align: center; cursor: pointer; font-family: var(--sans); transition: var(--tr); }
.bph-ah-btn:hover, .bph-ah-btn.is-active { background: var(--black); border-color: var(--black); color: var(--white); }
.bph-ah-btn .val { font-size: 14px; font-weight: 700; }
.bph-ah-btn .lbl { font-size: 10px; color: var(--t-faint); }
.bph-ah-btn.is-active .lbl { color: rgba(255,255,255,0.5); }

/* System bet matrix */
.bph-system-matrix { width: 100%; border-collapse: collapse; font-size: 12px; font-family: var(--sans); margin: 12px 0; }
.bph-system-matrix th { background: var(--black); color: var(--white); padding: 7px 10px; text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: 0.5px; }
.bph-system-matrix td { padding: 6px 10px; border-bottom: 1px solid var(--border); }
.bph-system-matrix tr:last-child td { border-bottom: none; }
.bph-system-matrix tr.total td { font-weight: 700; background: var(--bg); }

/* Dutch stake display */
.bph-dutch-stakes { margin: 12px 0; }
.bph-dutch-stake-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: var(--bg); border-radius: var(--r); margin-bottom: 6px; font-family: var(--sans); font-size: 13px; }
.bph-dutch-stake-row .name { color: var(--t-muted); }
.bph-dutch-stake-row .amount { font-weight: 700; color: var(--t-main); font-family: var(--serif); font-size: 16px; }

/* =============================================================
   20. TOOLS MEGA-DROPDOWN
   ============================================================= */
.bph-nav-mega {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 3px solid var(--black);
    border-radius: 0 0 var(--r) var(--r);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    display: none;
    min-width: 520px;
    z-index: 200;
    padding: 0;
}
.bph-nav-item:hover .bph-nav-mega,
.bph-nav-item:focus-within .bph-nav-mega {
    display: block;
}
.bph-mega-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.bph-mega-col {
    padding: 20px 18px;
}
.bph-mega-col + .bph-mega-col {
    border-left: 1px solid var(--border);
}
.bph-mega-col-title {
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--t-faint);
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.bph-mega-col a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-family: var(--sans);
    font-size: 13px;
    color: var(--t-body);
    text-decoration: none;
    border-bottom: none;
    transition: color 0.15s;
    line-height: 1.3;
}
.bph-mega-col a:hover {
    color: var(--black);
}
.bph-mega-col a .ico {
    font-size: 15px;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}
.bph-mega-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--border);
}
.bph-mega-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--t-muted);
    text-decoration: none;
    border-bottom: none;
    transition: background 0.15s, color 0.15s;
}
.bph-mega-footer a:hover {
    background: var(--black);
    color: var(--white);
}
.bph-mega-footer a + a {
    border-left: 1px solid var(--border);
}

/* Mobile Tools accordion */
.bph-mobile-section {
    border-top: 1px solid rgba(255,255,255,0.08);
}
.bph-mobile-section-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px var(--pad);
    font-family: var(--sans);
    font-size: 15px;
    color: var(--white);
    cursor: pointer;
    user-select: none;
}
.bph-mobile-section-toggle .arrow {
    font-size: 10px;
    transition: transform 0.2s;
}
.bph-mobile-section-toggle.is-open .arrow {
    transform: rotate(180deg);
}
.bph-mobile-section-body {
    display: none;
    padding: 0 0 8px;
}
.bph-mobile-section-body a {
    display: block;
    padding: 8px var(--pad) 8px calc(var(--pad) + 14px);
    font-size: 13px;
    color: rgba(255,255,255,0.45) !important;
    text-decoration: none;
    border-bottom: none;
}
.bph-mobile-section-subtitle {
    display: block;
    padding: 10px var(--pad) 4px calc(var(--pad) + 14px);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2) !important;
    font-family: var(--sans);
}

/* =============================================================
   21. FOOTER — 6 & 7-column grid overrides
   ============================================================= */
.bph-footer-grid--6col {
    grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr 1fr;
}
.bph-footer-grid--7col {
    grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr 1fr;
}
@media (max-width: 1200px) {
    .bph-footer-grid--7col {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .bph-footer-grid--7col .bph-footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 1100px) {
    .bph-footer-grid--6col {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .bph-footer-grid--6col .bph-footer-brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 640px) {
    .bph-footer-grid--6col,
    .bph-footer-grid--7col {
        grid-template-columns: 1fr 1fr;
    }
}
