/* =========================================================================
   BUBBA HUB — CONSOLIDATED STYLESHEET
   =========================================================================
   Replaces the three-layer merge (styles.css + bold-theme.css + theme.css).
   Every selector now has ONE home. Order of sections:

     1.  Tokens
     2.  Base / reset / accessibility
     3.  Layout helpers
     4.  Header (.site-header)
     5.  Buttons
     6.  Forms
     7.  Hero / page headings / homepage
     8.  Cards, grids, features
     9.  Directory (filters, hero search, cards, list view)
    10.  Map + popups
    11.  Activity detail
    12.  Calendar / admin
    13.  Modals
    14.  Add-class wizard (.bh-new)
    15.  Leader portal
    16.  Footer
    17.  Legacy (delete once confirmed unused)

   Breakpoints used everywhere: 430 / 600 / 760 / 900 / 1100.

   NOTE: Google Fonts are loaded by the page <head>; this stylesheet has no
   external @import dependencies.
   ========================================================================= */


/* =========================================================================
   1. TOKENS — single :root, single source of truth
   ========================================================================= */
:root {
  /* Brand */
  --bh-green:        #416651;
  --bh-green-dark:   #144400;
  --bh-green-soft:   #d8e6db;
  --bh-green-pale:   #f4f7f4;
  --bh-teal:         #3c8e96;
  --bh-teal-dark:    #2e7780;   /* use for teal buttons: white text passes AA */
  --bh-yellow:       #f6c84a;
  --bh-yellow-dark:  #eab83b;
  --bh-pink:         #ee6684;
  --bh-purple:       #8068cf;
  --bh-blue:         #55a9c2;
  --bh-danger:       #a8445a;

  /* Neutrals / surfaces */
  --bh-ink:          #123f31;   /* dark text on pale/teal surfaces */
  --bh-deep:         #0d3b32;   /* footer background */
  --bh-text:         #243027;
  --bh-muted:        #617261;
  --bh-white:        #fff;
  --bh-bg:           #edf5ef;
  --bh-sage:         #d7e7dc;
  --bh-mist:         #e4f1e8;
  --bh-soft:         #9fb7a5;
  --bh-accent:       #9cb8a4;

  /* Lines, shadows, radii, sizes */
  --bh-border:       #d5ddd6;
  --bh-line:         rgba(18, 63, 49, .09);
  --bh-shadow:       0 8px 24px rgba(20, 68, 0, .08);
  --bh-shadow-lg:    0 18px 40px rgba(18, 63, 49, .12);
  --bh-radius:       10px;
  --bh-radius-lg:    24px;
  --bh-max:          1200px;

  /* Legacy aliases (styles.css / bold-theme.css names) */
  --bh-primary:       var(--bh-green);
  --bh-secondary:     var(--bh-teal);
  --bh-dark:          var(--bh-green-dark);
  --bh-light:         var(--bh-green-pale);
  --bh-pale:          var(--bh-green-soft);
  --bh-text-muted:    var(--bh-muted);
  --bh-content-width: var(--bh-max);
}


/* =========================================================================
   2. BASE / RESET / ACCESSIBILITY
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; width: 100%; }

body {
  width: 100%;
  color: var(--bh-text);
  background: var(--bh-white);
  font-family: 'Quicksand', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.55;
  /* `clip` (not `hidden`) so position:sticky keeps working */
  overflow-x: clip;
}

main { min-height: 60vh; min-width: 0; }

img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

a { color: var(--bh-green-dark); text-underline-offset: 3px; }

h1, h2, h3 { color: var(--bh-green-dark); line-height: 1.2; }
h1 { margin: 0 0 14px; font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -.025em; font-weight: 700; }
h2 { margin: 0 0 12px; font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { margin: 0 0 8px; }
p  { margin: 0 0 14px; }

::selection { background: var(--bh-yellow); color: var(--bh-deep); }

:focus-visible { outline: 3px solid var(--bh-teal-dark); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}


/* =========================================================================
   3. LAYOUT HELPERS
   ========================================================================= */
.container { width: min(100% - 40px, var(--bh-max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.page-section { padding: 64px 0; }
.section { padding: 70px 0; }
.section-gap { margin-top: 24px; }

.main-content {
  width: min(var(--bh-max), calc(100% - 32px));
  min-height: 60vh;
  margin: 32px auto;
}

.app-shell { width: 100%; max-width: none; margin-inline: 0; }
.app-shell > * { min-width: 0; }
.bh-directory .app-shell,
.bh-activity .app-shell,
.bh-map-page .app-shell { padding-inline: 15px; }

@media (max-width: 600px) {
  .container { width: min(100% - 24px, var(--bh-max)); }
  .page-section { padding: 46px 0; }
  .section { padding: 52px 0; }
}
@media (max-width: 900px) {
  .bh-directory .app-shell,
  .bh-activity .app-shell,
  .bh-map-page .app-shell { padding-inline: 10px; }
}


/* =========================================================================
   4. HEADER
   Three markup families exist. Keep only the one(s) your templates use.
   ========================================================================= */

/* ---- 4A. .site-header / .main-nav (live site shell) ---- */
.site-header {
  position: relative;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  max-width: none;
  min-height: 76px;
  margin: 0;
  padding: 10px max(18px, calc((100% - 1400px) / 2 + 18px));
  background: var(--bh-white);
  border: 0;
  border-radius: 0;
  box-shadow: 0 10px 30px rgba(18, 63, 49, .08);
}

.site-header .brand { display: flex; align-items: center; flex: 0 0 auto; min-width: 0; text-decoration: none; }
.site-header .brand strong { font-size: 20px; color: var(--bh-ink); }
.site-header .brand small  { color: var(--bh-teal); }
.site-header .brand-logo {
  width: 58px; height: 58px; min-width: 58px; max-width: none;
  object-fit: contain; object-position: center; border-radius: 12px;
}
.brand-mark {
  width: 46px; height: 46px; border-radius: 15px;
  background: linear-gradient(135deg, var(--bh-teal), var(--bh-green));
  box-shadow: 0 8px 18px rgba(60, 142, 150, .22);
}

.main-nav {
  display: flex; align-items: center; gap: 6px;
  min-width: 0; margin-inline: auto;
}
.main-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 12px; border-radius: 13px;
  color: var(--bh-text); font-weight: 750; text-decoration: none;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.main-nav a:hover,
.main-nav a.active { background: var(--bh-sage); color: var(--bh-green); transform: translateY(-1px); }
.site-header > .button { flex: 0 0 auto; white-space: nowrap; }

.mobile-nav-toggle {
  display: none;
  flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 48px; height: 48px; min-width: 48px; padding: 0;
  border: 1px solid rgba(60, 142, 150, .18); border-radius: 14px;
  background: #e9f3ee; color: var(--bh-green);
  box-shadow: 0 5px 14px rgba(18, 63, 49, .08);
  cursor: pointer;
}
.mobile-nav-toggle span {
  display: block; width: 21px; height: 2px; border-radius: 999px;
  background: currentColor; transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 760px) {
  .site-header { width: calc(100% - 16px); min-height: 68px; margin-top: 8px; padding: 8px 10px; gap: 8px; border-radius: 18px; }
  .site-header .brand { margin-right: auto; }
  .site-header .brand-logo { width: 48px; height: 48px; min-width: 48px; }
  .site-header > .button { display: none; }              /* account link lives in the menu */
  .mobile-nav-toggle { display: flex; order: 2; }
  .main-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 200;
    flex-direction: column; align-items: stretch; gap: 4px;
    width: 100%; margin: 0; padding: 10px; overflow: hidden;
    background: var(--bh-white); border: 1px solid rgba(18, 63, 49, .12);
    border-radius: 18px; box-shadow: 0 18px 40px rgba(18, 63, 49, .18);
  }
  .site-header.mobile-menu-open .main-nav { display: flex; }
  .main-nav a { width: 100%; min-height: 46px; padding: 11px 14px; justify-content: flex-start; border-radius: 12px; white-space: normal; }
  .main-nav a:hover, .main-nav a.active { transform: none; }
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .home-header-search { order: 3; flex: 0 0 auto; }
}
@media (min-width: 761px) {
  .mobile-nav-toggle { display: none; }
  .main-nav { display: flex; }
}
.directory-map-modal-open .site-header { z-index: 2000; }

/* Homepage variant */
.bh-home .site-header { max-width: 1400px; width: 100%; margin-inline: auto; border-radius: 0; 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-ink); }
.bh-home .home-category-row { background: rgba(255, 255, 255, .98); }
@media (max-width: 760px) {
  .bh-home .site-header { width: 100%; margin-inline: auto; }
  .bh-home .home-header-search { margin-left: 0; }
}

/* Header cleanup: .site-header is the live shared shell. */


/* =========================================================================
   5. BUTTONS
   ========================================================================= */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 11px 19px;
  border: 1px solid var(--bh-green); border-radius: 999px;
  background: var(--bh-green); color: var(--bh-white);
  font-weight: 800; letter-spacing: .005em; line-height: 1.2; text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.button:hover, .button:focus-visible { background: var(--bh-green-dark); border-color: var(--bh-green-dark); color: var(--bh-white); }
.button:active { transform: translateY(1px); }

.button-primary { background: linear-gradient(135deg, var(--bh-green), #267b6f); border-color: transparent; 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-teal-dark); border-color: var(--bh-teal-dark); color: #fff; box-shadow: 0 8px 18px rgba(60, 142, 150, .18); }
.button-teal:hover, .button-green-alt:hover { background: #276771; border-color: #276771; color: #fff; }

.button-secondary { background: var(--bh-white); color: var(--bh-green-dark); }
.button-secondary:hover, .button-secondary:focus-visible { background: var(--bh-green-pale); color: var(--bh-green-dark); }

.button-soft { background: #e7f1ea; border-color: transparent; color: var(--bh-green); }
.button-soft:hover { background: #d8e9de; color: var(--bh-green); }

.button-yellow,
.hero-links .button:first-child { background: var(--bh-yellow); border-color: var(--bh-yellow); color: var(--bh-ink); box-shadow: 0 9px 20px rgba(246, 200, 74, .25); }
.button-yellow:hover, .button-yellow:focus-visible,
.hero-links .button:first-child:hover { background: var(--bh-yellow-dark); border-color: var(--bh-yellow-dark); color: var(--bh-ink); }

/* Brand rule: green CTAs use light-green text.
   !important kept only because directory-hero.css (imported) sets its own colours. */
.button-primary, .button-primary:hover,
.button-full, .home-full-button,
.directory-calendar-hero-button, .directory-map-action-button,
.directory-map-hero-button, .directory-planner-action-button { color: var(--bh-green-soft) !important; }


/* =========================================================================
   6. FORMS
   ========================================================================= */
input, select, textarea { border-radius: 14px; }

input:focus, select:focus, textarea:focus {
  outline: 0;
  border-color: var(--bh-teal);
  box-shadow: 0 0 0 4px rgba(60, 142, 150, .14);
}

.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 10px 12px;
  border: 1px solid var(--bh-border); background: var(--bh-white); color: var(--bh-text);
}
.field textarea { min-height: 120px; resize: vertical; }

.search-panel {
  margin-top: 28px; padding: 24px;
  background: var(--bh-white); border: 1px solid var(--bh-border);
  border-radius: var(--bh-radius); box-shadow: var(--bh-shadow);
}
.form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.admin-panel input, .filter-input { min-height: 46px; }

@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .search-panel { margin-top: 22px; padding: 18px; } }


/* =========================================================================
   7. HERO / PAGE HEADINGS / HOMEPAGE
   ========================================================================= */
.eyebrow { margin: 0 0 10px; color: var(--bh-teal-dark); font-size: .82rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.page-heading, .activity-hero { padding: 58px 0; background: var(--bh-green-soft); }
.page-heading h1, .page-heading h2 { color: var(--bh-green-dark); }
.hero p, .page-heading p, .activity-hero p { max-width: 760px; font-size: 1.08rem; }

/* Showcase hero (bold look) */
.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-ink); font-size: clamp(44px, 5.5vw, 70px); text-shadow: 0 3px 0 rgba(255, 255, 255, .55); }
.hero h1 em { color: var(--bh-teal-dark); }
.hero p { max-width: 650px; font-size: 19px; color: var(--bh-ink); }

.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); color: var(--bh-ink); }
.hero-search-button:hover { background: #efbb30; }
.hero-free strong { background: #e8f1ea; }

@media (max-width: 650px) {
  .hero { width: calc(100% - 16px); padding: 30px 15px; border-radius: 26px; }
  .hero h1 { font-size: 39px; }
  .hero-search { border-radius: 19px; }
}

/* Homepage phase 3 */
.home-hero { padding: 76px 0 86px; background: var(--bh-green-soft); }
.home-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.home-hero-copy { max-width: 850px; }
.home-hero h1 { max-width: 820px; margin-bottom: 16px; font-size: clamp(2.5rem, 6vw, 4.4rem); }
.hero-intro { max-width: 700px; margin: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); }
.home-search { max-width: 1050px; }
.section-intro { max-width: 720px; margin-bottom: 30px; }
.section-intro p:last-child { color: var(--bh-muted); font-size: 1.05rem; }

.home-link-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--bh-border); }
.home-link {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: start;
  min-height: 190px; padding: 28px 24px;
  color: inherit; text-decoration: none; border-bottom: 1px solid var(--bh-border);
  transition: background .15s ease;
}
.home-link + .home-link { border-left: 1px solid var(--bh-border); }
.home-link:hover, .home-link:focus-visible { background: var(--bh-green-pale); }
.home-link-number { color: var(--bh-teal-dark); font-size: .78rem; font-weight: 800; letter-spacing: .06em; }
.home-link h3 { margin: 0 0 8px; font-size: 1.2rem; }
.home-link p { margin: 0; color: var(--bh-muted); }
.home-link-arrow { color: var(--bh-green-dark); font-size: 1.35rem; line-height: 1; }

.home-planner { padding: 0 0 72px; }
.planner-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
  padding: 34px 38px; background: var(--bh-green); border-radius: var(--bh-radius); color: var(--bh-white);
}
.planner-promo h2 { max-width: 680px; margin-bottom: 10px; color: var(--bh-white); }
.planner-promo p:last-child { max-width: 680px; margin-bottom: 0; opacity: .94; }

.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); }

@media (max-width: 850px) {
  .home-link-grid { grid-template-columns: 1fr; }
  .home-link + .home-link { border-left: 0; }
  .planner-promo { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 600px) {
  .page-heading, .activity-hero { padding: 42px 0; }
  .home-hero { padding: 50px 0 56px; }
  .home-hero h1 { font-size: clamp(2.35rem, 12vw, 3.2rem); }
  .home-link { min-height: 0; padding: 22px 18px; }
  .planner-promo { padding: 28px 22px; }
}


/* =========================================================================
   8. CARDS, GRIDS, FEATURES
   ========================================================================= */
.grid   { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .grid-2 { grid-template-columns: 1fr; } }

.card { padding: 24px; background: var(--bh-white); border: 1px solid var(--bh-border); border-radius: var(--bh-radius); }
.card-link { display: block; color: inherit; text-decoration: none; }
.card-link .card { height: 100%; transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease; }
.card-link:hover .card, .card-link:focus-visible .card { border-color: var(--bh-green); box-shadow: var(--bh-shadow); transform: translateY(-2px); }

.empty-state { padding: 30px; background: var(--bh-green-pale); border: 1px dashed var(--bh-border); border-radius: var(--bh-radius); color: var(--bh-muted); }

.status { background: #e4f1e8; color: var(--bh-green); border: 1px solid rgba(65, 102, 81, .08); }

.feature-grid { gap: 20px; }
.feature-card {
  position: relative; padding: 28px;
  border: 1px solid var(--bh-line); border-radius: var(--bh-radius-lg);
  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: var(--bh-shadow-lg); }
.feature-icon { width: 52px; height: 52px; border-radius: 17px; background: linear-gradient(135deg, #d8efe7, #bfe2dc); color: var(--bh-teal-dark); 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; }

@media (max-width: 650px) { .feature-card { border-radius: 20px; } }


/* =========================================================================
   9. DIRECTORY
   ========================================================================= */

/* One .directory-layout, two modes:
   - default: results | map, 50/50
   - when it contains the filter sidebar: 260px filters | results            */
.directory-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 500px; width: 100%; min-width: 0; }
.directory-layout:has(.directory-filters-panel) { grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; min-height: 0; }
.directory-results, .directory-map { min-width: 0; padding: 20px; }
.directory-map { background: var(--bh-green-pale); border-left: 1px solid var(--bh-border); }
.directory-results-column { min-width: 0; }
.directory-results-column #results:not([hidden]) { min-height: 40px; }

/* Split results/map wrapper used on the directory page */
@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; width: 100%; min-width: 0;
  }
}
@media (max-width: 900px) {
  .directory-layout, .directory-layout:has(.directory-filters-panel) { display: block; }
  .directory-results-map, .directory-split-layout { display: block; }
  .directory-map { border-left: 0; border-top: 1px solid var(--bh-border); }
}

.directory-toolbar {
  padding: 20px; background: linear-gradient(135deg, #dceee1, #d8eeed);
  border: 1px solid rgba(60, 142, 150, .1); border-radius: var(--bh-radius-lg);
  box-shadow: 0 12px 28px rgba(18, 63, 49, .06);
}

/* ---- Filter panel ---- */
.directory-filters-panel {
  position: sticky; top: 18px; padding: 18px;
  background: #f2f8f3; border: 1px solid rgba(65, 102, 81, .10);
  border-radius: var(--bh-radius-lg); box-shadow: 0 12px 30px rgba(18, 63, 49, .07);
}
.directory-filters-heading { display: none; }
.directory-filter-fields { gap: 12px; }
.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: var(--bh-green); font-size: 12px; font-weight: 850; }
.directory-filter-fields .filter-input {
  margin-top: 6px; min-height: 43px;
  border: 1px solid rgba(65, 102, 81, .13); border-radius: 12px;
  background: #fff; color: var(--bh-ink);
}
.directory-filter-fields .filter-free { padding: 12px 0; border-bottom: 1px solid rgba(65, 102, 81, .09); color: var(--bh-ink); }
.directory-filter-fields .filter-free input { accent-color: var(--bh-teal); }
.directory-advanced-section { padding: 4px 0 10px; border-bottom: 1px solid rgba(65, 102, 81, .09); }
.directory-advanced-toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; border: 0; background: transparent;
  color: var(--bh-ink); font-size: 12px; font-weight: 900; cursor: pointer;
}
.directory-advanced-fields { display: grid; gap: 2px; }
.directory-clear { margin-top: 14px; min-height: 46px; border-radius: 999px; }
.directory-mobile-actions { display: none; }

@media (max-width: 900px) {
  .directory-filters-panel {
    position: fixed; top: 12px; left: 12px; bottom: 12px; z-index: 10000;
    width: min(340px, calc(100vw - 24px)); overflow: auto;
    transform: translateX(-120%); transition: transform .22s ease;
  }
  .directory-filters-panel.is-open { transform: translateX(0); }
  .directory-mobile-actions { display: flex; margin: 0 0 10px; }
  .directory-mobile-actions .directory-filter-toggle { width: 100%; justify-content: space-between; }
}

/* ---- Hero search (teal bar) ---- */
.directory-hero-search {
  width: 100%; margin: 0 0 20px; padding: 18px 20px 17px;
  background: #159d9b; border: 0; border-radius: var(--bh-radius-lg);
  box-shadow: 0 18px 35px rgba(18, 63, 49, .16);
}
.directory-hero-search h2 { margin: 0 0 12px; color: #fff; 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: var(--bh-muted);
}
.directory-hero-search-fields label:focus-within { box-shadow: 0 0 0 3px var(--bh-yellow); }   /* replaces removed input outline */
.directory-hero-search-fields label span { flex: 0 0 auto; color: var(--bh-teal-dark); 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; outline: 0; box-shadow: none; background: transparent;
  color: var(--bh-ink); font-size: 14px;
}
.directory-hero-search-fields .button {
  min-width: 112px; min-height: 48px; padding: 10px 20px;
  background: var(--bh-yellow); color: var(--bh-ink); border: 0; box-shadow: none; 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: #fff; font-size: 13px; font-weight: 850; cursor: pointer;
}
.directory-search-advanced-link:hover { text-decoration: underline; }

@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-hero-search { margin-bottom: 12px; border-radius: 20px; } }
@media (max-width: 650px) {
  .directory-hero-search { padding: 15px; }
  .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-viewbar { padding: 0 2px 8px; }
.directory-viewbar #count { font-weight: 850; color: var(--bh-green); }

/* Only show "Loading…" while actually loading (toggle .is-loading from JS) */
#results.is-loading:empty::before {
  content: "Loading activities…";
  display: block; grid-column: 1 / -1; padding: 40px;
  text-align: center; color: var(--bh-muted); font-weight: 700;
}

/* ---- Activity cards (.activity-card system) ---- */
.activity-grid { display: grid; gap: 18px; }
.activity-grid.directory-view-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.activity-grid.directory-view-grid.directory-cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.activity-grid.directory-view-grid.directory-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.activity-grid.directory-view-grid.directory-cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.activity-grid.directory-view-grid.directory-cards-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.activity-grid.directory-view-grid.directory-cards-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.activity-card {
  position: relative; display: flex; flex-direction: column;
  height: 100%; min-width: 0; overflow: hidden;
  background: #fff; border: 1px solid var(--bh-line); border-radius: 20px;
  box-shadow: 0 9px 26px rgba(18, 63, 49, .06);
  transition: transform .2s ease, box-shadow .2s ease;
}
.activity-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18, 63, 49, .11); }

.activity-image { position: relative; display: block; flex: 0 0 auto; width: 100%; height: 190px; min-height: 190px; overflow: hidden; background: var(--bh-green-soft); }
.activity-image img { width: 100%; height: 100%; object-fit: cover; }

.activity-body { position: relative; z-index: 2; display: flex; flex: 1 1 auto; flex-direction: column; min-width: 0; padding: 18px; background: #fff; }
.activity-meta { color: var(--bh-teal-dark); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .07em; }
.activity-card h3 { margin: 5px 0 7px; color: var(--bh-ink); font-size: 20px; line-height: 1.18; }
.activity-card p { margin: 0 0 14px; font-size: 13px; line-height: 1.55; }
.activity-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.activity-footer .text-link { font-weight: 850; color: var(--bh-green); }
.activity-footer .bh-save { position: relative; min-height: 38px; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }

/* List view */
.activity-grid.directory-view-list .activity-card { display: grid; grid-template-columns: 240px minmax(0, 1fr); min-height: 190px; }
.activity-grid.directory-view-list .activity-image { height: 100%; }
.activity-grid.directory-view-list .activity-body { min-height: 190px; }

@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)); }
}
@media (max-width: 650px) {
  .activity-grid.directory-view-grid,
  .activity-grid.directory-view-grid[class*="directory-cards-"] { grid-template-columns: 1fr; }
  .activity-body { padding: 16px; }
  .activity-grid.directory-view-list .activity-card { grid-template-columns: 1fr; }
  .activity-grid.directory-view-list .activity-body { min-height: 0; }
}

/* ---- Directory cards (.directory-activity-card system) ---- */
.directory-activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; align-items: start; }
.directory-activity-card {
  display: block; width: 100%; overflow: hidden;
  background: var(--bh-white); border: 1px solid var(--bh-border); border-radius: 14px;
  box-shadow: 0 5px 18px rgba(18, 63, 49, .07);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.directory-activity-card:hover { transform: translateY(-2px); border-color: var(--bh-soft); box-shadow: 0 10px 28px rgba(18, 63, 49, .11); }
.directory-activity-card-image { position: relative; display: block; width: 100%; height: 230px; overflow: hidden; background: var(--bh-green-soft); text-decoration: none; }
.directory-activity-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.directory-activity-badges { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 7px; pointer-events: none; }
.directory-badge {
  display: inline-flex; align-items: center; min-height: 30px; padding: 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--bh-green-dark);
  font-size: .75rem; font-weight: 800; line-height: 1; box-shadow: 0 2px 8px rgba(20, 68, 0, .12);
}
.directory-badge-featured { background: var(--bh-yellow); }
.directory-badge-booking  { background: var(--bh-green-dark); color: var(--bh-white); }

.directory-activity-card-body { padding: 20px 22px 22px; }
.directory-activity-card-body h3 { margin: 0 0 14px; font-size: 1.35rem; }
.directory-activity-card-body h3 a { color: inherit; text-decoration: none; }
.directory-activity-card-body h3 a:hover, .directory-activity-card-body h3 a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; }
.directory-activity-card-body p { color: var(--bh-muted); font-size: .9rem; }
.directory-activity-tag { color: var(--bh-teal-dark); font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.directory-activity-meta { margin-bottom: 8px; font-weight: 700; }

.directory-activity-location, .directory-activity-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 12px; }
.directory-activity-location span, .directory-activity-facts span {
  display: flex; flex-direction: column; gap: 2px; min-width: 0; padding: 10px 12px;
  border-radius: 9px; background: var(--bh-green-pale); color: var(--bh-green-dark); font-size: .9rem; font-weight: 700;
}
.directory-activity-location strong, .directory-activity-facts strong { color: var(--bh-muted); font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.directory-view-activity { width: 100%; margin-top: 4px; }

@media (max-width: 600px) {
  .directory-activity-card-image { height: 190px; }
  .directory-activity-card-body { padding: 17px; }
  .directory-activity-card-body h3 { font-size: 1.2rem; }
  .directory-activity-location, .directory-activity-facts { gap: 8px; }
  .directory-activity-location span, .directory-activity-facts span { padding: 9px 10px; font-size: .84rem; }
}
@media (max-width: 390px) { .directory-activity-location, .directory-activity-facts { grid-template-columns: 1fr; } }


/* =========================================================================
   10. MAP + POPUPS  (Leaflet)
   ========================================================================= */
.map-page-map, #mapView, .activity-map {
  position: relative; z-index: 0;
  width: 100%; min-height: 520px; height: clamp(480px, 68vh, 760px);
  overflow: hidden; border-radius: var(--bh-radius-lg); background: var(--bh-green-pale);
}
.leaflet-container { width: 100%; height: 100%; font: inherit; background: var(--bh-green-soft); }

/* Map never sticks while listings scroll */
.bh-directory #mapView, .bh-directory .directory-map-pane, .bh-directory .directory-map-column { position: relative; top: auto; align-self: start; }

@media (max-width: 900px) {
  .map-page-map, #mapView, .activity-map { min-height: 440px; height: 62vh; border-radius: 20px; }
}

.leaflet-popup-content-wrapper { padding: 0; overflow: hidden; border-radius: 14px; }
.leaflet-popup-content { width: 280px !important; margin: 0; }   /* Leaflet sets inline width */

/* Popup card: .directory-map-popup-* (compact). .bh-map-popup-* kept below —
   delete whichever your JS does not render. */
.directory-map-popup-card { width: 100%; overflow: hidden; background: var(--bh-white); border: 1px solid var(--bh-border); border-radius: 14px; box-shadow: 0 5px 18px rgba(18, 63, 49, .07); }
.directory-map-popup-image { position: relative; display: block; width: 100%; height: 105px; overflow: hidden; background: var(--bh-green-soft); }
.directory-map-popup-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.directory-map-popup-badges { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.directory-map-popup-badge { display: inline-flex; align-items: center; min-height: 22px; padding: 4px 7px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--bh-green-dark); font-size: .68rem; font-weight: 800; line-height: 1; }
.directory-map-popup-featured { background: var(--bh-yellow); }
.directory-map-popup-booking  { background: var(--bh-green-dark); color: var(--bh-white); }
.directory-map-popup-body { padding: 11px; }
.directory-map-popup-body h3 { margin: 0 0 8px; font-size: .98rem; line-height: 1.2; }
.directory-map-popup-body h3 a { color: inherit; text-decoration: none; }
.directory-map-popup-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 7px; }
.directory-map-popup-facts span, .directory-map-popup-age { display: flex; flex-direction: column; gap: 1px; padding: 6px 7px; border-radius: 7px; background: var(--bh-green-pale); color: var(--bh-green-dark); font-size: .75rem; font-weight: 700; }
.directory-map-popup-facts strong, .directory-map-popup-age strong { color: var(--bh-muted); font-size: .62rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.directory-map-popup-age { margin-bottom: 7px; }
.directory-map-popup-button { display: block; width: 100%; margin: 0; padding: 8px 10px; font-size: .8rem; text-align: center; }
.directory-map-popup-card a:focus-visible { outline: 2px solid var(--bh-teal-dark); outline-offset: 2px; }

.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-teal-dark); font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.bh-map-popup-body h3 { margin: 0 0 5px; color: var(--bh-green-dark); font-size: 18px; line-height: 1.2; }
.bh-map-popup-location { margin: 0 0 9px; color: var(--bh-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-green); font-size: 11px; font-weight: 800; }
.bh-map-popup-link { display: inline-flex; width: auto; min-height: 40px; align-items: center; justify-content: center; }


/* =========================================================================
   11. ACTIVITY DETAIL
   ========================================================================= */
.activity-page, .activity-detail, .activity-main { width: 100%; max-width: none; min-width: 0; }
.activity-layout, .activity-detail-layout {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 30px;
  width: 100%; max-width: none; margin-inline: 0; min-width: 0;
}
.activity-hero, .activity-detail-hero { width: 100%; min-height: 0; }
.activity-hero img, .activity-detail-hero img { object-fit: contain; }

.quick-facts { display: grid; gap: 10px; }
.quick-fact { padding: 13px; background: var(--bh-green-pale); border: 1px solid var(--bh-border); border-radius: 7px; }
.quick-fact strong { display: block; }

@media (max-width: 900px) { .activity-layout, .activity-detail-layout { grid-template-columns: 1fr; } }


/* =========================================================================
   12. CALENDAR / ADMIN
   ========================================================================= */
.calendar-panel, .admin-stats article, .admin-panel {
  border: 1px solid var(--bh-line); border-radius: var(--bh-radius-lg); box-shadow: 0 12px 32px rgba(18, 63, 49, .07);
}
.calendar-view.active, .calendar-view:hover { background: var(--bh-teal-dark); color: #fff; }
.calendar-event { border-radius: 18px; background: #fbfdfc; }
.calendar-event-time { color: var(--bh-teal-dark); }
.admin-stats { gap: 18px; }
.admin-stats article { padding: 24px; }
.admin-stats strong { color: var(--bh-green-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); }


/* =========================================================================
   13. MODALS
   !important kept: five modal implementations share this look and their
   base styles live in other stylesheets.
   ========================================================================= */
.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; 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;
  margin: 0 !important; padding: 28px !important; overflow: auto !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-green-dark); }
.bh-leader-modal-card .button-soft, .booking-modal-close, .contact-modal-close, .hero-advanced-close { background: #e1efe5 !important; color: var(--bh-green) !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;
  }
}


/* =========================================================================
   14. ADD-CLASS WIZARD  (.bh-new)
   ========================================================================= */
.bh-new { max-width: 1100px; margin: 28px auto; padding: 0 18px; }
.bh-new-hero { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 22px; }
.bh-new-hero h1 { margin: 4px 0; color: var(--bh-green-dark); font-size: clamp(34px, 5vw, 52px); }

.bh-card { overflow: hidden; background: #fff; border: 1px solid var(--bh-border); border-radius: 28px; box-shadow: var(--bh-shadow); }

/* Steps */
.bh-steps { display: grid; grid-template-columns: repeat(7, 1fr); background: #f5faf6; }
.bh-step { padding: 16px 8px; border: 0; border-bottom: 4px solid transparent; background: transparent; color: var(--bh-muted); font-weight: 800; cursor: pointer; }
.bh-step span { display: block; font-size: 12px; }
.bh-step.active { color: var(--bh-green); background: #e8f3eb; border-bottom-color: var(--bh-teal); }
.bh-step.complete { color: var(--bh-green); }

/* Form + fields */
.bh-form { padding: 28px; }
.bh-panel { display: none; }
.bh-panel.active { display: block; }
.bh-panel h2 { color: var(--bh-green-dark); font-size: 28px; }
.bh-intro { margin: 4px 0 24px; color: var(--bh-muted); }
.bh-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.bh-field { display: flex; flex-direction: column; gap: 7px; }
.bh-field.full { grid-column: 1 / -1; }
.bh-field label { font-weight: 800; color: var(--bh-green-dark); }
.bh-field small { color: var(--bh-muted); }
.bh-field input, .bh-field select, .bh-field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px;
  border: 1px solid var(--bh-border); border-radius: 14px;
  background: #fff; color: var(--bh-green-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.bh-field textarea { min-height: 130px; }
.bh-required { color: var(--bh-danger); }

/* Category + tag pickers (higher specificity replaces the old !important stack) */
.bh-picker { position: relative; }
.bh-field .bh-picker-input {
  margin-top: 8px; min-height: 50px; padding-right: 44px;
  background: #fbfdfb; border: 1px solid #cbd9cf;
  box-shadow: inset 0 0 0 1px rgba(65, 102, 81, .02);
}
.bh-picker-input::placeholder { color: #657368; }
.bh-field .bh-picker-input:focus { background: #fff; border-color: var(--bh-teal); box-shadow: 0 0 0 4px rgba(60, 142, 150, .11); }
.bh-picker::after { content: "⌄"; position: absolute; right: 15px; top: 14px; color: var(--bh-green); font-size: 19px; font-weight: 800; pointer-events: none; transition: transform .18s ease; }
.bh-picker.open::after { transform: rotate(180deg); }
.bh-picker-options {
  display: none; position: absolute; z-index: 100; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 250px; margin: 0; padding: 7px; overflow: auto;
  background: #fff; border: 1px solid #cbd9cf; border-radius: 16px; box-shadow: 0 14px 35px rgba(18, 63, 49, .14);
}
.bh-picker.open .bh-picker-options { display: block; }
.bh-option { display: block; width: 100%; min-height: 42px; padding: 10px 12px; border: 0; border-radius: 11px; background: transparent; color: var(--bh-green); font-weight: 700; text-align: left; cursor: pointer; }
.bh-option:hover, .bh-option:focus { background: #e8f3eb; color: var(--bh-green-dark); outline: none; }
.bh-picker-options .bh-option-empty { color: #657368; font-weight: 600; cursor: default; background: transparent; }

.bh-selected { display: flex; flex-wrap: wrap; gap: 7px; min-height: 48px; padding: 7px; border: 0; background: transparent; }
.bh-selected:empty { display: none; }
.bh-selected-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px;
  background: var(--bh-green-soft); color: var(--bh-green); border: 1px solid rgba(65, 102, 81, .12);
  border-radius: 999px; font-weight: 800; box-shadow: 0 2px 5px rgba(18, 63, 49, .05);
}
.bh-selected-chip button { width: 20px; height: 20px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(65, 102, 81, .12); color: inherit; font-size: 15px; line-height: 1; cursor: pointer; }
.bh-selected-chip button:hover { background: var(--bh-green); color: var(--bh-green-soft); }
.bh-field:has(.bh-picker) > label { margin-bottom: 1px; }
.bh-field:has(.bh-picker) .bh-inline { margin-top: 5px; }
.bh-field:has(.bh-picker) > small { display: block; margin-top: 5px; line-height: 1.45; }

.bh-suggestions { display: flex; flex-wrap: wrap; gap: 8px; }
.bh-chip { padding: 7px 11px; border: 1px solid rgba(60, 142, 150, .2); border-radius: 999px; background: #edf7f6; color: var(--bh-green); font-weight: 700; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.bh-chip:hover { transform: translateY(-1px); background: var(--bh-green-soft); }

/* Rich editor */
.bh-rich-toolbar { display: flex; gap: 6px; padding: 8px; background: #f5faf6; border: 1px solid var(--bh-border); border-bottom: 0; border-radius: 12px 12px 0 0; }
.bh-rich-toolbar button { padding: 7px 11px; border: 1px solid var(--bh-border); border-radius: 8px; background: #fff; cursor: pointer; }
.bh-rich-editor { min-height: 150px; padding: 13px; border: 1px solid var(--bh-border); border-radius: 0 0 12px 12px; background: #fff; }
.bh-rich-editor:empty::before { content: attr(data-placeholder); color: var(--bh-muted); }

/* Pricing, checks, inline controls */
.bh-price { display: grid; grid-template-columns: 160px 1fr; gap: 12px; }
.bh-radio { display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid var(--bh-border); border-radius: 14px; }
.bh-radio input, .bh-check input { width: auto; min-height: 0; }
.bh-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.bh-check { display: flex; align-items: center; gap: 8px; padding: 11px; background: #f4f8f5; border-radius: 14px; }
.bh-inline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bh-inline input { flex: 1; min-width: 180px; }
.bh-age { font-weight: 800; color: var(--bh-teal-dark); }

/* Schedule */
.bh-schedule { display: grid; gap: 12px; }
.bh-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 10px; align-items: end; padding: 14px; background: #f5faf6; border-radius: 16px; }
.bh-remove { padding: 11px; border: 0; border-radius: 12px; background: #f9e8ec; color: var(--bh-danger); font-weight: 800; }

/* Photos + review */
.bh-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bh-photo { position: relative; overflow: hidden; background: #edf4ef; border-radius: 16px; }
.bh-photo img { width: 100%; height: 130px; object-fit: cover; }
.bh-photo button { position: absolute; right: 7px; top: 7px; width: 30px; height: 30px; border: 0; border-radius: 50%; }
.bh-review { display: grid; gap: 12px; margin-top: 20px; }
.bh-review-card { padding: 18px; background: #f5faf6; border-radius: 18px; }
.bh-review-card h3 { margin-top: 0; }
.bh-review-card strong { color: var(--bh-green-dark); }
.bh-review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* Actions + messages */
.bh-actions { display: flex; justify-content: space-between; gap: 12px; padding: 20px 28px; background: #f7fbf8; border-top: 1px solid var(--bh-border); }
.bh-actions #formMessage { margin-right: auto; }
.bh-right, .bh-editor-actions { display: flex; align-items: center; gap: 10px; }
.bh-error { color: var(--bh-danger); font-weight: 800; }
.bh-ok { color: #356d4e; font-weight: 800; }

/* Section overview / edit mode */
.bh-section-overview { padding: 30px; }
.bh-overview-head { margin-bottom: 22px; }
.bh-overview-head h2 { margin: 4px 0 6px; color: var(--bh-green-dark); font-size: 30px; }
.bh-overview-head p { max-width: 700px; margin: 0; color: var(--bh-muted); }
.bh-section-list { display: grid; gap: 14px; }
.bh-section-card {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 20px 22px; background: #f7fbf8; border: 1px solid var(--bh-border); border-radius: 20px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bh-section-card:hover { transform: translateY(-1px); box-shadow: var(--bh-shadow); border-color: var(--bh-teal); }
.bh-section-card-copy { min-width: 0; }
.bh-section-kicker { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--bh-teal-dark); }
.bh-section-card h3 { margin: 3px 0 4px; color: var(--bh-green-dark); font-size: 21px; }
.bh-section-card p { margin: 0 0 7px; color: var(--bh-muted); }
.bh-section-card small { display: block; max-width: 700px; overflow: hidden; color: var(--bh-text); white-space: nowrap; text-overflow: ellipsis; }
.bh-section-card-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.bh-section-status { padding: 6px 10px; border-radius: 999px; background: #e8f3eb; color: var(--bh-green); font-size: 12px; font-weight: 800; }
.bh-section-card.not-started .bh-section-status { background: #eef2ef; color: var(--bh-muted); }
.bh-section-card.in-progress { border-left: 4px solid var(--bh-teal); }
.bh-section-card.complete { border-left: 4px solid var(--bh-green); }
.bh-accessibility-empty { padding: 16px; border: 1px dashed var(--bh-border); border-radius: 14px; background: #f7fbf8; color: var(--bh-muted); }
.bh-form.bh-editing { padding-top: 28px; }
.bh-form.bh-editing .bh-actions { margin-inline: -28px; }

@media (max-width: 720px) {
  .bh-new { margin-top: 18px; padding: 0 10px; }
  .bh-new-hero { flex-direction: column; align-items: flex-start; gap: 12px; }
  .bh-new-hero h1 { font-size: 36px; }
  .bh-steps { grid-template-columns: repeat(7, 100px); overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
  .bh-step { min-width: 100px; padding: 14px 8px; }
  .bh-card { border-radius: 22px; }
  .bh-form { padding: 20px 15px; }
  .bh-grid, .bh-checks, .bh-review-grid, .bh-price { grid-template-columns: 1fr; }
  .bh-field.full { grid-column: auto; }
  .bh-row { grid-template-columns: 1fr 1fr; }
  .bh-row .bh-remove { grid-column: 1 / -1; }
  .bh-photos { grid-template-columns: 1fr 1fr; }
  .bh-actions { position: sticky; bottom: 0; z-index: 5; flex-wrap: wrap; padding: 15px; }
  .bh-section-overview { padding: 20px 15px; }
  .bh-section-card { flex-direction: column; align-items: flex-start; padding: 17px; }
  .bh-section-card-actions { width: 100%; justify-content: space-between; }
  .bh-section-card small { white-space: normal; }
  .bh-editor-actions { width: 100%; justify-content: space-between; flex-wrap: wrap; }
  .bh-form.bh-editing .bh-actions { margin-inline: -15px; }
  .bh-picker-options { max-height: 210px; }
  .bh-picker-input { font-size: 15px; }
}
@media (max-width: 430px) { .bh-new-hero h1 { font-size: 32px; } }


/* =========================================================================
   15. LEADER PORTAL
   ========================================================================= */
.bh-leader-page {
  box-sizing: border-box; width: min(1240px, calc(100% - 32px)); max-width: 1240px;
  margin-inline: auto; padding-inline: 15px;
}
.bh-leader-page > section { box-sizing: border-box; }

/* Headings: the old #9cb8a4 on white was ~2:1 contrast — now brand green. */
.bh-leader-page h2 { color: var(--bh-green); }
.bh-leader-page .bh-support-banner h2 { color: #fff; }

/* ---- Hero ---- */
.bh-leader-hero {
  position: relative; isolation: isolate; overflow: hidden; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 28px;
  margin: 18px 0 22px; padding: 34px 36px;
  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::before { content: ""; position: absolute; z-index: -1; right: -90px; top: -125px; width: 260px; height: 260px; border-radius: 50%; background: rgba(156, 184, 164, .18); pointer-events: none; }
.bh-leader-hero::after  { content: ""; position: absolute; z-index: -1; left: -65px; bottom: -95px; width: 150px; height: 150px; border-radius: 50%; background: rgba(60, 142, 150, .08); pointer-events: none; }
.bh-leader-hero > div:first-child { min-width: 0; }
.bh-leader-hero h1 { margin: .12em 0 .2em; color: var(--bh-green-dark); font-size: clamp(34px, 4vw, 54px); }
.bh-leader-hero p { max-width: 650px; margin: 0; color: var(--bh-muted); font-size: 16px; }
.bh-leader-hero .eyebrow { font-weight: 850; letter-spacing: .04em; }
.bh-leader-hero .hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.bh-leader-hero .hero-actions .button { white-space: nowrap; }
/* Light-green text only on the dark-green/teal buttons (it was invisible on .button-soft) */
.bh-leader-hero .button-primary, .bh-leader-hero .button-teal { color: var(--bh-green-soft); }
.bh-leader-page a.button.button-soft[href="directory.html"] { background: var(--bh-yellow); border-color: var(--bh-yellow); color: var(--bh-green); }
.bh-leader-page a.button.button-soft[href="directory.html"]:hover,
.bh-leader-page a.button.button-soft[href="directory.html"]:focus-visible { background: var(--bh-yellow-dark); border-color: var(--bh-yellow-dark); color: var(--bh-green); }

/* ---- Tabs ---- */
.bh-leader-tabs {
  position: sticky; top: 10px; z-index: 20;
  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);
  scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
}
.bh-leader-tabs::-webkit-scrollbar { display: none; }
.bh-leader-tabs a {
  flex: 0 0 auto; padding: 10px 13px; border: 1px solid transparent; border-radius: 999px;
  color: var(--bh-green); font-size: 13px; font-weight: 850; text-decoration: none; white-space: nowrap;
  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 { background: #e7f2e9; color: var(--bh-teal-dark); border-color: rgba(60, 142, 150, .12); transform: translateY(-1px); }

/* ---- Stats ---- */
.bh-leader-stats-v2, .bh-leader-stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; align-items: stretch; }
.bh-leader-stat, .bh-leader-stat-card {
  position: relative; display: flex; align-items: center; gap: 11px; min-width: 0; min-height: 92px; padding: 15px; overflow: hidden;
  background: linear-gradient(145deg, #fff 0%, #f7faf7 100%); color: inherit; text-decoration: none;
  border: 1px solid rgba(18, 63, 49, .07); border-radius: 22px; box-shadow: 0 12px 28px rgba(18, 63, 49, .06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bh-leader-stat::after { content: ""; position: absolute; right: -28px; top: -28px; width: 76px; height: 76px; 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, .bh-leader-stat-card > span { position: relative; z-index: 1; display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; border-radius: 13px; background: #e4f1e8; font-size: 18px; }
.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:last-child { background: linear-gradient(145deg, #f3f8f4 0%, #eaf5f2 100%); }
.bh-leader-stat:last-child > span { background: #dcefee; }
.bh-leader-stat strong, .bh-leader-stat-card strong { position: relative; z-index: 1; display: block; color: var(--bh-green-dark); font-size: 20px; line-height: 1.1; }
.bh-leader-stat b, .bh-leader-stat-card b { display: block; font-size: 12px; }
.bh-leader-stat small, .bh-leader-stat-card small { position: relative; z-index: 1; display: block; margin-top: 4px; color: var(--bh-muted); font-size: 11px; line-height: 1.3; }
.bh-leader-stat em { margin-left: auto; color: var(--bh-teal-dark); font-style: normal; font-weight: 900; }

/* ---- Dashboard panels (listing health + attention) ---- */
.bh-leader-dashboard-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-bottom: 22px; }
.bh-leader-panel { min-width: 0; padding: 26px; }
.bh-leader-dashboard-grid .bh-leader-panel { position: relative; overflow: hidden; background: linear-gradient(145deg, #fff 0%, #fbfdfb 100%); }
.bh-leader-dashboard-grid .bh-leader-panel:first-child  { background: linear-gradient(145deg, #fff 0%, #eef7f0 100%); }
.bh-leader-dashboard-grid .bh-leader-panel:nth-child(2) { background: linear-gradient(145deg, #fff 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; font-size: clamp(22px, 2.5vw, 29px); }
.bh-leader-dashboard-grid .admin-panel-head p { margin: 0; color: var(--bh-muted); font-size: 13px; line-height: 1.5; }
#listing-health { scroll-margin-top: 24px; }

.bh-health-number { flex: 0 0 auto; min-width: 68px; margin: 0; padding: 11px 13px; border-radius: 17px; background: #e4f1e8; color: var(--bh-green); 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, var(--bh-teal), var(--bh-green)); transition: width .35s ease; }
.bh-health-checks, .bh-alert-list { 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;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(18, 63, 49, .07); border-radius: 14px;
  color: var(--bh-text); font-size: 13px;
}
.bh-health-checks strong, .bh-health-check strong, .bh-health-item strong { color: var(--bh-green-dark); }
.bh-alert-list { 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;
  background: rgba(255, 255, 255, .82); border: 1px solid rgba(18, 63, 49, .07); border-radius: 15px;
  color: var(--bh-text); font-size: 13px; 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-teal-dark); font-size: 20px; line-height: .7; }
.bh-alert-list .deployment-note { padding: 18px; border-radius: 16px; background: #f3f8f4; color: var(--bh-muted); }
.bh-alert-list .bh-insight-empty { margin: 0; padding: 20px; border-radius: 16px; background: #f3f8f4; color: var(--bh-muted); }
.bh-insight-list { display: grid; gap: 10px; }
.bh-insight-item { padding: 12px 14px; border-radius: 14px; background: #eef6ef; color: var(--bh-green); font-weight: 750; }
.bh-insight-empty { padding: 28px; border-radius: 18px; background: #f3f8f4; color: var(--bh-muted); }

/* ---- Quick actions + portal tools (same card pattern) ---- */
.bh-leader-quick-actions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 2px; min-width: 0; }
.bh-leader-portal-tools  { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 22px 0; min-width: 0; }

.bh-leader-action, .bh-leader-tool {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  color: inherit; text-decoration: none;
  border: 1px solid rgba(18, 63, 49, .08); border-radius: 22px; box-shadow: 0 10px 25px rgba(18, 63, 49, .05);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.bh-leader-action { min-height: 158px; padding: 20px; background: linear-gradient(145deg, #fff 0%, #f5faf6 100%); }
.bh-leader-tool   { min-height: 142px; padding: 24px; background: linear-gradient(145deg, #fff 0%, #f3f8f7 100%); }
.bh-leader-action::after, .bh-leader-tool::after {
  content: "→"; position: absolute; right: 16px; bottom: 14px; display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%; background: #e4f1e8; color: var(--bh-green);
  font-size: 17px; font-weight: 800; transition: transform .18s ease, background .18s ease;
}
.bh-leader-tool::after { background: #dcefee; }
.bh-leader-action:hover, .bh-leader-action:focus-visible,
.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-action:hover::after, .bh-leader-action:focus-visible::after,
.bh-leader-tool:hover::after, .bh-leader-tool:focus-visible::after { transform: translateX(3px); background: var(--bh-green-soft); }
.bh-leader-action span, .bh-leader-tool span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 14px; border-radius: 15px; background: #e4f1e8; font-size: 23px; }
.bh-leader-tool span { background: #dcefee; }
.bh-leader-action strong, .bh-leader-tool strong { display: block; color: var(--bh-green-dark); font-size: 15px; line-height: 1.25; }
.bh-leader-action small, .bh-leader-tool small { display: block; max-width: 230px; margin-top: 6px; padding-right: 28px; color: var(--bh-muted); font-size: 12px; line-height: 1.45; }

/* ---- FAQ / payments / expertise ---- */
.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-green-dark); }
.bh-faq-item p { margin: 0; color: var(--bh-muted); white-space: pre-line; }
.bh-faq-actions { display: flex; flex: 0 0 auto; align-items: flex-start; gap: 8px; }

.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: var(--bh-radius-lg); box-shadow: 0 12px 30px rgba(18, 63, 49, .06); }
.bh-payment-card h2 { color: var(--bh-green-dark); }
.bh-payment-card p, .bh-payment-card li { color: var(--bh-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; }
.bh-expertise-copy p { color: var(--bh-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; background: #fbfdfc; border: 1px solid rgba(18, 63, 49, .09); border-radius: 14px; color: var(--bh-green); font-size: 13px; font-weight: 750; 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-teal); }

/* ---- Support banner ---- */
.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, var(--bh-green) 0%, var(--bh-teal-dark) 100%);
  border: 1px solid rgba(18, 63, 49, .12); border-radius: var(--bh-radius-lg); box-shadow: 0 16px 34px rgba(18, 63, 49, .12);
}
.bh-support-banner::before { content: ""; position: absolute; right: -65px; top: -105px; width: 190px; height: 190px; border-radius: 50%; background: rgba(255, 255, 255, .10); pointer-events: none; }
.bh-support-banner::after  { content: ""; position: absolute; left: -48px; bottom: -72px; width: 110px; height: 110px; border-radius: 50%; background: rgba(216, 230, 219, .10); pointer-events: none; }
.bh-support-banner > div:first-child { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; min-width: 0; }
.bh-support-banner h2 { margin: 0 0 5px; font-size: clamp(21px, 2.5vw, 28px); }
.bh-support-banner p { max-width: 650px; margin: 0; color: rgba(255, 255, 255, .92); font-size: 14px; line-height: 1.5; }
.bh-support-icon { display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px; border-radius: 16px; background: #fff1ca; color: #8a6500; font-size: 22px; font-weight: 900; }
.bh-support-actions { position: relative; z-index: 1; display: flex; flex: 0 0 auto; flex-wrap: wrap; align-items: center; gap: 9px; }
.bh-support-actions .button, .bh-support-actions a {
  display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; font-size: 13px; font-weight: 800; text-decoration: none;
}
.bh-support-actions .button:first-child, .bh-support-actions a:first-child { background: var(--bh-green-soft); color: var(--bh-green); }
.bh-support-actions .button:not(:first-child), .bh-support-actions a:not(:first-child) { background: rgba(255, 255, 255, .10); color: var(--bh-green-soft); }
.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; }

/* ---- Leader responsive ---- */
@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-page { width: calc(100% - 20px); }

  .bh-leader-hero { display: block; margin: 12px 0 16px; padding: 24px 20px; border-radius: 22px; }
  .bh-leader-hero h1 { font-size: clamp(30px, 8.5vw, 42px); line-height: 1.08; }
  .bh-leader-hero p { font-size: 15px; line-height: 1.55; }
  .bh-leader-hero .hero-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; margin-top: 16px; }
  .bh-leader-hero .hero-actions .button { width: 100%; min-width: 0; padding-inline: 12px; }

  .bh-leader-tabs { top: 6px; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 16px; padding: 8px; gap: 5px; border-radius: 17px; }
  .bh-leader-tabs a { min-height: 40px; display: inline-flex; align-items: center; padding: 9px 11px; font-size: 12px; }

  .bh-leader-stats-v2, .bh-leader-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
  .bh-leader-stat { min-height: 84px; padding: 13px; gap: 9px; border-radius: 17px; }
  .bh-leader-stat > span { flex-basis: 36px; width: 36px; height: 36px; border-radius: 11px; font-size: 16px; }
  .bh-leader-stat strong { font-size: 17px; }
  .bh-leader-stat b { font-size: 12px; line-height: 1.2; }
  .bh-leader-stat em { display: none; }

  .bh-leader-dashboard-grid, .bh-expertise-section { grid-template-columns: 1fr; gap: 12px; margin-bottom: 14px; }
  .bh-leader-panel, .bh-leader-dashboard-grid .bh-leader-panel { padding: 18px; border-radius: 20px; }
  #listing-health { scroll-margin-top: 12px; }
  .bh-leader-dashboard-grid .admin-panel-head { gap: 12px; }
  .bh-leader-dashboard-grid .admin-panel-head h2 { font-size: 22px; }
  .bh-health-number { min-width: 60px; padding: 10px 9px; border-radius: 14px; font-size: 21px; }
  .bh-health-bar { height: 10px; margin: 17px 0 14px; }

  .bh-leader-quick-actions, .bh-leader-portal-tools, .bh-payment-grid { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .bh-leader-action, .bh-leader-tool { min-height: 0; padding: 16px; border-radius: 18px; }
  .bh-leader-tool { padding: 20px; }
  .bh-leader-action span, .bh-leader-tool span { width: 42px; height: 42px; margin-bottom: 11px; border-radius: 13px; font-size: 21px; }
  .bh-leader-action strong, .bh-leader-tool strong { font-size: 14px; }
  .bh-leader-action small, .bh-leader-tool small { max-width: none; font-size: 12px; }
  .bh-leader-action::after, .bh-leader-tool::after { right: 14px; bottom: 14px; }

  .bh-faq-item { display: block; }
  .bh-faq-actions { margin-top: 15px; }
  .bh-expertise-grid { grid-template-columns: 1fr; }

  .bh-support-banner { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 18px; padding: 20px; border-radius: 20px; }
  .bh-support-banner > div:first-child { align-items: flex-start; }
  .bh-support-banner h2 { font-size: 21px; }
  .bh-support-banner p { font-size: 13px; }
  .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-leader-hero .hero-actions, .bh-support-actions, .bh-leader-stats-v2, .bh-leader-stat-grid { grid-template-columns: 1fr; }
  .bh-leader-stat { min-height: 70px; }
}


/* =========================================================================
   16. FOOTER  (dark; one definition)
   ========================================================================= */
.site-footer {
  width: 100%; max-width: none; margin: 48px 0 0; padding: 48px 0 24px; overflow: hidden;
  background: var(--bh-deep); color: #fff; border: 0; border-radius: 0;
  box-shadow: 0 -14px 40px rgba(18, 63, 49, .08);
}
.site-footer h2, .site-footer h3, .site-footer strong, .site-footer-title { color: #fff; }
.site-footer-title { font-size: 25px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: var(--bh-yellow); }

.site-footer-grid { display: grid; grid-template-columns: 1.45fr 1fr 1fr 1.2fr; gap: 38px; width: min(1180px, 100%); margin: 0 auto; 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, .78); font-size: 14px; line-height: 1.55; }
.site-footer-column h2 { margin: 0 0 12px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.site-footer-links { display: flex; flex-direction: column; gap: 8px; }
.site-footer-links a { font-size: 14px; line-height: 1.35; transition: color .18s ease; }
.site-footer-nav { display: none; }
.site-footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  width: min(1180px, 100%); margin: 32px auto 0; padding: 18px 24px 0;
  border-top: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .72); font-size: 12px;
}

.home-newsletter > p { margin: 0 0 9px; color: rgba(255, 255, 255, .78); font-size: 13px; }
.home-newsletter form { display: flex; min-width: 0; }
.home-newsletter input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: 0; border-radius: 999px 0 0 999px; background: #fff; color: #123d30; }
.home-newsletter button { flex: 0 0 44px; width: 44px; height: 40px; border: 0; border-radius: 0 999px 999px 0; background: var(--bh-teal-dark); color: #fff; font-weight: 900; }

/* theme.css footer markup, restyled for the dark footer */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer-brand { display: inline-block; margin-bottom: 10px; color: #fff; font-size: 1.3rem; font-weight: 700; text-decoration: none; }
.footer-brand img { display: block; width: auto; height: 50px; max-width: 200px; object-fit: contain; }
.footer-grid h2 { font-size: 1rem; }
.footer-grid a:not(.footer-brand) { display: block; width: fit-content; margin-bottom: 8px; }
.footer-bottom { margin-top: 34px; padding: 16px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom p { margin: 0; color: rgba(255, 255, 255, .72); }

@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; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 650px) {
  .site-footer { margin-top: 36px; padding-top: 38px; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; padding: 0 18px; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-footer-bottom { flex-direction: column; gap: 6px; margin-top: 26px; padding: 16px 18px 0; }
  .footer-grid { grid-template-columns: 1fr; }
}


/* =========================================================================
   ACCOUNT + SUPPORT PAGE STYLES
   ========================================================================= */
/* Bubba Hub account dashboard — page-specific layout */
.account-welcome-note,
.account-pro-banner,
.account-dashboard-card,
.account-leader-card,
.account-account-access {
  min-width: 0;
}

.account-welcome-note {
  width: calc(100% - 40px);
  margin: 28px auto 0;
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: 18px;
  box-shadow: var(--bh-shadow);
}

.account-welcome-icon {
  display: grid;
  place-items: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bh-green-soft);
  font-size: 22px;
}

.account-welcome-note strong {
  display: block;
  margin: 2px 0 4px;
  color: var(--bh-green-dark);
  font-size: 1.05rem;
}

.account-welcome-note p,
.account-pro-banner p,
.account-section-label p,
.account-dashboard-card p,
.account-leader-card p,
.account-account-access p {
  color: var(--bh-muted);
}

.account-welcome-note p { margin: 0; }

.account-pro-banner {
  width: calc(100% - 40px);
  margin: 18px auto 0;
  padding: 24px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: linear-gradient(135deg, #eaf5ec, #e1f0ef);
  border: 1px solid rgba(60, 142, 150, .12);
  border-radius: 22px;
  box-shadow: var(--bh-shadow);
}

.account-pro-banner h2 {
  margin: 4px 0 7px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.account-pro-banner p { margin: 0; max-width: 680px; }

.account-section-label {
  width: calc(100% - 40px);
  margin: 42px auto 18px;
}

.account-section-label h2 { margin-bottom: 7px; }
.account-section-label p { margin: 0; }

.account-dashboard-grid {
  width: calc(100% - 40px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.account-dashboard-card {
  display: flex;
  flex-direction: column;
  min-height: 205px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(18, 63, 49, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.account-dashboard-card:hover {
  transform: translateY(-2px);
  border-color: rgba(60, 142, 150, .28);
  box-shadow: var(--bh-shadow);
}

.account-dashboard-card .feature-icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
  border-radius: 15px;
  background: var(--bh-green-soft);
  font-size: 21px;
}

.account-dashboard-card:nth-child(2) .feature-icon,
.account-dashboard-card:nth-child(5) .feature-icon { background: #dff0f1; }

.account-dashboard-card:nth-child(3) .feature-icon,
.account-dashboard-card:nth-child(7) .feature-icon { background: #eee8fa; }

.account-dashboard-card:nth-child(4) .feature-icon { background: #fff1ca; }

.account-dashboard-card h3,
.account-leader-card h3 {
  margin: 0 0 7px;
  color: var(--bh-green-dark);
  font-size: 1.08rem;
}

.account-dashboard-card p {
  margin: 0 0 18px;
  font-size: .92rem;
  line-height: 1.5;
}

.account-dashboard-card .card-link {
  margin-top: auto;
  color: var(--bh-green);
  font-weight: 800;
  text-decoration: none;
}

.account-dashboard-card .card-link:hover { color: var(--bh-teal-dark); }

.account-leader-section {
  width: calc(100% - 40px);
  margin: 48px auto 0;
}

.account-leader-section .account-section-label {
  width: auto;
  margin: 0 0 18px;
}

.account-leader-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-leader-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid var(--bh-border);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(18, 63, 49, .05);
}

.account-leader-card:hover {
  border-color: rgba(60, 142, 150, .28);
  box-shadow: var(--bh-shadow);
}

.account-leader-card .feature-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--bh-green-soft);
  font-size: 20px;
}

.account-leader-card p { margin: 0; font-size: .86rem; }
.account-leader-card > strong { color: var(--bh-green); white-space: nowrap; }

.account-account-access {
  width: calc(100% - 40px);
  margin: 48px auto 0;
  padding: 26px;
}

.account-account-access .admin-panel-head h2 { margin-bottom: 7px; }
.account-account-access .admin-panel-head p { margin: 0; }
.account-auth-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 16px;
}
.account-auth-tabs .button { min-height: 42px; }
.account-auth-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.account-auth-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--bh-green-dark);
  font-weight: 750;
  font-size: .9rem;
}
.account-auth-form input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--bh-border);
  background: #fff;
  color: var(--bh-text);
}
.account-auth-form #confirmPassword { grid-column: 1 / -1; }
.account-auth-form > button { justify-self: start; }
.account-auth-form .library-message { grid-column: 1 / -1; margin: 0; }

@media (max-width: 900px) {
  .account-dashboard-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
  .account-welcome-note,
  .account-pro-banner,
  .account-section-label,
  .account-dashboard-grid,
  .account-leader-section,
  .account-account-access {
    width: calc(100% - 24px);
  }

  .account-pro-banner {
    align-items: flex-start;
    flex-direction: column;
    padding: 21px;
  }

  .account-pro-banner .button { width: 100%; }

  .account-dashboard-grid,
  .account-leader-grid,
  .account-auth-form {
    grid-template-columns: 1fr;
  }

  .account-dashboard-card { min-height: 0; }
  .account-leader-card { grid-template-columns: auto minmax(0, 1fr); }
  .account-leader-card > strong { grid-column: 2; justify-self: start; }

  .account-account-access { padding: 21px; }
}

@media (max-width: 430px) {
  .account-welcome-note { padding: 17px; }
  .account-section-label { margin-top: 34px; }
  .account-dashboard-card { padding: 19px; }
  .account-auth-tabs { display: grid; grid-template-columns: 1fr 1fr; }
  .account-auth-tabs .button { width: 100%; padding-inline: 10px; }
}


/* Bubba Hub support page — page-specific styling */
.support-hero {
  width: calc(100% - 40px);
  margin: 28px auto 0;
  padding: 34px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  background: linear-gradient(135deg, var(--bh-green-soft), #e1f0ef);
  border: 1px solid rgba(60,142,150,.12);
  border-radius: 24px;
  box-shadow: var(--bh-shadow);
}
.support-hero h1 { margin-bottom: 10px; }
.support-hero p { max-width: 700px; margin: 0; color: var(--bh-muted); }
.support-lock {
  flex: 0 0 280px;
  padding: 17px 18px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(18,63,49,.08);
  border-radius: 17px;
  color: var(--bh-green);
}
.support-lock strong, .support-lock span { display:block; }
.support-lock strong { margin: 3px 0 4px; color: var(--bh-green-dark); }
.support-lock span { font-size: .82rem; color: var(--bh-muted); }

.support-topic-grid {
  width: calc(100% - 40px);
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 14px;
}
.support-topic {
  display:flex;
  flex-direction:column;
  min-width:0;
  min-height:170px;
  padding:20px;
  color:inherit;
  text-decoration:none;
  background:#fff;
  border:1px solid var(--bh-border);
  border-radius:20px;
  box-shadow:0 8px 24px rgba(18,63,49,.055);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.support-topic:hover {
  transform:translateY(-2px);
  border-color:rgba(60,142,150,.28);
  box-shadow:var(--bh-shadow);
}
.support-topic > span {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  margin-bottom:14px;
  border-radius:14px;
  background:var(--bh-green-soft);
  font-size:21px;
}
.support-topic:nth-child(2) > span { background:#dff0f1; }
.support-topic:nth-child(3) > span { background:#fff1ca; }
.support-topic:nth-child(4) > span { background:#eee8fa; }
.support-topic strong { color:var(--bh-green-dark); }
.support-topic small { margin-top:6px; color:var(--bh-muted); line-height:1.45; }

.support-columns {
  width:min(100% - 40px,1100px);
  margin:28px auto 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:18px;
}
.support-columns > .admin-panel { min-width:0; }

.support-form { display:grid; gap:14px; margin-top:18px; }
.support-form label {
  display:flex;
  flex-direction:column;
  gap:6px;
  color:var(--bh-green-dark);
  font-weight:750;
  font-size:.9rem;
}
.support-form select,
.support-form textarea {
  width:100%;
  border:1px solid var(--bh-border);
  background:#fff;
  color:var(--bh-text);
}
.support-form select { min-height:46px; padding:10px 12px; }
.support-form textarea { min-height:150px; padding:12px; resize:vertical; }
.support-form .button { justify-self:start; }
.support-prefill-note {
  margin:-5px 0 0;
  color:var(--bh-muted);
  font-size:.78rem;
}
.support-status { min-height:1.3em; margin:0; color:var(--bh-green); font-weight:700; }

.support-faq-list { display:grid; gap:9px; margin-top:18px; }
.support-faq-list details {
  padding:14px 16px;
  background:#f7faf7;
  border:1px solid var(--bh-border);
  border-radius:14px;
}
.support-faq-list summary {
  cursor:pointer;
  color:var(--bh-green-dark);
  font-weight:800;
}
.support-faq-list details p {
  margin:10px 0 0;
  color:var(--bh-muted);
  font-size:.9rem;
}
.support-note {
  margin-top:16px;
  padding:15px 16px;
  background:#fff7dc;
  border:1px solid rgba(234,184,59,.28);
  border-radius:15px;
}
.support-note strong { color:#705300; }
.support-note p { margin:4px 0 0; color:var(--bh-muted); font-size:.86rem; }

.support-responder-note {
  max-width:360px;
  color:var(--bh-muted);
  font-size:.85rem;
  text-align:right;
}

@media (max-width: 900px) {
  .support-topic-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .support-columns { grid-template-columns:1fr; }
}
@media (max-width: 700px) {
  .support-hero,
  .support-topic-grid,
  .support-columns { width:min(100% - 24px,1100px); }
  .support-hero {
    align-items:stretch;
    flex-direction:column;
    padding:25px 21px;
  }
  .support-lock { flex-basis:auto; }
  .support-topic-grid { grid-template-columns:1fr; }
  .support-topic { min-height:0; }
  .support-responder-note { max-width:none; margin-top:8px; text-align:left; }
}



/* =========================================================================
   BUBBA HUB — CONSOLIDATED: HOMEPAGE.CSS
   ========================================================================= */

/* Bubba Hub Homepage — isolated showcase layout
   Loaded after the shared/theme CSS so the homepage cannot be distorted
   by generic page rules. Keep homepage styling scoped to .bh-home.
*/
:root{
  --bh-home-width:1400px;
  --bh-home-gutter:12px;
  --bh-home-dark:#0d3b32;
  --bh-home-teal:#159d9b;
  --bh-home-yellow:#f6c84a;
  --bh-home-pink:#ee6684;
  --bh-home-purple:#8068cf;
  --bh-home-green:#69ad35;
}

.bh-home{
  margin:0;
  min-width:0;
  background:#f7fbf8;
  color:#123f31;
  overflow-x:hidden;
}

.bh-home main{
  width:100%;
  max-width:none;
  min-height:0;
  overflow:visible;
}

.bh-home .site-header.home-header{
  width:100%;
  max-width:var(--bh-home-width);
  min-height:76px;
  margin:0 auto;
  padding:8px 18px;
  display:flex;
  align-items:center;
  gap:24px;
  background:#fff;
  border:0;
  border-radius:0;
  box-shadow:0 4px 18px rgba(18,63,49,.08);
  position:relative;
  z-index:20;
}

.bh-home .home-brand{
  display:flex;
  align-items:center;
  flex:0 0 auto;
  margin-right:auto;
  min-width:0;
}

.bh-home .home-brand .brand-logo{
  width:auto;
  height:60px;
  max-width:245px;
  object-fit:contain;
  border-radius:0;
}

.bh-home .home-header .main-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:1px;
  margin:0;
}

.bh-home .home-header .main-nav a{
  padding:9px 10px;
  border-radius:10px;
  color:var(--bh-home-dark);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}

.bh-home .home-header .main-nav a:hover{
  background:#e7f1ea;
  color:#159d9b;
}

.bh-home .home-header-search{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  flex:0 0 38px;
  margin:0;
  border-radius:50%;
  color:var(--bh-home-dark);
  font-size:23px;
  font-weight:800;
}

.bh-home .home-hero{
  width:min(var(--bh-home-width),calc(100% - var(--bh-home-gutter)*2));
  min-height:620px;
  margin:0 auto;
  position:relative;
  overflow:visible;
  border-radius:0 0 28px 28px;
}

.bh-home .home-hero-image{
  position:absolute;
  inset:0;
  z-index:0;
  background:url("../../images/home/herobanner-20260924-220048-e3d271.png") 50% 50%/cover no-repeat;
  border-radius:0 0 28px 28px;
}

.bh-home .home-hero-copy{
  position:relative;
  z-index:2;
  width:min(55%,700px);
  margin-left:auto;
  padding:55px 48px 170px 35px;
  text-align:center;
}

.bh-home .home-brush{
  display:inline-block;
  padding:25px 34px 30px;
  background:linear-gradient(135deg,#168f9c,#159c9b);
  color:#fff;
  font-family:Calibri,Arial,Helvetica,sans-serif;
  font-size:clamp(32px,4vw,52px);
  line-height:1.08;
  font-weight:400;
  transform:rotate(-2deg);
  clip-path:polygon(3% 12%,97% 0,94% 89%,7% 100%,0 50%);
}

.bh-home .home-hero-copy p{
  margin:24px 0 0;
  color:#fff;
  font-size:16px;
  line-height:1.45;
  font-weight:700;
  text-shadow:0 2px 8px rgba(0,0,0,.3);
}

.bh-home .home-search{
  position:absolute;
  z-index:5;
  left:28px;
  right:28px;
  bottom:-74px;
  width:auto;
  margin:0;
  padding:18px 20px 20px;
  background:#159d9b;
  border:0;
  border-radius:26px;
  box-shadow:0 18px 35px rgba(18,63,49,.2);
}

.bh-home .home-search h2{
  margin:0 0 12px;
  color:#fff;
  font-family:Calibri,Arial,Helvetica,sans-serif;
  font-size:21px;
  line-height:1.2;
  font-weight:800;
}

.bh-home .home-search-fields{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr 1fr auto;
  gap:9px;
  align-items:center;
}

.bh-home .home-search-fields label{
  display:flex;
  align-items:center;
  gap:7px;
  min-width:0;
  min-height:48px;
  padding:0 13px;
  background:#fff;
  border:0;
  border-radius:999px;
  color:#5c7067;
}

.bh-home .home-search-fields label span{
  flex:0 0 auto;
  color:#3c8e96;
  font-weight:900;
}

.bh-home .home-search-fields input,
.bh-home .home-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;
  color:#123f31;
  font-size:12px;
}

.bh-home .home-search-fields .button{
  min-width:112px;
  min-height:48px;
  padding:10px 20px;
  background:var(--bh-home-yellow)!important;
  color:#123f31!important;
  border:0;
  border-radius:999px;
  box-shadow:none;
  font-weight:900;
}

.bh-home .home-advanced-link{
  display:block;
  margin:7px 4px 0;
  text-align:right;
  color:rgba(255,255,255,.88);
  font-size:11px;
  font-weight:800;
}

.bh-home .home-category-row{
  width:min(var(--bh-home-width),calc(100% - var(--bh-home-gutter)*2));
  min-width:0;
  margin:100px auto 18px;
  padding:10px 18px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  background:#fff;
  border:1px solid rgba(18,63,49,.06);
  border-radius:20px;
  box-shadow:0 8px 25px rgba(18,63,49,.05);
}

.bh-home .home-category-row a{
  min-width:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:8px 12px;
  border-right:1px solid rgba(18,63,49,.12);
  text-align:left;
}

.bh-home .home-category-row a:last-child{border-right:0}

.bh-home .home-category-icon{
  width:52px;
  height:52px;
  flex:0 0 52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  font-size:24px;
}

.bh-home .home-category-icon.pink{background:#ee6684}
.bh-home .home-category-icon.teal{background:#3c9fa9}
.bh-home .home-category-icon.green{background:#6fb52d}
.bh-home .home-category-icon.purple{background:#8068cf}
.bh-home .home-category-icon.yellow{background:#f6bd27}

.bh-home .home-category-row strong{
  color:#123f31;
  font-size:13px;
  line-height:1.15;
  font-weight:850;
}

.bh-home .home-section{
  width:min(var(--bh-home-width),calc(100% - var(--bh-home-gutter)*2));
  margin:0 auto;
  padding:22px 10px;
}

.bh-home .home-section-heading,
.bh-home .home-lower-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:15px;
}

.bh-home .home-section-heading h2,
.bh-home .home-lower-heading h2{
  margin:0;
  color:var(--bh-home-dark);
  font-family:Calibri,Arial,Helvetica,sans-serif;
  font-size:31px;
  line-height:1.1;
  font-weight:400;
}

.bh-home .home-section-heading .eyebrow,
.bh-home .home-lower-heading .eyebrow{
  margin:0 0 2px;
}

.bh-home .home-view-all,
.bh-home .home-lower-heading>a{
  color:#416651;
  font-size:13px;
  font-weight:800;
}

.bh-home .home-activity-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:15px;
  margin-top:15px;
}

.bh-home .home-activity-card{
  position:relative;
  min-width:0;
  display:block;
  overflow:hidden;
  background:#fff;
  border:1px solid rgba(18,63,49,.09);
  border-radius:17px;
  box-shadow:0 8px 25px rgba(18,63,49,.06);
}

.bh-home .home-activity-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(18,63,49,.1);
}

.bh-home .home-card-image{
  height:158px;
  overflow:hidden;
  background:#dceee1;
}

.bh-home .home-card-image img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.bh-home .home-age-badge{
  position:absolute;
  top:140px;
  right:9px;
  padding:4px 9px;
  border-radius:999px;
  background:#69ad35;
  color:#fff;
  font-size:11px;
  font-weight:900;
}

.bh-home .home-age-badge.pink{background:#ee6684}
.bh-home .home-age-badge.purple{background:#8068cf}
.bh-home .home-age-badge.teal{background:#159aa0}

.bh-home .home-heart{
  position:absolute;
  top:166px;
  right:8px;
  z-index:3;
  width:28px;
  height:28px;
  padding:2px;
  border:0;
  background:transparent;
  color:#3c8e96;
  font-size:21px;
  line-height:1;
}

.bh-home .home-card-body{
  padding:17px 14px 15px;
}

.bh-home .home-card-body h3{
  margin:0 0 8px;
  color:var(--bh-home-dark);
  font-size:18px;
  line-height:1.15;
}

.bh-home .home-card-body p{
  margin:5px 0;
  color:#5c7067;
  font-size:11px;
  line-height:1.35;
  font-weight:650;
}

.bh-home .home-plan-band{
  width:min(var(--bh-home-width),calc(100% - var(--bh-home-gutter)*2));
  min-width:0;
  margin:8px auto 24px;
  padding:28px 38px;
  display:grid;
  grid-template-columns:145px minmax(0,1fr) minmax(0,1.05fr);
  gap:25px;
  align-items:center;
  position:relative;
  overflow:hidden;
  border-radius:24px;
  background:linear-gradient(135deg,#eef7e8,#e0f0e9);
}

.bh-home .home-plan-photo{
  width:145px;
  height:145px;
  overflow:hidden;
  border:10px solid #fff;
  border-radius:50%;
}

.bh-home .home-plan-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.bh-home .home-plan-copy h2{
  margin:0;
  color:var(--bh-home-dark);
  font-family:Calibri,Arial,Helvetica,sans-serif;
  font-size:35px;
  line-height:1;
  font-weight:400;
}

.bh-home .home-plan-copy p{
  max-width:430px;
  margin:9px 0 15px;
  color:#5c7067;
  font-size:13px;
  line-height:1.45;
}

.bh-home .home-plan-benefits{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:12px;
}

.bh-home .home-plan-benefits li{
  display:flex;
  align-items:center;
  gap:12px;
  color:#123f31;
  font-size:13px;
  font-weight:700;
}

.bh-home .home-plan-benefits span{
  width:31px;
  height:31px;
  flex:0 0 31px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#3c8e96;
  font-size:19px;
}

.bh-home .home-lower-grid{
  width:min(var(--bh-home-width),calc(100% - var(--bh-home-gutter)*2));
  min-width:0;
  margin:0 auto 30px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.bh-home .home-lower-card{
  min-width:0;
  padding:16px;
  background:#fff;
  border:1px solid rgba(18,63,49,.09);
  border-radius:18px;
  box-shadow:0 7px 23px rgba(18,63,49,.05);
}

.bh-home .home-admin-preview{grid-column:1/-1}

.bh-home .home-week{
  display:flex;
  justify-content:space-between;
  margin:15px 0 8px;
  font-size:12px;
}

.bh-home .home-day-row{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:4px;
  margin-bottom:10px;
}

.bh-home .home-day-row>*{
  padding:7px 2px;
  text-align:center;
  border-radius:8px;
  background:#f4f8f4;
  font-size:9px;
}

.bh-home .home-day-row small{font-size:15px}

.bh-home .home-mini-event{
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 0;
  border-top:1px solid rgba(18,63,49,.1);
}

.bh-home .home-mini-thumb{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:8px;
  background:url("../../images/home/gemini_generated_image_dbeql8dbeql8dbeq-20260927-181224-80709b.jpeg") center/cover;
}

.bh-home .home-mini-thumb.second{background-image:url("../../images/home/gemini_generated_image_fi5el2fi5el2fi5e-20260927-181228-89394c.jpeg")}
.bh-home .home-mini-thumb.third{background-image:url("../../images/home/gemini_generated_image_khj2knkhj2knkhj2-20260927-181226-769ff1.jpeg")}

.bh-home .home-mini-event div{min-width:0;flex:1}
.bh-home .home-mini-event b,
.bh-home .home-mini-event small{display:block}
.bh-home .home-mini-event b{font-size:11px}
.bh-home .home-mini-event small{color:#5c7067;font-size:9px}
.bh-home .home-mini-event em{font-style:normal;color:#e65d7b}

.bh-home .home-full-button{
  width:100%;
  margin-top:10px;
}

.bh-home .home-profile-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin:16px 0;
}

.bh-home .home-avatar{
  width:53px;
  height:53px;
  flex:0 0 53px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#d6e8ea;
  color:#3c8e96;
  font-weight:900;
}

.bh-home .home-profile-row div{min-width:0;flex:1}
.bh-home .home-profile-row strong,
.bh-home .home-profile-row small{display:block}
.bh-home .home-profile-row small{font-size:10px;color:#5c7067}
.bh-home .home-profile-row a{
  padding:6px 9px;
  border-radius:999px;
  background:#e8f2ec;
  color:#416651;
  font-size:10px;
  font-weight:800;
}

.bh-home .home-account-links{
  display:grid;
  gap:0;
}

.bh-home .home-account-links a{
  padding:7px 0;
  border-top:1px solid rgba(18,63,49,.1);
  color:#123f31;
  font-size:11px;
}

.bh-home .home-logout{
  display:block;
  margin-top:12px;
  padding:7px;
  text-align:center;
  border:1px solid #ef6b7f;
  border-radius:999px;
  color:#df536b;
  font-size:10px;
  font-weight:800;
}

.bh-home .home-leader-preview>img{
  width:100%;
  height:125px;
  margin:12px 0;
  object-fit:cover;
  border-radius:12px;
}

.bh-home .home-leader-preview h3{
  margin:0;
  color:var(--bh-home-dark);
  font-family:Calibri,Arial,Helvetica,sans-serif;
  font-size:25px;
  line-height:1.05;
  font-weight:400;
}

.bh-home .home-leader-preview p{
  margin:8px 0;
  color:#5c7067;
  font-size:11px;
  line-height:1.4;
}

.bh-home .home-leader-icons{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:7px;
  margin-top:12px;
}

.bh-home .home-leader-icons span{
  padding:8px;
  text-align:center;
  background:#f1f7f2;
  border-radius:10px;
  color:#3c8e96;
  font-size:18px;
}

.bh-home .home-leader-icons small{
  display:block;
  color:#5c7067;
  font-size:8px;
}

.bh-home .home-admin-layout{
  display:grid;
  grid-template-columns:135px minmax(0,1fr);
  min-height:185px;
  overflow:hidden;
  margin-top:12px;
  border-radius:13px;
  background:#f4f8f5;
}

.bh-home .home-admin-layout aside{
  padding:13px;
  display:flex;
  flex-direction:column;
  gap:7px;
  background:#0d3b32;
  color:#fff;
  font-size:10px;
}

.bh-home .home-admin-layout aside strong{
  margin-bottom:6px;
  font-size:15px;
}

.bh-home .home-admin-layout aside a{opacity:.9}

.bh-home .home-admin-main{
  min-width:0;
  padding:13px;
}

.bh-home .home-admin-main h3{
  margin:0 0 12px;
  font-size:15px;
}

.bh-home .home-admin-stats{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
}

.bh-home .home-admin-stats b{
  padding:9px;
  border-radius:9px;
  background:#fff;
  color:var(--bh-home-dark);
  font-size:18px;
}

.bh-home .home-admin-stats small{
  display:block;
  color:#5c7067;
  font-size:7px;
  font-weight:700;
}

.bh-home .home-admin-main h4{
  margin:12px 0 4px;
  font-size:11px;
}

.bh-home .home-admin-main p{
  margin:0;
  color:#5c7067;
  font-size:9px;
}

.bh-home .home-footer{
  width:min(var(--bh-home-width),calc(100% - var(--bh-home-gutter)*2));
  margin:0 auto 12px;
  border-radius:0 0 24px 24px;
  background:#0d3b32;
  color:#fff;
}

.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}

.bh-home .home-newsletter form{display:flex}
.bh-home .home-newsletter input{
  min-width:0;
  flex:1;
  border:0!important;
  border-radius:999px 0 0 999px;
  background:#fff;
  padding:9px 12px;
}

.bh-home .home-newsletter button{
  width:40px;
  border:0;
  border-radius:0 999px 999px 0;
  background:#3c9fa9;
  color:#fff;
  font-weight:900;
}

@media(max-width:1100px){
  .bh-home .home-header .main-nav a{padding-inline:7px;font-size:11px}
  .bh-home .home-brand .brand-logo{max-width:215px}
  .bh-home .home-hero-copy{width:58%;padding-right:25px}
  .bh-home .home-search-fields{grid-template-columns:1fr 1fr}
  .bh-home .home-search-fields .button{grid-column:1/-1}
}

@media(max-width:900px){
  .bh-home .home-header{padding-inline:12px;gap:12px}
  .bh-home .home-header .main-nav{overflow-x:auto;justify-content:flex-start}
  .bh-home .home-activity-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bh-home .home-plan-band{grid-template-columns:130px minmax(0,1fr)}
  .bh-home .home-plan-benefits{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
  .bh-home .home-lower-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .bh-home .home-admin-preview{grid-column:1/-1}
}

@media(max-width:650px){
  .bh-home .site-header.home-header{
    width:calc(100% - 12px);
    min-height:64px;
    margin:6px auto 0;
    padding:7px 9px;
    border-radius:16px;
  }

  .bh-home .home-brand .brand-logo{
    height:45px;
    max-width:180px;
  }

  .bh-home .home-header .main-nav{
    display:none;
  }

  .bh-home .home-header-search{
    margin-left:auto;
    width:40px;
    height:40px;
  }

  .bh-home .home-header:after{
    content:"☰";
    display:grid;
    place-items:center;
    width:40px;
    height:40px;
    color:#0d3b32;
    font-size:23px;
    font-weight:900;
  }

  .bh-home .home-hero{
    width:calc(100% - 12px);
    min-height:610px;
    border-radius:0 0 22px 22px;
  }

  .bh-home .home-hero-image{
    border-radius:0 0 22px 22px;
    background-position:58% center;
  }

  .bh-home .home-hero-copy{
    width:100%;
    padding:28px 14px 330px;
  }

  .bh-home .home-brush{
    padding:20px 22px;
    font-size:30px;
  }

  .bh-home .home-hero-copy p{
    margin-top:18px;
    font-size:13px;
  }

  .bh-home .home-search{
    left:10px;
    right:10px;
    bottom:-125px;
    padding:15px;
    border-radius:20px;
  }

  .bh-home .home-search-fields{
    grid-template-columns:1fr;
  }

  .bh-home .home-search-fields .button{
    grid-column:auto;
  }

  .bh-home .home-category-row{
    width:calc(100% - 12px);
    margin-top:155px;
    grid-template-columns:1fr 1fr;
    padding:8px;
  }

  .bh-home .home-category-row a{
    justify-content:flex-start;
    border-right:0;
    border-bottom:1px solid rgba(18,63,49,.1);
  }

  .bh-home .home-category-row a:last-child{
    grid-column:1/-1;
    border-bottom:0;
  }

  .bh-home .home-section{
    width:calc(100% - 12px);
    padding:20px 0;
  }

  .bh-home .home-section-heading,
  .bh-home .home-lower-heading{
    align-items:flex-start;
  }

  .bh-home .home-section-heading h2,
  .bh-home .home-lower-heading h2{
    font-size:27px;
  }

  .bh-home .home-activity-grid{
    grid-template-columns:1fr 1fr;
  }

  .bh-home .home-card-image{height:125px}
  .bh-home .home-age-badge{top:108px}
  .bh-home .home-heart{top:130px}

  .bh-home .home-plan-band{
    width:calc(100% - 12px);
    grid-template-columns:1fr;
    padding:22px;
  }

  .bh-home .home-plan-photo{margin:auto}
  .bh-home .home-plan-benefits{grid-template-columns:1fr}

  .bh-home .home-lower-grid{
    width:calc(100% - 12px);
    grid-template-columns:1fr;
  }

  .bh-home .home-admin-preview{grid-column:auto}
  .bh-home .home-admin-layout{grid-template-columns:95px minmax(0,1fr)}
  .bh-home .home-admin-stats{grid-template-columns:1fr 1fr}

  .bh-home .home-footer{
    width:calc(100% - 12px);
  }
}

@media(max-width:420px){
  .bh-home .home-activity-grid,
  .bh-home .home-category-row{grid-template-columns:1fr}

  .bh-home .home-category-row a:last-child{grid-column:auto}

  .bh-home .home-brand .brand-logo{
    max-width:165px;
    height:42px;
  }

  .bh-home .home-hero{min-height:590px}
  .bh-home .home-brush{font-size:27px}
}


/* DIRECTORY — use the homepage visual language without changing home itself */
.bh-directory main.app-shell{
  width:min(var(--bh-home-width),calc(100% - var(--bh-home-gutter)*2));
  max-width:none;
  margin:0 auto;
  padding:34px 0 50px;
}
.bh-directory .directory-layout{
  display:grid;
  grid-template-columns:255px minmax(0,1fr);
  gap:22px;
  align-items:start;
}
.bh-directory .directory-results-column{min-width:0}
.bh-directory .directory-hero-search{
  position:relative;
  left:auto;
  right:auto;
  bottom:auto;
  width:100%;
  margin:0 0 22px;
}
.bh-directory .directory-search-advanced-link{
  appearance:none;
  border:0;
  background:transparent;
  cursor:pointer;
  width:auto;
  margin:7px 4px 0 auto;
}
.bh-directory .directory-filters-panel{
  position:sticky;
  top:18px;
  padding:18px;
  background:#fff;
  border:1px solid rgba(18,63,49,.08);
  border-radius:22px;
  box-shadow:0 8px 25px rgba(18,63,49,.06);
}
.bh-directory .directory-filter-fields{gap:4px}
.bh-directory .directory-filter-fields>div,
.bh-directory .directory-filter-fields>label{
  padding:9px 0;
  border-bottom:1px solid rgba(18,63,49,.08);
}
.bh-directory .directory-filter-fields>label:last-of-type{border-bottom:0}
.bh-directory .directory-filter-label,
.bh-directory .directory-filter-fields label{
  color:#416651;
  font-size:11px;
  font-weight:850;
}
.bh-directory .filter-input{
  min-height:42px;
  margin-top:5px;
  border:1px solid rgba(18,63,49,.12)!important;
  border-radius:12px!important;
  background:#f8fbf8!important;
}
.bh-directory .directory-advanced-section{padding-top:8px}
.bh-directory .directory-advanced-toggle{
  color:#416651;
}
.bh-directory .directory-results-heading{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:18px;
  margin:4px 0 12px;
}
.bh-directory .directory-results-heading h1{
  margin:0;
  color:#123f31;
  font-family:Calibri,Arial,Helvetica,sans-serif;
  font-size:32px;
  font-weight:400;
  line-height:1;
}
.bh-directory .directory-viewbar{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  margin:0;
}
.bh-directory .directory-viewbar #count{
  margin:0;
  color:#617261;
  font-size:12px;
  font-weight:800;
}
.bh-directory .directory-views{
  background:#fff;
  border:1px solid rgba(18,63,49,.08);
  border-radius:999px;
  padding:3px;
}
.bh-directory .directory-view{
  border:0;
  border-radius:999px;
  background:transparent;
  color:#617261;
  padding:7px 11px;
  font-size:11px;
  font-weight:800;
}
.bh-directory .directory-view.active{
  background:#d8e6db;
  color:#123f31;
}
.bh-directory .directory-count-control{
  display:none;
}
.bh-directory .activity-grid.directory-view-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:15px!important;
  margin-top:8px;
}
.bh-directory .activity-grid.directory-view-grid .activity-card{
  position:relative;
  display:block!important;
  overflow:hidden!important;
  min-width:0;
  background:#fff!important;
  border:1px solid rgba(18,63,49,.09)!important;
  border-radius:17px!important;
  box-shadow:0 8px 25px rgba(18,63,49,.06)!important;
  transform:none;
}
.bh-directory .activity-grid.directory-view-grid .activity-card:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 30px rgba(18,63,49,.10)!important;
}
.bh-directory .activity-grid.directory-view-grid .activity-image{
  height:158px!important;
  min-height:158px!important;
  background:#dceee1!important;
}
.bh-directory .activity-grid.directory-view-grid .activity-image img{
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
}
.bh-directory .activity-grid.directory-view-grid .activity-body{
  padding:17px 14px 15px!important;
  background:#fff!important;
}
.bh-directory .activity-grid.directory-view-grid .activity-meta{
  color:#3c8e96!important;
  font-size:10px!important;
  font-weight:900!important;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.bh-directory .activity-grid.directory-view-grid .activity-card h3{
  margin:0 0 8px!important;
  color:#123f31!important;
  font-size:18px!important;
  line-height:1.15!important;
}
.bh-directory .activity-grid.directory-view-grid .activity-card p{
  margin:5px 0!important;
  color:#5c7067!important;
  font-size:11px!important;
  line-height:1.35!important;
  font-weight:650!important;
}
.bh-directory .activity-grid.directory-view-grid .activity-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:8px!important;
  margin-top:10px!important;
  padding-top:10px!important;
  border-top:1px solid rgba(18,63,49,.07);
}
.bh-directory .activity-grid.directory-view-grid .text-link{
  color:#416651!important;
  font-size:11px;
  font-weight:850;
}
.bh-directory .activity-grid.directory-view-grid .bh-save{
  min-height:34px!important;
  padding:5px 10px!important;
  border-radius:999px!important;
  font-size:10px!important;
}
.bh-directory .directory-mobile-actions{display:none}
@media(max-width:1000px){
  .bh-directory .directory-layout{grid-template-columns:220px minmax(0,1fr)}
  .bh-directory .activity-grid.directory-view-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .bh-directory main.app-shell{width:calc(100% - 28px);padding-top:20px}
  .bh-directory .directory-layout{display:block}
  .bh-directory .directory-mobile-actions{display:flex;margin-bottom:10px}
  .bh-directory .directory-filter-toggle{width:100%;justify-content:space-between}
  .bh-directory .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;
  }
  .bh-directory .directory-filters-panel.is-open{transform:translateX(0)}
  .bh-directory .directory-results-heading{align-items:flex-start;flex-direction:column}
  .bh-directory .directory-viewbar{align-items:flex-start;width:100%}
  .bh-directory .directory-hero-search{border-radius:22px}
}
@media(max-width:560px){
  .bh-directory .directory-hero-search{padding:15px}
  .bh-directory .home-search-fields{grid-template-columns:1fr}
  .bh-directory .home-search-fields .button{width:100%}
  .bh-directory .activity-grid.directory-view-grid{grid-template-columns:1fr!important}
  .bh-directory .directory-results-heading h1{font-size:28px}
}


/* FINAL HOMEPAGE RESPONSIVE SCALE
   Keep typography, spacing and layout fluid between desktop, tablet and mobile.
   Avoid fixed text/image dimensions causing clipping at intermediate widths. */
.bh-home .home-hero-copy p{
  font-size:clamp(13px,1.25vw,16px);
}
.bh-home .home-section-heading h2,
.bh-home .home-lower-heading h2{
  font-size:clamp(26px,2.2vw,31px);
}
.bh-home .home-plan-copy h2{
  font-size:clamp(28px,2.7vw,35px);
}
.bh-home .home-card-body h3{
  font-size:clamp(16px,1.35vw,18px);
}
.bh-home .home-activity-card,
.bh-home .home-plan-band,
.bh-home .home-lower-card{
  min-width:0;
}
.bh-home .home-search h2{
  font-size:clamp(17px,1.7vw,21px);
}
.bh-home .home-category-row strong{
  font-size:clamp(11px,1.05vw,13px);
}

/* Medium desktop/tablet: let the hero and navigation breathe instead of
   squeezing fixed-width content into the viewport. */
@media (max-width:1200px) and (min-width:901px){
  .bh-home .site-header.home-header{
    padding-inline:14px;
    gap:12px;
  }
  .bh-home .home-header .main-nav{
    gap:0;
  }
  .bh-home .home-header .main-nav a{
    padding:8px 6px;
    font-size:10px;
  }
  .bh-home .home-brand .brand-logo{
    max-width:190px;
    height:54px;
  }
  .bh-home .home-hero{
    min-height:560px;
  }
  .bh-home .home-hero-copy{
    width:57%;
    padding:46px 28px 155px 20px;
  }
  .bh-home .home-brush{
    font-size:clamp(34px,4vw,46px);
    padding:21px 26px 25px;
  }
  .bh-home .home-search{
    left:22px;
    right:22px;
  }
  .bh-home .home-search-fields{
    grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) auto;
  }
  .bh-home .home-search-fields .button{
    grid-column:auto;
  }
  .bh-home .home-category-row a{
    gap:7px;
    padding-inline:7px;
  }
  .bh-home .home-category-icon{
    width:44px;
    height:44px;
    flex-basis:44px;
    font-size:20px;
  }
}

/* Tablet: stack the hero content naturally and keep all text inside the
   viewport rather than relying on desktop-sized offsets. */
@media (max-width:900px) and (min-width:651px){
  .bh-home .home-hero{
    min-height:560px;
  }
  .bh-home .home-hero-copy{
    width:62%;
    padding:42px 24px 150px 18px;
  }
  .bh-home .home-brush{
    font-size:clamp(32px,5vw,44px);
    padding:20px 24px 24px;
  }
  .bh-home .home-search{
    left:18px;
    right:18px;
    bottom:-105px;
  }
  .bh-home .home-search-fields{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  }
  .bh-home .home-search-fields .button{
    grid-column:auto;
    min-width:100px;
    padding-inline:15px;
  }
  .bh-home .home-category-row{
    margin-top:130px;
  }
  .bh-home .home-category-row a{
    gap:6px;
    padding-inline:6px;
  }
  .bh-home .home-category-icon{
    width:42px;
    height:42px;
    flex-basis:42px;
    font-size:19px;
  }
  .bh-home .home-plan-band{
    grid-template-columns:115px minmax(0,1fr);
    gap:18px;
    padding:24px;
  }
  .bh-home .home-plan-photo{
    width:115px;
    height:115px;
  }
}

/* Prevent text/buttons from overflowing narrow cards and headings. */
.bh-home .home-section-heading>div,
.bh-home .home-lower-heading>div,
.bh-home .home-plan-copy,
.bh-home .home-profile-row div,
.bh-home .home-admin-main{
  min-width:0;
}
.bh-home .home-section-heading h2,
.bh-home .home-lower-heading h2,
.bh-home .home-plan-copy h2,
.bh-home .home-leader-preview h3{
  overflow-wrap:anywhere;
}
.bh-home .home-view-all,
.bh-home .home-lower-heading>a,
.bh-home .home-profile-row a{
  flex:0 0 auto;
  white-space:nowrap;
}

/* Small phones: reduce fixed image heights and let copy determine card height. */
@media (max-width:560px){
  .bh-home .home-section-heading,
  .bh-home .home-lower-heading{
    gap:8px;
  }
  .bh-home .home-section-heading h2,
  .bh-home .home-lower-heading h2{
    font-size:clamp(23px,7vw,28px);
  }
  .bh-home .home-view-all,
  .bh-home .home-lower-heading>a{
    font-size:11px;
  }
  .bh-home .home-card-image{
    height:clamp(112px,32vw,145px);
  }
  .bh-home .home-age-badge{
    top:calc(clamp(112px,32vw,145px) - 17px);
  }
  .bh-home .home-heart{
    top:calc(clamp(112px,32vw,145px) + 3px);
  }
  .bh-home .home-card-body{
    padding:14px 12px 13px;
  }
  .bh-home .home-card-body h3{
    font-size:16px;
  }
  .bh-home .home-card-body p{
    font-size:10px;
  }
  .bh-home .home-plan-copy h2{
    font-size:clamp(27px,8vw,34px);
  }
}

/* Very narrow phones: single-column content where two-column cards become
   too cramped, while keeping the hero readable. */
@media (max-width:380px){
  .bh-home .home-hero-copy{
    padding-inline:9px;
  }
  .bh-home .home-brush{
    font-size:26px;
    padding:18px 18px 21px;
  }
  .bh-home .home-hero-copy p{
    font-size:12px;
  }
  .bh-home .home-search{
    left:7px;
    right:7px;
    padding:13px;
  }
  .bh-home .home-category-row,
  .bh-home .home-activity-grid{
    grid-template-columns:1fr;
  }
  .bh-home .home-category-row a:last-child{
    grid-column:auto;
  }
  .bh-home .home-category-row a{
    min-height:58px;
  }
}


/* FINAL HOMEPAGE MOBILE NAV */
@media(max-width:650px){
  body.bh-home .site-header{
    position:relative;
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    width:calc(100% - 12px);
    min-height:64px;
    margin:6px auto 12px;
    padding:8px 12px;
    box-sizing:border-box;
    border-radius:16px;
    z-index:100;
  }
  body.bh-home .mobile-nav-toggle{
    display:grid!important;
    place-items:center;
    width:40px;
    height:40px;
    margin-left:auto;
    padding:7px;
    border:0;
    border-radius:50%;
    background:#e7f1ea;
    cursor:pointer;
  }
  body.bh-home .mobile-nav-toggle span{
    display:block;
    width:20px;
    height:2px;
    margin:2px 0;
    background:#144400;
    border-radius:99px;
  }
  body.bh-home .site-header .main-nav{
    display:none!important;
    order:4;
    width:100%;
    flex:0 0 100%;
    padding:8px 0 2px;
    flex-direction:column;
    align-items:stretch;
    overflow:visible;
  }
  body.bh-home .site-header.mobile-menu-open .main-nav{
    display:flex!important;
  }
  body.bh-home .site-header .main-nav a{
    display:block;
    width:100%;
    box-sizing:border-box;
    padding:12px 13px;
    border-radius:10px;
    font-size:14px;
  }
  body.bh-home .site-header.mobile-menu-open .home-header-search{
    display:none;
  }
}


/* FINAL logo sizing — keep the Bubba Hub header compact */
.bh-home .home-brand .brand-logo{
  height:44px!important;
  max-width:190px!important;
  width:auto!important;
}
@media(max-width:650px){
  body.bh-home .home-brand .brand-logo{
    height:38px!important;
    max-width:165px!important;
  }
}


/* FINAL PAGE FRAME — HOMEPAGE */
.bh-home .site-header.home-header{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:15px !important;
  padding-right:15px !important;
  box-sizing:border-box !important;
}
.bh-home .home-hero,
.bh-home .home-category-row,
.bh-home .home-section,
.bh-home .home-plan-band,
.bh-home .home-lower-grid,
.bh-home .home-footer{
  width:calc(100% - 30px) !important;
  max-width:none !important;
  margin-left:15px !important;
  margin-right:15px !important;
  box-sizing:border-box !important;
}
@media(max-width:650px){
  .bh-home .site-header.home-header{padding-left:6px !important;padding-right:6px !important}
  .bh-home .home-hero,
  .bh-home .home-category-row,
  .bh-home .home-section,
  .bh-home .home-plan-band,
  .bh-home .home-lower-grid,
  .bh-home .home-footer{
    width:calc(100% - 12px) !important;
    margin-left:6px !important;
    margin-right:6px !important;
  }
}


/* Dynamic homepage planner states */
.home-planner-content{min-height:210px;display:flex;flex-direction:column;gap:10px}
.home-planner-guest,.home-planner-empty{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:210px;padding:24px;border-radius:18px;background:#f4f8f5;text-align:left}
.home-planner-guest h3,.home-planner-empty h3{margin:6px 0 4px;color:#144400}
.home-planner-guest p,.home-planner-empty p{margin:0 0 16px;color:#617261;max-width:460px}
.home-planner-icon{font-size:28px;color:#3c8e96;font-weight:900}
.home-planner-content .home-mini-event{margin:0}
.home-planner-content .home-full-button{margin-top:auto}
.home-newsletter-status{min-height:18px;margin:6px 0 0;font-size:12px;color:#617261}
@media(max-width:650px){.home-planner-guest,.home-planner-empty{padding:18px;min-height:180px}}


/* =========================================================================
   BUBBA HUB — CONSOLIDATED: DIRECTORY.CSS
   ========================================================================= */

/* Bubba Hub Directory — consolidated styles
   Single source of truth for directory layout, search, listings, map and mobile controls. */

.bh-directory{
  background:#f7fbf8;
  color:var(--bh-site-dark,#0d3b32);
}
.bh-directory .app-shell{
  width:min(1380px,calc(100% - 32px));
  max-width:1380px;
  margin:0 auto;
  min-width:0;
}

/* Search panel */
.bh-directory .directory-hero-fullwidth{
  width:100%;
  max-width:none;
  margin:0 0 22px;
  box-sizing:border-box;
}
.bh-directory .directory-hero-search{
  position:static;
  width:100%;
  max-width:none;
  min-height:0;
  margin:0;
  padding:18px 20px 16px;
  box-sizing:border-box;
  overflow:visible;
  border:1px solid rgba(65,102,81,.10);
  border-radius:20px;
  background:#e7f1ea;
  box-shadow:0 6px 18px rgba(20,68,0,.055);
}
.bh-directory .directory-hero-search::before,
.bh-directory .directory-hero-search::after{display:none}
.bh-directory .directory-hero-search h2{
  margin:0 0 11px;
  color:#144400;
  font-family:inherit;
  font-size:clamp(22px,2.4vw,30px);
  line-height:1.15;
  font-weight:900;
}
.bh-directory .directory-hero-search-fields{
  display:grid;
  grid-template-columns:minmax(180px,1.6fr) repeat(4,minmax(105px,1fr)) minmax(96px,108px);
  gap:8px;
  align-items:center;
  width:100%;
}
.bh-directory .directory-hero-search-fields label{
  display:flex;
  align-items:center;
  width:auto;
  min-width:0;
  min-height:46px;
  height:46px;
  padding:0 10px;
  box-sizing:border-box;
  border:1px solid rgba(20,68,0,.08);
  border-radius:13px;
  background:rgba(255,255,255,.94);
  box-shadow:0 2px 8px rgba(18,63,49,.04);
}
.bh-directory .directory-hero-search-fields label>span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  flex:0 0 20px;
  margin-right:6px;
  color:var(--bh-site-teal,#3c8e96);
  font-size:15px;
  font-weight:900;
}
.bh-directory .directory-hero-search input,
.bh-directory .directory-hero-search select{
  width:100%;
  min-width:0;
  min-height:42px;
  padding:8px 2px;
  border:0;
  outline:0;
  background:transparent;
  box-shadow:none;
  font-size:13px;
}
.bh-directory .directory-hero-search .button{
  width:100%;
  min-width:0;
  min-height:46px;
  height:46px;
  padding:0 12px;
  border-radius:13px;
  font-weight:900;
}
.bh-directory .directory-hero-actions{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  flex-wrap:nowrap;
  margin-top:9px;
  min-height:0;
  overflow-x:auto;
  overflow-y:hidden;
  padding-bottom:2px;
}
.bh-directory .directory-search-advanced-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  margin:0;
  padding:0 15px;
  border:1px solid rgba(20,68,0,.12);
  border-radius:14px;
  background:#416651;
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
  box-shadow:0 6px 16px rgba(20,68,0,.10);
}
.bh-directory .directory-search-advanced-link:hover{
  background:#f6c84a;
  border-color:#f6c84a;
  color:#144400;
}
.bh-directory .directory-calendar-hero-button,
.bh-directory .directory-map-action-button,
.bh-directory .directory-map-hero-button,
.bh-directory .directory-planner-action-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:42px;
  padding:0 15px;
  border:1px solid rgba(20,68,0,.12);
  border-radius:14px;
  background:#416651;
  color:#fff;
  font-size:13px;
  font-weight:900;
  line-height:1;
  white-space:nowrap;
  text-decoration:none;
  box-shadow:0 6px 16px rgba(20,68,0,.10);
}
.bh-directory .directory-calendar-hero-button:hover,
.bh-directory .directory-map-action-button:hover,
.bh-directory .directory-map-hero-button:hover,
.bh-directory .directory-planner-action-button:hover{
  background:#f6c84a;
  border-color:#f6c84a;
  color:#144400;
}
.bh-directory .directory-popular{
  display:flex;
  align-items:center;
  gap:7px;
  flex-wrap:wrap;
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid rgba(20,68,0,.09);
}
.bh-directory .directory-popular-label{
  margin-right:2px;
  color:#144400;
  font-size:12px;
  font-weight:900;
}
.bh-directory .directory-popular-chip{
  padding:7px 11px;
  border:1px solid rgba(20,68,0,.08);
  border-radius:999px;
  background:rgba(255,255,255,.78);
  color:#144400;
  font:800 12px Calibri,Arial,Helvetica,sans-serif;
  cursor:pointer;
  box-shadow:0 2px 8px rgba(20,68,0,.04);
}
.bh-directory .directory-popular-chip:hover{
  background:#fff;
  border-color:var(--bh-site-teal,#3c8e96);
  transform:translateY(-1px);
}
.bh-directory .directory-popular-chip.active{
  background:var(--bh-site-teal,#3c8e96);
  border-color:var(--bh-site-teal,#3c8e96);
  color:#fff;
}

/* Desktop: true 50/50 listings + map — explicit grid areas prevent overlap */
/* The advanced filters are a modal/drawer, so they must not reserve a
   desktop grid column when closed. The visible directory content owns the
   full page width. */
.bh-directory .directory-layout{
  display:block;
  width:100%;
  max-width:none;
  min-width:0;
  margin:0;
}
.bh-directory .directory-results-column{

  display:grid;
  width:100%;
  max-width:none;
  min-width:0;
  box-sizing:border-box;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  grid-template-areas:
    "heading map"
    "results map"
    "all map";
  column-gap:24px;
  row-gap:0;
  align-items:start;
  min-width:0;
}
.bh-directory .directory-results-column > .directory-results-heading{
  grid-area:heading;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.bh-directory .directory-results-column > #results{
  grid-area:results;
  width:100%;
  min-width:0;
  max-width:none;
  box-sizing:border-box;
}
.bh-directory .directory-results-column > .directory-all-link-wrap{
  grid-area:all;
  width:100%;
  min-width:0;
  box-sizing:border-box;
}
.bh-directory .directory-results-column > #mapView{
  grid-area:map;
  align-self:start;
  width:100%;
  max-width:none;
  min-width:0;
  box-sizing:border-box;
  z-index:0;
}
.bh-directory .directory-results-column > #results,
.bh-directory .directory-results-column > .directory-all-link-wrap{
  position:relative;
  z-index:1;
}
/* Heading placement is controlled by grid-template-areas above */
.bh-directory .directory-results-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  margin:0 0 14px;
  padding:0;
  min-width:0;
}
.bh-directory .directory-results-heading .eyebrow{
  display:block;
  margin-bottom:4px;
  color:var(--bh-site-teal,#3c8e96);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bh-directory .directory-results-heading h1{
  margin:0;
  color:var(--bh-site-dark,#0d3b32);
  font-size:clamp(30px,3.4vw,42px);
}
.bh-directory .directory-results-heading #count{
  margin:4px 0 0;
  color:var(--bh-site-muted,#617261);
}
/* Keep the bottom action under the listings, never in the map column */
 .bh-directory .directory-all-link-wrap{
  width:100%;
  min-width:0;
  margin-top:2px;
}

.bh-directory .directory-all-link{
  white-space:nowrap;
  border-radius:14px;
  font-weight:900;
}

/* Listings — stacked card grid */
.bh-directory #results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;width:100%;min-width:0}
.bh-directory #results .activity-card{display:flex;flex-direction:column;width:100%;min-height:0}
.bh-directory .activity-card{background:#fff;border:1px solid rgba(65,102,81,.12);border-radius:22px;overflow:hidden;box-shadow:0 8px 24px rgba(20,68,0,.07);min-width:0;transition:transform .18s ease,box-shadow .18s ease}
.bh-directory .activity-card:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(20,68,0,.11)}
.bh-directory .activity-image{height:190px;min-height:190px;background:linear-gradient(135deg,#dceee1,#d6e8ea);display:grid;place-items:center;overflow:hidden;color:var(--bh-site-dark,#0d3b32);font-weight:850}
.bh-directory .activity-image img{width:100%;height:100%;object-fit:cover}
.bh-directory .activity-body{display:flex;flex-direction:column;min-width:0;padding:17px 18px 18px}
.bh-directory .activity-meta{color:var(--bh-site-teal,#3c8e96);font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em}
.bh-directory .activity-card h3{margin:6px 0 7px;color:var(--bh-site-dark,#0d3b32);font-size:20px;line-height:1.14}
.bh-directory .activity-card p{margin:0 0 14px;color:var(--bh-site-muted,#617261);line-height:1.45}
.bh-directory .activity-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:auto}
.bh-directory .activity-footer .button{min-height:38px;padding:8px 14px;font-size:12px}
.bh-directory .directory-load-more,.bh-directory .directory-end-message{width:100%;box-sizing:border-box;padding:14px 10px 8px;color:var(--bh-site-muted,#617261);font-size:12px;font-weight:800;text-align:center}
.bh-directory .directory-load-more{min-height:34px}
.bh-directory .activity-card[data-activity-id]{cursor:pointer}
.bh-directory .activity-card[data-activity-id]:focus-visible{outline:3px solid currentColor;outline-offset:3px}

/* Map */
 .bh-directory #mapView{
  position:relative;
  top:auto;
  align-self:start;
  width:100%;
  height:min(72vh,720px);
  min-height:520px;
  margin:0;
  border:1px solid rgba(65,102,81,.12);
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(20,68,0,.08);
}
.bh-directory .directory-map-expand{
  position:absolute;
  top:14px;
  right:14px;
  z-index:1000;
  padding:9px 13px;
  border:1px solid rgba(20,68,0,.12);
  border-radius:12px;
  background:#fff;
  color:var(--bh-site-dark,#0d3b32);
  font-weight:900;
  box-shadow:0 5px 14px rgba(20,68,0,.12);
}
.bh-directory .directory-map-expand:hover{background:#e7f1ea}
.bh-directory .directory-calendar{
  grid-column:1 / -1;
  min-height:300px;
}

/* Advanced filters */
/* Shared Advanced Filters — one modal/drawer across Directory, Calendar and Map.
   This intentionally overrides older theme sidebar styling. */
.directory-filters-panel{
  position:fixed;
  z-index:10001;
  top:20px;
  left:50%;
  bottom:auto;
  width:min(420px,calc(100vw - 32px));
  max-height:calc(100vh - 40px);
  overflow:auto;
  padding:22px;
  box-sizing:border-box;
  transform:translate(-50%,-16px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  background:#fff;
  border:1px solid var(--bh-site-border,#d8e6db);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(13,59,50,.22);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.directory-filters-panel.is-open{
  transform:translate(-50%,0);
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
@media(max-width:700px){
  .directory-filters-panel{
    top:12px;
    width:calc(100vw - 24px);
    max-height:calc(100vh - 24px);
    padding:18px;
    border-radius:20px;
  }
}

.bh-directory .directory-mobile-actions{display:none}
.bh-directory .directory-filters-panel{
  position:fixed;
  z-index:10001;
  top:20px;
  left:50%;
  width:min(420px,calc(100vw - 32px));
  max-height:calc(100vh - 40px);
  overflow:auto;
  padding:22px;
  box-sizing:border-box;
  transform:translate(-50%,-16px);
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  background:#fff;
  border:1px solid var(--bh-site-border);
  border-radius:24px;
  box-shadow:0 24px 70px rgba(13,59,50,.22);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
.bh-directory .directory-filters-panel.is-open{
  transform:translate(-50%,0);
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}
.bh-directory .directory-filters-header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin:-2px 0 18px;
  padding-bottom:14px;
  border-bottom:1px solid var(--bh-site-border);
}
.bh-directory .directory-filters-header .eyebrow{
  display:block;
  margin-bottom:3px;
  color:var(--bh-site-teal);
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.bh-directory .directory-filters-header h2{
  margin:0;
  color:var(--bh-site-dark);
  font-size:22px;
  line-height:1.1;
}
.bh-directory .directory-filters-close{
  display:grid;
  place-items:center;
  flex:0 0 38px;
  width:38px;
  height:38px;
  margin:-2px -2px 0 0;
  border:1px solid var(--bh-site-border);
  border-radius:50%;
  background:#f7fbf8;
  color:var(--bh-site-dark);
  font-size:27px;
  font-weight:500;
  line-height:1;
}
.bh-directory .directory-filter-fields,
.bh-directory .directory-advanced-fields{display:grid;gap:13px}
.bh-directory .directory-advanced-fields{padding-top:8px}
.bh-directory .directory-advanced-fields[hidden]{display:none}
.bh-directory .directory-filter-label{
  display:block;
  margin-bottom:6px;
  color:var(--bh-site-muted);
  font-size:12px;
  font-weight:850;
}
.bh-directory .directory-filters-panel select{
  width:100%;
  min-height:44px;
  padding:9px 11px;
}
.bh-directory .filter-check{
  display:flex;
  align-items:center;
  gap:9px;
  padding:10px 0;
  color:var(--bh-site-dark);
  font-size:13px;
  font-weight:800;
}
.bh-directory .filter-check input,
.bh-directory .filter-free input{
  width:18px;
  height:18px;
  accent-color:var(--bh-site-teal);
}
.bh-directory .directory-advanced-section{
  margin-top:2px;
  padding-top:11px;
  border-top:1px solid var(--bh-site-border);
}
.bh-directory .directory-advanced-toggle{
  width:100%;
  padding:8px 0;
  border:0;
  background:transparent;
  color:var(--bh-site-dark);
  text-align:left;
  font-weight:850;
}
.bh-directory .directory-nearby-button,
.bh-directory .directory-clear{width:100%}
.bh-directory .directory-clear{margin-top:6px}
.bh-directory .directory-nearby-status{
  display:block;
  margin-top:5px;
  color:var(--bh-site-muted);
  font-size:11px;
}
.bh-directory .directory-accessibility-fieldset{
  border:0;
  margin:0;
  padding:0;
  min-width:0;
}
.bh-directory .directory-accessibility-expand{
  overflow:hidden;
  border:1px solid var(--bh-site-border);
  border-radius:14px;
  background:#f7fbf8;
}
.bh-directory .directory-accessibility-expand summary{
  padding:11px 13px;
  color:var(--bh-site-dark);
  font-size:13px;
  font-weight:850;
  cursor:pointer;
  list-style:none;
}
.bh-directory .directory-accessibility-expand summary::-webkit-details-marker{display:none}
.bh-directory .directory-accessibility-expand summary:after{content:"＋";float:right;font-size:17px;line-height:1}
.bh-directory .directory-accessibility-expand[open] summary:after{content:"−"}
.bh-directory .directory-accessibility-options{
  padding:4px 13px 9px;
  border-top:1px solid var(--bh-site-border);
  background:#fff;
}
.bh-directory .directory-accessibility-options .filter-check{padding:8px 0}
.bh-directory.directory-filter-open::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:10000;
  background:rgba(13,59,50,.35);
  backdrop-filter:blur(2px);
}

/* Mobile map link — Listings | Map toggle removed */
.bh-directory .directory-mobile-view-toggle{display:none!important}
.bh-directory .directory-mobile-map-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;margin:0;border-radius:14px;background:var(--bh-site-secondary,#3c8e96);color:#fff;font-weight:900;text-decoration:none}
.bh-directory .directory-mobile-map-link:hover{background:var(--bh-site-dark,#416651);color:#fff}

/* Map modal helpers */
.bh-directory .directory-map-modal{
  position:fixed;
  inset:0;
  z-index:11000;
  display:none;
  padding:28px;
  background:rgba(13,59,50,.48);
  backdrop-filter:blur(3px);
}
.bh-directory .directory-map-modal.is-open{
  display:flex;
  align-items:center;
  justify-content:center;
}
.bh-directory .directory-map-modal-inner{
  position:relative;
  width:min(1200px,96vw);
  height:min(820px,90vh);
  background:#fff;
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 30px 90px rgba(13,59,50,.28);
}
.bh-directory .directory-map-modal .directory-map-modal-map{width:100%;height:100%}
.bh-directory .directory-map-modal-close,
.bh-directory #mapView .directory-map-modal-close{
  position:absolute;
  top:14px;
  right:14px;
  z-index:1001;
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid rgba(20,68,0,.12);
  border-radius:50%;
  background:#fff;
  color:var(--bh-site-dark);
  font-size:25px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 5px 14px rgba(20,68,0,.12);
}
.bh-directory #mapView .directory-map-modal-close{display:none}
.bh-directory.directory-map-modal-open{overflow:hidden}
.bh-directory #mapView.is-map-modal{
  position:fixed!important;
  z-index:12000!important;
  inset:5vh 5vw!important;
  width:90vw!important;
  height:90vh!important;
  min-height:0!important;
  margin:0!important;
  border-radius:24px!important;
  box-shadow:0 30px 90px rgba(13,59,50,.32)!important;
}
.bh-directory #mapView.is-map-modal .directory-map-expand{display:none}
.bh-directory #mapView.is-map-modal .directory-map-modal-close{display:grid}

/* Desktop navigation is full browser width on the directory */
@media(min-width:621px){
  body.bh-directory .site-header{
    width:100%!important;
    max-width:none!important;
    margin-top:0!important;
    border-radius:0!important;
    padding-left:max(16px,var(--bh-page-gutter,24px))!important;
    padding-right:max(16px,var(--bh-page-gutter,24px))!important;
  }
  body.bh-directory .site-header .main-nav{flex:1 1 auto}
}

/* Tablet */
@media(max-width:1100px) and (min-width:701px){
  .bh-directory .directory-hero-search-fields{grid-template-columns:repeat(3,minmax(0,1fr))}
  .bh-directory .directory-hero-search .button{width:100%}
}

/* Mobile */
@media(max-width:900px){
  .bh-directory .directory-results-column{display:block}
  .bh-directory #mapView{display:none!important}
  .bh-directory #results{display:grid;grid-template-columns:1fr;gap:14px}
  .bh-directory #results .activity-card{display:flex;flex-direction:column;width:100%;min-height:0}
  .bh-directory #results .activity-image{width:100%;height:190px;min-height:190px}
  .bh-directory .directory-results-heading{display:flex;align-items:flex-start;flex-direction:column;gap:0;width:100%;margin-bottom:14px}
  .bh-directory .directory-mobile-view-toggle{display:none!important}
  .bh-directory .directory-mobile-map-link{display:flex!important}
  .bh-directory .directory-hero-actions{flex-wrap:wrap;overflow:visible}
  .bh-directory .directory-calendar-hero-button,
  .bh-directory .directory-map-action-button,
  .bh-directory .directory-map-hero-button,
  .bh-directory .directory-planner-action-button{flex:1 1 180px}
  .bh-directory .directory-all-link{width:100%;text-align:center}
  .bh-directory .directory-hero-search{padding:19px 15px 15px;border-radius:18px}
  .bh-directory .directory-hero-search-fields{grid-template-columns:1fr}
  .bh-directory .directory-hero-search h2{font-size:26px;margin-bottom:12px}
  .bh-directory .directory-hero-fullwidth{margin-bottom:20px}
  .bh-directory .directory-popular{gap:6px}
  .bh-directory .directory-popular-chip{padding:7px 10px;font-size:11px}
  .bh-directory .directory-map-modal{padding:10px}
  .bh-directory .directory-map-modal-inner{width:100%;height:92vh;border-radius:18px}
}

/* Small mobile */
@media(max-width:420px){
  .bh-directory .app-shell{width:calc(100% - 20px)}
  .bh-directory .directory-hero-search{padding:18px 13px 14px}
  .bh-directory .directory-hero-search h2{font-size:25px}
}



/* Directory content breathing room */
.bh-directory main.app-shell{
  padding-top:24px !important;
}
@media(max-width:650px){
  .bh-directory main.app-shell{
    padding-top:16px !important;
  }
}

/* FINAL PAGE FRAME — DIRECTORY */
.bh-directory main.app-shell{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
  padding-left:15px !important;
  padding-right:15px !important;
  box-sizing:border-box !important;
}
.bh-directory .directory-layout{
  width:100% !important;
  max-width:none !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
@media(max-width:650px){
  .bh-directory main.app-shell{padding-left:12px !important;padding-right:12px !important}
}


/* FINAL MOBILE DIRECTORY CARD RESET
   Keeps listings stacked on phones even if legacy activity-card/list rules
   are present earlier in the shared stylesheet. */
@media (max-width: 900px){
  body.bh-directory .directory-results-column{
    display:block !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
  }

  body.bh-directory #results.activity-grid{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:14px !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
  }

  body.bh-directory #results.activity-grid .activity-card{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    min-height:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
    grid-template-columns:none !important;
  }

  body.bh-directory #results.activity-grid .activity-image{
    display:block !important;
    width:100% !important;
    height:190px !important;
    min-height:190px !important;
    max-height:190px !important;
    flex:0 0 190px !important;
    box-sizing:border-box !important;
  }

  body.bh-directory #results.activity-grid .activity-image img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:cover !important;
  }

  body.bh-directory #results.activity-grid .activity-body{
    display:flex !important;
    flex-direction:column !important;
    width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
    padding:17px 18px 18px !important;
  }

  body.bh-directory #results.activity-grid .activity-card h3,
  body.bh-directory #results.activity-grid .activity-card p,
  body.bh-directory #results.activity-grid .activity-meta{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    overflow-wrap:anywhere !important;
    word-break:normal !important;
  }

  body.bh-directory #results.activity-grid .activity-footer{
    width:100% !important;
    min-width:0 !important;
  }
}

@media (max-width:420px){
  body.bh-directory #results.activity-grid .activity-image{
    height:180px !important;
    min-height:180px !important;
    max-height:180px !important;
    flex-basis:180px !important;
  }

  body.bh-directory #results.activity-grid .activity-body{
    padding:15px !important;
  }
}


/* Final mobile hero visibility safeguard */
@media (max-width:900px) {
  body.bh-directory .directory-hero-fullwidth[data-bh-directory-hero] {
    display:block !important;
    visibility:visible !important;
    opacity:1 !important;
  }
  body.bh-directory .directory-hero-search {
    display:block !important;
    visibility:visible !important;
  }
}


/* Directory/map view switch */
.bh-directory .directory-map-hero-button{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:46px;padding:0 20px;border:1px solid rgba(20,68,0,.12);
  border-radius:14px;background:#3c8e96;color:#fff;font-size:13px;font-weight:900;
  line-height:1;white-space:nowrap;text-decoration:none;
  box-shadow:0 6px 16px rgba(20,68,0,.10);
  transition:background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.bh-directory .directory-map-hero-button:hover,
.bh-directory .directory-map-hero-button:focus-visible{
  background:#f6c84a;color:#144400;border-color:#f6c84a;
  transform:translateY(-1px);box-shadow:0 8px 18px rgba(20,68,0,.12);
}
.bh-directory .directory-map-hero-button:focus-visible{outline:3px solid rgba(60,142,150,.28);outline-offset:2px}
@media(max-width:900px){.bh-directory .directory-map-hero-button{flex:1 1 180px;min-height:46px}}

@media (max-width:1180px) and (min-width:901px){
  .bh-directory .directory-hero-search-fields{
    grid-template-columns:minmax(180px,1.7fr) repeat(2,minmax(130px,1fr));
  }
}
@media (max-width:900px){
  .bh-directory .directory-hero-fullwidth{margin-bottom:18px}
  .bh-directory .directory-hero-search{padding:16px 14px 14px;border-radius:18px}
  .bh-directory .directory-hero-search h2{font-size:25px;margin-bottom:10px}
  .bh-directory .directory-hero-search-fields{grid-template-columns:1fr;gap:7px}
  .bh-directory .directory-hero-search-fields label,
  .bh-directory .directory-hero-search .button{min-height:46px;height:46px}
  .bh-directory .directory-hero-actions{gap:7px}
  .bh-directory .directory-search-advanced-link,
  .bh-directory .directory-calendar-hero-button,
  .bh-directory .directory-map-action-button,
  .bh-directory .directory-map-hero-button,
  .bh-directory .directory-planner-action-button{flex:1 1 170px;min-height:42px;padding-inline:12px}
}
@media (max-width:520px){
  .bh-directory .app-shell{width:calc(100% - 20px)}
  .bh-directory .directory-hero-search{padding:15px 12px 13px;border-radius:16px}
  .bh-directory .directory-hero-search h2{font-size:23px}
  .bh-directory .directory-popular{gap:6px;margin-top:8px;padding-top:8px}
  .bh-directory .directory-popular-chip{padding:6px 9px;font-size:11px}
}


/* =========================================================================
   BUBBA HUB — CONSOLIDATED: ACTIVITY.CSS
   ========================================================================= */

/* Bubba Hub — Activity Detail (tidied)
   One rule per component, mobile-last. Values are the winners of the previous
   cascade, so the desktop look is unchanged except where marked /* FIX */.
   !important is kept on purpose until this is verified against the site's base CSS.

   Contents: 0 Tokens & frame · 1 Header · 2 Search · 3 Hero · 4 Body grid
             5 About · 6 Schedule · 7 Contact · 8 Organiser · 9 Hours card · 10 Footer */

/* 0. TOKENS & PAGE FRAME ------------------------------------------------ */
html,body{max-width:100%;overflow-x:hidden}
*,*::before,*::after{box-sizing:border-box}

body:not(.bh-home){
  --ad-ink:#144400; --ad-forest:#1B4D3E; --ad-teal:#3c8e96;
  --ad-mint:#e7f1ea; --ad-pale:#d9eadf; --ad-line:#d8e6db; --ad-line-soft:#d9e5dc;
  --ad-font:Calibri,Arial,Helvetica,sans-serif;
  padding-left:clamp(16px,3vw,50px)!important;
  padding-right:clamp(16px,3vw,50px)!important;
  overflow-x:hidden!important;
}
body:not(.bh-home) .app-shell,
body:not(.bh-home) > main.app-shell{
  position:relative!important;z-index:1!important;
  width:100%!important;max-width:none!important;height:auto!important;
  margin:0!important;padding:0!important;overflow:visible!important;
}
body:not(.bh-home) .app-shell > .listing-page{
  position:relative!important;z-index:1!important;
  width:100%!important;max-width:none!important;margin:0!important;padding:0 0 40px!important;
}

/* 1. HEADER ------------------------------------------------------------- */
body:not(.bh-home) > .site-header.activity-reference-header{
  position:relative!important;z-index:10!important;
  width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0 0 32px!important;padding:12px 15px 16px!important;
  background:var(--ad-line)!important;border:0!important;border-radius:0 0 18px 18px!important;
  box-shadow:none!important;overflow:visible!important;
}
body:not(.bh-home) .activity-reference-header .activity-header-top{
  position:relative!important;z-index:11!important;
  display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:18px!important;
  width:100%!important;max-width:none!important;min-width:0!important;height:auto!important;margin:0 auto!important;
}
body:not(.bh-home) .activity-reference-header .brand{
  display:flex!important;flex:0 0 auto!important;align-items:center!important;
  width:auto!important;min-width:0!important;margin:0 auto 0 0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body:not(.bh-home) .activity-reference-header .brand strong,
body:not(.bh-home) .activity-reference-header .brand small{display:none!important}
body:not(.bh-home) .activity-reference-header .brand-logo{
  content:url("images/logos/mainlogo-20260924-221429-7e305d.jpg")!important;
  display:block!important;flex:0 0 auto!important;
  width:auto!important;height:100px!important;min-width:0!important;max-width:190px!important;
  object-fit:contain!important;object-position:left center!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body:not(.bh-home) .activity-reference-header .main-nav{
  display:flex!important;flex:0 1 auto!important;flex-flow:row nowrap!important;align-items:center!important;justify-content:flex-end!important;
  gap:6px!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
  white-space:nowrap!important;overflow:visible!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body:not(.bh-home) .activity-reference-header .main-nav a{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
  min-width:0!important;height:36px!important;min-height:36px!important;margin:0!important;padding:8px 11px!important;
  background:transparent!important;border:0!important;border-radius:8px!important;box-shadow:none!important;
  color:var(--ad-ink)!important;font-size:12px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important;
}
body:not(.bh-home) .activity-reference-header .main-nav a:hover,
body:not(.bh-home) .activity-reference-header .main-nav a.active{background:rgba(255,255,255,.35)!important;color:var(--ad-ink)!important}
body:not(.bh-home) .activity-reference-header .activity-sign-in{
  flex:0 0 auto!important;min-width:max-content!important;height:36px!important;min-height:36px!important;margin:0!important;padding:7px 14px!important;
  background:var(--ad-teal)!important;border:0!important;border-radius:999px!important;box-shadow:none!important;
  color:#fff!important;font-size:12px!important;font-weight:600!important;line-height:1!important;white-space:nowrap!important;
}

@media(max-width:1180px){
  body:not(.bh-home) .activity-reference-header .main-nav a{padding:7px 8px!important;font-size:11px!important}
  body:not(.bh-home) .activity-reference-header .activity-sign-in{padding:7px 10px!important;font-size:11px!important}
}
@media(max-width:1050px){
  body:not(.bh-home) .activity-reference-header .activity-header-top{gap:10px!important}
  body:not(.bh-home) .activity-reference-header .brand-logo{height:50px!important;max-width:165px!important}
}
@media(max-width:850px){
  /* FIX: previous cascade left the row on nowrap while forcing the nav to 100% basis */
  body:not(.bh-home) .activity-reference-header .activity-header-top{flex-wrap:wrap!important;gap:8px!important}
  body:not(.bh-home) .activity-reference-header .brand-logo{height:48px!important;max-width:155px!important}
  body:not(.bh-home) .activity-reference-header .main-nav{
    order:3!important;flex:1 0 100%!important;width:100%!important;justify-content:flex-start!important;
    padding:2px 0 4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:none!important;
  }
  body:not(.bh-home) .activity-reference-header .main-nav::-webkit-scrollbar{display:none!important}
}
@media(max-width:650px){
  body:not(.bh-home){padding-left:0!important;padding-right:0!important}
  body:not(.bh-home) > .site-header.activity-reference-header{margin:0!important;padding:8px 10px 12px!important;border-radius:0!important}
  body:not(.bh-home) .activity-reference-header .activity-header-top{flex-flow:row nowrap!important}
  body:not(.bh-home) .activity-reference-header .brand-logo{width:44px!important;height:44px!important;max-width:44px!important}
  body:not(.bh-home) .activity-reference-header .activity-sign-in{min-width:70px!important;height:38px!important;min-height:38px!important;padding:7px 11px!important;font-size:11px!important}
  body:not(.bh-home) .activity-reference-header .main-nav{display:none!important}
  body:not(.bh-home) .activity-reference-header .mobile-nav-toggle{
    display:flex!important;flex:0 0 42px!important;width:42px!important;height:42px!important;margin:0!important;padding:0!important;
    background:var(--ad-line)!important;border:1px solid #c7dbcc!important;border-radius:12px!important;color:var(--ad-ink)!important;
  }
  body:not(.bh-home) .activity-reference-header.mobile-menu-open .main-nav{
    display:flex!important;position:absolute!important;left:10px!important;right:10px!important;top:58px!important;width:auto!important;z-index:500!important;
  }
}
@media(max-width:390px){
  body:not(.bh-home) .activity-reference-header .activity-sign-in{min-width:62px!important;padding-left:8px!important;padding-right:8px!important}
}

/* 2. HEADER SEARCH ------------------------------------------------------ */
body:not(.bh-home) .activity-reference-header .activity-header-search{
  position:relative!important;z-index:11!important;
  display:grid!important;
  grid-template-columns:minmax(180px,1.65fr) minmax(105px,.9fr) minmax(105px,.9fr) minmax(115px,1fr) minmax(95px,.8fr) 92px!important;
  grid-template-rows:46px!important;grid-auto-rows:46px!important;align-items:stretch!important;gap:8px!important;
  width:100%!important;max-width:1400px!important;height:46px!important;min-height:46px!important;max-height:46px!important;
  margin:18px auto 0!important;padding:0!important;
  background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible!important;
}
body:not(.bh-home) .activity-header-search .activity-search-field{
  display:flex!important;align-items:center!important;gap:6px!important;
  width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;max-height:46px!important;margin:0!important;padding:0 11px!important;
  background:#fff!important;border:1px solid var(--ad-line)!important;border-radius:999px!important;
  box-shadow:0 2px 8px rgba(18,63,49,.04)!important;color:var(--ad-teal)!important;overflow:hidden!important;white-space:nowrap!important;
}
body:not(.bh-home) .activity-header-search .activity-search-field > span{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
  width:20px!important;margin:0 6px 0 0!important;color:var(--ad-teal)!important;font-size:14px!important;font-weight:900!important;line-height:1!important;
}
body:not(.bh-home) .activity-header-search .activity-search-field input,
body:not(.bh-home) .activity-header-search .activity-search-field select{
  width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;max-height:42px!important;padding:8px 0!important;
  background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;
  color:#123f31!important;font-size:12px!important;line-height:1.2!important;text-overflow:ellipsis!important;
}
body:not(.bh-home) .activity-header-search .activity-search-button{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;max-height:46px!important;margin:0!important;padding:8px 14px!important;
  background:var(--ad-teal)!important;border:0!important;border-radius:999px!important;box-shadow:none!important;
  color:#fff!important;font-size:12px!important;font-weight:800!important;white-space:nowrap!important;
}
@media(max-width:900px){
  body:not(.bh-home) .activity-reference-header .activity-header-search{grid-template-columns:minmax(150px,1.5fr) repeat(4,minmax(82px,1fr)) 82px!important;gap:6px!important}
  body:not(.bh-home) .activity-header-search .activity-search-field{padding:0 8px!important}
  body:not(.bh-home) .activity-header-search .activity-search-field input,
  body:not(.bh-home) .activity-header-search .activity-search-field select{font-size:11px!important}
}
@media(max-width:700px){
  body:not(.bh-home) .activity-reference-header .activity-header-search{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:5px!important}
  body:not(.bh-home) .activity-header-search .activity-search-field{padding:0 6px!important}
  body:not(.bh-home) .activity-header-search .activity-search-field > span{display:none!important}
  body:not(.bh-home) .activity-header-search .activity-search-field input,
  body:not(.bh-home) .activity-header-search .activity-search-field select,
  body:not(.bh-home) .activity-header-search .activity-search-button{font-size:10px!important}
}
@media(max-width:650px){
  body:not(.bh-home) .activity-reference-header .activity-header-search{
    grid-template-columns:1fr!important;grid-template-rows:auto!important;gap:7px!important;
    height:auto!important;max-height:none!important;margin:10px 0 0!important;
  }
  body:not(.bh-home) .activity-reference-header .activity-header-search.is-collapsed{display:none!important}
  body:not(.bh-home) .activity-search-toggle{
    display:flex!important;align-items:center!important;justify-content:space-between!important;
    width:100%!important;min-height:40px!important;margin:10px 0 0!important;padding:8px 13px!important;
    background:#eaf4ed!important;border:1px solid #c7dbcc!important;border-radius:12px!important;
    color:var(--ad-ink)!important;font:800 12px/1.2 var(--ad-font)!important;cursor:pointer!important;
  }
  body:not(.bh-home) .activity-search-toggle span{font-size:16px!important;line-height:1!important}
}
@media(max-width:520px){
  body:not(.bh-home) .activity-header-search .activity-search-field,
  body:not(.bh-home) .activity-header-search .activity-search-button{height:42px!important;min-height:42px!important;max-height:none!important}
}
.activity-search-toggle{display:none}

/* 3. HERO --------------------------------------------------------------- */
body:not(.bh-home) .app-shell > .listing-page .activity-hero{
  position:relative!important;z-index:1!important;
  display:grid!important;grid-template-columns:30% 70%!important;gap:0!important;align-items:center!important;
  /* full-bleed: breaks out of the body gutter (see review note) */
  width:100vw!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;
  margin:0 calc(50% - 50vw)!important;padding:24px 15px 28px!important;
  background:var(--ad-forest)!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;
}
body:not(.bh-home) .activity-hero .listing-gallery{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;height:280px!important;min-height:280px!important;max-height:280px!important;min-width:0!important;padding:0!important;
  background:#fff!important;border-radius:18px!important;overflow:hidden!important;
}
body:not(.bh-home) .activity-hero .listing-gallery picture{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;max-height:100%!important}
body:not(.bh-home) .activity-hero .listing-gallery img,
body:not(.bh-home) .activity-hero .listing-gallery-placeholder{
  display:block!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;background:#fff!important;border-radius:18px!important;
}
body:not(.bh-home) .activity-hero .listing-gallery img{flex:0 1 auto!important}
body:not(.bh-home) .activity-hero .listing-gallery img.listing-gallery-fallback{object-fit:cover!important}

body:not(.bh-home) .activity-hero .listing-summary{
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  width:100%!important;min-width:0!important;padding:12px 0 12px 34px!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
  color:#fff!important;overflow:hidden!important;overflow-wrap:anywhere!important;
}
body:not(.bh-home) .activity-hero .listing-summary > *{max-width:100%!important}
body:not(.bh-home) .activity-hero .listing-summary .eyebrow{
  display:inline-flex!important;width:max-content;max-width:100%;margin:0 0 12px!important;padding:7px 13px!important;
  background:var(--ad-pale)!important;border:1px solid var(--ad-line)!important;border-radius:999px!important;
  color:var(--ad-forest)!important;font-size:.74rem!important;font-weight:800!important;letter-spacing:0;text-transform:none;
}
body:not(.bh-home) .activity-hero .listing-summary h1{
  margin:0 0 10px!important;color:#fff!important;font-family:var(--ad-font);font-size:clamp(34px,4vw,58px)!important;font-weight:800;line-height:1.02!important;
}
body:not(.bh-home) .activity-hero .listing-summary .listing-intro{margin:10px 0 0!important;color:rgba(255,255,255,.94)!important;font-size:15px!important;line-height:1.45!important;font-weight:550}
/* kept in case the hero also carries .listing-description (can't see the HTML) */
body:not(.bh-home) .activity-hero .listing-summary .listing-description{max-width:760px!important;margin:0 0 18px!important;color:rgba(255,255,255,.9)!important;font-size:16px!important;line-height:1.55!important}
body:not(.bh-home) .activity-hero .listing-tags{display:none!important}

body:not(.bh-home) .activity-hero .hero-quick-facts{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:8px!important;width:100%!important;margin:16px 0 14px!important}
body:not(.bh-home) .activity-hero .hero-quick-facts > span{
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:4px!important;
  min-width:0!important;min-height:62px!important;padding:9px 10px!important;
  background:rgba(255,255,255,.10)!important;border:1px solid rgba(255,255,255,.25)!important;border-radius:12px!important;color:#fff!important;overflow:hidden!important;
}
body:not(.bh-home) .activity-hero .hero-quick-facts strong{display:block!important;color:var(--ad-pale)!important;font-size:12px!important;font-weight:800!important;letter-spacing:.04em!important;line-height:1.1!important;text-transform:uppercase!important}
body:not(.bh-home) .activity-hero .hero-quick-facts b{display:block!important;min-width:0;color:#fff!important;font-size:14px!important;font-weight:750!important;line-height:1.2!important;overflow-wrap:anywhere}

body:not(.bh-home) .activity-hero .listing-actions{display:flex!important;flex-flow:row nowrap!important;align-items:center!important;gap:7px!important;width:100%!important;min-width:0!important;margin:0!important;padding:0!important}
body:not(.bh-home) .activity-hero .listing-actions .activity-action,
body:not(.bh-home) .activity-hero .listing-actions #visited,
body:not(.bh-home) .activity-hero .listing-actions .activity-book-button{
  display:inline-flex!important;flex:1 1 0!important;align-items:center!important;justify-content:center!important;
  width:auto!important;min-width:0!important;max-width:none!important;min-height:40px!important;margin:0!important;padding:8px 10px!important;
  border-radius:50px!important;font-size:11px!important;font-weight:800!important;line-height:1.2!important;white-space:nowrap!important;
  overflow:hidden!important;text-overflow:ellipsis!important;cursor:pointer!important;
  transition:transform .18s ease,background-color .18s ease,border-color .18s ease,box-shadow .18s ease,color .18s ease!important;
}
body:not(.bh-home) .activity-hero .listing-actions .activity-action{background:#f3f8f4!important;border:1px solid var(--ad-pale)!important;box-shadow:none!important;color:var(--ad-forest)!important}
body:not(.bh-home) .activity-hero .listing-actions .activity-action:hover,
body:not(.bh-home) .activity-hero .listing-actions .activity-action:focus-visible{background:#fff!important;border-color:#b9d8c5!important;box-shadow:0 5px 14px rgba(18,61,48,.14)!important;color:#123d30!important;transform:translateY(-1px)!important}
body:not(.bh-home) .activity-hero .listing-actions #planner{background:var(--ad-pale)!important;border-color:var(--ad-pale)!important;color:var(--ad-forest)!important}
body:not(.bh-home) .activity-hero .listing-actions #planner::first-letter{font-size:24px} /* only sensible if the label starts with an icon */
body:not(.bh-home) .activity-hero .listing-actions .activity-book-button{flex:1.1 1 0!important;background:#f6c84a!important;border:1px solid #f6c84a!important;box-shadow:0 5px 14px rgba(20,68,0,.16)!important;color:var(--ad-ink)!important;text-shadow:none!important}
body:not(.bh-home) .activity-hero .listing-actions .activity-book-button:hover,
body:not(.bh-home) .activity-hero .listing-actions .activity-book-button:focus-visible{background:#f1b92e!important;border-color:#f1b92e!important;color:var(--ad-ink)!important;transform:translateY(-1px)!important}

@media(max-width:1100px){
  /* FIX: previous cascade went 6 → 3 → 6 → 2 columns */
  body:not(.bh-home) .activity-hero .hero-quick-facts{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:950px){
  body:not(.bh-home) .app-shell > .listing-page .activity-hero{grid-template-columns:1fr!important;padding-top:22px!important;padding-bottom:26px!important}
  body:not(.bh-home) .activity-hero .listing-gallery{height:240px!important;min-height:240px!important;max-height:240px!important}
  body:not(.bh-home) .activity-hero .listing-summary{padding:24px 0 0!important}
  body:not(.bh-home) .activity-hero .listing-actions{flex-wrap:wrap!important}
  body:not(.bh-home) .activity-hero .listing-actions .activity-action,
  body:not(.bh-home) .activity-hero .listing-actions .activity-book-button{flex:1 1 calc(20% - 7px)!important}
}
@media(max-width:650px){
  body:not(.bh-home) .app-shell > .listing-page .activity-hero{gap:12px!important;padding:14px 12px 18px!important}
  body:not(.bh-home) .activity-hero .listing-gallery{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:16/10;border-radius:14px!important}
  body:not(.bh-home) .activity-hero .listing-gallery img,
  body:not(.bh-home) .activity-hero .listing-gallery picture{border-radius:14px!important}
  body:not(.bh-home) .activity-hero .listing-summary{padding:18px 14px!important;border-radius:14px!important;overflow:visible!important}
  body:not(.bh-home) .activity-hero .listing-summary h1{font-size:30px!important;line-height:1.08!important}
  body:not(.bh-home) .activity-hero .hero-quick-facts{grid-template-columns:repeat(2,minmax(0,1fr))!important;margin:14px 0!important}
  body:not(.bh-home) .activity-hero .hero-quick-facts > span{height:auto!important;justify-content:flex-start!important;overflow:visible!important}
  body:not(.bh-home) .activity-hero .hero-quick-facts b{overflow:visible!important}
  body:not(.bh-home) .activity-hero .listing-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body:not(.bh-home) .activity-hero .listing-actions .activity-action,
  body:not(.bh-home) .activity-hero .listing-actions #visited,
  body:not(.bh-home) .activity-hero .listing-actions .activity-book-button{width:100%!important;min-height:42px!important;padding:8px 7px!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  body:not(.bh-home) .activity-hero .listing-actions .activity-book-button{grid-column:1 / -1!important}
}
@media(max-width:390px){
  body:not(.bh-home) .activity-hero .listing-summary h1{font-size:27px!important}
  body:not(.bh-home) .activity-hero .listing-summary .listing-intro{font-size:14px!important}
  body:not(.bh-home) .activity-hero .hero-quick-facts b{font-size:11px!important}
}

/* 4. BODY GRID ---------------------------------------------------------- */
/* Legacy cards replaced by the activity-reference-* blocks */
body:not(.bh-home) .listing-main .good-to-know-card,
body:not(.bh-home) .listing-main .listing-card:nth-of-type(3):not(.activity-reference-schedule),
body:not(.bh-home) .listing-main .where-card,
body:not(.bh-home) .listing-side .organiser-card,
body:not(.bh-home) .listing-side .booking-card,
body:not(.bh-home) .listing-side .contact-card{display:none!important}

body:not(.bh-home) .listing-page > .listing-layout{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto auto!important;
  column-gap:40px!important;row-gap:0!important;align-items:start!important;
  width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0 15px!important;background:#fff!important;
}
body:not(.bh-home) .listing-page > .listing-layout > .listing-main,
body:not(.bh-home) .listing-page > .listing-layout > .listing-side{display:contents!important}

@media(max-width:950px){
  body:not(.bh-home) .listing-page > .listing-layout{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto!important;column-gap:0!important}
}
@media(max-width:650px){
  body:not(.bh-home) .listing-page > .listing-layout{display:block!important;padding:0 12px!important}
  body:not(.bh-home) .listing-page > .listing-layout > .listing-main{display:grid!important;grid-template-columns:1fr!important;width:100%!important;margin:0!important;padding:0!important}
  body:not(.bh-home) .listing-page > .listing-layout > .listing-side{display:none!important}
}

/* 5. ABOUT -------------------------------------------------------------- */
body:not(.bh-home) .listing-page > .listing-layout .activity-reference-about{
  grid-column:1!important;grid-row:1!important;width:100%!important;min-width:0!important;margin:0!important;padding:36px 0 28px!important;
  background:#fff!important;border:0!important;box-shadow:none!important;
}
body:not(.bh-home) .activity-reference-about .eyebrow{display:none}
body:not(.bh-home) .activity-reference-about h2{margin:0 0 15px!important;color:var(--ad-ink)!important;font-family:var(--ad-font);font-size:30px!important;font-weight:800;letter-spacing:-.02em}
body:not(.bh-home) .activity-reference-about .listing-description{max-width:820px!important;color:var(--ad-teal)!important;font-size:15px!important;line-height:1.7!important;overflow-wrap:anywhere!important}
body:not(.bh-home) .activity-keyword-tags{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 16px}
body:not(.bh-home) .activity-keyword-tags:empty{display:none}
body:not(.bh-home) .activity-keyword-tags span{display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;background:var(--ad-mint);border:1px solid var(--ad-line);border-radius:999px;color:#416651;font-size:11px;font-weight:750}
body:not(.bh-home) .activity-reference-facts{display:flex;flex-wrap:wrap;gap:8px;width:100%;margin-top:16px}
body:not(.bh-home) .activity-reference-facts span{padding:6px 12px;background:var(--ad-mint);border-radius:999px;color:var(--ad-teal);font-size:11px;font-weight:700}
@media(max-width:950px){body:not(.bh-home) .listing-page > .listing-layout .activity-reference-about{padding:32px 0 24px!important}}
@media(max-width:650px){body:not(.bh-home) .listing-page > .listing-layout .activity-reference-about{padding:24px 0 20px!important;border-bottom:1px solid var(--ad-line)!important}}

/* 6. SCHEDULE ----------------------------------------------------------- */
body:not(.bh-home) .listing-page > .listing-layout .activity-reference-schedule{
  display:block!important;visibility:visible!important;opacity:1!important;
  grid-column:1!important;grid-row:2!important;width:100%!important;min-width:0!important;margin:0!important;padding:0 0 38px!important;
  background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;
}
body:not(.bh-home) .activity-reference-schedule .eyebrow{display:block!important;margin-bottom:6px!important;color:#617261!important;font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important}
body:not(.bh-home) .activity-reference-schedule h2{margin:0 0 14px!important;color:var(--ad-ink)!important;font-size:23px!important}
body:not(.bh-home) .activity-reference-schedule .schedule-list{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;margin-top:16px!important;background:#fff!important;border:1px solid var(--ad-line-soft)!important;border-radius:14px!important;overflow:hidden!important}
body:not(.bh-home) .activity-reference-schedule .venue-schedule{display:block!important;visibility:visible!important;padding:18px!important;border-top:0!important; /* FIX: was doubling the list border */ border-bottom:1px solid var(--ad-line-soft)!important;color:var(--ad-ink)!important}
body:not(.bh-home) .activity-reference-schedule .venue-schedule:last-child{border-bottom:0!important}
body:not(.bh-home) .activity-reference-schedule .venue-schedule h3{margin:0 0 4px!important;color:var(--ad-ink)!important;font-size:18px!important}
body:not(.bh-home) .activity-reference-schedule .venue-schedule p{margin:0!important;color:#53685a!important;font-size:12px!important}
body:not(.bh-home) .activity-reference-schedule .session-list{display:block!important;width:100%!important;margin-top:12px!important;border-top:1px solid #e4ece6!important}
body:not(.bh-home) .activity-reference-schedule .session-row{
  display:grid!important;visibility:visible!important;align-items:center!important;gap:10px!important;
  grid-template-columns:minmax(90px,1fr) minmax(120px,1.3fr) minmax(70px,.7fr) minmax(70px,.7fr)!important;
  min-width:0!important;margin:0!important;padding:11px 0!important; /* FIX: dropped leftover tint/radius/margin that sat flush against zero padding */
  border-bottom:1px solid #edf2ee!important;color:var(--ad-ink)!important;font-size:12px!important;
}
body:not(.bh-home) .activity-reference-schedule .session-row:last-child{border-bottom:0!important}
body:not(.bh-home) .activity-reference-schedule .session-row strong,
body:not(.bh-home) .activity-reference-schedule .session-row span{min-width:0!important;color:#31563d!important;font-size:12px!important;overflow-wrap:anywhere}
body:not(.bh-home) .activity-reference-schedule .session-row strong{font-weight:800!important}
@media(max-width:950px){body:not(.bh-home) .listing-page > .listing-layout .activity-reference-schedule{padding-bottom:32px!important}}
@media(max-width:650px){
  body:not(.bh-home) .listing-page > .listing-layout .activity-reference-schedule{padding:22px 0!important;border-bottom:1px solid var(--ad-line)!important}
  /* FIX: the 2-column mobile row was being overridden by the 4-column rule */
  body:not(.bh-home) .activity-reference-schedule .session-row{grid-template-columns:1fr 1fr!important}
}

/* 7. CONTACT / MAP / ADDRESSES ----------------------------------------- */
body:not(.bh-home) .listing-page > .listing-layout .activity-reference-contact{
  grid-column:2!important;grid-row:1 / span 2!important;align-self:stretch!important;
  width:100%!important;min-width:0!important;margin:0!important;padding:36px 0 38px 30px!important;
  background:#fff!important;border-left:1px solid var(--ad-line-soft)!important;
}
body:not(.bh-home) .activity-reference-contact h2{margin:0 0 18px!important;color:var(--ad-ink);font-family:var(--ad-font);font-size:23px!important;font-weight:800}
body:not(.bh-home) .listing-page > .listing-layout .activity-reference-contact-map,
body:not(.bh-home) .listing-page > .listing-layout #listingMap{width:100%!important;height:360px!important;min-height:360px!important;margin:0 0 18px!important;background:#eaf4ed!important;border-radius:16px!important;overflow:hidden!important}
body:not(.bh-home) .activity-reference-addresses{display:flex;flex-direction:column;gap:8px;width:100%}
body:not(.bh-home) .activity-address-row{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;align-items:center;gap:10px;min-width:0;padding:11px 0;border-bottom:1px solid var(--ad-line)}
body:not(.bh-home) .activity-address-row > *{min-width:0!important}
body:not(.bh-home) .activity-address-icon{display:grid;place-items:center;width:26px;height:26px;color:var(--ad-ink);font-size:18px}
body:not(.bh-home) .activity-address-row strong,
body:not(.bh-home) .activity-address-row span{display:block}
body:not(.bh-home) .activity-address-row strong{color:var(--ad-ink);font-size:13px}
body:not(.bh-home) .activity-address-row span{margin-top:2px;color:var(--ad-teal);font-size:12px;overflow-wrap:anywhere}
body:not(.bh-home) .activity-address-row .button{min-height:34px;padding:7px 11px;border-radius:999px;font-size:11px}
body:not(.bh-home) .activity-contact-row{display:grid!important;grid-template-columns:30px 86px minmax(0,1fr)!important;align-items:center;gap:10px;min-width:0;margin:13px 0!important;color:var(--ad-teal);font-size:12px!important}
body:not(.bh-home) .activity-contact-icon{display:grid;place-items:center;width:26px;height:26px;color:var(--ad-ink);font-size:17px}
body:not(.bh-home) .activity-contact-label{color:var(--ad-ink);font-weight:700}
body:not(.bh-home) .activity-contact-value{overflow-wrap:anywhere}
body:not(.bh-home) .activity-contact-value a{color:var(--ad-teal)}
@media(max-width:950px){
  body:not(.bh-home) .listing-page > .listing-layout .activity-reference-contact{grid-column:1!important;grid-row:3!important;padding:0 0 32px!important;border-left:0!important;border-top:1px solid var(--ad-line-soft)!important}
  body:not(.bh-home) .listing-page > .listing-layout .activity-reference-contact-map,
  body:not(.bh-home) .listing-page > .listing-layout #listingMap{height:320px!important;min-height:320px!important}
}
@media(max-width:650px){
  body:not(.bh-home) .listing-page > .listing-layout .activity-reference-contact{padding:22px 0!important;border:0!important}
  body:not(.bh-home) .listing-page > .listing-layout .activity-reference-contact-map,
  body:not(.bh-home) .listing-page > .listing-layout #listingMap{height:230px!important;min-height:230px!important;margin-bottom:14px!important}
  body:not(.bh-home) .activity-address-row{grid-template-columns:28px minmax(0,1fr)!important;align-items:start;gap:8px;padding:10px 0}
  body:not(.bh-home) .activity-address-row .button{grid-column:2!important;justify-self:start!important;margin-top:2px}
}

/* 8. ORGANISER & BOTTOM ------------------------------------------------- */
body:not(.bh-home) .activity-reference-organiser{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  width:100%!important;max-width:none!important;margin:8px 0 0!important;padding:18px 15px!important;
  background:var(--ad-mint)!important;border:1px solid var(--ad-line)!important;border-radius:18px;box-shadow:none!important;color:var(--ad-ink);overflow:hidden!important;
}
body:not(.bh-home) .listing-bottom{width:100%!important;max-width:none!important;margin:0!important;padding:20px 15px 0!important}
body:not(.bh-home) .activity-organiser-left{display:flex;align-items:center;gap:16px}
body:not(.bh-home) .activity-organiser-icon{display:grid;place-items:center;width:54px;height:54px;background:var(--ad-line);border-radius:50%;color:var(--ad-ink);font-size:25px}
body:not(.bh-home) .activity-organiser-copy small,
body:not(.bh-home) .activity-organiser-copy strong{display:block}
body:not(.bh-home) .activity-organiser-copy small{font-size:12px;font-weight:800}
body:not(.bh-home) .activity-organiser-copy strong{margin-top:2px;font-size:16px}
body:not(.bh-home) .activity-organiser-link{font-size:14px;font-weight:700}
@media(max-width:650px){
  body:not(.bh-home) .activity-reference-organiser{margin:0!important;padding:16px 12px!important}
  body:not(.bh-home) .listing-bottom{padding:16px 12px!important}
}

/* Organiser edit modal */
body:not(.bh-home) .activity-organiser-edit-wrap{display:flex;justify-content:flex-end;margin-top:14px}
body:not(.bh-home) .activity-organiser-edit-button{min-height:36px;padding:8px 14px;background:#fff;border:1px solid #9fb7a5;border-radius:999px;color:var(--ad-ink);font-size:12px;font-weight:700;cursor:pointer}
body:not(.bh-home) .activity-organiser-edit-button:hover{background:var(--ad-mint)}
body:not(.bh-home) .activity-organiser-edit-modal-backdrop{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;padding:20px;background:rgba(20,68,0,.35)}
body:not(.bh-home) .activity-organiser-edit-modal{position:relative;width:min(520px,100%);max-height:min(720px,calc(100vh - 40px));padding:28px;background:#fff;border-radius:22px;box-shadow:0 24px 70px rgba(20,68,0,.22);color:var(--ad-ink);overflow:auto}
body:not(.bh-home) .activity-organiser-edit-modal h2{margin:0 0 8px;color:var(--ad-ink);font-size:26px}
body:not(.bh-home) .activity-organiser-edit-modal p{margin:0 0 20px;color:var(--ad-teal);line-height:1.5}
body:not(.bh-home) .activity-organiser-edit-modal label{display:block;margin:14px 0 6px;color:var(--ad-ink);font-size:13px;font-weight:700}
body:not(.bh-home) .activity-organiser-edit-modal select{width:100%;min-height:46px;padding:10px 12px;background:#fff;border:1px solid #c8d8cc;border-radius:12px;color:var(--ad-ink);font:inherit}
body:not(.bh-home) .activity-organiser-edit-modal .edit-note{margin-top:8px;font-size:12px}
body:not(.bh-home) .activity-organiser-edit-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}
body:not(.bh-home) .activity-organiser-edit-close{position:absolute;top:14px;right:16px;background:transparent;border:0;color:#416651;font-size:28px;cursor:pointer}
body:not(.bh-home) .activity-organiser-edit-status{min-height:20px;margin-top:12px;color:#416651;font-size:13px}
@media(max-width:650px){
  body:not(.bh-home) .activity-organiser-edit-modal{padding:22px}
  body:not(.bh-home) .activity-organiser-edit-actions{flex-direction:column-reverse}
  body:not(.bh-home) .activity-organiser-edit-actions .button{width:100%}
}

/* 9. SCHEDULE & HOURS CARD --------------------------------------------- */
body:not(.bh-home) .schedule-hours-card{width:100%;margin:0;background:#fff;border:1px solid #d7e2d9;border-radius:18px;box-shadow:0 8px 28px rgba(20,68,0,.08);color:var(--ad-ink);overflow:hidden}
body:not(.bh-home) .schedule-hours-header{display:flex;align-items:center;gap:12px;padding:18px 20px;background:#f8fbf8;border-bottom:1px solid #e3ebe5}
body:not(.bh-home) .schedule-hours-icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;background:#617261;border-radius:50%;color:#ced7c7;font-size:19px}
body:not(.bh-home) .schedule-hours-title{margin:0;color:var(--ad-ink);font-size:20px;font-weight:700;line-height:1.2}
body:not(.bh-home) .schedule-hours-list{padding:4px 20px 8px}
body:not(.bh-home) .schedule-hours-row{display:grid;grid-template-columns:minmax(105px,1fr) minmax(120px,auto);align-items:center;gap:18px;min-height:48px;padding:7px 0;border-bottom:1px solid #edf2ee}
body:not(.bh-home) .schedule-hours-row:last-child{border-bottom:0}
body:not(.bh-home) .schedule-hours-day{color:#31563d;font-weight:650}
body:not(.bh-home) .schedule-hours-time{color:var(--ad-ink);font-weight:600;text-align:right}
body:not(.bh-home) .schedule-hours-closed{color:#6e7f73;font-weight:600}
body:not(.bh-home) .schedule-hours-status{display:flex;align-items:center;gap:8px;width:max-content;max-width:calc(100% - 40px);margin:6px 20px 18px;padding:9px 12px;background:var(--ad-mint);border-radius:999px;color:var(--ad-ink);font-size:11px;font-weight:800;letter-spacing:.04em}
body:not(.bh-home) .schedule-hours-status-dot{flex:0 0 8px;width:8px;height:8px;background:#617261;border-radius:50%}
body:not(.bh-home) .schedule-hours-status.is-closed{background:#f0f3f0;color:#53645a}
body:not(.bh-home) .schedule-hours-status.is-closed .schedule-hours-status-dot{background:#89968d}
@media(max-width:700px){
  body:not(.bh-home) .schedule-hours-header{padding:16px}
  body:not(.bh-home) .schedule-hours-list{padding:4px 16px 8px}
  body:not(.bh-home) .schedule-hours-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;min-height:46px}
  body:not(.bh-home) .schedule-hours-time{overflow-wrap:anywhere}
  body:not(.bh-home) .schedule-hours-status{margin-left:16px;margin-right:16px;max-width:calc(100% - 32px)}
}
@media(max-width:390px){
  body:not(.bh-home) .schedule-hours-row{grid-template-columns:1fr;gap:2px;padding:9px 0}
  body:not(.bh-home) .schedule-hours-time{text-align:left}
}

/* 10. FOOTER (unscoped — applies on every page that loads this file) ---- */
.site-footer{width:100%!important;max-width:none!important;margin:48px 0 0!important;padding:44px clamp(24px,5vw,72px) 20px!important;border-radius:0!important}
.site-footer-grid{width:100%!important;max-width:1400px!important;margin:0 auto!important}
.site-footer-bottom{width:100%!important;max-width:1400px!important;margin:28px auto 0!important}
.site-footer-logo img{width:110px!important;height:auto!important;max-width:100%!important;max-height:90px!important;object-fit:contain!important;object-position:left center!important;border-radius:0!important}
.site-footer-nav{display:none!important}
@media(max-width:650px){
  .site-footer{margin-top:36px!important;padding:36px 20px 18px!important}
  .site-footer-grid{grid-template-columns:1fr!important}
}


/* =========================================================================
   BUBBA HUB — CONSOLIDATED: ACTIVITY-BADGES.CSS
   ========================================================================= */

/* Shared Activity Badges component */
.bh-badges-activity{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 12px}
.bh-badges-activity .bh-badge{display:inline-flex;align-items:center;gap:5px;min-height:28px;padding:5px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.13);color:#fff;font-size:10px;font-weight:800;line-height:1;white-space:nowrap}
.bh-badges-activity .bh-badge-verified{background:#eaf5ed;border-color:#b9d5c0;color:#315b3d}
.bh-badges-activity .bh-badge-featured{background:#fff5d8;border-color:#ead58d;color:#7b6110}
.bh-badges-activity .bh-badge-popular{background:#f7e9e8;border-color:#e2c2bf;color:#7b403b}
.bh-badges-activity .bh-badge-new{background:#e8f3f4;border-color:#bdd9dc;color:#2f686d}
.bh-badge-icon{display:inline-grid;place-items:center;width:15px;height:15px;font-size:10px;font-weight:900}
@media(max-width:650px){.bh-badges-activity{margin-bottom:10px}}


/* =========================================================================
   BUBBA HUB — CONSOLIDATED: PLANNER.CSS
   ========================================================================= */

/* Bubba Hub My Planner — consolidated, responsive styles */
/* Keep the Planner content clear of the header and aligned with Calendar spacing. */
.planner-page{padding-top:20px;padding-bottom:28px;box-sizing:border-box}
.planner-hero{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:22px 0 24px;padding:30px 32px;border:1px solid rgba(18,63,49,.08);border-radius:28px;background:linear-gradient(135deg,#eaf5ec 0%,#dff0ef 58%,#f7f1e5 100%);box-shadow:0 16px 38px rgba(18,63,49,.08)}
.planner-hero-copy{min-width:0}
.planner-hero h1{margin:.08em 0 .16em;color:var(--bh-dark);font-size:clamp(34px,4vw,52px);line-height:1.02}
.planner-hero p{max-width:650px;margin:0;color:var(--bh-text-muted);font-size:15px}
.planner-hero-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px;flex:0 0 auto}
.planner-hero-actions .button{min-height:46px}

.planner-shell{display:flex;flex-direction:column;gap:10px;padding:23px;border:1px solid var(--bh-border);border-radius:22px;background:#fff;box-shadow:0 10px 28px rgba(20,68,0,.05)}
.planner-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px}
.planner-toolbar-copy{min-width:0}
.planner-toolbar-copy h2{margin:0;font-family:Calibri,Arial,Helvetica,sans-serif;font-weight:400;font-size:30px;line-height:1.05}
.planner-toolbar-copy p{margin:4px 0 0;color:var(--bh-text-muted);font-size:13px}
.planner-toolbar-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;min-width:0}
.planner-toolbar-actions .status{margin:0}

.planner-profile-select{min-height:42px;width:min(210px,100%);padding:8px 34px 8px 11px;border:1px solid var(--bh-border);border-radius:12px;background:#fff;color:var(--bh-text);font:inherit;font-size:11px;font-weight:800;box-sizing:border-box}
.planner-profile-select:focus{outline:3px solid rgba(246,200,74,.5);outline-offset:1px;border-color:var(--bh-primary)}
.planner-profile-note{padding:9px 12px;border-radius:12px;background:#edf5ef;color:var(--bh-text-muted);font-size:11px;line-height:1.4}
.planner-profile-note strong{color:var(--bh-primary)}

.planner-view-controls{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin-top:4px}
.planner-view-button{border:1px solid rgba(65,102,81,.35);border-radius:999px;padding:7px 13px;background:#e7f1e8;color:var(--bh-primary);font:inherit;font-size:11px;font-weight:850;cursor:pointer}
.planner-view-button.is-active{background:var(--bh-primary);color:#fff}
.planner-view-button:hover{filter:brightness(.97)}
.planner-view-button:focus-visible{outline:3px solid rgba(246,200,74,.75);outline-offset:2px}

.planner-day-controls{display:flex;gap:7px;overflow-x:auto;padding:3px 1px 5px;scrollbar-width:none}
.planner-day-controls::-webkit-scrollbar{display:none}
.planner-day-toggle{position:relative;display:flex;flex:1 1 0;min-width:74px;cursor:pointer}
.planner-day-toggle input{position:absolute;opacity:0;pointer-events:none}
.planner-day-toggle span{width:100%;padding:10px 8px;text-align:center;border:1px solid var(--bh-border);border-radius:14px;background:#e8eee9;color:var(--bh-text-muted);box-sizing:border-box;transition:.18s ease}
.planner-day-toggle b,.planner-day-toggle small{display:block}
.planner-day-toggle b{font-size:12px;color:var(--bh-text-muted)}
.planner-day-toggle small{margin-top:2px;font-size:10px;color:var(--bh-text-muted)}
.planner-day-toggle input:checked+span{background:var(--bh-primary);border-color:var(--bh-primary);color:#fff}
.planner-day-toggle input:checked+span b,.planner-day-toggle input:checked+span small{color:#fff}
.planner-day-toggle:hover span{border-color:var(--bh-secondary)}
.planner-day-toggle input:focus-visible+span{outline:3px solid rgba(246,200,74,.75);outline-offset:2px}

.planner-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px;align-items:start;margin-top:2px}
.planner-day-column{min-width:0;min-height:250px;padding:11px;background:#f7faf7;border:1px solid transparent;border-radius:17px}
.planner-day-column.is-today{background:#eef6ef;border-color:rgba(65,102,81,.18)}
.planner-day-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:7px;min-height:63px;padding:2px 3px 10px;border-bottom:1px solid var(--bh-border)}
.planner-day-heading span{display:block;color:var(--bh-secondary);font-size:10px;text-transform:uppercase;letter-spacing:.07em;font-weight:850}
.planner-day-heading h3{margin:3px 0 1px;font-size:15px;line-height:1.1}
.planner-day-heading small{color:var(--bh-primary);font-size:10px;font-weight:850}
.planner-day-heading .planner-date{color:var(--bh-text-muted);font-weight:650}
.planner-day-empty{padding:22px 7px;text-align:center;color:var(--bh-text-muted);font-size:11px}

.planner-card{margin-top:9px;padding:12px;background:#fff;border:1px solid var(--bh-border);border-radius:14px;box-shadow:0 4px 13px rgba(18,63,49,.035)}
.planner-card:hover{box-shadow:0 8px 20px rgba(18,63,49,.07)}
.planner-card-top{display:flex;align-items:center;justify-content:space-between;gap:6px}
.planner-time{font-size:11px;font-weight:850;color:var(--bh-primary)}
.planner-conflict,.planner-mini-badge{display:inline-flex;align-items:center;padding:3px 6px;border-radius:999px;font-size:9px;font-weight:850}
.planner-conflict{background:#fff0f0;color:#a83e49}
.planner-mini-badge{background:#edf4ee;color:var(--bh-secondary)}
.planner-card h4{margin:7px 0 4px;font-size:14px;line-height:1.2}
.planner-card-location{margin:0;color:var(--bh-text-muted);font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.planner-card-links{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;margin-top:9px}
.planner-card-links a,.planner-link-button{padding:0;border:0;background:transparent;color:var(--bh-primary);font:inherit;font-size:10px;font-weight:800;line-height:1.4;text-decoration:none;cursor:pointer}
.planner-card-links a:hover,.planner-link-button:hover{text-decoration:underline}
.planner-link-button[aria-pressed="true"]{color:var(--bh-primary)}
.planner-remove{border:0;background:transparent;color:var(--bh-text-muted);font-size:10px;font-weight:750;cursor:pointer;padding:7px 3px}
.planner-remove:hover,.planner-remove.planner-link-button:hover{color:#a83e49;text-decoration:underline}
.planner-visit[aria-pressed="true"]{background:#e7f1e8;border-color:rgba(65,102,81,.2);color:var(--bh-primary)}

.planner-unscheduled{grid-column:1/-1;margin-top:2px;padding:14px;background:#f7faf7;border:1px dashed var(--bh-border);border-radius:17px}
.planner-unscheduled .planner-day-heading{min-height:auto;border:0;padding-bottom:3px}
.planner-unscheduled .planner-card{display:inline-block;width:min(100%,320px);vertical-align:top;margin-right:8px}
.planner-empty{grid-column:1/-1;padding:48px 24px;text-align:center;border:1px dashed var(--bh-border);border-radius:18px;background:#f8fbf8}
.planner-empty-icon{width:48px;height:48px;margin:0 auto 12px;display:grid;place-items:center;border-radius:15px;background:#e7f1e8;color:var(--bh-primary);font-size:24px}
.planner-empty h3{margin:0 0 6px;font-size:20px}
.planner-empty p{max-width:470px;margin:0 auto 15px;color:var(--bh-text-muted);font-size:13px}
.planner-footer-note{display:flex;align-items:center;gap:8px;padding:11px 13px;border-radius:13px;background:#f3f8f3;color:var(--bh-text-muted);font-size:11px}
.planner-footer-note span{display:grid;place-items:center;width:23px;height:23px;border-radius:8px;background:#dcebdc;color:var(--bh-primary);font-weight:850;flex:0 0 auto}
.planner-footer-note p{margin:0}
.planner-footer-note a{color:var(--bh-primary);font-weight:800}

.planner-list-view{display:flex;flex-direction:column;gap:8px;width:100%}
.planner-list-item{display:flex;gap:14px;align-items:flex-start;width:100%;box-sizing:border-box;padding:13px 14px;background:#f7faf7;border:1px solid var(--bh-border);border-radius:15px}
.planner-list-date{flex:0 0 55px;text-align:center;color:var(--bh-primary)}
.planner-list-date b,.planner-list-date span{display:block}
.planner-list-date b{font-size:12px}.planner-list-date span{font-size:10px;margin-top:2px}
.planner-list-main{min-width:0;flex:1}
.planner-list-main h4{margin:3px 0;font-size:14px}
.planner-list-main p{margin:0;color:var(--bh-text-muted);font-size:11px}
.planner-list-main .planner-card-links{margin-top:7px}

.planner-pro-preview{padding:20px;margin:0 0 24px;border:1px solid rgba(65,102,81,.2);border-radius:20px;background:linear-gradient(135deg,#f3f8f3 0%,#eef7f6 100%);box-shadow:0 10px 26px rgba(18,63,49,.06)}
.planner-pro-preview-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:13px}
.planner-pro-preview-head h2{margin:3px 0 5px;font-size:24px;line-height:1.05;color:var(--bh-dark)}
.planner-pro-preview-head p{max-width:700px;margin:0;color:var(--bh-text-muted);font-size:11px}
.planner-pro-badge{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:var(--bh-primary);color:#fff;font-size:10px;font-weight:900;letter-spacing:.08em}
.planner-pro-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.planner-pro-feature{min-height:64px;padding:11px 12px;border:1px solid var(--bh-border);border-radius:13px;background:#fff;text-align:left;cursor:pointer;color:var(--bh-text);transition:.18s ease}
.planner-pro-feature:hover,.planner-pro-feature.is-active{border-color:rgba(65,102,81,.35);box-shadow:0 6px 16px rgba(18,63,49,.07);transform:translateY(-1px)}
.planner-pro-feature strong{display:block;margin-bottom:3px;color:var(--bh-primary);font-size:11px}
.planner-pro-feature span{display:block;color:var(--bh-text-muted);font-size:9px;line-height:1.35}
.planner-pro-preview-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:11px;padding-top:11px;border-top:1px solid var(--bh-border)}
.planner-pro-preview-actions .button{font-size:11px}

.planner-shell.is-list-view .planner-view-controls{margin-bottom:2px}
.planner-shell.is-list-view .planner-day-controls{display:flex;flex-direction:column;gap:7px;overflow:visible;padding:0}
.planner-shell.is-list-view .planner-day-toggle{flex:none;width:100%;min-width:0}
.planner-shell.is-list-view .planner-day-toggle span{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;text-align:left}
.planner-shell.is-list-view .planner-day-toggle b,.planner-shell.is-list-view .planner-day-toggle small{display:block}
.planner-shell.is-list-view .planner-day-toggle small{margin-top:0}
@media(min-width:801px){
  .planner-shell.is-list-view{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:18px;align-items:start}
  .planner-shell.is-list-view .planner-toolbar,.planner-shell.is-list-view .planner-profile-note,.planner-shell.is-list-view .planner-view-controls{grid-column:1/-1}
  .planner-shell.is-list-view .planner-day-controls{grid-column:2;grid-row:4;position:sticky;top:18px}
  .planner-shell.is-list-view #results{grid-column:1;grid-row:4;min-width:0}
  .planner-shell.is-list-view .planner-footer-note{grid-column:1/-1}
}
@media(max-width:800px){
  .planner-shell.is-list-view .planner-day-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:2px;overflow:visible}
  .planner-shell.is-list-view .planner-day-toggle{min-width:0}
}

.planner-print-sheet{display:none}
.planner-print-calendar{width:100%}
.planner-print-week{display:grid;grid-template-columns:repeat(var(--planner-print-days,7),minmax(0,1fr));gap:4mm;width:100%}
.planner-print-week-day{min-height:165mm;padding:7px;border:1px solid #bfcfc5;border-radius:4px;overflow:hidden}
.planner-print-week-heading{display:flex;justify-content:space-between;gap:5px;padding-bottom:5px;margin-bottom:4px;border-bottom:1px solid #d7e2da;color:#416651;font-size:9px}
.planner-print-entry{margin:5px 0;color:#123f31;font-size:9px;line-height:1.25}
.planner-print-entry strong,.planner-print-entry span{display:block}
.planner-print-entry strong{font-size:8px}
.planner-print-entry span{margin-top:1px}
.planner-print-empty,.planner-print-empty-day{color:#718078;font-size:8px}
.planner-print-list{border-top:1px solid #bfcfc5}
.planner-print-list-day{padding:5mm 0;border-bottom:1px solid #d7e2da;break-inside:avoid}
.planner-print-list-day h2{margin:0 0 3mm;color:#123f31;font-size:13px}
.planner-print-list-day .planner-print-entry{display:grid;grid-template-columns:minmax(0,1fr) 1fr;gap:6mm;padding:2mm 0;border-top:1px solid #edf1ed}
.planner-print-footer{margin-top:7mm;padding-top:4mm;border-top:1px solid #d7e2da;color:#5c7067;font-size:8px;text-align:right}

@media(max-width:1050px){.planner-week{grid-template-columns:repeat(4,minmax(0,1fr))}.planner-day-column{min-height:220px}}
@media(max-width:800px){
  .planner-page{padding-top:14px}
  .planner-hero{align-items:flex-start;flex-direction:column;padding:25px 22px}
  .planner-hero-actions{justify-content:flex-start;width:100%}
  .planner-hero-actions .button{flex:1 1 190px}
  .planner-toolbar{align-items:flex-start;flex-direction:column}
  .planner-toolbar-actions{width:100%;justify-content:flex-start}
  .planner-profile-select{width:100%;max-width:none}
  .planner-view-controls{width:100%;justify-content:flex-start;overflow-x:auto;scrollbar-width:none}
  .planner-view-controls::-webkit-scrollbar{display:none}
  .planner-view-button{flex:0 0 auto}
  .planner-week{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
  .planner-day-column{min-width:0}
}
@media(max-width:560px){
  .planner-hero{width:100%;margin:12px 0 18px;padding:21px 18px;border-radius:22px}
  .planner-hero h1{font-size:36px}
  .planner-hero-actions{display:grid;grid-template-columns:1fr}
  .planner-hero-actions .button{width:100%;box-sizing:border-box}
  .planner-shell{width:100%;box-sizing:border-box;padding:18px;border-radius:20px}
  .planner-toolbar-copy h2{font-size:27px}
  .planner-toolbar-copy p{font-size:12px}
  .planner-toolbar-actions{display:grid;grid-template-columns:1fr;gap:7px}
  .planner-toolbar-actions .button,.planner-profile-select{width:100%;max-width:none}
  .planner-view-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible}
  .planner-view-button{width:100%;box-sizing:border-box}
  .planner-day-controls{width:100%;box-sizing:border-box}
  .planner-day-toggle{flex:0 0 74px}
  .planner-day-heading{min-height:auto}
  .planner-day-heading h3{font-size:14px}
  .planner-card{padding:11px}
  .planner-card-actions{display:grid;grid-template-columns:1fr 1fr;align-items:stretch}
  .planner-card-actions .button,.planner-card-actions .planner-remove{width:100%;box-sizing:border-box;text-align:center}
  .planner-list-item{gap:10px}
  .planner-list-date{flex-basis:48px}
  .planner-list-main h4{font-size:13px}
  .planner-pro-preview{padding:17px}
  .planner-pro-preview-head{align-items:flex-start;flex-direction:column}
  .planner-pro-grid{grid-template-columns:1fr}
  .planner-pro-preview-actions{display:grid}
  .planner-pro-preview-actions .button{width:100%}
}

@media print{
  @page{size:A4 landscape;margin:9mm}
  body{background:#fff!important}
  header.site-header,header.bh-site-header,.site-header,.bh-site-header,.main-nav,.bh-main-nav,.bh-header-actions,.bh-header-search-bar,.bh-mobile-menu,.bh-header-search-toggle,.bh-sign-in-btn{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;max-height:0!important;overflow:hidden!important}
  .site-footer,.planner-page{display:none!important}
  .planner-print-sheet{display:block!important}
  .app-shell{max-width:none!important;padding:0!important;margin:0!important}
  .planner-print-header{display:flex;align-items:flex-end;gap:18px;margin:0 0 7mm;padding-bottom:5mm;border-bottom:1px solid #d7e2da}
  .planner-print-header img{width:135px;height:auto;max-height:48px;object-fit:contain}
  .planner-print-header h1{margin:0;color:#123f31;font-size:25px;line-height:1.05}
  .planner-print-header p{margin:4px 0 0;color:#5c7067;font-size:10px}
  .planner-print-footer{display:block!important}
  .planner-print-week{grid-template-columns:repeat(var(--planner-print-days,7),minmax(0,1fr));gap:4mm}
  .planner-print-week-day{min-height:165mm}
  .planner-print-entry{break-inside:avoid}
}


/* Planner list layout refinement */
.planner-day-column.is-hidden-day .planner-day-empty-hidden{min-height:120px;visibility:hidden}
@media(min-width:801px){
  .planner-shell.is-list-view{grid-template-columns:190px minmax(0,1fr)}
  .planner-shell.is-list-view .planner-day-controls{grid-column:1;grid-row:4}
  .planner-shell.is-list-view #results{grid-column:2;grid-row:4}
}
@media(max-width:800px){
  .planner-shell.is-list-view{display:grid;grid-template-columns:78px minmax(0,1fr);column-gap:10px;align-items:start}
  .planner-shell.is-list-view .planner-toolbar,.planner-shell.is-list-view .planner-profile-note,.planner-shell.is-list-view .planner-view-controls,.planner-shell.is-list-view .planner-footer-note{grid-column:1/-1}
  .planner-shell.is-list-view .planner-day-controls{grid-column:1;grid-row:4;display:flex;flex-direction:column;gap:5px;width:100%;margin:0;padding:0;overflow:visible}
  .planner-shell.is-list-view #results{grid-column:2;grid-row:4;min-width:0}
  .planner-shell.is-list-view .planner-day-toggle{width:100%;min-width:0;flex:none}
  .planner-shell.is-list-view .planner-day-toggle span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:38px;padding:5px 3px;border-radius:9px;text-align:center}
  .planner-shell.is-list-view .planner-day-toggle b{font-size:10px;line-height:1}
  .planner-shell.is-list-view .planner-day-toggle small{display:none}
  .planner-shell.is-list-view .planner-list-item{gap:7px;padding:9px 8px;border-radius:11px}
  .planner-shell.is-list-view .planner-list-date{flex:0 0 39px}
  .planner-shell.is-list-view .planner-list-date b{font-size:10px}
  .planner-shell.is-list-view .planner-list-date span{font-size:9px}
  .planner-shell.is-list-view .planner-list-main h4{font-size:12px;line-height:1.2}
  .planner-shell.is-list-view .planner-list-main p,.planner-shell.is-list-view .planner-list-main .planner-time{font-size:9px}
  .planner-shell.is-list-view .planner-card-links{gap:3px 7px;margin-top:5px}
  .planner-shell.is-list-view .planner-card-links a,.planner-shell.is-list-view .planner-link-button{font-size:9px}
}
@media(max-width:420px){
  .planner-shell.is-list-view{grid-template-columns:68px minmax(0,1fr);column-gap:8px;padding:12px}
  .planner-shell.is-list-view .planner-day-toggle span{min-height:34px}
  .planner-shell.is-list-view .planner-list-item{padding:8px 7px}
  .planner-shell.is-list-view .planner-list-date{flex-basis:35px}
  .planner-shell.is-list-view .planner-list-main h4{font-size:11px}
  .planner-shell.is-list-view .planner-list-main p,.planner-shell.is-list-view .planner-list-main .planner-time,.planner-shell.is-list-view .planner-card-links a,.planner-shell.is-list-view .planner-link-button{font-size:8px}
}


/* =========================================================================
   BUBBA HUB — CONSOLIDATED: HEADER.CSS
   ========================================================================= */

/* =========================================================
   BUBBA HUB — MASTER HEADER
   ========================================================= */

/* Logo + menu + search + sign in */
.bh-header-top-row {
  width: 100%;
  display: flex;
  align-items: center;
  /* Switch from space-between to flex-start so they group together */
  justify-content: flex-start; 
  gap: 40px; /* Adjust this gap to control how close/far they sit */
}

.bh-header-actions {
  /* Remove margin-left: auto so it doesn't force a gap */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  flex: 1; /* Allows the action area to share space nicely */
}

.bh-site-header {
  width: 100%;
  background: #d8e6db;
  color: #144400;
  position: relative;
  z-index: 1000;
  padding-bottom: 18px;
}

.bh-header-inner {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 12px 24px;
  box-sizing: border-box;
}

/* Logo + menu + search + sign in */
.bh-header-top-row {
  width: 100%;
  display: flex;
  align-items: center;
  /* Switch from space-between to flex-start so they group together */
  justify-content: flex-start; 
  gap: 40px; /* Adjust this gap to control how close/far they sit */
}

.bh-header-actions {
  /* Remove margin-left: auto so it doesn't force a gap */
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  flex: 1; /* Allows the action area to share space nicely */
}

.bh-main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bh-main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  color: #144400;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: background .2s ease, color .2s ease;
}

.bh-main-nav a:hover,
.bh-main-nav a:focus-visible {
  background: rgba(255, 255, 255, .55);
  color: #144400;
}

/* Search icon sits directly beside the menu */
.bh-header-search-toggle {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(20, 68, 0, .18);
  border-radius: 50%;
  background: #fff;
  color: #144400;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(20, 68, 0, .08);
  transition: transform .2s ease, background .2s ease;
}

.bh-header-search-toggle:hover,
.bh-header-search-toggle:focus-visible {
  background: #f8fbf9;
  transform: translateY(-1px);
  outline: none;
}

.bh-sign-in-btn {
  background: #219ebc;
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .2s ease;
}

.bh-sign-in-btn:hover {
  opacity: .9;
}

/* Search expands UNDER the menu, not beside it */
.bh-header-search-bar {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin: 0;
  padding: 0;
  transition: max-height .28s ease, opacity .2s ease, padding-top .28s ease;
}

.bh-header-search-bar.is-open {
  max-height: 90px;
  opacity: 1;
  padding-top: 10px;
}

.bh-header-search-fields {
  width: min(900px, 100%);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.bh-header-search-fields input,
.bh-header-search-fields select {
  flex: 1 1 130px;
  min-width: 100px;
  height: 42px;
  box-sizing: border-box;
  background: #fff;
  color: #2b2d42;
  border: 1px solid #ced7c7;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}

.bh-header-search-fields input {
  flex: 2 1 190px;
}

.bh-header-search-fields input:focus,
.bh-header-search-fields select:focus {
  border-color: #416651;
  box-shadow: 0 0 0 2px rgba(65, 102, 81, .12);
}

.bh-header-search-submit {
  height: 42px;
  flex: 0 0 auto;
  background: #f6c84a;
  color: #144400;
  border: 0;
  border-radius: 10px;
  padding: 0 18px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
}

.bh-header-search-submit:hover {
  background: #416651;
  color: #fff;
}

/* Keep existing page-title styling/pale-green treatment untouched. */

/* Tablet */
@media (max-width: 1100px) {
  .bh-header-inner {
    padding: 10px 15px;
  }

  .bh-header-actions {
    gap: 5px;
  }

  .bh-main-nav {
    gap: 2px;
  }

  .bh-main-nav a {
    padding: 0 7px;
    font-size: 12px;
  }

  .bh-header-logo img {
    width: 144px;
    height: 72px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .bh-header-top-row {
    gap: 8px;
  }

  .bh-header-logo img {
    width: 185px;
    height: 95px;
  }

  .bh-main-nav a:nth-child(n + 3) {
    display: none;
  }

  .bh-header-search-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .bh-sign-in-btn {
    padding: 7px 11px;
    font-size: 12px;
  }

  .bh-header-search-bar.is-open {
    max-height: 180px;
  }

  .bh-header-search-fields {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .bh-header-search-fields input,
  .bh-header-search-fields select,
  .bh-header-search-submit {
    width: 100%;
    min-width: 0;
  }

  .bh-header-search-fields input {
    grid-column: 1 / -1;
  }

  .bh-header-search-submit {
    grid-column: 1 / -1;
  }
}

@media (max-width: 460px) {
  .bh-header-logo img {
    width: 155px;
    height: 82px;
  }

  .bh-main-nav a:nth-child(n + 2) {
    display: none;
  }
}


/* Mobile header: keep the complete shared header visible and give the
   navigation its own compact menu instead of hiding navigation links. */
@media (max-width: 700px) {
  .bh-site-header { padding-bottom: 10px; }
  .bh-header-inner { padding: 8px 12px; }
  .bh-header-top-row { align-items:center; gap:8px; }
  .bh-header-actions { gap:6px; }
  .bh-header-logo { flex:0 1 auto; min-width:0; }
  .bh-header-logo img { width:155px; height:82px; max-width:42vw; object-fit:contain; }
  .bh-main-nav {
    display:none;
    position:absolute;
    top:calc(100% - 2px);
    left:12px;
    right:12px;
    width:auto;
    max-height:calc(100dvh - 90px);
    padding:8px;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    overflow-y:auto;
    background:#d8e6db;
    border:1px solid rgba(20,68,0,.12);
    border-radius:14px;
    box-shadow:0 18px 40px rgba(20,68,0,.18);
    z-index:2001;
  }
  .bh-main-nav.is-open { display:flex; }
  .bh-main-nav a,
  .bh-main-nav a:nth-child(n + 2) {
    display:flex;
    width:100%;
    min-height:46px;
    box-sizing:border-box;
    justify-content:flex-start;
    padding:11px 13px;
    border-radius:10px;
    background:#eef6f0;
    font-size:14px;
    white-space:normal;
  }
  .bh-mobile-menu {
    display:inline-flex;
    flex:0 0 40px;
    width:40px;
    height:40px;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    gap:5px;
    margin:0;
    padding:0;
    border:1px solid rgba(20,68,0,.16);
    border-radius:10px;
    background:#fff;
    color:#144400;
    cursor:pointer;
    order:0;
  }
  .bh-mobile-menu span {
    width:19px;
    height:2px;
    border-radius:99px;
    background:currentColor;
    transition:transform .2s ease, opacity .2s ease;
  }
  .bh-mobile-menu[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .bh-mobile-menu[aria-expanded="true"] span:nth-child(2){opacity:0}
  .bh-mobile-menu[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  .bh-sign-in-btn { padding:7px 10px; font-size:12px; }
}
@media (min-width:701px) {
  .bh-mobile-menu { display:none; }
}
@media (max-width:460px) {
  .bh-header-logo img { width:132px; height:70px; max-width:39vw; }
  .bh-sign-in-btn { display:none; }
  .bh-header-search-toggle { width:36px; height:36px; flex-basis:36px; }
}

/* Directory hero mobile guard: the component is full-width and never hidden. */
@media (max-width:900px) {
  body.bh-directory .directory-hero-fullwidth {
    display:block !important;
    visibility:visible !important;
    width:100vw !important;
    max-width:none !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    box-sizing:border-box !important;
  }
  body.bh-directory .directory-hero-search {
    display:block !important;
    width:100% !important;
    max-width:none !important;
    box-sizing:border-box !important;
  }
}


/* Mobile header/search final layout safeguards */
@media (max-width:700px){
  .bh-site-header{overflow:visible;}
  .bh-header-inner{padding:8px 12px;}
  .bh-header-top-row{min-width:0;gap:6px;}
  .bh-header-logo{min-width:0;overflow:hidden;}
  .bh-header-logo img{display:block;max-width:100%;height:auto;object-fit:contain;}
  .bh-header-actions{min-width:0;gap:6px;}
  .bh-main-nav{top:100%;left:8px;right:8px;max-height:calc(100dvh - 80px);overflow-y:auto;}
  .bh-header-search-bar{
    width:100%;
    box-sizing:border-box;
    padding-left:0;
    padding-right:0;
  }
  .bh-header-search-bar.is-open{
    max-height:280px;
    padding-top:10px;
    padding-bottom:4px;
    overflow:visible;
  }
  .bh-header-search-fields{
    width:100%;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:7px;
    margin:0;
  }
  .bh-header-search-fields input,
  .bh-header-search-fields select,
  .bh-header-search-submit{
    width:100%;
    min-width:0;
    max-width:100%;
    box-sizing:border-box;
  }
  .bh-header-search-fields input{
    grid-column:1/-1;
    min-width:0;
  }
  .bh-header-search-submit{
    grid-column:1/-1;
  }
}
@media (max-width:360px){
  .bh-header-inner{padding-left:8px;padding-right:8px;}
  .bh-header-logo img{width:120px;height:64px;max-width:38vw;}
  .bh-mobile-menu{width:36px;height:36px;flex-basis:36px;}
  .bh-header-search-toggle{width:36px;height:36px;flex-basis:36px;}
  .bh-header-search-fields{grid-template-columns:1fr;}
  .bh-header-search-fields input,
  .bh-header-search-fields select,
  .bh-header-search-submit{grid-column:1/-1;}
}


/* =========================================================================
   ACCOUNT / FAMILY AREA — shared styles
   ========================================================================= */
.account-page{padding:0 0 56px}
.account-page .page-heading{padding:54px max(18px,calc((100% - var(--bh-max))/2)) 44px;display:flex;align-items:flex-end;justify-content:space-between;gap:24px}
.account-page .page-heading>div{min-width:0}
.account-profile-layout{width:min(calc(100% - 32px),var(--bh-max));margin:30px auto 0;display:grid;grid-template-columns:230px minmax(0,1fr);gap:24px;align-items:start}
.account-side-nav{display:flex;flex-direction:column;gap:5px;padding:10px;background:var(--bh-green-pale);border:1px solid var(--bh-border);border-radius:18px;position:sticky;top:18px}
.account-side-nav a{display:flex;align-items:center;gap:9px;min-height:44px;padding:10px 12px;border-radius:12px;color:var(--bh-text);font-weight:750;text-decoration:none}
.account-side-nav a:hover{background:var(--bh-white);color:var(--bh-green-dark)}
.account-side-nav a.active{background:var(--bh-green);color:var(--bh-green-soft);box-shadow:0 6px 14px rgba(20,68,0,.12)}
.account-profile-layout>.admin-panel,.preferences-layout>.admin-panel,.account-planner-grid>.admin-panel{min-width:0}
.account-profile-form,.preferences-layout,.account-privacy-panel,.account-notifications-panel,.saved-activities-panel{min-width:0}
.account-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.account-profile-grid label,.preferences-field,.notification-field{display:flex;flex-direction:column;gap:7px;font-weight:750;color:var(--bh-text)}
.account-profile-grid input,.preferences-field select,.notification-field select{width:100%;min-height:48px;padding:11px 13px;border:1px solid var(--bh-border);background:var(--bh-white);color:var(--bh-text)}
.profile-address-section{margin-top:26px;padding-top:24px;border-top:1px solid var(--bh-border)}
.profile-address-heading{margin-bottom:16px}
.account-profile-note{display:flex;gap:12px;align-items:flex-start;margin-top:22px;padding:15px 16px;background:var(--bh-green-pale);border:1px solid var(--bh-border);border-radius:14px}
.account-profile-note>span{font-size:1.2rem}
.account-profile-note p{margin:3px 0 0;color:var(--bh-muted)}
.account-form-actions,.preferences-actions,.notification-actions,.privacy-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:22px}
.library-message.is-error{color:var(--bh-danger)}
.account-signed-out{text-align:center;padding:36px 20px}
.preferences-layout{display:grid;gap:18px}
.preferences-two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.preferences-subsection{margin-top:26px;padding-top:24px;border-top:1px solid var(--bh-border)}
.preferences-interest-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.preferences-interest{display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid var(--bh-border);border-radius:12px;background:var(--bh-green-pale);font-weight:700}
.preference-list,.notification-list{display:grid;gap:10px;margin-top:18px}
.preference-list label,.notification-choice,.privacy-choice{display:flex;gap:12px;align-items:flex-start;padding:14px;border:1px solid var(--bh-border);border-radius:14px;background:var(--bh-white);cursor:pointer}
.preference-list input,.notification-choice input,.privacy-choice input{margin-top:4px;accent-color:var(--bh-green)}
.preference-list strong,.notification-choice strong,.privacy-choice strong{display:block}
.preference-list small,.notification-choice small,.privacy-choice small{display:block;margin-top:3px;color:var(--bh-muted);font-weight:500}
.notification-channel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.preferences-help{color:var(--bh-muted);font-size:.92rem;margin:0}
.notification-section,.privacy-section{margin-top:24px;padding-top:24px;border-top:1px solid var(--bh-border)}
.newsletter-section{display:grid;gap:12px}
.account-planner-grid{width:min(calc(100% - 32px),var(--bh-max));margin:30px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.account-planner-help{width:min(calc(100% - 32px),var(--bh-max));margin:18px auto 0}
.account-planner-help-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.account-planner-help-grid>div{padding:16px;background:var(--bh-green-pale);border-radius:14px}
.account-planner-help-grid p{margin:5px 0 0;color:var(--bh-muted)}
.account-planner-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.account-booking-list{display:grid;gap:10px}
.account-booking-card{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:16px;border:1px solid var(--bh-border);border-radius:14px;background:var(--bh-green-pale)}
.account-booking-card h3{margin:4px 0}
.account-booking-card p{margin:0;color:var(--bh-muted)}
.account-booking-id{font-weight:800;color:var(--bh-muted)}
.saved-activity-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.saved-activity-card{overflow:hidden;border:1px solid var(--bh-border);border-radius:18px;background:var(--bh-white);box-shadow:var(--bh-shadow)}
.saved-activity-image{display:block;aspect-ratio:16/8;overflow:hidden;background:var(--bh-green-pale)}
.saved-activity-image img{width:100%;height:100%;object-fit:cover}
.saved-activity-body{padding:18px}
.saved-activity-body h3{margin:4px 0 7px}
.saved-activity-body h3 a{text-decoration:none}
.saved-activity-meta,.saved-activity-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.saved-activity-meta{margin:12px 0;color:var(--bh-muted);font-size:.9rem}
.saved-activity-actions{margin-top:14px}
@media(max-width:900px){
  .account-profile-layout{grid-template-columns:1fr}
  .account-side-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
  .account-planner-grid{grid-template-columns:1fr}
  .account-planner-help-grid{grid-template-columns:1fr}
}
@media(max-width:650px){
  .account-page .page-heading{padding:40px 16px 34px;display:block}
  .account-page .page-heading>.button{margin-top:8px}
  .account-profile-layout,.account-planner-grid,.account-planner-help{width:calc(100% - 24px);margin-top:18px}
  .account-side-nav{grid-template-columns:1fr 1fr}
  .account-side-nav a{min-height:42px;font-size:.92rem}
  .account-profile-grid,.preferences-two-col,.notification-channel-grid,.saved-activity-grid{grid-template-columns:1fr}
  .preferences-interest-grid{grid-template-columns:1fr}
  .admin-panel{padding:18px}
}

/* Global link reset */
a,
a:visited,
a:hover,
a:focus,
a:active {
  text-decoration: none;
}


/* =========================================================================
   LEADER AUTH / SIGNUP
   ========================================================================= */
.auth-page{
  width:100%;
  padding:0 0 64px;
}
.auth-hero{
  width:min(calc(100% - 32px),var(--bh-max));
  margin:28px auto 0;
  padding:42px 34px;
  background:linear-gradient(135deg,var(--bh-green-soft),#e5f1ed);
  border:1px solid rgba(60,142,150,.12);
  border-radius:24px;
  box-shadow:var(--bh-shadow);
}
.auth-hero h1{margin-bottom:10px}
.auth-hero p{max-width:760px;margin:0;color:var(--bh-muted);font-size:1.02rem}
.auth-layout{
  width:min(calc(100% - 32px),var(--bh-max));
  margin:22px auto 0;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:22px;
  align-items:start;
}
.auth-card{
  min-width:0;
}
.auth-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:20px;
}
.auth-tabs .button{
  min-height:42px;
  flex:0 0 auto;
}
.auth-page #leaderAuthForm{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px 16px;
}
.auth-page #leaderAuthForm label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:var(--bh-green-dark);
  font-weight:750;
  font-size:.92rem;
}
.auth-page #leaderAuthForm input[type="email"],
.auth-page #leaderAuthForm input[type="password"],
.auth-page #leaderAuthForm input[type="text"],
.auth-page #leaderAuthForm input[type="tel"],
.auth-page #leaderAuthForm input[type="url"]{
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border:1px solid var(--bh-border);
  border-radius:12px;
  background:var(--bh-white);
  color:var(--bh-text);
}
.auth-page #leaderOrganisationWrap,
.auth-page #leaderTermsWrap,
.auth-page #leaderAuthSubmit,
.auth-page #leaderAuthMessage{
  grid-column:1/-1;
}
.auth-password-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-top:-1px;
}
.auth-password-row small{
  color:var(--bh-muted);
  font-weight:600;
}
.auth-show-password{
  border:0;
  padding:0;
  background:transparent;
  color:var(--bh-teal-dark);
  font-size:.85rem;
  font-weight:800;
  cursor:pointer;
}
.auth-show-password:hover{color:var(--bh-green-dark)}
.auth-submit{
  justify-self:start;
  min-height:48px;
}
.auth-page .leader-terms{
  margin-top:2px;
  font-weight:600 !important;
}
.auth-page .leader-terms > span{
  display:flex;
  align-items:flex-start;
  gap:10px;
  line-height:1.45;
}
.auth-page .leader-terms input{
  width:18px;
  height:18px;
  margin-top:3px;
  flex:0 0 auto;
  accent-color:var(--bh-green);
}
.auth-page .leader-terms a{
  font-weight:800;
  color:var(--bh-green-dark);
}
.auth-page .library-message{
  margin:0;
  min-height:22px;
}
.auth-page .auth-note{
  display:flex;
  gap:12px;
  align-items:flex-start;
  margin-top:20px;
  padding:15px 16px;
  background:var(--bh-green-pale);
  border:1px solid var(--bh-border);
  border-radius:14px;
}
.auth-page .auth-note > span{
  flex:0 0 auto;
  font-size:1.15rem;
}
.auth-page .auth-note strong{
  display:block;
  color:var(--bh-green-dark);
}
.auth-page .auth-note p{
  margin:3px 0 0;
  color:var(--bh-muted);
}
.auth-benefits{
  padding:26px;
  background:var(--bh-white);
  border:1px solid var(--bh-border);
  border-radius:20px;
  box-shadow:var(--bh-shadow);
}
.auth-benefits h2{margin:6px 0 16px}
.auth-benefits ul{
  display:grid;
  gap:10px;
  margin:0 0 18px;
  padding:0;
  list-style:none;
}
.auth-benefits li{
  padding:11px 13px;
  background:var(--bh-green-pale);
  border:1px solid var(--bh-border);
  border-radius:12px;
  color:var(--bh-text);
  font-weight:700;
}
.auth-benefits .deployment-note{
  margin:0;
  color:var(--bh-muted);
  font-size:.92rem;
}
@media(max-width:900px){
  .auth-layout{grid-template-columns:1fr}
  .auth-benefits{order:2}
}
@media(max-width:650px){
  .auth-hero{
    width:calc(100% - 24px);
    padding:32px 21px;
    margin-top:18px;
  }
  .auth-layout{
    width:calc(100% - 24px);
    margin-top:14px;
  }
  .auth-page .admin-panel{padding:20px}
  .auth-page #leaderAuthForm{grid-template-columns:1fr}
  .auth-page #leaderOrganisationWrap,
  .auth-page #leaderTermsWrap,
  .auth-page #leaderAuthSubmit,
  .auth-page #leaderAuthMessage{grid-column:1}
  .auth-submit{width:100%}
  .auth-tabs{display:grid;grid-template-columns:1fr 1fr}
  .auth-tabs .button{width:100%}
}

/* =========================================================================
   FINAL BRAND FORM + CTA CONSISTENCY
   ========================================================================= */
:root{
  --bh-cta-bg: var(--bh-green-dark);
  --bh-cta-text: var(--bh-green-soft);
  --bh-cta-hover: #f39a3f;
}

/* All standard form controls get comfortable touch-friendly spacing. */
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
select,
textarea{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border:1px solid var(--bh-border);
  border-radius:12px;
  background:var(--bh-white);
  color:var(--bh-text);
  line-height:1.4;
}

textarea{
  min-height:120px;
  padding:13px 14px;
}

input::placeholder,
textarea::placeholder{color:var(--bh-muted);opacity:1}

/* Primary CTAs: Bubba Hub dark green with light green text. */
.button,
.button-primary,
.button-full,
.home-full-button,
.directory-calendar-hero-button,
.directory-map-action-button,
.directory-map-hero-button,
.directory-planner-action-button,
.auth-submit,
button[type="submit"]{
  background:var(--bh-cta-bg);
  border-color:var(--bh-cta-bg);
  color:var(--bh-cta-text) !important;
  text-decoration:none;
}

.button:hover,
.button:focus-visible,
.button-primary:hover,
.button-full:hover,
.home-full-button:hover,
.directory-calendar-hero-button:hover,
.directory-map-action-button:hover,
.directory-map-hero-button:hover,
.directory-planner-action-button:hover,
.auth-submit:hover,
button[type="submit"]:hover,
.button:focus-visible,
button[type="submit"]:focus-visible{
  background:var(--bh-cta-hover);
  border-color:var(--bh-cta-hover);
  color:var(--bh-white) !important;
}

/* CTA links should never inherit underlines. */
a.button,
a.button-primary,
a.button-full,
a.home-full-button,
a[class*="action-button"],
a[class*="hero-button"]{
  text-decoration:none !important;
}

/* Keep secondary controls readable without competing with the primary CTA. */
.button-secondary{
  background:var(--bh-white);
  border-color:var(--bh-green);
  color:var(--bh-green-dark) !important;
}
.button-secondary:hover,
.button-secondary:focus-visible{
  background:var(--bh-green-soft);
  border-color:var(--bh-green);
  color:var(--bh-green-dark) !important;
}

/* Checkbox/radio controls should retain their native sizing. */
input[type="checkbox"],
input[type="radio"]{
  width:auto;
  min-height:0;
  padding:0;
}


/* Final site-wide soft CTA colour swap */
body:not(.bh-home) .button-soft{
  background:#144400;
  color:#d8e6db;
}
body:not(.bh-home) .button-soft:hover,
body:not(.bh-home) .button-soft:focus-visible{
  background:#f39a3f;
  color:#fff;
}


/* Listing claim */
.listing-claim-wrap{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--bh-border,#d8e6db)}
.listing-claim-button{min-height:36px;font-size:12px}
.listing-claim-message{margin:0;color:#617261;font-size:12px;line-height:1.4}
@media(max-width:600px){.listing-claim-wrap{align-items:stretch;flex-direction:column}.listing-claim-button{width:100%;justify-content:center}}


/* =========================================================================
   BUBBA HUB — FRIENDLY BOLD FINISH
   A single, final visual layer for the shared site shell.
   Keeps the existing components/markup intact while giving the whole site
   a rounded, playful, Tonies-inspired family feel.
   ========================================================================= */

:root{
  --bh-cream:#fffaf2;
  --bh-coral:#f39a3f;
  --bh-coral-dark:#df7e27;
  --bh-sky:#e6f4f3;
  --bh-card:#ffffff;
  --bh-radius-sm:14px;
  --bh-radius-md:20px;
  --bh-radius-xl:30px;
  --bh-shadow-soft:0 8px 24px rgba(18,63,49,.08);
  --bh-shadow-bold:0 14px 34px rgba(18,63,49,.12);
}

/* Site foundation */
html,body{background:var(--bh-cream);}
body{
  font-weight:500;
  letter-spacing:-.005em;
}
body *{min-width:0;}
h1,h2,h3,h4{
  font-weight:800;
  letter-spacing:-.025em;
}
h1{line-height:1.08;}
h2{line-height:1.12;}
p{line-height:1.6;}

/* Shared content width: predictable on every page */
.container,
.main-content,
.account-profile-layout,
.account-planner-grid,
.account-planner-help,
.auth-layout,
.auth-hero{
  max-width:var(--bh-max);
}

/* Header — clean, friendly, full-width */
.site-header{
  width:100%;
  max-width:none;
  min-height:78px;
  padding:10px clamp(14px,3vw,42px);
  background:#fff;
  border-bottom:1px solid rgba(18,63,49,.07);
  border-radius:0;
  box-shadow:0 5px 18px rgba(18,63,49,.06);
}
.site-header .brand-logo{
  width:62px;
  height:62px;
  border-radius:16px;
}
.main-nav{gap:4px;}
.main-nav a{
  min-height:42px;
  padding:9px 14px;
  border-radius:999px;
  font-weight:800;
}
.main-nav a:hover,
.main-nav a.active{
  background:var(--bh-green-soft);
  color:var(--bh-green-dark);
  transform:none;
}
.site-header>.button{min-height:44px;}

/* Mobile header must stay stable and never overflow */
@media(max-width:760px){
  .site-header{
    width:100%;
    margin:0;
    padding:8px 12px;
    min-height:66px;
    border-radius:0;
  }
  .site-header .brand-logo{
    width:50px;
    height:50px;
    min-width:50px;
  }
}

/* Friendly type scale */
.eyebrow{
  margin-bottom:8px;
  font-size:.78rem;
  font-weight:900;
  letter-spacing:.09em;
}
.page-heading,
.activity-hero{
  padding:clamp(40px,6vw,70px) max(16px,calc((100% - var(--bh-max))/2));
  border-radius:0 0 var(--bh-radius-xl) var(--bh-radius-xl);
}

/* Big, soft heroes */
.hero,
.home-hero,
.home-hero-inner,
.auth-hero{
  border-radius:var(--bh-radius-xl);
}
.hero{
  box-shadow:var(--bh-shadow-bold);
}
.home-hero{
  background:linear-gradient(135deg,#eaf6ec 0%,#e1f2ef 100%);
}

/* Buttons — chunky, cheerful and consistent */
.button{
  min-height:48px;
  padding:12px 20px;
  border-radius:999px;
  border-width:2px;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow:0 5px 0 rgba(18,63,49,.10);
}
.button:hover{
  transform:translateY(-1px);
  box-shadow:0 7px 0 rgba(18,63,49,.10);
}
.button:active{
  transform:translateY(2px);
  box-shadow:0 3px 0 rgba(18,63,49,.10);
}
.button-primary,
.button,
.button-full,
.home-full-button,
.directory-calendar-hero-button,
.directory-map-action-button,
.directory-map-hero-button,
.directory-planner-action-button,
.auth-submit,
button[type=submit]{
  background:var(--bh-green-dark);
  border-color:var(--bh-green-dark);
  color:var(--bh-green-soft)!important;
}
.button-primary:hover,
.button:hover,
.button-full:hover,
.home-full-button:hover,
.directory-calendar-hero-button:hover,
.directory-map-action-button:hover,
.directory-map-hero-button:hover,
.directory-planner-action-button:hover,
.auth-submit:hover,
button[type=submit]:hover{
  background:var(--bh-coral);
  border-color:var(--bh-coral);
  color:#fff!important;
}
.button-soft{
  background:var(--bh-green-soft)!important;
  border-color:transparent!important;
  color:var(--bh-green-dark)!important;
  box-shadow:none;
}
.button-soft:hover{
  background:var(--bh-coral)!important;
  color:#fff!important;
}

/* Forms — larger, softer and consistent */
input:not([type=checkbox]):not([type=radio]):not([type=file]),
select,textarea{
  min-height:50px;
  border:2px solid #dbe5dd;
  border-radius:var(--bh-radius-sm);
  background:#fff;
}
input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,
select:focus,textarea:focus{
  border-color:var(--bh-teal);
  box-shadow:0 0 0 4px rgba(60,142,150,.12);
}

/* Cards — one shared visual language */
.card,
.admin-panel,
.search-panel,
.feature-card,
.auth-benefits,
.saved-activity-card,
.preferences-layout>div,
.account-planner-grid>.admin-panel{
  border:2px solid rgba(18,63,49,.07);
  border-radius:var(--bh-radius-md);
  background:var(--bh-card);
  box-shadow:var(--bh-shadow-soft);
}
.card,.feature-card{padding:26px;}
.card-link:hover .card{
  transform:translateY(-3px);
  box-shadow:var(--bh-shadow-bold);
}

/* Directory/activity cards */
.activity-card,
.directory-card,
.bh-activity-card{
  border-radius:var(--bh-radius-md);
  overflow:hidden;
  background:#fff;
  box-shadow:var(--bh-shadow-soft);
}
.activity-card img,
.directory-card img,
.bh-activity-card img{
  border-radius:var(--bh-radius-md) var(--bh-radius-md) 0 0;
}

/* Badges */
.badge,
.tag,
.chip,
.pro-badge{
  border-radius:999px;
  font-weight:800;
}

/* Search areas */
.search-panel,
.directory-search-panel,
.directory-hero-search{
  border-radius:var(--bh-radius-md);
}

/* Footer — full width, friendly and uncluttered */
.site-footer{
  width:100%;
  max-width:none;
  margin-top:60px;
  border-radius:var(--bh-radius-xl) var(--bh-radius-xl) 0 0;
}

/* Mobile — no horizontal surprises */
@media(max-width:760px){
  .container{width:calc(100% - 24px);}
  .main-content{width:calc(100% - 24px);margin-inline:auto;}
  .page-heading,.activity-hero{
    padding:38px 16px;
    border-radius:0 0 24px 24px;
  }
  .hero{width:calc(100% - 16px);margin-inline:auto;border-radius:24px;}
  .button{min-height:46px;padding:11px 17px;}
  .card,.feature-card{padding:20px;}
  .site-footer{margin-top:42px;border-radius:24px 24px 0 0;}
}

/* Prevent legacy nested wrappers from creating boxed-in pages */
.app-shell{width:100%;max-width:none;margin:0;}
.app-shell>*{min-width:0;}

/* Accessibility: keep focus visible after rounded redesign */
:focus-visible{
  outline:3px solid var(--bh-coral);
  outline-offset:3px;
}


/* =========================================================================
   BUBBA HUB — CLEAN WHITE + DARK GREEN BRAND FINISH
   Tonies-inspired simplicity: white space, strong rounded shapes and one
   confident dark-green brand colour.
   ========================================================================= */
:root{
  --bh-brand:#144400;
  --bh-brand-2:#416651;
  --bh-brand-soft:#d8e6db;
  --bh-page:#ffffff;
  --bh-panel:#ffffff;
  --bh-line:#d8e6db;
  --bh-muted-clean:#617261;
  --bh-clean-shadow:0 10px 28px rgba(20,68,0,.09);
}

html,body{
  background:var(--bh-page);
  color:var(--bh-brand);
}

body{
  font-weight:500;
}

.site-header{
  background:#fff;
  border-bottom:1px solid var(--bh-line);
  box-shadow:0 4px 16px rgba(20,68,0,.05);
}

.main-nav a{
  color:var(--bh-brand);
}

.main-nav a:hover,
.main-nav a.active{
  background:var(--bh-brand-soft);
  color:var(--bh-brand);
}

.button,
.button-primary,
.button-full,
.home-full-button,
.directory-calendar-hero-button,
.directory-map-action-button,
.directory-map-hero-button,
.directory-planner-action-button,
.auth-submit,
button[type="submit"]{
  background:var(--bh-brand)!important;
  border-color:var(--bh-brand)!important;
  color:#fff!important;
}

.button:hover,
.button:focus-visible,
.button-primary:hover,
.button-full:hover,
.home-full-button:hover,
.directory-calendar-hero-button:hover,
.directory-map-action-button:hover,
.directory-map-hero-button:hover,
.directory-planner-action-button:hover,
.auth-submit:hover,
button[type="submit"]:hover,
button[type="submit"]:focus-visible{
  background:var(--bh-brand-2)!important;
  border-color:var(--bh-brand-2)!important;
  color:#fff!important;
}

.button-soft{
  background:var(--bh-brand-soft)!important;
  border-color:var(--bh-brand-soft)!important;
  color:var(--bh-brand)!important;
}

.button-soft:hover,
.button-soft:focus-visible{
  background:var(--bh-brand)!important;
  border-color:var(--bh-brand)!important;
  color:#fff!important;
}

.card,
.admin-panel,
.search-panel,
.feature-card,
.auth-benefits,
.saved-activity-card,
.preferences-layout>div,
.account-planner-grid>.admin-panel,
.activity-card,
.directory-card,
.bh-activity-card{
  background:#fff;
  border-color:var(--bh-line);
  box-shadow:var(--bh-clean-shadow);
}

input:not([type=checkbox]):not([type=radio]):not([type=file]),
select,
textarea{
  background:#fff;
  color:var(--bh-brand);
  border:2px solid var(--bh-line);
}

input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,
select:focus,
textarea:focus{
  border-color:var(--bh-brand);
  box-shadow:0 0 0 4px rgba(20,68,0,.10);
  outline:none;
}

/* -------------------------------------------------------------------------
   SIGN IN / CREATE ACCOUNT — cleaner, calmer and centred
   ------------------------------------------------------------------------- */
.auth-page{
  background:#fff;
  padding:0 0 72px;
}

.auth-hero{
  width:min(100%,1080px);
  margin:0 auto;
  padding:54px 24px 30px;
  background:#fff;
  border:0;
  border-radius:0;
  box-shadow:none;
  text-align:center;
}

.auth-hero .eyebrow{
  color:var(--bh-brand-2);
}

.auth-hero h1{
  margin:6px 0 10px;
  color:var(--bh-brand);
  font-size:clamp(2rem,4vw,3rem);
}

.auth-hero p{
  max-width:620px;
  margin:0 auto;
  color:var(--bh-muted-clean);
}

.auth-layout{
  width:min(calc(100% - 32px),980px);
  margin:8px auto 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:24px;
  align-items:start;
}

.auth-card{
  padding:30px;
  background:#fff;
  border:2px solid var(--bh-line);
  border-radius:24px;
  box-shadow:var(--bh-clean-shadow);
}

.auth-tabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:5px;
  margin-bottom:22px;
  background:#f4f8f4;
  border-radius:999px;
}

.auth-tabs .button{
  width:100%;
  min-height:44px;
  box-shadow:none;
  border:0!important;
}

.auth-tabs .button.active{
  background:var(--bh-brand)!important;
  color:#fff!important;
}

.auth-tabs .button:not(.active){
  background:transparent!important;
  color:var(--bh-brand)!important;
}

.google-signin-button,
.apple-signin-button{
  width:100%;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0 0 10px;
  padding:12px 16px;
  border:2px solid var(--bh-line);
  border-radius:999px;
  background:#fff;
  color:var(--bh-brand);
  font-weight:800;
  cursor:pointer;
}

.google-signin-button:hover,
.apple-signin-button:hover{
  border-color:var(--bh-brand);
  background:#f7faf7;
}

.auth-divider{
  display:flex;
  align-items:center;
  gap:12px;
  margin:20px 0;
  color:var(--bh-muted-clean);
  font-size:.85rem;
  font-weight:700;
}

.auth-divider:before,
.auth-divider:after{
  content:"";
  height:1px;
  flex:1;
  background:var(--bh-line);
}

.auth-page #authForm{
  display:grid;
  gap:16px;
}

.auth-page #authForm>label{
  display:flex;
  flex-direction:column;
  gap:7px;
  color:var(--bh-brand);
  font-weight:800;
  font-size:.92rem;
}

.auth-name-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.auth-forgot{
  margin-top:-6px;
  text-align:right;
}

.auth-forgot a,
.auth-show-password{
  color:var(--bh-brand);
  font-weight:800;
}

.auth-submit{
  width:100%;
  min-height:52px;
  margin-top:2px;
  font-size:1rem;
}

.auth-page .auth-note{
  margin-top:20px;
  padding:14px 16px;
  background:var(--bh-brand-soft);
  border:0;
  border-radius:16px;
}

.auth-benefits{
  padding:24px;
  border:2px solid var(--bh-line);
  border-radius:24px;
  box-shadow:none;
}

.auth-benefits h2{
  color:var(--bh-brand);
}

.auth-benefits li{
  background:#f4f8f4;
  border:1px solid var(--bh-line);
  color:var(--bh-brand);
}

.auth-benefits .button{
  width:100%;
  justify-content:center;
}

.auth-page .library-message{
  text-align:center;
  color:var(--bh-brand);
  font-weight:700;
}

@media(max-width:900px){
  .auth-layout{
    grid-template-columns:1fr;
    max-width:620px;
  }
  .auth-benefits{
    order:2;
  }
}

@media(max-width:650px){
  .auth-hero{
    padding:38px 18px 24px;
  }
  .auth-layout{
    width:calc(100% - 24px);
    margin-top:0;
  }
  .auth-card{
    padding:20px;
    border-radius:20px;
  }
  .auth-name-grid{
    grid-template-columns:1fr;
  }
  .auth-benefits{
    padding:20px;
  }
}

/* Remove the old orange hover language from the shared brand layer. */
:focus-visible{
  outline-color:var(--bh-brand);
}


/* BUBBA HUB — FINAL CSS CLEANUP */
:root{
  --bh-brand:#144400;
  --bh-brand-mid:#416651;
  --bh-brand-soft:#d8e6db;
  --bh-page:#fff;
  --bh-surface:#fff;
  --bh-surface-soft:#f7faf7;
  --bh-line:#d8e6db;
  --bh-clean-shadow:0 8px 24px rgba(20,68,0,.07);
}
html,body{background:var(--bh-page);}
body{color:#243027;overflow-x:clip;}
a,h1,h2,h3,h4{color:var(--bh-brand);}
.card,.admin-panel,.search-panel,.feature-card,.auth-benefits,.saved-activity-card,.preferences-layout>div,.account-planner-grid>.admin-panel,.activity-card,.directory-card,.bh-activity-card{
  background:#fff;border:1px solid var(--bh-line);box-shadow:var(--bh-clean-shadow);
}
input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{
  background:#fff;color:#243027;border:1px solid var(--bh-line);border-radius:12px;box-shadow:none;
}
input:not([type=checkbox]):not([type=radio]):not([type=file]):focus,select:focus,textarea:focus{
  border-color:var(--bh-brand-mid);box-shadow:0 0 0 3px rgba(65,102,81,.12);outline:none;
}
.button,.button-primary,.button-full,.home-full-button,.directory-calendar-hero-button,.directory-map-action-button,.directory-map-hero-button,.directory-planner-action-button,.auth-submit,button[type=submit]{
  background:var(--bh-brand)!important;border-color:var(--bh-brand)!important;color:#fff!important;
}
.button:hover,.button:focus-visible,.button-primary:hover,.button-full:hover,.home-full-button:hover,.directory-calendar-hero-button:hover,.directory-map-action-button:hover,.directory-map-hero-button:hover,.directory-planner-action-button:hover,.auth-submit:hover,button[type=submit]:hover,button[type=submit]:focus-visible{
  background:var(--bh-brand-mid)!important;border-color:var(--bh-brand-mid)!important;color:#fff!important;
}
.button-soft{background:var(--bh-brand-soft)!important;border-color:var(--bh-brand-soft)!important;color:var(--bh-brand)!important;}
.button-soft:hover,.button-soft:focus-visible{background:var(--bh-brand)!important;border-color:var(--bh-brand)!important;color:#fff!important;}
.button-secondary{background:#fff!important;border-color:var(--bh-line)!important;color:var(--bh-brand)!important;}
.button-secondary:hover,.button-secondary:focus-visible{background:var(--bh-surface-soft)!important;border-color:var(--bh-brand-mid)!important;color:var(--bh-brand)!important;}
.site-header{
  width:100%;max-width:none;margin:0;min-height:76px;padding:10px clamp(14px,3vw,42px);
  background:#fff;border:0;border-bottom:1px solid rgba(20,68,0,.08);border-radius:0;
  box-shadow:0 4px 16px rgba(20,68,0,.05);
}
.main-nav a{color:var(--bh-brand);border-radius:999px;}
.main-nav a:hover,.main-nav a.active{background:var(--bh-brand-soft);color:var(--bh-brand);transform:none;}
.auth-page{background:#fff;}
.auth-hero{background:#fff;box-shadow:none;}
.auth-card{background:#fff;border:1px solid var(--bh-line);box-shadow:var(--bh-clean-shadow);}
.auth-tabs{background:var(--bh-surface-soft);}
.auth-benefits{border:1px solid var(--bh-line);box-shadow:var(--bh-clean-shadow);}
.auth-benefits li{background:var(--bh-surface-soft);border:1px solid var(--bh-line);}
.hero-search-button:hover,.button-yellow:hover,.hero-links .button:first-child:hover{background:var(--bh-brand-mid);border-color:var(--bh-brand-mid);color:#fff;}
:focus-visible{outline:3px solid var(--bh-brand-mid);outline-offset:3px;}
@media(max-width:760px){
  .site-header{width:100%;margin:0;min-height:66px;padding:8px 12px;border-radius:0;}
  .main-content{width:calc(100% - 24px);margin-inline:auto;}
  .container{width:calc(100% - 24px);}
  .auth-card{padding:20px;}
}


/* FONT SAFETY: use a dependable system sans-serif.
   Prevent decorative cursive fallbacks when Google Fonts are unavailable. */
html,body,
button,input,select,textarea{
  font-family:Calibri,Arial,Helvetica,sans-serif!important;
}
h1,h2,h3,h4,h5,h6,
.page-heading h1,.page-heading h2,
.home-brush,.home-section-heading h2,
.my-hub-page .hub-welcome h2,
.my-hub-page .hub-personal-cta h2,
.planner-toolbar-copy h2,
.pro-section-head h2,.pro-modal h2{
  font-family:Calibri,Arial,Helvetica,sans-serif!important;
  font-weight:700;
}
