/* =====================================================================
   Bubba Hub — Bold Theme (merged stylesheet)
   Combines styles.css (base prototype) + bold-theme.css (Sept 2026 refresh).
   Order matters: Part 1 is the base, Part 2 overrides it.
   ===================================================================== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@600;700&family=Quicksand:wght@700;800&display=swap');

:root{
  /* Base tokens (styles.css) */
  --ink:#24332d;
  --muted:#66736d;
  --green:#3e6654;
  --sage:#e7efe8;
  --cream:#fbfaf6;
  --peach:#f3dfd0;
  --white:#fff;
  --line:#dfe6e0;
  --shadow:0 16px 45px rgba(45,67,56,.10);
  --radius:22px;
  --max:1180px;
  /* Bold theme tokens (bold-theme.css) */
  --bh-primary:#416651;
  --bh-secondary:#3c8e96;
  --bh-bg:#edf5ef;
  --bh-surface:#fff;
  --bh-sage:#d7e7dc;
  --bh-soft:#a7c3b0;
  --bh-accent:#9cb8a4;
  --bh-text:#123f31;
  --bh-text-muted:#5c7067;
  --bh-border:rgba(18,63,49,.13);
  --bh-shadow:0 18px 48px rgba(18,63,49,.11);
  --bh-radius:24px;
  --bh-radius-sm:15px;
  --bh-yellow:#f6c84a;
  --bh-pink:#ee6684;
  --bh-purple:#8068cf;
  --bh-blue:#55a9c2;
  --bh-dark:#0d3b32;
}

/* =====================================================================
   PART 1 — BASE STYLES (from styles.css)
   ===================================================================== */
*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font-family:"DM Sans",sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.container{width:min(var(--max),calc(100% - 40px));margin:auto}.header{position:sticky;top:0;z-index:10;background:#fbfaf6ee;backdrop-filter:blur(12px);border-bottom:1px solid var(--line)}.nav{min-height:76px;display:flex;align-items:center;gap:24px}.brand{font:700 25px "Playfair Display";color:var(--green);margin-right:auto;display:flex;align-items:center;gap:10px}.brand img{width:52px;height:52px;object-fit:contain;border-radius:12px}.brand small{display:block;font:700 10px "DM Sans";letter-spacing:1.8px;color:var(--muted);text-transform:uppercase}.links{display:flex;gap:20px;font-size:14px;font-weight:700;color:#53615b}.links a:hover{color:var(--green)}.cta,.btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;padding:12px 18px;font-weight:700;cursor:pointer}.cta,.primary{background:var(--green);color:#fff}.secondary{background:#fff;border:1px solid var(--line)}.soft{background:var(--sage);color:var(--green)}.hero{padding:75px 0 70px;background:linear-gradient(135deg,#edf3ee,#fbfaf6 60%,#f4e0d3)}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:55px;align-items:center}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:2px;font-weight:800;color:var(--green)}h1,h2{font-family:"Playfair Display",serif}.hero h1{font-size:clamp(45px,6vw,72px);line-height:1.02;margin:12px 0 20px}.hero p{font-size:18px;color:var(--muted);max-width:590px}.hero-art{height:390px;border-radius:34px;background:linear-gradient(145deg,#d8e6dc,#f1d7c8);box-shadow:var(--shadow);position:relative}.hero-art img{width:100%;height:100%;object-fit:cover;border-radius:34px}.card-img img,.result-img img,.activity-img img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.hero-art:after{content:'Family time,\A made easier';white-space:pre;position:absolute;left:32px;bottom:30px;font:700 32px/1.05 "Playfair Display";color:var(--green)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.search{margin-top:-34px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;box-shadow:var(--shadow);display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:10px;position:relative}.field{width:100%;padding:13px 15px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}.section{padding:68px 0}.head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:25px}.head h2{font-size:38px;margin:5px 0}.grid{display:grid;gap:20px}.three{grid-template-columns:repeat(3,1fr)}.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.card-img{height:190px;background:linear-gradient(135deg,#dbe9de,#f0d8ca)}.card-body{padding:20px}.card h3{margin:7px 0;font-size:20px}.muted{color:var(--muted)}.tag{display:inline-block;padding:6px 10px;border-radius:999px;background:var(--sage);color:var(--green);font-size:12px;font-weight:800}.meta{font-size:13px;color:var(--muted);display:grid;gap:4px}.cats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.cat{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px 12px;text-align:center;font-weight:700}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.step{background:var(--sage);border-radius:22px;padding:25px}.num{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-weight:800}.band{background:var(--green);color:#fff;border-radius:30px;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:25px}.band .btn{background:#fff;color:var(--green)}.pagehero{padding:55px 0 35px;background:linear-gradient(135deg,#edf3ee,#f6e6dc)}.pagehero h1{font-size:46px;margin:5px 0}.directory{display:grid;grid-template-columns:1fr 1fr;gap:22px}.filters{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px;margin-bottom:20px}.filtergrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:10px}.results{display:grid;gap:15px}.result{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px;display:grid;grid-template-columns:125px 1fr;gap:17px}.result-img{background:linear-gradient(135deg,#dbe9de,#efd7c9);border-radius:14px;min-height:130px}.map{min-height:550px;border-radius:22px;background:linear-gradient(135deg,#dbe9de,#edf3ee);border:1px solid var(--line);display:grid;place-items:center;color:#779080;font-weight:800;letter-spacing:3px}.activity{display:grid;grid-template-columns:1.2fr .8fr;gap:30px}.activity-img{height:420px;border-radius:28px;background:linear-gradient(135deg,#dbe9de,#f0d7ca)}.facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fact,.side,.form{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px}.side{height:max-content;box-shadow:var(--shadow)}.fact small{display:block;color:var(--muted)}.organiser{display:flex;gap:14px;align-items:center;background:var(--sage);border-radius:18px;padding:18px}.avatar{width:54px;height:54px;border-radius:50%;background:#c6d9ca;display:grid;place-items:center;color:var(--green);font-weight:800}.side-nav{background:#fff;border:1px solid var(--line);border-radius:20px;padding:12px;height:max-content}.side-nav a{display:block;padding:11px;border-radius:10px;color:var(--muted);font-weight:700}.side-nav a:hover{background:var(--sage);color:var(--green)}.shell{display:grid;grid-template-columns:250px 1fr;gap:24px}.empty{text-align:center;background:#fff;border:1px dashed #c8d5cc;border-radius:24px;padding:60px 20px}.faq{border-top:1px solid var(--line)}.faq button{width:100%;padding:18px 0;background:none;border:0;text-align:left;font-weight:800;display:flex;justify-content:space-between}.answer{display:none;color:var(--muted);padding-bottom:18px}.faq.open .answer{display:block}footer{margin-top:65px;background:#eef3ee;border-top:1px solid var(--line)}.foot{display:grid;grid-template-columns:1.5fr repeat(3,1fr);gap:30px;padding:45px 0}.foot a{display:block;color:var(--muted);font-size:14px;margin:6px 0}.bottom{border-top:1px solid var(--line);padding:17px 0;color:var(--muted);font-size:13px}@media(max-width:850px){.links{display:none}.hero-grid,.directory,.activity,.shell{grid-template-columns:1fr}.search{grid-template-columns:1fr}.three,.steps{grid-template-columns:1fr 1fr}.cats{grid-template-columns:repeat(3,1fr)}.map{min-height:350px}.foot{grid-template-columns:1fr 1fr}}@media(max-width:560px){.container{width:calc(100% - 24px)}.hero{padding:45px 0}.hero-art{height:280px}.three,.steps,.cats,.filtergrid,.facts{grid-template-columns:1fr}.result{grid-template-columns:90px 1fr}.result-img{min-height:100px}.foot{grid-template-columns:1fr}.band{display:block}.band .btn{margin-top:12px}}
/* Bubba Hub functional prototype additions */
.menu-toggle{display:none;border:0;background:var(--sage);color:var(--green);border-radius:12px;padding:10px 13px;font-weight:800}.filtergrid-wide{grid-template-columns:2fr repeat(4,1fr)}.more-filters{display:flex;align-items:center;gap:18px;flex-wrap:wrap;padding:15px 0 5px}.more-filters label{font-size:14px;color:var(--muted);font-weight:600}.inline{display:inline-block;width:auto;min-width:145px;padding:9px 12px;margin-left:5px}.results-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 12px;color:var(--muted)}.small-map{min-height:180px;margin-top:15px}.hub-tabs{display:flex;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:25px}.hub-tabs a{padding:10px 15px;border-radius:999px;font-weight:800;color:var(--muted)}.hub-tabs a.active,.hub-tabs a:hover{background:var(--sage);color:var(--green)}.planner-grid{display:grid;grid-template-columns:1fr 280px;gap:25px}.calendar-demo{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px}.calendar-toolbar{display:flex;gap:12px;align-items:center;margin-bottom:15px}.calendar-toolbar button{border:1px solid var(--line);background:#fff;border-radius:10px;padding:8px 12px}.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);border-top:1px solid var(--line);border-left:1px solid var(--line)}.calendar-grid>b{padding:10px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.calendar-day{min-height:90px;padding:7px;border-right:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}.calendar-day small{color:var(--muted)}.calendar-event{display:block;background:var(--sage);color:var(--green);border-radius:8px;padding:5px;margin-top:7px;font-weight:700}.organiser-profile{background:#fff;border:1px solid var(--line);border-radius:25px;padding:28px;display:flex;align-items:center;gap:20px}.organiser-profile>div:nth-child(2){flex:1}.avatar.big{width:80px;height:80px;font-size:22px}.leader-tools .card{transition:.2s}.leader-tools .card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.family-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.preference-list{display:grid;gap:10px}.consent{display:grid;gap:10px;background:var(--sage);padding:15px;border-radius:14px;margin-top:18px}.menu-open .links{display:flex;position:absolute;top:76px;left:0;right:0;background:var(--cream);padding:15px 20px;flex-direction:column;border-bottom:1px solid var(--line);box-shadow:var(--shadow)}
@media(max-width:1050px){.filtergrid-wide{grid-template-columns:repeat(3,1fr)}.planner-grid{grid-template-columns:1fr}.organiser-profile{flex-wrap:wrap}}
@media(max-width:850px){.menu-toggle{display:block}.nav>.cta{display:none}.links{display:none}.filtergrid-wide{grid-template-columns:1fr 1fr}.family-cards{grid-template-columns:1fr 1fr}.calendar-day{min-height:70px}}
@media(max-width:560px){.filtergrid-wide,.family-cards{grid-template-columns:1fr}.more-filters{align-items:flex-start;flex-direction:column;gap:10px}.organiser-profile{align-items:flex-start}.calendar-demo{overflow:auto}.calendar-grid{min-width:620px}.hub-tabs{overflow-x:auto;flex-wrap:nowrap}.hub-tabs a{white-space:nowrap}}

/* LIVE DIRECTORY MAP */
.map.live-map{display:block;position:relative;min-height:550px;padding:0;overflow:hidden;background:#dbe9de;}
#activity-map{height:550px;}
#activity-map .leaflet-container{width:100%;height:100%;font-family:"DM Sans",sans-serif;letter-spacing:normal;font-weight:400;}
.map-empty{height:100%;min-height:220px;display:grid;place-content:center;text-align:center;padding:30px;color:#66736d;letter-spacing:normal;}
.map-empty strong{color:var(--green);font-size:18px;}
.map-empty p{margin:6px 0 12px;}
.map-card{width:260px;overflow:hidden;background:#fff;border-radius:16px;}
.map-card-image{display:block;height:105px;background:#dbe9de;}
.map-card-image img{width:100%;height:100%;object-fit:cover;display:block;}
.map-card-body{padding:12px;}
.map-card-body h3{font-size:17px;margin:7px 0;color:var(--green);line-height:1.2;}
.map-card-body h3 a{color:inherit;}
.map-card-body p{font-size:12px;margin:5px 0;}
.map-card-button{width:100%;margin-top:7px;padding:8px 12px;font-size:12px;}
.leaflet-popup-content-wrapper{padding:0;border-radius:16px;overflow:hidden;}
.leaflet-popup-content{margin:0 !important;}
@media(max-width:850px){#activity-map{height:420px;}.map.live-map{min-height:420px;}}

/* =====================================================================
   PART 2 — BOLD THEME (from bold-theme.css) — overrides Part 1
   ===================================================================== */
body{background:radial-gradient(circle at 8% 4%,rgba(85,169,194,.08),transparent 25rem),radial-gradient(circle at 92% 18%,rgba(238,102,132,.06),transparent 24rem),#f8fbf9;color:var(--bh-text)}
::selection{background:var(--bh-yellow);color:var(--bh-dark)}:focus-visible{outline:3px solid rgba(246,200,74,.95);outline-offset:3px}
.site-header{min-height:76px;margin-top:14px;padding:10px 16px;border:1px solid rgba(18,63,49,.1);border-radius:22px;box-shadow:0 10px 30px rgba(18,63,49,.08);background:rgba(255,255,255,.97)}
.brand-mark{width:46px;height:46px;border-radius:15px;background:linear-gradient(135deg,var(--bh-secondary),var(--bh-primary));box-shadow:0 8px 18px rgba(60,142,150,.22)}
.brand strong{font-size:20px;color:var(--bh-dark)}.brand small{color:var(--bh-secondary)}
.main-nav a{color:var(--bh-text);font-weight:750;border-radius:13px}.main-nav a:hover,.main-nav a.active{background:var(--bh-sage);color:var(--bh-primary);transform:translateY(-1px)}
.button{min-height:46px;padding:11px 19px;border-radius:999px;font-weight:800;letter-spacing:.005em}
/* Site-wide CTA text treatment */
/* Green/teal CTA buttons use Bubba Hub light-green text consistently. */
.button-primary,
.button-teal,
.button-green-alt,
.button-full,
.home-full-button,
.directory-calendar-hero-button,
.directory-map-action-button,
.directory-map-hero-button,
.directory-planner-action-button{
  color:#d8e6db!important;
}

.button-primary{background:linear-gradient(135deg,var(--bh-primary),#267b6f);box-shadow:0 9px 20px rgba(65,102,81,.22)}.button-primary:hover{background:linear-gradient(135deg,#355844,#1e6c61)}
.button-teal,.button-green-alt{background:var(--bh-secondary);color:#fff;box-shadow:0 8px 18px rgba(60,142,150,.18)}.button-green-alt:hover,.button-teal:hover{background:#2e7780}
.button-soft{background:#e7f1ea;color:var(--bh-primary)}.button-soft:hover{background:#d8e9de}
.hero-links .button:first-child{background:var(--bh-yellow);color:var(--bh-dark);box-shadow:0 9px 20px rgba(246,200,74,.25)}.hero-links .button:first-child:hover{background:#f0bc2e}
.hero{min-height:500px;margin-top:14px;padding:60px 42px 96px;border-radius:32px;background:linear-gradient(135deg,#e9f4eb 0%,#d9eee9 52%,#e8f3f0 100%);box-shadow:0 20px 50px rgba(18,63,49,.09)}
.hero::before{opacity:.28}.hero::after{background:linear-gradient(120deg,rgba(65,102,81,.1),transparent 45%),linear-gradient(180deg,rgba(255,255,255,.03),rgba(18,63,49,.12))}
.hero h1{color:var(--bh-dark);font-size:clamp(44px,5.5vw,70px);text-shadow:0 3px 0 rgba(255,255,255,.55)}.hero h1 em{color:var(--bh-secondary)}.hero p{font-size:19px;max-width:650px;color:var(--bh-dark)}
.eyebrow{color:var(--bh-secondary);font-weight:900}.hero-search{padding:13px;gap:9px;border:2px solid rgba(60,142,150,.16);border-radius:22px;box-shadow:0 20px 45px rgba(18,63,49,.18)}
.hero-search-field select{min-height:50px;background:#fbfdfc;border:1px solid rgba(18,63,49,.12);border-radius:14px}.hero-search-button{background:var(--bh-yellow)!important;color:var(--bh-dark)!important}.hero-search-button:hover{background:#efbb30!important}.hero-free strong{background:#e8f1ea}
.section{padding:70px 0}.section h2,.page-heading h1,.page-heading h2{color:var(--bh-dark)}
.feature-grid{gap:20px}.feature-card{position:relative;padding:28px;border:1px solid rgba(18,63,49,.09);border-radius:24px;box-shadow:0 12px 32px rgba(18,63,49,.07);transition:transform .2s ease,box-shadow .2s ease}.feature-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(18,63,49,.12)}
.feature-icon{width:52px;height:52px;border-radius:17px;background:linear-gradient(135deg,#d8efe7,#bfe2dc);color:var(--bh-secondary);font-size:22px}.feature-card:nth-child(2) .feature-icon{background:#fce4ea;color:var(--bh-pink)}.feature-card:nth-child(3) .feature-icon{background:#e9e3fa;color:var(--bh-purple)}.feature-card:nth-child(4) .feature-icon{background:#fff0c5;color:#a06a00}
.directory-toolbar{background:linear-gradient(135deg,#dceee1,#d8eeed);border:1px solid rgba(60,142,150,.1);border-radius:24px;padding:20px;box-shadow:0 12px 28px rgba(18,63,49,.06)}
.activity-grid{gap:20px}.activity-card{border:1px solid rgba(18,63,49,.09);border-radius:22px;box-shadow:0 10px 28px rgba(18,63,49,.07);transition:transform .2s ease,box-shadow .2s ease}.activity-card:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(18,63,49,.12)}.activity-image{height:165px;background:linear-gradient(135deg,#dcefe5,#c7e3e3)}.activity-meta{color:var(--bh-secondary)}.activity-card h3{color:var(--bh-dark)}
.status{background:#e4f1e8;color:var(--bh-primary);border:1px solid rgba(65,102,81,.08)}
input,select,textarea{border-radius:14px}input:focus,select:focus,textarea:focus{border-color:var(--bh-secondary)!important;box-shadow:0 0 0 4px rgba(60,142,150,.12)!important}.admin-panel input,.filter-input{min-height:46px;border-radius:14px}
.calendar-panel,.admin-stats article,.admin-panel{border-radius:24px;border:1px solid rgba(18,63,49,.09);box-shadow:0 12px 32px rgba(18,63,49,.07)}.calendar-view.active,.calendar-view:hover{background:var(--bh-secondary);color:#fff}.calendar-event{border-radius:18px;background:#fbfdfc}.calendar-event-time{color:var(--bh-secondary)}
.admin-stats{gap:18px}.admin-stats article{padding:24px}.admin-stats strong{color:var(--bh-dark)}.admin-links a{background:linear-gradient(135deg,#e7f2e9,#e1f1f1);border:1px solid rgba(18,63,49,.06);transition:transform .18s ease,box-shadow .18s ease}.admin-links a:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(18,63,49,.08)}
.site-footer{margin-top:60px;padding:48px 0 24px;background:var(--bh-dark);border-top:0;border-radius:30px 30px 0 0;color:#fff;box-shadow:0 -14px 40px rgba(18,63,49,.08)}.site-footer-grid{padding:0 24px}.site-footer-title{font-size:25px}.site-footer-links a:hover{color:var(--bh-yellow)}.site-footer-bottom{padding-left:24px;padding-right:24px}
.mobile-nav-toggle{border:1px solid rgba(60,142,150,.18)!important;border-radius:14px!important;background:#e9f3ee!important;color:var(--bh-primary)!important;box-shadow:0 5px 14px rgba(18,63,49,.08)}.js-enabled .site-header .main-nav{border-radius:18px;box-shadow:0 18px 40px rgba(18,63,49,.18)}.js-enabled .site-header .main-nav a{border-radius:13px}
@media(max-width:650px){.site-header{width:calc(100% - 16px);margin-top:8px;border-radius:18px}.brand strong{font-size:18px}.hero{width:calc(100% - 16px);padding:30px 15px 30px;border-radius:26px}.hero h1{font-size:39px}.hero-search{border-radius:19px}.section{padding:52px 0}.feature-card,.activity-card{border-radius:20px}.site-footer{width:calc(100% - 16px);margin-top:42px;border-radius:24px 24px 0 0;padding-top:38px}}


/* Modal system — Bold Bubba Hub refresh */
.bh-leader-modal,.booking-modal-backdrop,.contact-modal-backdrop,.hub-modal,.hero-advanced-modal{
  position:fixed!important;inset:0!important;z-index:9999!important;
  display:grid!important;place-items:center!important;
  width:100vw!important;height:100dvh!important;
  box-sizing:border-box!important;padding:20px!important;
  background:rgba(215,231,220,.82)!important;
  backdrop-filter:blur(6px)!important;
  -webkit-backdrop-filter:blur(6px)!important;
}
.bh-leader-modal-card,.booking-modal,.contact-modal,.hub-modal-card,.hero-advanced-dialog{
  position:relative!important;z-index:1!important;
  width:min(720px,100%)!important;max-width:720px!important;
  max-height:calc(100dvh - 40px)!important;overflow:auto!important;
  box-sizing:border-box!important;padding:28px!important;
  margin:0!important;border:2px solid rgba(65,102,81,.12)!important;
  border-radius:28px!important;background:#f7fbf7!important;
  box-shadow:0 28px 80px rgba(18,63,49,.22)!important;
}
.bh-leader-modal-card h2,.booking-modal h2,.contact-modal h2,.hub-modal-card h2,.hero-advanced-dialog h2{color:var(--bh-dark)}
.bh-leader-modal-card .button-soft,.booking-modal-close,.contact-modal-close,.hero-advanced-close{background:#e1efe5!important;color:var(--bh-primary)!important}
body:has(.bh-leader-modal),body:has(.booking-modal-backdrop),body:has(.contact-modal-backdrop),body:has(.hub-modal),body:has(.hero-advanced-modal:not([hidden])){overflow:hidden}
@media(max-width:650px){
 .bh-leader-modal,.booking-modal-backdrop,.contact-modal-backdrop,.hub-modal,.hero-advanced-modal{padding:12px!important}
 .bh-leader-modal-card,.booking-modal,.contact-modal,.hub-modal-card,.hero-advanced-dialog{max-height:calc(100dvh - 24px)!important;padding:22px 18px!important;border-radius:22px!important}
}


/* =========================================================
   HOMEPAGE SHOWCASE VISUAL TREATMENT
   ========================================================= */
.bh-home .site-header{border-radius:0;max-width:1400px;width:100%;margin:0 auto;box-shadow:0 4px 18px rgba(18,63,49,.08)}
.bh-home .main-nav{gap:2px}.bh-home .main-nav a{font-size:12px;padding:9px 11px}
.bh-home .home-header-search{color:var(--bh-dark)}
.bh-home .home-category-row{background:rgba(255,255,255,.98)}
.bh-home .home-activity-card:hover,.bh-home .home-lower-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(18,63,49,.1)}
.bh-home .home-plan-band{background:linear-gradient(135deg,#eef7e8,#e0f0e9)}
.bh-home .home-footer{background:#0d3b32;color:#fff;border-radius:0 0 24px 24px}
.bh-home .home-footer .site-footer-column h2,.bh-home .home-footer .site-footer-title{color:#fff}
.bh-home .home-footer .site-footer-links a{color:rgba(255,255,255,.85)}
.bh-home .home-footer .site-footer-links a:hover{color:#f6c84a}


/* =========================================================
   SITE-WIDE NAVIGATION FIX — desktop + mobile
   The mobile button is created by assets/js/app.js. Keep the
   navigation hidden until the button explicitly opens it.
   ========================================================= */
.site-header .mobile-nav-toggle{
  display:none;
  flex:0 0 auto;
  width:48px;
  height:48px;
  min-width:48px;
  min-height:48px;
  padding:0!important;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  z-index:20;
}
.site-header .mobile-nav-toggle span{
  display:block;
  width:21px;
  height:2px;
  border-radius:999px;
  background:currentColor;
  transition:transform .2s ease,opacity .2s ease;
}
.site-header .main-nav{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:0;
  margin-left:auto;
}
.site-header .main-nav a{display:inline-flex;align-items:center;justify-content:center;}
@media(max-width:760px){
  .site-header{
    width:calc(100% - 16px)!important;
    min-height:68px;
    padding:8px 10px!important;
    gap:8px!important;
    position:relative;
    z-index:100;
  }
  .site-header .brand{margin-right:auto;min-width:0;}
  .site-header .brand-logo{width:48px;height:48px;}
  .site-header .mobile-nav-toggle{display:flex;order:2;}
  .site-header .main-nav{
    display:none;
    position:absolute;
    top:calc(100% + 8px);
    left:0;
    right:0;
    width:100%;
    margin:0;
    padding:10px;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    background:#fff;
    border:1px solid rgba(18,63,49,.12);
    border-radius:18px;
    box-shadow:0 18px 40px rgba(18,63,49,.18);
    overflow:hidden;
    z-index:200;
  }
  .site-header.mobile-menu-open .main-nav{display:flex;}
  .site-header .main-nav a{
    width:100%;
    min-height:46px;
    padding:11px 14px!important;
    justify-content:flex-start;
    border-radius:12px!important;
    white-space:normal;
  }
  .site-header .main-nav a:hover,
  .site-header .main-nav a.active{transform:none;}
  .site-header .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
  .site-header .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
  .site-header .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}
  .site-header .home-header-search{order:3;flex:0 0 auto;}
}
@media(min-width:761px){
  .site-header .mobile-nav-toggle{display:none!important;}
  .site-header .main-nav{display:flex!important;}
}
@media(max-width:760px){
  .bh-home .site-header{width:100%!important;margin:0 auto;}
  .bh-home .home-header-search{margin-left:0;}
}


/* =========================================================
   DIRECTORY — HOMEPAGE-STYLE SEARCH + MODERN FILTER PANEL
   ========================================================= */
.directory-layout{
  grid-template-columns:260px minmax(0,1fr);
  gap:28px;
  align-items:start;
}
.directory-filters-panel{
  position:sticky;
  top:18px;
  padding:18px;
  background:#f2f8f3;
  border:1px solid rgba(65,102,81,.10);
  border-radius:24px;
  box-shadow:0 12px 30px rgba(18,63,49,.07);
}
.directory-filters-heading{display:none!important}
.directory-filter-fields{gap:12px!important}
.directory-filter-fields>div,
.directory-filter-fields>label{
  padding:11px 0;
  border-bottom:1px solid rgba(65,102,81,.09);
}
.directory-filter-fields>div:last-of-type{border-bottom:0}
.directory-filter-fields label,
.directory-filter-label{
  color:#416651!important;
  font-size:11px!important;
  font-weight:850!important;
}
.directory-filter-fields .filter-input{
  margin-top:6px;
  min-height:43px!important;
  border:1px solid rgba(65,102,81,.13)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#123f31!important;
  box-shadow:none!important;
}
.directory-filter-fields .filter-input:focus{
  border-color:#3c8e96!important;
  box-shadow:0 0 0 3px rgba(60,142,150,.10)!important;
}
.directory-filter-fields .filter-free{
  border-bottom:1px solid rgba(65,102,81,.09);
  padding:12px 0!important;
  color:#123f31!important;
}
.directory-filter-fields .filter-free input{
  accent-color:#3c8e96;
}
.directory-advanced-section{
  border-bottom:1px solid rgba(65,102,81,.09);
  padding:4px 0 10px!important;
}
.directory-advanced-toggle{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  border:0;
  background:transparent;
  color:#123f31;
  font-size:12px;
  font-weight:900;
  cursor:pointer;
}
.directory-advanced-fields{
  display:grid;
  gap:2px;
}
.directory-clear{
  margin-top:14px!important;
  min-height:46px;
  border-radius:999px!important;
}

/* Same visual language as the homepage hero search */
.directory-hero-search{
  width:100%;
  margin:0 0 20px;
  padding:18px 20px 17px;
  background:#159d9b;
  border:0;
  border-radius:24px;
  box-shadow:0 18px 35px rgba(18,63,49,.16);
}
.directory-hero-search h2{
  margin:0 0 12px;
  color:#fff;
  font-family:"Quicksand",sans-serif;
  font-size:21px;
  line-height:1.2;
  font-weight:800;
}
.directory-hero-search-fields{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr 1fr auto;
  gap:9px;
  align-items:center;
}
.directory-hero-search-fields label{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  min-height:48px;
  padding:0 13px;
  background:#fff;
  border-radius:999px;
  color:#5c7067;
}
.directory-hero-search-fields label span{
  flex:0 0 auto;
  color:#3c8e96;
  font-weight:900;
}
.directory-hero-search-fields input,
.directory-hero-search-fields select{
  width:100%;
  min-width:0;
  min-height:42px;
  margin:0;
  padding:8px 2px;
  border:0!important;
  outline:0!important;
  box-shadow:none!important;
  background:transparent!important;
  color:#123f31!important;
  font-size:12px;
}
.directory-hero-search-fields .button{
  min-width:112px;
  min-height:48px;
  padding:10px 20px;
  background:#f6c84a!important;
  color:#123f31!important;
  border:0!important;
  border-radius:999px!important;
  box-shadow:none!important;
  font-weight:900;
}
.directory-search-advanced-link{
  display:flex;
  align-items:center;
  gap:6px;
  margin:8px 4px 0 auto;
  padding:0;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.92);
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
.directory-search-advanced-link:hover{text-decoration:underline}
.directory-viewbar{
  padding:0 2px 8px;
}
.directory-viewbar #count{
  font-weight:850;
  color:#416651;
}
.activity-grid{
  gap:18px!important;
}
.activity-card{
  border:1px solid rgba(18,63,49,.09)!important;
  border-radius:20px!important;
  box-shadow:0 9px 26px rgba(18,63,49,.06)!important;
  background:#fff;
}
.activity-card:hover{
  transform:translateY(-3px);
  box-shadow:0 16px 34px rgba(18,63,49,.11)!important;
}
.activity-image{
  background:#dceee1!important;
}
.activity-image img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.activity-body{padding:19px!important}
.activity-meta{
  color:#3c8e96!important;
  font-size:10px!important;
  font-weight:900!important;
  text-transform:uppercase;
  letter-spacing:.07em;
}
.activity-card h3{
  color:#123f31!important;
  margin-top:6px!important;
}
.activity-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}
.activity-footer .bh-save{
  min-height:38px;
  border-radius:999px!important;
  padding:7px 12px!important;
}

/* The directory starts with real data rather than an empty visual state. */
#results:empty:before{
  content:"Loading activities…";
  display:block;
  grid-column:1/-1;
  padding:40px;
  text-align:center;
  color:#617261;
  font-weight:700;
}

@media(max-width:1100px){
  .directory-hero-search-fields{
    grid-template-columns:1fr 1fr;
  }
  .directory-hero-search-fields .button{
    grid-column:1/-1;
  }
}
@media(max-width:900px){
  .directory-layout{
    display:block;
  }
  .directory-filters-panel{
    position:fixed;
    top:12px;
    left:12px;
    bottom:12px;
    width:min(340px,calc(100vw - 24px));
    z-index:10000;
    overflow:auto;
    transform:translateX(-120%);
    transition:transform .22s ease;
  }
  .directory-filters-panel.is-open{
    transform:translateX(0);
  }
  .directory-hero-search{
    margin-bottom:12px;
    border-radius:20px;
  }
  .directory-mobile-actions{
    display:flex;
    margin:0 0 10px;
  }
}
@media(max-width:650px){
  .directory-hero-search{
    padding:15px;
    border-radius:20px;
  }
  .directory-hero-search h2{
    font-size:19px;
  }
  .directory-hero-search-fields{
    grid-template-columns:1fr;
  }
  .directory-hero-search-fields .button{
    grid-column:auto;
    width:100%;
  }
  .directory-hero-search-fields label{
    min-height:46px;
  }
  .directory-search-advanced-link{
    margin-top:10px;
  }
}


/* DIRECTORY CARD POLISH — September 2026 */
.directory-results-column{min-width:0}
.activity-grid.directory-view-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch}
.activity-grid.directory-view-grid.directory-cards-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.activity-grid.directory-view-grid.directory-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.activity-grid.directory-view-grid.directory-cards-4{grid-template-columns:repeat(4,minmax(0,1fr))!important}
.activity-grid.directory-view-grid.directory-cards-5{grid-template-columns:repeat(5,minmax(0,1fr))!important}
.activity-grid.directory-view-grid.directory-cards-6{grid-template-columns:repeat(6,minmax(0,1fr))!important}
.activity-grid .activity-card{position:relative;display:flex!important;flex-direction:column!important;height:100%;min-width:0;overflow:hidden!important}
.activity-grid .activity-image{position:relative!important;flex:0 0 auto!important;width:100%!important;height:190px!important;min-height:190px!important;overflow:hidden!important;display:block!important}
.activity-grid .activity-image img{position:relative!important;inset:auto!important;width:100%!important;height:100%!important;object-fit:cover!important}
.activity-grid .activity-body{position:relative!important;z-index:2;display:flex!important;flex:1 1 auto;flex-direction:column!important;justify-content:flex-start!important;min-width:0;padding:18px!important;background:#fff!important}
.activity-grid .activity-card h3{margin:5px 0 7px!important;font-size:20px!important;line-height:1.18!important}
.activity-grid .activity-card p{margin:0 0 14px!important;font-size:12px!important;line-height:1.55!important}
.activity-grid .activity-footer{margin-top:auto!important;padding-top:12px;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important}
.activity-grid .activity-footer .text-link{font-weight:850;color:var(--bh-primary)}
.activity-grid .activity-footer .bh-save{position:relative!important;min-height:38px!important;padding:7px 12px!important;white-space:nowrap}
.directory-advanced-toggle{font-size:12px!important}
.directory-search-advanced-link{font-size:12px!important}
.directory-mobile-actions{display:none}
@media(max-width:900px){.directory-mobile-actions{display:flex}.directory-mobile-actions .directory-filter-toggle{width:100%;justify-content:space-between}}
@media(max-width:1100px){.activity-grid.directory-view-grid,.activity-grid.directory-view-grid.directory-cards-4,.activity-grid.directory-view-grid.directory-cards-5,.activity-grid.directory-view-grid.directory-cards-6{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:650px){.activity-grid.directory-view-grid,.activity-grid.directory-view-grid.directory-cards-2,.activity-grid.directory-view-grid.directory-cards-3,.activity-grid.directory-view-grid.directory-cards-4,.activity-grid.directory-view-grid.directory-cards-5,.activity-grid.directory-view-grid.directory-cards-6{grid-template-columns:1fr!important}.activity-grid .activity-image{height:190px!important;min-height:190px!important}.activity-grid .activity-body{padding:16px!important}}
.activity-grid.directory-view-list .activity-card{display:grid!important;grid-template-columns:240px minmax(0,1fr)!important;min-height:190px}
.activity-grid.directory-view-list .activity-image{height:100%!important;min-height:190px!important}
.activity-grid.directory-view-list .activity-body{display:flex!important;min-height:190px}
@media(max-width:650px){.activity-grid.directory-view-list .activity-card{grid-template-columns:1fr!important}.activity-grid.directory-view-list .activity-image{height:190px!important;min-height:190px!important}.activity-grid.directory-view-list .activity-body{min-height:0}}
.directory-results-column #results:not([hidden]){min-height:40px}

/* =========================================================
   LEADER PORTAL — FAMILY ACTIVITIES SHOWCASE TREATMENT
   ========================================================= */
.bh-leader-page{max-width:1240px!important}
.bh-leader-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px 36px!important;margin:18px 0 22px;background:linear-gradient(135deg,#eaf6ec,#dcefee 55%,#f4efe7);border:1px solid rgba(18,63,49,.08);border-radius:30px;box-shadow:0 18px 45px rgba(18,63,49,.09)}
.bh-leader-hero h1{font-size:clamp(34px,4vw,54px);margin:.12em 0 .2em;color:var(--bh-dark)}
.bh-leader-hero p{max-width:650px;margin:0;color:var(--bh-text-muted);font-size:16px}
.bh-leader-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px;padding:10px;background:#fff;border:1px solid rgba(18,63,49,.08);border-radius:20px;box-shadow:0 10px 25px rgba(18,63,49,.05)}
.bh-leader-tabs a{padding:10px 13px;border-radius:999px;color:var(--bh-primary);font-size:12px;font-weight:850;text-decoration:none}
.bh-leader-tabs a:hover,.bh-leader-tabs a:focus{background:#e7f2e9;color:var(--bh-secondary)}
.bh-leader-stats-v2,.bh-leader-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:0 0 22px}
.bh-leader-stat,.bh-leader-stat-card{display:flex;align-items:center;gap:11px;min-width:0;padding:18px;background:#fff;border:1px solid rgba(18,63,49,.08);border-radius:22px;box-shadow:0 12px 28px rgba(18,63,49,.06);text-decoration:none;color:inherit}
.bh-leader-stat>span,.bh-leader-stat-card>span{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:14px;background:#e4f1e8;font-size:20px}
.bh-leader-stat:nth-child(2)>span,.bh-leader-stat-card:nth-child(2)>span{background:#dff0f1}.bh-leader-stat:nth-child(3)>span,.bh-leader-stat-card:nth-child(3)>span{background:#eee8fa}.bh-leader-stat:nth-child(4)>span,.bh-leader-stat-card:nth-child(4)>span{background:#fff1ca}.bh-leader-stat:nth-child(5)>span{background:#fbe5eb}
.bh-leader-stat strong,.bh-leader-stat-card strong{display:block;font-size:25px;line-height:1;color:var(--bh-dark)}.bh-leader-stat b,.bh-leader-stat-card b{display:block;font-size:12px}.bh-leader-stat small,.bh-leader-stat-card small{display:block;color:var(--bh-text-muted);font-size:10px}.bh-leader-stat em{margin-left:auto;color:var(--bh-secondary);font-style:normal;font-weight:900}
.bh-leader-dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:18px;margin-bottom:22px}.bh-leader-panel{padding:26px!important}
.bh-leader-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.bh-leader-action,.bh-leader-tool{display:block;padding:20px;background:#fff;border:1px solid rgba(18,63,49,.08);border-radius:22px;box-shadow:0 10px 25px rgba(18,63,49,.05);text-decoration:none;color:inherit;transition:transform .18s ease,box-shadow .18s ease}
.bh-leader-action:hover,.bh-leader-tool:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(18,63,49,.1)}
.bh-leader-action span,.bh-leader-tool span{display:block;font-size:25px;margin-bottom:12px}.bh-leader-action strong,.bh-leader-tool strong{display:block;color:var(--bh-dark)}.bh-leader-action small,.bh-leader-tool small{display:block;margin-top:5px;color:var(--bh-text-muted);line-height:1.45}
.bh-leader-portal-tools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:22px 0}
.bh-health-number{display:block;margin-top:10px;font-size:28px;color:var(--bh-primary)}
.bh-insight-list{display:grid;gap:10px}.bh-insight-item{padding:12px 14px;border-radius:14px;background:#eef6ef;color:var(--bh-primary);font-weight:750}.bh-insight-empty{padding:28px;border-radius:18px;background:#f3f8f4;color:var(--bh-text-muted)}
.bh-faq-list{display:grid;gap:14px}.bh-faq-item{display:flex;justify-content:space-between;gap:20px;padding:22px;background:#fff;border:1px solid rgba(18,63,49,.08);border-radius:20px;box-shadow:0 9px 24px rgba(18,63,49,.05)}.bh-faq-item h3{margin:.3em 0;color:var(--bh-dark)}.bh-faq-item p{margin:0;color:var(--bh-text-muted);white-space:pre-line}.bh-faq-actions{display:flex;gap:8px;align-items:flex-start;flex:0 0 auto}
.bh-payment-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:18px}.bh-payment-card{padding:26px;background:#fff;border:1px solid rgba(18,63,49,.08);border-radius:24px;box-shadow:0 12px 30px rgba(18,63,49,.06)}.bh-payment-card h2{color:var(--bh-dark)}.bh-payment-card p,.bh-payment-card li{color:var(--bh-text-muted);line-height:1.6}.bh-feature-icon{display:grid;place-items:center;width:52px;height:52px;margin-bottom:15px;border-radius:17px;background:#e2f0e7;font-size:24px}.bh-payment-card:nth-child(2) .bh-feature-icon{background:#dff0f1}.bh-payment-card:nth-child(3) .bh-feature-icon{background:#fff0c8}
.bh-expertise-section{display:grid;grid-template-columns:.8fr 1.2fr;gap:28px;margin:22px 0;padding:28px;background:linear-gradient(135deg,#edf7ee,#e1f0ef);border:1px solid rgba(18,63,49,.08);border-radius:28px}.bh-expertise-copy h2{margin:.15em 0 .35em;color:var(--bh-dark)}.bh-expertise-copy p{color:var(--bh-text-muted)}.bh-expertise-form{padding:20px;background:#fff;border-radius:22px}.bh-expertise-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.bh-expertise-option{display:flex;align-items:center;gap:10px;padding:12px 13px;border:1px solid rgba(18,63,49,.09);border-radius:14px;background:#fbfdfc;font-size:12px;font-weight:750;color:var(--bh-primary);cursor:pointer}.bh-expertise-option:has(input:checked){background:#e6f3e9;border-color:rgba(60,142,150,.35)}.bh-expertise-option input{accent-color:var(--bh-secondary)}
@media(max-width:1100px){.bh-leader-stats-v2,.bh-leader-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.bh-leader-quick-actions,.bh-leader-portal-tools{grid-template-columns:repeat(2,minmax(0,1fr))}.bh-payment-grid{grid-template-columns:1fr 1fr}.bh-payment-feature{grid-column:1/-1}}
@media(max-width:760px){.bh-leader-hero{display:block;padding:25px 20px!important}.bh-leader-hero .hero-actions{margin-top:18px}.bh-leader-dashboard-grid,.bh-expertise-section{grid-template-columns:1fr}.bh-leader-tabs{overflow:auto;flex-wrap:nowrap}.bh-leader-tabs a{white-space:nowrap}.bh-leader-quick-actions,.bh-leader-portal-tools,.bh-payment-grid{grid-template-columns:1fr}.bh-leader-stats-v2,.bh-leader-stat-grid{grid-template-columns:1fr 1fr}.bh-faq-item{display:block}.bh-faq-actions{margin-top:15px}.bh-expertise-grid{grid-template-columns:1fr}}

/* Final full-width footer override. */
.site-footer{width:100%!important;max-width:none!important;margin:48px 0 0!important;border-radius:0!important;box-sizing:border-box!important}
.site-footer-logo img{width:110px!important;height:auto!important;max-width:100%!important;max-height:90px!important;object-fit:contain!important;border-radius:0!important}
.site-footer-nav{display:none!important}
@media(max-width:650px){.site-footer{width:100%!important;margin-top:36px!important;border-radius:0!important}}


/* Footer layout cleanup */
.site-footer{width:100%;box-sizing:border-box;overflow:hidden}
.site-footer-grid{width:min(1180px,100%);margin:0 auto;display:grid;grid-template-columns:1.45fr 1fr 1fr 1.2fr;gap:38px;padding:0 24px}
.site-footer-brand{display:flex;align-items:flex-start;gap:14px;min-width:0}
.site-footer-logo{display:block;flex:0 0 58px;width:58px;height:58px}
.site-footer-logo img{width:100%;height:100%;object-fit:contain;border-radius:12px}
.site-footer-brand-copy{min-width:0}.site-footer-brand-copy p{margin:7px 0 0;color:rgba(255,255,255,.72);font-size:13px;line-height:1.55}
.site-footer-column h2{margin:0 0 12px;font-size:13px;text-transform:uppercase;letter-spacing:.08em}
.site-footer-links{display:flex;flex-direction:column;gap:8px}.site-footer-links a{color:rgba(255,255,255,.82);font-size:13px;line-height:1.35;transition:color .18s ease}.site-footer-links a:hover{color:#f6c84a}
.site-footer-bottom{width:min(1180px,100%);margin:32px auto 0;padding:18px 24px 0;border-top:1px solid rgba(255,255,255,.14);display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;color:rgba(255,255,255,.62);font-size:11px}
.home-newsletter>p{margin:0 0 9px;color:rgba(255,255,255,.72);font-size:12px}
.home-newsletter form{display:flex;min-width:0}.home-newsletter input{min-width:0;flex:1;height:40px;padding:0 12px;border:0;border-radius:999px 0 0 999px;background:#fff;color:#123d30}.home-newsletter button{flex:0 0 44px!important;width:44px!important;height:40px!important;border:0!important;border-radius:0 999px 999px 0!important;background:#3c9fa9!important;color:#d8e6db!important;font-weight:900}
@media(max-width:900px){.site-footer-grid{grid-template-columns:1.4fr 1fr 1fr;gap:28px}.home-newsletter{grid-column:1/-1;max-width:420px}}
@media(max-width:650px){.site-footer-grid{grid-template-columns:1fr 1fr;padding:0 18px;gap:28px 18px}.site-footer-brand{grid-column:1/-1}.site-footer-bottom{margin-top:26px;padding:16px 18px 0;flex-direction:column;gap:6px}.site-footer{width:100%!important;border-radius:0!important}}


/* =========================================================
   LEADER DASHBOARD — RESPONSIVE POLISH
   Keep the existing Bubba Hub visual language while making
   the dashboard easier to scan and use on small screens.
   ========================================================= */
.bh-leader-page{
  width:min(1240px,calc(100% - 32px));
  margin:0 auto;
}
.bh-leader-hero{
  min-width:0;
}
.bh-leader-hero > div:first-child{
  min-width:0;
}
.bh-leader-hero .hero-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:10px;
  flex:0 0 auto;
}
.bh-leader-hero .hero-actions .button{
  white-space:nowrap;
}
.bh-leader-stat{
  min-height:86px;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.bh-leader-stat:hover{
  transform:translateY(-2px);
  border-color:rgba(60,142,150,.22);
  box-shadow:0 16px 32px rgba(18,63,49,.10);
}
.bh-leader-tabs{
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.bh-leader-tabs a{
  flex:0 0 auto;
}
.bh-leader-panel{
  min-width:0;
}
.bh-leader-quick-actions,
.bh-leader-portal-tools{
  min-width:0;
}
.bh-leader-action,
.bh-leader-tool{
  min-width:0;
}
.bh-support-banner{
  margin-top:22px;
  padding:24px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  background:linear-gradient(135deg,#e7f3e9,#e0f0ef);
  border:1px solid rgba(18,63,49,.08);
  border-radius:26px;
  box-shadow:0 12px 30px rgba(18,63,49,.06);
}
.bh-support-banner > div:first-child{
  display:flex;
  align-items:center;
  gap:14px;
  min-width:0;
}
.bh-support-banner h2{
  margin:.1em 0 .25em;
  color:var(--bh-dark);
}
.bh-support-banner p{
  margin:0;
  color:var(--bh-text-muted);
}
.bh-support-icon{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  flex:0 0 48px;
  border-radius:16px;
  background:#fff1ca;
  color:#8a6500;
  font-size:22px;
  font-weight:900;
}
.bh-support-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
@media(max-width:1100px){
  .bh-leader-page{width:min(100% - 28px,1240px)}
}
@media(max-width:760px){
  .bh-leader-page{
    width:calc(100% - 20px);
  }
  .bh-leader-hero{
    margin-top:12px;
    margin-bottom:14px;
    padding:22px 18px!important;
    border-radius:24px;
  }
  .bh-leader-hero h1{
    font-size:clamp(30px,8.5vw,42px);
    line-height:1.08;
  }
  .bh-leader-hero p{
    font-size:14px;
    line-height:1.55;
  }
  .bh-leader-hero .hero-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin-top:16px;
  }
  .bh-leader-hero .hero-actions .button{
    width:100%;
    min-width:0;
    padding-left:12px;
    padding-right:12px;
  }
  .bh-leader-stats-v2{
    gap:9px;
    margin-bottom:14px;
  }
  .bh-leader-stat{
    min-height:78px;
    padding:13px 11px;
    gap:8px;
    border-radius:18px;
  }
  .bh-leader-stat>span{
    width:36px;
    height:36px;
    flex-basis:36px;
    border-radius:12px;
    font-size:17px;
  }
  .bh-leader-stat strong{
    font-size:21px;
  }
  .bh-leader-stat b{
    font-size:11px;
    line-height:1.2;
  }
  .bh-leader-stat small{
    margin-top:2px;
    font-size:9px;
    line-height:1.25;
  }
  .bh-leader-stat em{
    display:none;
  }
  .bh-leader-tabs{
    margin-bottom:14px;
    padding:7px;
    gap:5px;
    border-radius:17px;
  }
  .bh-leader-tabs a{
    padding:9px 11px;
    font-size:11px;
  }
  .bh-leader-dashboard-grid{
    gap:12px;
    margin-bottom:14px;
  }
  .bh-leader-panel{
    padding:20px!important;
    border-radius:20px;
  }
  .bh-leader-quick-actions,
  .bh-leader-portal-tools{
    gap:10px;
    margin-top:14px;
  }
  .bh-leader-action,
  .bh-leader-tool{
    padding:17px;
    border-radius:19px;
  }
  .bh-support-banner{
    margin-top:14px;
    padding:19px;
    display:block;
    border-radius:22px;
  }
  .bh-support-banner > div:first-child{
    align-items:flex-start;
  }
  .bh-support-banner h2{
    font-size:22px;
  }
  .bh-support-banner p{
    font-size:13px;
    line-height:1.5;
  }
  .bh-support-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    margin-top:16px;
  }
  .bh-support-actions .button{
    width:100%;
    min-width:0;
    padding-left:10px;
    padding-right:10px;
  }
  /* The account link is already available inside the mobile menu. */
  .site-header > .button-soft{
    display:none;
  }
}
@media(max-width:430px){
  .bh-leader-hero .hero-actions,
  .bh-support-actions{
    grid-template-columns:1fr;
  }
  .bh-leader-stats-v2{
    grid-template-columns:1fr;
  }
  .bh-leader-stat{
    min-height:70px;
  }
}


/* =========================================================
   LEADER DASHBOARD — LISTING HEALTH + ATTENTION POLISH
   ========================================================= */
#listing-health{
  scroll-margin-top:24px;
}
.bh-leader-dashboard-grid .bh-leader-panel{
  position:relative;
  overflow:hidden;
  background:linear-gradient(145deg,#ffffff 0%,#fbfdfb 100%);
}
.bh-leader-dashboard-grid .bh-leader-panel:first-child{
  background:linear-gradient(145deg,#ffffff 0%,#eef7f0 100%);
}
.bh-leader-dashboard-grid .bh-leader-panel:nth-child(2){
  background:linear-gradient(145deg,#ffffff 0%,#eef5f4 100%);
}
.bh-leader-dashboard-grid .bh-leader-panel::before{
  content:"";
  position:absolute;
  top:-55px;
  right:-45px;
  width:150px;
  height:150px;
  border-radius:50%;
  background:rgba(156,184,164,.12);
  pointer-events:none;
}
.bh-leader-dashboard-grid .admin-panel-head{
  position:relative;
  z-index:1;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.bh-leader-dashboard-grid .admin-panel-head h2{
  margin:.18em 0 .3em;
  color:var(--bh-dark);
  font-size:clamp(22px,2.5vw,29px);
}
.bh-leader-dashboard-grid .admin-panel-head p{
  margin:0;
  color:var(--bh-text-muted);
  font-size:13px;
  line-height:1.5;
}
.bh-health-number{
  flex:0 0 auto;
  min-width:68px;
  padding:11px 13px;
  margin:0!important;
  border-radius:17px;
  background:#e4f1e8;
  color:var(--bh-primary)!important;
  text-align:center;
  font-size:24px;
  line-height:1;
  box-shadow:inset 0 0 0 1px rgba(65,102,81,.08);
}
.bh-health-bar{
  position:relative;
  z-index:1;
  height:12px;
  margin:22px 0 18px;
  overflow:hidden;
  border-radius:999px;
  background:#dce9df;
  box-shadow:inset 0 1px 2px rgba(18,63,49,.08);
}
.bh-health-bar span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#3c8e96,#416651);
  transition:width .35s ease;
}
.bh-health-checks{
  position:relative;
  z-index:1;
  display:grid;
  gap:8px;
}
.bh-health-checks > *{
  min-width:0;
}
.bh-health-checks > div,
.bh-health-check,
.bh-health-item{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:42px;
  padding:9px 12px;
  border:1px solid rgba(18,63,49,.07);
  border-radius:14px;
  background:rgba(255,255,255,.78);
  color:var(--bh-text);
  font-size:12px;
}
.bh-health-checks > div strong,
.bh-health-check strong,
.bh-health-item strong{
  color:var(--bh-dark);
}
.bh-alert-list{
  position:relative;
  z-index:1;
  display:grid;
  gap:10px;
  margin-top:4px;
}
.bh-alert-list > *{
  margin:0;
}
.bh-alert-list > div,
.bh-alert-list > a,
.bh-alert-list .bh-alert,
.bh-alert-list .bh-insight-item{
  display:flex;
  align-items:flex-start;
  gap:11px;
  min-width:0;
  padding:13px 14px;
  border:1px solid rgba(18,63,49,.07);
  border-radius:15px;
  background:rgba(255,255,255,.82);
  color:var(--bh-text);
  font-size:12px;
  line-height:1.45;
}
.bh-alert-list > div::before,
.bh-alert-list > a::before,
.bh-alert-list .bh-alert::before{
  content:"•";
  flex:0 0 auto;
  color:var(--bh-secondary);
  font-size:20px;
  line-height:.7;
}
.bh-alert-list .deployment-note{
  padding:18px;
  border-radius:16px;
  background:#f3f8f4;
  color:var(--bh-text-muted);
}
.bh-alert-list .bh-insight-empty{
  margin:0;
  padding:20px;
  border-radius:16px;
  background:#f3f8f4;
  color:var(--bh-text-muted);
}
@media(max-width:760px){
  #listing-health{
    scroll-margin-top:12px;
  }
  .bh-leader-dashboard-grid .bh-leader-panel{
    padding:18px!important;
  }
  .bh-leader-dashboard-grid .admin-panel-head{
    gap:12px;
  }
  .bh-leader-dashboard-grid .admin-panel-head h2{
    font-size:22px;
  }
  .bh-leader-dashboard-grid .admin-panel-head p{
    font-size:12px;
  }
  .bh-health-number{
    min-width:60px;
    padding:10px 9px;
    font-size:21px;
    border-radius:14px;
  }
  .bh-health-bar{
    height:10px;
    margin:17px 0 14px;
  }
  .bh-health-checks{
    gap:7px;
  }
  .bh-health-checks > div,
  .bh-health-check,
  .bh-health-item{
    min-height:40px;
    padding:8px 10px;
    font-size:11px;
  }
  .bh-alert-list{
    gap:8px;
  }
  .bh-alert-list > div,
  .bh-alert-list > a,
  .bh-alert-list .bh-alert,
  .bh-alert-list .bh-insight-item{
    padding:11px 12px;
    font-size:11px;
  }
}
@media(max-width:430px){
  .bh-leader-dashboard-grid .admin-panel-head{
    align-items:flex-start;
  }
  .bh-health-number{
    min-width:56px;
  }
}


/* LEADER DASHBOARD — QUICK ACTIONS POLISH */
.bh-leader-quick-actions{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:2px;
}
.bh-leader-action{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:158px;
  padding:20px;
  overflow:hidden;
  background:linear-gradient(145deg,#ffffff 0%,#f5faf6 100%);
  border:1px solid rgba(18,63,49,.08);
  border-radius:22px;
  box-shadow:0 10px 25px rgba(18,63,49,.05);
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.bh-leader-action::after{
  content:"→";
  position:absolute;
  right:17px;
  bottom:15px;
  display:grid;
  place-items:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#e4f1e8;
  color:var(--bh-primary);
  font-size:17px;
  font-weight:800;
  transition:transform .18s ease,background .18s ease;
}
.bh-leader-action:hover,
.bh-leader-action:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(60,142,150,.22);
  box-shadow:0 16px 32px rgba(18,63,49,.1);
  outline:none;
}
.bh-leader-action:hover::after,
.bh-leader-action:focus-visible::after{
  transform:translateX(3px);
  background:#d8e6db;
}
.bh-leader-action span{
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  margin-bottom:14px;
  border-radius:15px;
  background:#e4f1e8;
  font-size:24px;
}
.bh-leader-action strong{
  display:block;
  color:var(--bh-dark);
  font-size:15px;
  line-height:1.25;
}
.bh-leader-action small{
  display:block;
  max-width:230px;
  margin-top:6px;
  padding-right:28px;
  color:var(--bh-text-muted);
  font-size:12px;
  line-height:1.45;
}
@media(max-width:1100px){
  .bh-leader-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .bh-leader-quick-actions{
    grid-template-columns:1fr;
    gap:10px;
  }
  .bh-leader-action{
    min-height:0;
    padding:16px;
    border-radius:18px;
  }
  .bh-leader-action span{
    width:42px;
    height:42px;
    margin-bottom:11px;
    border-radius:13px;
    font-size:21px;
  }
  .bh-leader-action strong{font-size:14px}
  .bh-leader-action small{
    max-width:none;
    font-size:11px;
  }
  .bh-leader-action::after{
    right:14px;
    bottom:14px;
  }
}


/* LEADER DASHBOARD — PORTAL TOOLS POLISH */
.bh-leader-portal-tools{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
  margin-top:2px;
}
.bh-leader-tool{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:142px;
  padding:19px;
  overflow:hidden;
  background:linear-gradient(145deg,#ffffff 0%,#f3f8f7 100%);
  border:1px solid rgba(18,63,49,.08);
  border-radius:22px;
  box-shadow:0 10px 25px rgba(18,63,49,.05);
  text-decoration:none;
  color:inherit;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.bh-leader-tool::after{
  content:"→";
  position:absolute;
  right:16px;
  bottom:14px;
  display:grid;
  place-items:center;
  width:29px;
  height:29px;
  border-radius:50%;
  background:#dcefee;
  color:var(--bh-primary);
  font-size:16px;
  font-weight:800;
  transition:transform .18s ease,background .18s ease;
}
.bh-leader-tool:hover,
.bh-leader-tool:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(60,142,150,.22);
  box-shadow:0 16px 32px rgba(18,63,49,.1);
  outline:none;
}
.bh-leader-tool:hover::after,
.bh-leader-tool:focus-visible::after{
  transform:translateX(3px);
  background:#d8e6db;
}
.bh-leader-tool span{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  margin-bottom:13px;
  border-radius:14px;
  background:#dcefee;
  font-size:22px;
}
.bh-leader-tool strong{
  display:block;
  color:var(--bh-dark);
  font-size:14px;
  line-height:1.25;
}
.bh-leader-tool small{
  display:block;
  max-width:225px;
  margin-top:6px;
  padding-right:26px;
  color:var(--bh-text-muted);
  font-size:11px;
  line-height:1.45;
}
@media(max-width:1100px){
  .bh-leader-portal-tools{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .bh-leader-portal-tools{
    grid-template-columns:1fr;
    gap:10px;
  }
  .bh-leader-tool{
    min-height:0;
    padding:16px;
    border-radius:18px;
  }
  .bh-leader-tool span{
    width:42px;
    height:42px;
    margin-bottom:10px;
    border-radius:13px;
    font-size:20px;
  }
  .bh-leader-tool strong{font-size:13px}
  .bh-leader-tool small{
    max-width:none;
    font-size:11px;
  }
  .bh-leader-tool::after{
    right:14px;
    bottom:13px;
  }
}


/* LEADER DASHBOARD — SUPPORT BANNER POLISH */
.bh-support-banner{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  margin-top:22px;
  padding:24px 26px;
  overflow:hidden;
  background:linear-gradient(135deg,#416651 0%,#3c8e96 100%);
  border:1px solid rgba(18,63,49,.12);
  border-radius:24px;
  box-shadow:0 16px 34px rgba(18,63,49,.12);
}
.bh-support-banner::before{
  content:"";
  position:absolute;
  width:190px;
  height:190px;
  right:-65px;
  top:-105px;
  border-radius:50%;
  background:rgba(255,255,255,.10);
  pointer-events:none;
}
.bh-support-banner::after{
  content:"";
  position:absolute;
  width:110px;
  height:110px;
  left:-48px;
  bottom:-72px;
  border-radius:50%;
  background:rgba(216,230,219,.10);
  pointer-events:none;
}
.bh-support-banner > div:first-child{
  position:relative;
  z-index:1;
  min-width:0;
}
.bh-support-banner h2{
  margin:0 0 5px;
  color:#fff;
  font-size:clamp(21px,2.5vw,28px);
}
.bh-support-banner p{
  margin:0;
  max-width:650px;
  color:rgba(255,255,255,.88);
  font-size:13px;
  line-height:1.5;
}
.bh-support-actions{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:9px;
  flex:0 0 auto;
}
.bh-support-actions .button,
.bh-support-actions a{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  text-decoration:none;
  font-size:12px;
  font-weight:800;
}
.bh-support-actions .button:first-child,
.bh-support-actions a:first-child{
  background:#d8e6db;
  color:#416651!important;
}
.bh-support-actions .button:not(:first-child),
.bh-support-actions a:not(:first-child){
  background:rgba(255,255,255,.10);
  color:#d8e6db!important;
}
.bh-support-actions .button:hover,
.bh-support-actions a:hover,
.bh-support-actions .button:focus-visible,
.bh-support-actions a:focus-visible{
  transform:translateY(-1px);
  border-color:rgba(255,255,255,.42);
  outline:none;
}
@media(max-width:760px){
  .bh-support-banner{
    align-items:stretch;
    flex-direction:column;
    gap:16px;
    margin-top:18px;
    padding:20px;
    border-radius:20px;
  }
  .bh-support-banner h2{font-size:21px}
  .bh-support-banner p{font-size:12px}
  .bh-support-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bh-support-actions .button,
  .bh-support-actions a{
    width:100%;
    min-height:44px;
  }
}
@media(max-width:430px){
  .bh-support-actions{grid-template-columns:1fr}
}


/* LEADER DASHBOARD — HERO + PORTAL NAV POLISH */
.bh-leader-hero{
  position:relative;
  overflow:hidden;
  isolation:isolate;
}
.bh-leader-hero::before{
  content:"";
  position:absolute;
  width:260px;
  height:260px;
  right:-90px;
  top:-125px;
  border-radius:50%;
  background:rgba(156,184,164,.18);
  z-index:-1;
  pointer-events:none;
}
.bh-leader-hero::after{
  content:"";
  position:absolute;
  width:150px;
  height:150px;
  left:-65px;
  bottom:-95px;
  border-radius:50%;
  background:rgba(60,142,150,.08);
  z-index:-1;
  pointer-events:none;
}
.bh-leader-hero .eyebrow{
  color:var(--bh-secondary);
  font-weight:850;
  letter-spacing:.04em;
}
.bh-leader-hero .button,
.bh-leader-hero a[class*="button"]{
  color:#d8e6db!important;
}
.bh-leader-hero .hero-actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
  flex:0 0 auto;
}
.bh-leader-tabs{
  position:sticky;
  top:10px;
  z-index:20;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}
.bh-leader-tabs::-webkit-scrollbar{display:none}
.bh-leader-tabs a{
  white-space:nowrap;
  border:1px solid transparent;
  transition:background .16s ease,color .16s ease,border-color .16s ease,transform .16s ease;
}
.bh-leader-tabs a:hover,
.bh-leader-tabs a:focus-visible{
  border-color:rgba(60,142,150,.12);
  transform:translateY(-1px);
  outline:none;
}
@media(max-width:760px){
  .bh-leader-hero{
    padding:24px 20px!important;
    margin:12px 0 16px;
    border-radius:22px;
  }
  .bh-leader-hero .hero-actions{
    width:100%;
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .bh-leader-hero .hero-actions .button,
  .bh-leader-hero .hero-actions a[class*="button"]{
    width:100%;
    justify-content:center;
  }
  .bh-leader-tabs{
    top:6px;
    margin-bottom:16px;
    padding:8px;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
  }
  .bh-leader-tabs a{
    flex:0 0 auto;
    min-height:40px;
    display:inline-flex;
    align-items:center;
  }
}
@media(max-width:430px){
  .bh-leader-hero .hero-actions{grid-template-columns:1fr}
}


/* LEADER DASHBOARD — STATS ROW POLISH */
.bh-leader-stats-v2{
  align-items:stretch;
}
.bh-leader-stat{
  position:relative;
  min-height:92px;
  padding:15px;
  overflow:hidden;
  background:linear-gradient(145deg,#fff 0%,#f7faf7 100%);
  border-color:rgba(18,63,49,.07);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.bh-leader-stat::after{
  content:"";
  position:absolute;
  width:76px;
  height:76px;
  right:-28px;
  top:-28px;
  border-radius:50%;
  background:rgba(156,184,164,.10);
  pointer-events:none;
}
.bh-leader-stat:hover,
.bh-leader-stat:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(60,142,150,.18);
  box-shadow:0 16px 30px rgba(18,63,49,.09);
  outline:none;
}
.bh-leader-stat>span{
  position:relative;
  z-index:1;
  width:40px;
  height:40px;
  flex:0 0 40px;
  border-radius:13px;
  background:#e4f1e8;
  font-size:18px;
}
.bh-leader-stat strong{
  position:relative;
  z-index:1;
  display:block;
  color:var(--bh-dark);
  font-size:18px;
  line-height:1.1;
}
.bh-leader-stat small{
  position:relative;
  z-index:1;
  display:block;
  margin-top:4px;
  color:var(--bh-text-muted);
  font-size:10px;
  line-height:1.3;
}
.bh-leader-stat:last-child{
  background:linear-gradient(145deg,#f3f8f4 0%,#eaf5f2 100%);
}
.bh-leader-stat:last-child>span{
  background:#dcefee;
}
@media(max-width:1100px){
  .bh-leader-stats-v2{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}
@media(max-width:760px){
  .bh-leader-stats-v2{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-bottom:18px;
  }
  .bh-leader-stat{
    min-height:84px;
    padding:13px;
    border-radius:17px;
    gap:9px;
  }
  .bh-leader-stat>span{
    width:36px;
    height:36px;
    flex-basis:36px;
    border-radius:11px;
    font-size:16px;
  }
  .bh-leader-stat strong{font-size:16px}
  .bh-leader-stat small{font-size:9px}
}
@media(max-width:430px){
  .bh-leader-stats-v2{
    grid-template-columns:1fr;
  }
}


/* LEADER DASHBOARD — CONSISTENT 15PX CONTAINER GUTTERS */
.bh-leader-page{
  box-sizing:border-box;
  padding-left:15px!important;
  padding-right:15px!important;
}
.bh-leader-page > section{
  box-sizing:border-box;
}
@media(max-width:760px){
  .bh-leader-page{
    padding-left:15px!important;
    padding-right:15px!important;
  }
}


/* LEADER PORTAL — LIGHT GREEN H2 HEADINGS */
.bh-leader-page h2,
.bh-leader-page .admin-panel-head h2,
.bh-leader-page .bh-leader-panel h2{
  color:#9cb8a4!important;
}


/* Leader Portal — View directory CTA */
.bh-leader-page a.button.button-soft[href="directory.html"]{
  background:#f6c84a!important;
  border-color:#f6c84a!important;
  color:#416651!important;
}
.bh-leader-page a.button.button-soft[href="directory.html"]:hover,
.bh-leader-page a.button.button-soft[href="directory.html"]:focus-visible{
  background:#eab83b!important;
  border-color:#eab83b!important;
  color:#416651!important;
}


/* Leader Portal — give portal tool cards more breathing room */
.bh-leader-tool{
  padding:24px!important;
}
@media (max-width:760px){
  .bh-leader-tool{padding:20px!important;}
}


/* HEADER — desktop alignment fix */
.site-header{flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:10px 18px!important}.site-header .brand{flex:0 0 auto;display:flex;align-items:center;min-width:0}.site-header .brand-logo{width:58px!important;height:58px!important;min-width:58px!important;object-fit:contain;object-position:center;background-image:none!important;border-radius:12px}.site-header .main-nav{flex:0 1 auto;margin-left:auto!important;margin-right:auto!important}.site-header>.button{flex:0 0 auto;white-space:nowrap}@media(max-width:760px){.site-header{flex-direction:row!important;justify-content:space-between!important;padding:8px 10px!important}.site-header .main-nav{margin:0!important}.site-header>.button{display:none}}

/* ================================================================
   BUBBA HUB POLISH / STABILITY FIXES — 04 OCT 2026
   Keeps the existing visual design; fixes layout collisions only.
   ================================================================ */

/* Keep the main page canvas genuinely full-width. */
html { width:100%; min-width:0; overflow-x:hidden; }
body { width:100%; min-width:0; overflow-x:hidden; overflow-x:clip; } /* clip keeps position:sticky working */
main, .app-shell, .main-content { min-width:0; }

/* Prevent the shared shell from introducing an unwanted centred
   boxed page around directory/activity content. */
.app-shell {
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
.app-shell > * { min-width:0; }

/* The site header is a shell, not a page card. */
.site-header {
  width:calc(100% - 28px);
  max-width:1400px;
  margin:14px auto 0;
}

/* Consistent inner page rhythm without large side gutters. */
.bh-directory .app-shell,
.bh-activity .app-shell,
.bh-map-page .app-shell {
  padding-left:15px;
  padding-right:15px;
}

/* Directory desktop: true 50 / 50 split. */
.directory-main-layout,
.directory-content-layout,
.directory-results-map,
.directory-split-layout {
  width:100%;
  max-width:none;
  min-width:0;
}

@media (min-width:901px) {
  .directory-results-map,
  .directory-split-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:18px;
    align-items:start;
  }

  .directory-results-pane,
  .directory-listings,
  .directory-results {
    min-width:0;
  }

  .directory-map-pane,
  .directory-map-column,
  #mapView {
    min-width:0;
  }
}

/* Never let the directory map become sticky while scrolling listings. */
.bh-directory #mapView,
.bh-directory .directory-map-pane,
.bh-directory .directory-map-column {
  position:relative !important;
  top:auto !important;
  align-self:start;
}

/* Activity detail: remove the old wide empty margins. */
.activity-page,
.activity-detail,
.activity-layout,
.activity-main {
  width:100%;
  max-width:none;
  min-width:0;
}

.activity-layout,
.activity-detail-layout {
  margin-left:0;
  margin-right:0;
}

.activity-hero,
.activity-detail-hero {
  width:100%;
  min-height:0;
}

.activity-hero img,
.activity-detail-hero img {
  object-fit:contain;
}

/* Map sizing: Leaflet needs a real height and a positioned parent. */
.map-page-map,
#mapView {
  width:100%;
  min-height:520px;
  height:clamp(480px,68vh,760px);
  position:relative;
  z-index:0;
  border-radius:24px;
  overflow:hidden;
}

.leaflet-container {
  width:100%;
  height:100%;
  min-height:100%;
  font:inherit;
  background:#d8e6db;
  z-index:0;
}

.leaflet-control,
.leaflet-popup {
  z-index:500;
}

/* Map popup uses the same Bubba Hub card language as listings. */
.bh-map-popup-card {
  width:100%;
  overflow:hidden;
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 30px rgba(18,63,49,.14);
}
.bh-map-popup-image {
  display:block;
  width:100%;
  height:125px;
  object-fit:cover;
  background:#edf5ef;
}
.bh-map-popup-body { padding:14px; }
.bh-map-popup-category {
  display:inline-block;
  margin-bottom:5px;
  color:var(--bh-secondary);
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.bh-map-popup-body h3 {
  margin:0 0 5px;
  color:var(--bh-dark);
  font-size:18px;
  line-height:1.2;
}
.bh-map-popup-location {
  margin:0 0 9px;
  color:var(--bh-text-muted);
  font-size:13px;
}
.bh-map-popup-meta {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-bottom:11px;
}
.bh-map-popup-meta span {
  display:inline-flex;
  padding:5px 8px;
  border-radius:999px;
  background:#edf5ef;
  color:var(--bh-primary);
  font-size:11px;
  font-weight:800;
}
.bh-map-popup-link {
  display:inline-flex;
  width:auto;
  min-height:40px;
  align-items:center;
  justify-content:center;
}

/* Keep mobile cards clean and stop desktop rules leaking into them. */
@media (max-width:900px) {
  .bh-directory .app-shell,
  .bh-activity .app-shell,
  .bh-map-page .app-shell {
    padding-left:10px;
    padding-right:10px;
  }

  .site-header {
    width:calc(100% - 20px);
    margin-top:10px;
  }

  .map-page-map,
  #mapView {
    min-height:440px;
    height:62vh;
    border-radius:20px;
  }

  .directory-results-map,
  .directory-split-layout {
    display:block;
  }
}

/* Avoid transparent/blank image blocks when an activity image is absent. */
.activity-image,
.directory-card-image,
.activity-card .activity-image {
  background:#d8e6db;
  overflow:hidden;
}
.activity-image img,
.activity-card .activity-image img {
  width:100%;
  height:100%;
}

/* Mobile navigation must sit above the page/map layers. */
.mobile-nav-toggle,
.main-nav {
  position:relative;
  z-index:1200;
}

/* Do not allow map/modal layers to cover the mobile menu. */
.directory-map-modal-open .site-header {
  z-index:2000;
}