/* Broker Brink homepage prototype v4. Palette, button style and button font from SRQPR.com. Every class is prefixed bbh-. */
:root{
  /* SRQPR.com palette (Elementor kit 6 globals) */
  --srq-navy:#0D2E52; --srq-blue:#124275; --srq-deep:#0C3848; --srq-sky:#6EC1E4; --srq-gold:#FAC857; --srq-cream:#FFECC1; --srq-ice:#F2F5FF; --srq-mist:#EEF7FB; --srq-gray:#54595F;
  --bbh-navy:var(--srq-navy); --bbh-ink:var(--srq-navy);
  --bbh-display:Poppins,"Segoe UI",system-ui,sans-serif; --bbh-ui:Montserrat,"Segoe UI",system-ui,sans-serif; --bbh-btnfont:"Open Sans","Segoe UI",system-ui,sans-serif;
  --bbh-radius:12px; --bbh-shadow:0 10px 30px rgba(6,22,44,.28);
  --bbh-rail:76px; --bbh-gap:12px; --bbh-padr:58px;
  --bbh-glass:rgba(13,46,82,.5);
}
*{box-sizing:border-box}
html,body{margin:0}
html{scroll-behavior:smooth}
body{font-family:var(--bbh-ui);color:var(--bbh-ink);background:#fff;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%}
.bbh-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- Buttons (SRQPR.com style: Open Sans 600, 2px outline, 8px radius) ---------- */
.bbh-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:6px 16px;border:2px solid transparent;border-radius:8px;background:transparent;
  font:600 13px/1.2 var(--bbh-btnfont);letter-spacing:.01em;text-align:center;text-decoration:none;cursor:pointer;transition:background .18s,color .18s,border-color .18s}
.bbh-btn--dark{color:var(--srq-ice);border-color:var(--srq-sky);background:rgba(13,46,82,.35)}
.bbh-btn--dark:hover,.bbh-btn--dark:focus-visible,a:hover>.bbh-btn--dark,a:focus-visible>.bbh-btn--dark{background:var(--srq-sky);color:var(--srq-navy)}
.bbh-btn--sky{color:var(--srq-navy);border-color:var(--srq-sky);background:var(--srq-sky)}
.bbh-btn--sky:hover,.bbh-btn--sky:focus-visible{background:var(--srq-ice);border-color:var(--srq-ice)}
.bbh-btn--light{color:var(--srq-navy);border-color:var(--srq-navy)}
.bbh-btn--light:hover,.bbh-btn--light:focus-visible{background:var(--srq-navy);color:var(--srq-ice)}
.bbh-btn--navy{color:var(--srq-ice);border-color:var(--srq-navy);background:var(--srq-navy)}
.bbh-btn--navy:hover,.bbh-btn--navy:focus-visible{background:var(--srq-blue);border-color:var(--srq-blue)}
.bbh-btn--outline{min-height:44px;padding:10px 28px;border-radius:999px;border-color:rgba(242,245,255,.75);color:var(--srq-ice);font-size:12px;letter-spacing:.2em;text-transform:uppercase}
.bbh-btn--outline:hover,.bbh-btn--outline:focus-visible{background:var(--srq-sky);border-color:var(--srq-sky);color:var(--srq-navy)}
.bbh-btn--lg{min-height:46px;padding:10px 26px;font-size:15px}

/* ---------- HERO ---------- */
.bbh-hero{position:relative;min-height:100vh;min-height:100svh;overflow:hidden;isolation:isolate;display:flex;flex-direction:column;background:var(--srq-navy);
  padding:16px var(--bbh-padr) 16px calc(var(--bbh-rail) + 18px)}
.bbh-hero__media{position:absolute;inset:0;z-index:-2;background:var(--srq-navy) url("/wp-content/uploads/2026/11/bb-hero-poster-opt.jpg") center/cover no-repeat}
.bbh-hero__video{width:100%;height:100%;object-fit:cover;display:block}
.bbh-hero__shade{position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(90deg,rgba(13,46,82,.55) 0%,rgba(13,46,82,.18) 32%,rgba(13,46,82,0) 55%),
             linear-gradient(180deg,rgba(13,46,82,.4) 0%,rgba(13,46,82,0) 22%,rgba(13,46,82,0) 60%,rgba(13,46,82,.3) 100%)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

.bbh-grid{flex:1;display:grid;gap:var(--bbh-gap);
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:auto minmax(24px,1fr) minmax(clamp(206px,26vh,290px),auto) minmax(clamp(206px,26vh,290px),auto);
  grid-template-areas:
    "brand brand .     burger"
    ".     .     .     ."
    "sell  sbook bbook cash"
    "worth sbook bbook guides"}
.bbh-g-brand{grid-area:brand}.bbh-g-burger{grid-area:burger}
.bbh-g-sell{grid-area:sell}.bbh-g-worth{grid-area:worth}.bbh-g-sbook{grid-area:sbook}.bbh-g-bbook{grid-area:bbook}.bbh-g-cash{grid-area:cash}.bbh-g-guides{grid-area:guides}

/* ---------- Brand: search + @BROKERBRINK logo ---------- */
.bbh-brand{display:flex;flex-direction:column;gap:10px;align-self:start;justify-self:start;width:min(400px,100%)}
.bbh-search{display:flex;align-items:center;gap:8px;width:100%;height:34px;padding:0 6px 0 13px;
  border:1.5px solid rgba(242,245,255,.75);border-radius:999px;background:rgba(13,46,82,.45);backdrop-filter:blur(6px)}
.bbh-search svg{flex:0 0 14px;fill:#fff;opacity:.9}
.bbh-search input{flex:1;min-width:0;border:0;background:transparent;color:#fff;font:600 12px/1 var(--bbh-ui);letter-spacing:.14em;text-transform:uppercase;outline:none}
.bbh-search input::placeholder{color:rgba(255,255,255,.85)}
.bbh-search button{border:0;border-radius:999px;background:var(--srq-sky);color:var(--srq-navy);font:600 11px/1 var(--bbh-btnfont);letter-spacing:.04em;padding:6px 12px;cursor:pointer}.bbh-search button:hover{background:var(--srq-ice)}
.bbh-logo{display:block;line-height:0}
.bbh-logo img{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 10px rgba(0,0,0,.35))}
/* v35: balance team subline under @BROKERBRINK wordmark */
.bbh-team{margin:2px 0 0;width:100%;text-align:center;color:rgba(255,255,255,.92);font:600 11px/1.25 var(--bbh-ui);letter-spacing:.22em;text-transform:uppercase;text-shadow:0 1px 6px rgba(0,0,0,.4)}


/* ---------- MENU button + panel ---------- */
.bbh-burger{align-self:start;justify-self:end;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:86px;padding:10px 14px;
  border:2px solid var(--srq-sky);border-radius:8px;background:rgba(13,46,82,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:var(--srq-ice);cursor:pointer;
  box-shadow:0 8px 24px rgba(0,0,0,.35);transition:background .18s,color .18s}
.bbh-burger:hover,.bbh-burger:focus-visible{background:var(--srq-sky);color:var(--srq-navy)}
.bbh-burger__bars{display:grid;gap:5px}
.bbh-burger__bars span{display:block;width:32px;height:3px;border-radius:2px;background:currentColor}
.bbh-burger__label{font:600 12px/1 var(--bbh-btnfont);letter-spacing:.24em;text-transform:uppercase;margin-right:-.24em}
.bbh-menu{position:fixed;inset:0;z-index:1000}
.bbh-menu__backdrop{position:absolute;inset:0;border:0;background:rgba(6,22,44,.55);opacity:0;transition:opacity .2s}
.bbh-menu__panel{position:absolute;top:0;right:0;bottom:0;width:min(340px,88vw);padding:22px 26px;overflow:auto;background:linear-gradient(180deg,var(--srq-navy),var(--srq-blue));color:#fff;
  transform:translateX(100%);transition:transform .2s ease;box-shadow:-10px 0 30px rgba(0,0,0,.35)}
.bbh-menu.is-open .bbh-menu__backdrop{opacity:1}.bbh-menu.is-open .bbh-menu__panel{transform:none}
.bbh-menu__close{position:absolute;top:14px;right:14px;width:40px;height:40px;border:2px solid var(--srq-sky);border-radius:8px;background:transparent;color:var(--srq-ice);font-size:26px;line-height:1;cursor:pointer}
.bbh-menu__brand{display:block;width:210px;margin:6px 0 20px}.bbh-menu__brand img{display:block;width:100%;height:auto}
.bbh-menu ul{list-style:none;margin:0;padding:0}
.bbh-menu li a{display:block;padding:11px 0;border-bottom:1px solid rgba(110,193,228,.25);font:600 15px/1.2 var(--bbh-ui);color:#fff;text-decoration:none}
.bbh-menu li a:hover,.bbh-menu li a:focus-visible{color:var(--srq-sky)}
.bbh-menu__call{margin:20px 0 0;font:600 14px/1.7 var(--bbh-ui)}
.bbh-menu__call strong{font-weight:700}
.bbh-menu__call a{color:var(--srq-sky);text-decoration:none}

/* ---------- Social rail ---------- */
.bbh-rail{position:absolute;z-index:3;top:0;left:0;bottom:0;width:var(--bbh-rail);display:flex;flex-direction:column;align-items:center;justify-content:center;
  background:linear-gradient(180deg,rgba(9,30,58,.6),rgba(9,30,58,.3))}
.bbh-rail a{display:grid;place-items:center;width:50px;height:50px;border-radius:50%;transition:background .2s,transform .2s}
.bbh-rail a:hover,.bbh-rail a:focus-visible{background:rgba(110,193,228,.3);transform:scale(1.06)}
.bbh-rail svg{width:26px;height:26px;fill:#fff}
.bbh-rail__sep{width:16px;height:1px;background:rgba(255,255,255,.55);margin:5px 0}
.bbh-rail__line{width:1px;height:34px;background:rgba(255,255,255,.7);margin:14px 0}
.bbh-rail__label{writing-mode:vertical-rl;transform:rotate(180deg);color:#fff;font:600 13px/1 var(--bbh-ui);letter-spacing:.32em;text-transform:uppercase}


.bbh-tab{position:absolute;z-index:3;right:0;top:220px;width:40px;padding:20px 0;border-radius:14px 0 0 14px;background:linear-gradient(180deg,var(--srq-blue),var(--srq-navy));border:1px solid rgba(110,193,228,.6);border-right:0;
  box-shadow:-4px 6px 18px rgba(0,0,0,.25);color:#fff;text-decoration:none;display:flex;justify-content:center}
.bbh-tab span{writing-mode:vertical-rl;transform:rotate(180deg);font:700 10.5px/1 var(--bbh-ui);letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}



/* ---------- Tiles: translucent glass over the video ---------- */
.bbh-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;padding:14px;min-width:0;overflow:hidden;
  border:1px solid rgba(110,193,228,.55);border-radius:var(--bbh-radius);box-shadow:0 10px 30px rgba(6,22,44,.25);color:#fff;text-decoration:none;
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease}
.bbh-small{background:var(--bbh-glass);-webkit-backdrop-filter:blur(8px) saturate(1.15);backdrop-filter:blur(8px) saturate(1.15);
  display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"badge title" "sub sub" "more more";align-content:center;align-items:center;justify-items:start;text-align:left;column-gap:14px;row-gap:10px;padding:18px 20px}
a.bbh-tile:hover,a.bbh-tile:focus-visible{transform:translateY(-3px);box-shadow:0 16px 36px rgba(6,22,44,.4);border-color:var(--srq-sky)}
a.bbh-small:hover,a.bbh-small:focus-visible{background:rgba(13,46,82,.64)}
.bbh-small .bbh-tile__badge{grid-area:badge}.bbh-small .bbh-tile__title{grid-area:title;margin:0}.bbh-small .bbh-tile__sub{grid-area:sub}.bbh-small .bbh-tile__more{grid-area:more}
.bbh-tile__badge{display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:rgba(13,46,82,.28);border:1px solid rgba(110,193,228,.75)}
.bbh-tile__ill{display:block;width:30px;height:30px}
.bbh-tile__title{margin:2px 0 0;font:600 20px/1.18 var(--bbh-display);color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.bbh-tile__sub{margin:0;font:600 13px/1.4 var(--bbh-ui);color:var(--srq-ice);text-shadow:0 1px 6px rgba(0,0,0,.4)}

.bbh-book{justify-content:flex-start;gap:8px;padding:10px 10px 8px}
/* Full cover, never cropped: the image box fills the space above the buttons and the cover is contained in it at its true ratio;
   drop-shadow follows the painted cover (not the letterbox), with a thin spine highlight so it reads as a real book. */
.bbh-book__cover{flex:1 1 0;min-height:0;width:100%;height:100%;object-fit:contain;object-position:center;display:block;
  filter:drop-shadow(0 10px 14px rgba(0,0,0,.45)) drop-shadow(-1px 0 0 rgba(255,255,255,.18))}
.bbh-book__links{position:relative;flex:0 0 auto;display:flex;gap:6px;width:100%;padding:0}
.bbh-book__links .bbh-btn{flex:1;min-height:30px;padding:4px 6px;font-size:11.5px;line-height:1.15}
.bbh-book__links .bbh-btn--dark{background:rgba(13,46,82,.55)}

/* ---------- Home Search App: full-width blue band (layout follows BrokerBrink.com) ---------- */
.bbh-app{position:relative;overflow:hidden;color:#fff;background:linear-gradient(180deg,var(--srq-blue) 0%,var(--srq-navy) 100%);padding:0 var(--bbh-padr) 0 calc(var(--bbh-rail) + 18px)}
.bbh-app__inner{display:flex;align-items:flex-start;gap:72px;max-width:1080px;margin:0 auto;padding-top:60px}
.bbh-app__phone{position:relative;flex:0 0 300px;aspect-ratio:512/1036;margin-bottom:-170px;filter:drop-shadow(0 20px 40px rgba(0,0,0,.35))}
.bbh-app__viewport{position:absolute;top:8.6%;left:4.6%;right:4.6%;bottom:8.6%;overflow:hidden;border-radius:4px;background:#fff}
.bbh-app__slider{display:flex;height:100%;transition:transform .6s ease}
.bbh-app__screen{flex:0 0 100%;height:100%;background:#fff top center/cover no-repeat}
.bbh-app__frame{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none}
.bbh-app__dots{display:none}
.bbh-app__copy{flex:1;min-width:0;padding:8px 0 60px}
.bbh-app__title{margin:0;font:500 46px/1.05 var(--bbh-display);letter-spacing:.01em;text-transform:uppercase;color:#fff}
.bbh-app__brand{margin:10px 0 26px;font:600 12px/1 var(--bbh-btnfont);letter-spacing:.2em;text-transform:uppercase;color:var(--srq-sky)}
.bbh-app__list{margin:0;padding:0;list-style:none}
.bbh-app__list li{display:flex;gap:12px;align-items:center;margin:0 0 14px;font:600 15px/1.35 var(--bbh-ui);color:var(--srq-ice)}
.bbh-app__list img{flex:0 0 24px;width:24px;height:24px}
.bbh-app__foot{display:flex;align-items:center;flex-wrap:wrap;gap:16px 22px;margin-top:30px}
.bbh-app__code{margin:0;font:600 10px/1.2 var(--bbh-btnfont);letter-spacing:.16em;text-transform:uppercase;color:rgba(242,245,255,.75)}
.bbh-app__code strong{display:block;margin-top:3px;font:600 17px/1.1 var(--bbh-btnfont);letter-spacing:.08em;color:var(--srq-gold)}

/* ---------- Book series (blue band) ---------- */
.bbh-series{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:48px;align-items:center;padding:60px max(40px,calc((100% - 1100px)/2)) 64px max(calc(var(--bbh-rail) + 20px),calc((100% - 1100px)/2));background:linear-gradient(180deg,var(--srq-blue),var(--srq-navy));color:var(--srq-ice)}
.bbh-series__covers{position:relative;width:min(540px,100%);aspect-ratio:539/432;margin:0 auto}
.bbh-series__cover{position:absolute;display:block;height:auto;box-shadow:10px 24px 34px rgba(0,0,0,.45)}
.bbh-series__cover--buying{left:9%;top:6%;width:42%;transform:rotate(-16.5deg)}
.bbh-series__cover--selling{z-index:1;left:49%;top:7%;width:42%;transform:rotate(11.7deg)}
.bbh-series__title{margin:0 0 22px;font:600 30px/1.3 var(--bbh-display);color:#fff}
.bbh-series__row{display:flex;flex-wrap:wrap;gap:12px}.bbh-series__row .bbh-opill{flex:1 1 200px;max-width:250px}
.bbh-opill{flex-direction:column;gap:3px;padding:9px 14px;font-size:10.5px;line-height:1.4;letter-spacing:.12em;text-transform:uppercase}
.bbh-opill strong{font:600 14px/1 var(--bbh-btnfont);letter-spacing:.16em;color:var(--srq-gold)}
.bbh-opill:hover strong,.bbh-opill:focus-visible strong{color:var(--srq-navy)}
.bbh-series__body{margin:22px 0;font:500 14px/1.8 var(--bbh-ui);color:var(--srq-ice)}


/* ---------- Broker Brink's Blog (between social and videos) ---------- */
.bbh-blog{padding:48px var(--bbh-padr) 12px calc(var(--bbh-rail) + 18px);background:linear-gradient(180deg,var(--srq-mist) 0%,#fff 100%)}
.bbh-blog__inner{max-width:1100px;margin:0 auto}
.bbh-blog__eyebrow{margin:0 0 8px;font:700 12px/1.2 var(--bbh-btnfont);letter-spacing:.18em;text-transform:uppercase;color:var(--srq-blue)}
.bbh-blog__heading{margin:0 0 22px;font:700 clamp(28px,3vw,40px)/1.1 var(--bbh-display);color:var(--srq-navy);letter-spacing:.01em}
.bbh-blog__card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:0;border:1px solid rgba(110,193,228,.55);border-radius:var(--bbh-radius);overflow:hidden;background:var(--srq-navy);box-shadow:0 16px 36px rgba(13,46,82,.22)}
.bbh-blog__media{display:block;min-height:260px;background:#0b2340 var(--bbh-blog-bg) center/cover no-repeat;text-decoration:none}
.bbh-blog__body{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:28px 30px 30px;color:#fff}
.bbh-blog__kicker{margin:0;font:700 11px/1 var(--bbh-btnfont);letter-spacing:.16em;text-transform:uppercase;color:var(--srq-gold)}
.bbh-blog__feat{margin:0;font:600 clamp(20px,2vw,26px)/1.25 var(--bbh-display)}
.bbh-blog__feat a{color:#fff;text-decoration:none}
.bbh-blog__feat a:hover,.bbh-blog__feat a:focus-visible{color:var(--srq-sky)}
.bbh-blog__sub{margin:0;font:500 15px/1.4 var(--bbh-ui);color:rgba(242,245,255,.88)}
.bbh-blog__actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 22px;margin-top:8px}
.bbh-blog__cta{min-height:42px;padding:10px 22px;border-radius:999px;letter-spacing:.12em;text-transform:uppercase;font-size:12px}
.bbh-blog__featlink{font:600 14px/1.3 var(--bbh-ui);color:var(--srq-sky);text-decoration:none}
.bbh-blog__featlink:hover,.bbh-blog__featlink:focus-visible{color:var(--srq-gold);text-decoration:underline}
@media (max-width:900px){
  .bbh-blog{padding:36px 22px 8px}
  .bbh-blog__card{grid-template-columns:1fr}
  .bbh-blog__media{min-height:220px;aspect-ratio:16/9}
}
@media (max-width:600px){
  .bbh-blog__heading{font-size:26px}
  .bbh-blog__body{padding:22px 20px 24px}
  .bbh-blog__feat{font-size:18px}
}

/* ---------- Videos (white) ---------- */
.bbh-videos{display:grid;grid-template-columns:1.25fr 1.25fr 1fr;gap:18px;padding:44px var(--bbh-padr) 44px calc(var(--bbh-rail) + 18px);background:#fff}
.bbh-vtile{position:relative;display:flex;align-items:flex-end;min-height:230px;padding:18px 20px;border:1px solid rgba(110,193,228,.45);border-radius:var(--bbh-radius);overflow:hidden;color:#fff;text-decoration:none;
  background:linear-gradient(180deg,rgba(13,46,82,0) 35%,rgba(13,46,82,.88) 100%),var(--bbh-bg) center/cover no-repeat,var(--srq-blue);box-shadow:0 12px 28px rgba(13,46,82,.22);transition:transform .18s,border-color .18s}
.bbh-vtile:hover,.bbh-vtile:focus-visible{transform:translateY(-3px);border-color:var(--srq-sky)}
.bbh-vtile .bbh-play,.bbh-vtile__icon{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);display:grid;place-items:center;width:60px;height:60px;border-radius:50%;
  background:rgba(13,46,82,.6);border:2px solid var(--srq-ice);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);transition:background .18s,border-color .18s}
.bbh-vtile:hover .bbh-play,.bbh-vtile:hover .bbh-vtile__icon{background:var(--srq-sky);border-color:var(--srq-sky)}
.bbh-play::after{content:"";margin-left:5px;border-style:solid;border-width:11px 0 11px 18px;border-color:transparent transparent transparent #fff}
.bbh-vtile__icon svg{width:28px;height:28px;fill:#fff}
.bbh-vtile__copy{display:flex;flex-direction:column;gap:6px}
.bbh-vtile__title{margin:0;font:600 18px/1.2 var(--bbh-display);text-shadow:0 2px 10px rgba(0,0,0,.45)}
.bbh-vtile__more{font:600 11px/1 var(--bbh-btnfont);letter-spacing:.14em;text-transform:uppercase;color:var(--srq-gold)}

/* ---------- Personalized home search ---------- */
.bbh-phs{padding:56px 40px 64px calc(var(--bbh-rail) + 20px);background:#fff}
.bbh-phs > *{max-width:1100px;margin-left:auto;margin-right:auto}
.bbh-phs__title{margin-bottom:34px;text-align:center;font:500 25px/1.45 var(--bbh-display);color:var(--srq-navy)}
.bbh-phs__title span{display:block;font-weight:600;color:var(--srq-blue)}
.bbh-phs__intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:44px;align-items:center;margin-bottom:40px}
.bbh-phs__media{margin:0;display:flex;flex-direction:column;align-items:center;gap:18px}
.bbh-phs__media img{display:block;width:100%;height:auto;border-radius:16px;box-shadow:var(--bbh-shadow)}
.bbh-phs__start{min-height:44px;padding:10px 26px;font-size:14px}
.bbh-phs__copy p{margin:0 0 16px;font:500 15.5px/1.75 var(--bbh-ui);color:#2c3e55}
.bbh-phs__copy strong{color:var(--bbh-navy);font-weight:700}

.bbh-hs{padding:30px 40px 30px;border-radius:20px;background:var(--srq-mist);border:1px solid #d6e6f1;box-shadow:0 10px 30px rgba(13,46,82,.08);scroll-margin-top:20px}
.bbh-hs__title{display:inline-block;margin:0 0 22px;padding:14px 24px;border-radius:10px;background:var(--srq-ice);border-left:4px solid var(--srq-sky);font:600 28px/1.1 var(--bbh-display);color:var(--srq-navy)}
.bbh-hs__steps{display:flex;justify-content:space-between;margin:0 0 24px;padding:0;list-style:none;counter-reset:s}
.bbh-hs__steps li{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font:600 14px/1.25 var(--bbh-ui);color:#3c4a5c}
.bbh-hs__steps li:not(:last-child)::after{content:"";position:absolute;top:20px;left:calc(50% + 30px);right:calc(-50% + 30px);height:2px;background:#b9cfdf}
.bbh-hs__steps span{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:2px solid #9fb6c9;background:#fff;font:600 15px/1 var(--bbh-btnfont);color:var(--srq-navy)}
.bbh-hs__steps li.is-current{color:var(--bbh-navy)}
.bbh-hs__steps li.is-current span{border-color:var(--srq-sky);background:var(--srq-sky);color:var(--srq-navy)}
.bbh-hs__steps li.is-done span{border-color:var(--bbh-navy);background:var(--bbh-navy);color:#fff}
.bbh-hs__steps li.is-done::after{background:var(--bbh-navy)}
.bbh-hs__panel{margin:0;padding:0;border:0;min-width:0}
.bbh-hs__grid{display:grid;grid-template-columns:1fr 1fr;gap:16px 22px}
.bbh-hs label{display:flex;flex-direction:column;gap:7px;font:600 13px/1.2 var(--bbh-ui);color:#1f3550}
.bbh-hs input[type=text],.bbh-hs input[type=email],.bbh-hs input[type=tel],.bbh-hs select,.bbh-hs textarea{width:100%;min-height:46px;padding:10px 14px;border:1.5px solid transparent;border-radius:10px;background:#fff;
  box-shadow:0 1px 3px rgba(13,46,82,.12);font:500 15px/1.3 var(--bbh-ui);color:var(--bbh-navy);outline:none}
.bbh-hs textarea{resize:vertical;min-height:110px}
.bbh-hs input:focus,.bbh-hs select:focus,.bbh-hs textarea:focus{border-color:var(--srq-sky);box-shadow:0 0 0 3px rgba(110,193,228,.35)}
.bbh-hs .is-invalid{border-color:#d64545!important;box-shadow:0 0 0 3px rgba(214,69,69,.18)!important}
.bbh-hs__err{font:600 11.5px/1.2 var(--bbh-ui);color:#c03434}
.bbh-hs__label{margin:0 0 10px;font:700 14px/1.2 var(--bbh-ui);color:var(--bbh-navy)}
.bbh-hs__label small{font-weight:500;color:#4d5d70}
.bbh-hs__chips{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:18px}
.bbh-hs__chips label{flex-direction:row;cursor:pointer}
.bbh-hs__chips input{position:absolute;opacity:0;pointer-events:none}
.bbh-hs__chips span{display:inline-block;padding:9px 15px;border:1.5px solid #b9cfdf;border-radius:8px;background:#fff;font:600 13px/1 var(--bbh-ui);color:#1f3550;transition:background .15s,border-color .15s}
.bbh-hs__chips input:checked + span{background:var(--bbh-navy);border-color:var(--bbh-navy);color:#fff}
.bbh-hs__chips input:focus-visible + span{box-shadow:0 0 0 3px rgba(110,193,228,.5)}
.bbh-hs__full{margin-bottom:4px}
.bbh-hs__nav{display:flex;gap:16px;margin-top:22px}
.bbh-hs__btn{min-width:170px;min-height:44px;padding:0 24px;border:2px solid var(--srq-navy);border-radius:8px;background:var(--srq-navy);color:var(--srq-ice);font:600 15px/1 var(--bbh-btnfont);cursor:pointer;transition:background .15s,color .15s,border-color .15s}
.bbh-hs__btn:hover,.bbh-hs__btn:focus-visible{background:var(--srq-blue);border-color:var(--srq-blue)}
.bbh-hs__btn--line{background:transparent;color:var(--srq-navy)}.bbh-hs__btn--line:hover,.bbh-hs__btn--line:focus-visible{background:var(--srq-navy);color:var(--srq-ice)}
.bbh-hs__btn[disabled]{opacity:.6;cursor:wait}
.bbh-hs__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.bbh-hs__status{margin:14px 0 0;font:600 14px/1.4 var(--bbh-ui);color:var(--bbh-navy)}
.bbh-hs__status.is-error{color:#c03434}
.bbh-hs__done{padding:26px;border-radius:14px;background:#fff;text-align:center}
.bbh-hs__done h4{margin:0 0 8px;font:700 22px/1.2 var(--bbh-display);color:var(--bbh-navy)}
.bbh-hs__done p{margin:0;font:500 15px/1.6 var(--bbh-ui);color:#2c3e55}


/* ---------- Free consultation band (blue, above the dark footer) ---------- */
.bbh-band{position:relative;padding:56px var(--bbh-padr) 56px calc(var(--bbh-rail) + 18px);color:#fff;
  background:linear-gradient(90deg,rgba(13,46,82,.96) 0%,rgba(13,46,82,.88) 55%,rgba(18,66,117,.78) 100%),var(--bbh-bg) center/cover no-repeat,var(--srq-navy)}
.bbh-band__inner{display:flex;align-items:center;justify-content:space-between;gap:28px 48px;max-width:1100px;margin:0 auto}
.bbh-band__eyebrow{margin:0 0 8px;font:600 12px/1 var(--bbh-btnfont);letter-spacing:.24em;text-transform:uppercase;color:var(--srq-gold)}
.bbh-band__title{margin:0 0 10px;font:600 34px/1.15 var(--bbh-display);color:#fff}
.bbh-band__text{margin:0;max-width:520px;font:500 15px/1.65 var(--bbh-ui);color:var(--srq-ice)}
.bbh-band__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px;max-width:440px}
.bbh-band__mail{flex-basis:100%;margin:0;text-align:right;font:600 13px/1.4 var(--bbh-btnfont);color:var(--srq-sky)}
.bbh-band__mail a{color:var(--srq-sky);text-decoration:none}.bbh-band__mail a:hover{color:var(--srq-ice)}

/* ---------- Cash-back dialog ---------- */
.bbh-dialog{width:min(520px,92vw);padding:26px 26px 22px;border:2px solid var(--srq-navy);border-radius:14px;box-shadow:0 24px 60px rgba(0,0,0,.45);color:var(--bbh-navy);font-family:var(--bbh-ui)}
.bbh-dialog::backdrop{background:rgba(6,22,44,.6)}
.bbh-dialog h2{margin:0 0 8px;font:700 24px/1.15 var(--bbh-display);color:var(--srq-blue)}
.bbh-dialog__ill{display:block;width:96px;height:64px;margin:0 0 6px}
.bbh-dialog__close{position:absolute;top:12px;right:12px;width:36px;height:36px;border:2px solid var(--bbh-navy);border-radius:6px;background:#fff;font-size:22px;line-height:1;cursor:pointer}
.bbh-dialog__lead{margin:0 0 14px;font:500 15px/1.45 var(--bbh-ui)}
.bbh-dialog__note{margin:12px 0 14px;font:500 11.5px/1.45 var(--bbh-ui);color:#4a5d75}
.bbh-calc{display:grid;gap:8px;padding:14px;border:1.5px solid #d6e6f1;border-radius:10px;background:var(--srq-mist)}
.bbh-calc label{font:700 12px/1 var(--bbh-ui);letter-spacing:.06em;text-transform:uppercase}
.bbh-calc input[type=text]{height:42px;padding:0 12px;border:1.5px solid var(--srq-navy);border-radius:8px;font:700 18px/1 var(--bbh-display);color:var(--bbh-navy)}
.bbh-calc input[type=range]{width:100%;accent-color:var(--srq-blue)}
.bbh-check{display:flex;gap:8px;align-items:center;text-transform:none!important;letter-spacing:0!important;font-weight:600!important}
.bbh-calc__out{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding-top:8px;border-top:1px solid #cfe0f5}
.bbh-calc__out span{font:600 13px/1.2 var(--bbh-ui)}
.bbh-calc__out strong{font:700 26px/1 var(--bbh-display);color:#1d8a52;text-align:right}

#bbh-credit.is-note{font-size:17px;line-height:1.2}

/* ---------- Footer ---------- */
.bbh-foot{display:flex;flex-wrap:wrap;gap:10px 28px;align-items:center;justify-content:space-between;padding:18px 24px 18px calc(var(--bbh-rail) + 18px);background:#081d36;color:rgba(242,245,255,.85);font:500 12px/1.4 var(--bbh-ui)}
.bbh-foot a{color:#fff;font-weight:700;text-decoration:none}
.bbh-foot img{height:26px;width:auto;display:block}

/* ---------- Tablet ---------- */
@media (max-width:1100px){
  .bbh-hero{min-height:auto}
  .bbh-grid{grid-template-rows:auto 90px minmax(190px,auto) minmax(190px,auto)}
  .bbh-small{padding:14px}
  .bbh-tile__title{font-size:18px}
  .bbh-app__inner{gap:40px}
  .bbh-app__phone{flex-basis:250px;margin-bottom:-140px}
  .bbh-app__title{font-size:38px}
  .bbh-videos{grid-template-columns:1fr 1fr}.bbh-vtile--blog{grid-column:1/-1;min-height:160px}
  .bbh-series{grid-template-columns:1fr;gap:24px;padding-left:40px;padding-right:40px}
  .bbh-band__inner{flex-direction:column;align-items:flex-start}
  .bbh-band__actions{justify-content:flex-start;max-width:none}.bbh-band__mail{text-align:left}
}
/* ---------- Mobile: seller group, buyer group, then the app band right after the tiles ---------- */
@media (max-width:760px){
  :root{--bbh-rail:0px;--bbh-gap:10px;--bbh-padr:14px}
  .bbh-hero{padding:14px 14px 22px}
  .bbh-hero__shade{background:linear-gradient(180deg,rgba(13,46,82,.55) 0%,rgba(13,46,82,.25) 22%,rgba(13,46,82,.2) 60%,rgba(13,46,82,.45) 100%)}
  .bbh-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;
    grid-template-areas:"brand burger" "social social" "sell sbook" "worth sbook" "cash bbook" "guides bbook"}
  .bbh-g-social{grid-area:social}
  .bbh-brand{gap:8px}
  .bbh-burger{min-width:70px;padding:8px 10px;gap:5px}
  .bbh-burger__bars span{width:26px}
  .bbh-burger__label{font-size:10.5px}
  .bbh-tab{display:none}
  .bbh-rail{position:static;width:auto;flex-direction:row;flex-wrap:wrap;justify-content:center;background:none;padding:4px 0}
  .bbh-rail a{width:42px;height:42px}.bbh-rail svg{width:22px;height:22px}
  .bbh-rail__sep{width:1px;height:14px;margin:0 1px}
  .bbh-rail__line{display:none}
  .bbh-rail__label{writing-mode:horizontal-tb;transform:none;order:-1;flex-basis:100%;text-align:center;margin-bottom:2px;font-size:11px}
  .bbh-small{grid-template-columns:1fr;grid-template-areas:"badge" "title" "sub" "more";justify-items:center;text-align:center;row-gap:7px;padding:14px 8px}
  .bbh-team{font-size:9.5px;letter-spacing:.14em;text-align:center}
  .bbh-tile__title{font-size:16px}
  .bbh-tile__sub{font-size:12px}
  .bbh-tile__badge{width:50px;height:50px}.bbh-tile__ill{width:26px;height:26px}
  .bbh-tile__more{font-size:11px;min-height:30px;padding:4px 10px}
  .bbh-book{justify-content:flex-start;padding:8px 8px 10px}
  .bbh-book__cover{flex:0 0 auto;height:auto;aspect-ratio:auto}
  .bbh-book__links{flex-direction:column;flex:1;justify-content:center;gap:7px;padding:4px 0 0}
  .bbh-book__links .bbh-btn{flex:0 0 auto;min-height:30px;font-size:11px;padding:5px 6px}
  .bbh-app{padding:0 18px}
  .bbh-app__inner{flex-direction:column-reverse;align-items:center;gap:26px;padding-top:40px}
  .bbh-app__copy{padding:0;width:100%}
  .bbh-app__phone{flex:0 0 auto;width:230px;margin-bottom:-150px}
  .bbh-app__title{font-size:30px;text-align:center}
  .bbh-app__brand{text-align:center;margin-bottom:20px}
  .bbh-app__list li{font-size:14px;margin-bottom:11px}
  .bbh-app__foot{justify-content:center;margin-top:22px}
  .bbh-videos{grid-template-columns:1fr;padding:30px 14px}
  .bbh-vtile{min-height:200px}.bbh-vtile--blog{grid-column:auto;min-height:150px}
  .bbh-series{padding:40px 18px 44px}
  .bbh-series__title{font-size:24px;text-align:center}
  .bbh-series__row{justify-content:center}
  .bbh-series__row .bbh-opill{flex:1 1 100%;max-width:320px}
  .bbh-phs{padding:40px 14px 44px}
  .bbh-phs__title{font-size:20px}
  .bbh-phs__intro{grid-template-columns:1fr;gap:24px}
  .bbh-hs{padding:20px 16px}
  .bbh-hs__title{font-size:22px;padding:12px 16px}
  .bbh-hs__steps li{font-size:12px}
  .bbh-hs__steps li:not(:last-child)::after{left:calc(50% + 24px);right:calc(-50% + 24px)}
  .bbh-hs__grid{grid-template-columns:1fr}
  .bbh-hs__nav{flex-wrap:wrap}.bbh-hs__btn{flex:1;min-width:0}
  .bbh-band{padding:40px 18px}
  .bbh-band__inner{align-items:center;text-align:center}
  .bbh-band__title{font-size:27px}
  .bbh-band__actions{justify-content:center}.bbh-band__actions .bbh-btn{flex:1 1 100%}.bbh-band__mail{text-align:center}
  .bbh-foot{padding:18px 16px;justify-content:center;text-align:center}
}

/* ---------- v1.7: sticky mobile CTA bar (<=760px) ---------- */
.bbh-sticky{display:none}
@media (max-width:760px){
  .bbh-sticky{position:fixed;z-index:900;left:0;right:0;bottom:0;display:flex;gap:10px;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));
    background:rgba(13,46,82,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-top:1px solid rgba(110,193,228,.35);
    transition:transform .22s ease,opacity .22s ease}
  .bbh-sticky.is-hidden{transform:translateY(110%);opacity:0;pointer-events:none}
  .bbh-sticky a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:999px;font:600 13.5px/1.1 var(--bbh-btnfont);letter-spacing:.01em;text-decoration:none;white-space:nowrap}
  .bbh-sticky__call{color:#fff;border:1px solid rgba(255,255,255,.55)}
  .bbh-sticky__call svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}
  .bbh-sticky__go{background:var(--srq-sky);color:var(--srq-navy)}
  html.bbh-has-sticky body{padding-bottom:calc(64px + env(safe-area-inset-bottom,0px))}
}
@media (max-width:360px){.bbh-sticky a{font-size:12.5px}.bbh-sticky__call span{letter-spacing:-.01em}}

/* ---------- v1.7: exit-intent offer ---------- */
.bbh-exit{position:fixed;inset:0;z-index:1100;display:grid;place-items:center;padding:20px}
.bbh-exit[hidden]{display:none}
.bbh-exit__scrim{position:absolute;inset:0;background:rgba(6,22,44,.62);opacity:0;transition:opacity .2s}
.bbh-exit__card{position:relative;width:min(520px,100%);max-height:calc(100vh - 40px);overflow:auto;padding:34px 32px 26px;border-radius:18px;
  background:linear-gradient(160deg,var(--srq-navy),var(--srq-blue));color:#fff;border:1px solid rgba(110,193,228,.45);box-shadow:0 24px 60px rgba(0,0,0,.4);
  opacity:0;transform:translateY(12px);transition:opacity .2s,transform .2s;outline:none}
.bbh-exit.is-open .bbh-exit__scrim{opacity:1}.bbh-exit.is-open .bbh-exit__card{opacity:1;transform:none}
.bbh-exit__x{position:absolute;top:12px;right:12px;width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.bbh-exit__x:hover,.bbh-exit__x:focus-visible{background:rgba(255,255,255,.12)}
.bbh-exit__x svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.bbh-exit__kicker{margin:0 0 8px;font:700 12px/1 var(--bbh-ui);letter-spacing:.2em;text-transform:uppercase;color:var(--srq-sky)}
.bbh-exit__title{margin:0 0 12px;padding-right:30px;font:600 25px/1.25 var(--bbh-display);color:#fff}
.bbh-exit__text{margin:0 0 22px;font:500 15px/1.6 var(--bbh-ui);color:rgba(242,245,255,.92)}
.bbh-exit__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.bbh-exit__no{border:0;background:none;padding:10px 4px;color:rgba(242,245,255,.8);font:600 13px/1 var(--bbh-btnfont);text-decoration:underline;text-underline-offset:3px;cursor:pointer}
html.bbh-exit-lock{overflow:hidden}
@media (max-width:760px){.bbh-exit{align-items:end;padding:12px}.bbh-exit__card{padding:28px 22px 22px}.bbh-exit__title{font-size:22px}.bbh-exit__actions .bbh-btn{flex:1 1 100%}}
@media (prefers-reduced-motion:reduce){.bbh-exit__card,.bbh-exit__scrim,.bbh-sticky{transition:none}}
.bbh-exit .bbh-btn--light{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.6)}.bbh-exit .bbh-btn--light:hover{background:rgba(255,255,255,.1)}

/* ---------- v1.13 (Nov 4): bigger hero tile type; videos/blog at the true 16:9 YouTube ratio ---------- */
@media (min-width:761px){
  .bbh-small{grid-template-columns:minmax(0,1fr);grid-template-areas:"title" "sub" "more";row-gap:12px;padding:20px 22px}
  .bbh-small .bbh-tile__badge{position:absolute;bottom:18px;right:18px;width:44px;height:44px}
  .bbh-small .bbh-tile__ill{width:26px;height:26px}
  .bbh-small .bbh-tile__title{font-size:clamp(24px,2vw,30px);line-height:1.12}
  .bbh-small .bbh-tile__sub{font-size:clamp(14px,1.15vw,17px);line-height:1.35}
  .bbh-small .bbh-tile__more{font-size:clamp(13px,1vw,15px);min-height:42px;padding:8px 18px}
}
.bbh-videos{grid-template-columns:repeat(3,minmax(0,1fr))}
.bbh-vtile,.bbh-vtile--blog{container-type:inline-size;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;padding:0;background:var(--srq-navy)}
.bbh-vtile::before{content:"";display:block;width:100%;aspect-ratio:16/9;background:#0b2340 var(--bbh-bg) center/contain no-repeat}
.bbh-vtile .bbh-play,.bbh-vtile__icon{top:calc(56.25cqw - 62px);left:12px;transform:none;width:50px;height:50px}
.bbh-vtile__copy{gap:8px;padding:16px 18px 18px;min-height:108px;justify-content:flex-start}
.bbh-vtile__title{font-size:clamp(17px,1.45vw,22px);line-height:1.2;text-shadow:none;hyphens:auto}
.bbh-vtile__more{font-size:clamp(11px,.9vw,13px);letter-spacing:.12em}
@media (max-width:1100px){.bbh-videos{grid-template-columns:repeat(2,minmax(0,1fr))}.bbh-vtile--blog{grid-column:auto;min-height:0}}
@media (max-width:760px){
  .bbh-videos{grid-template-columns:1fr}.bbh-vtile,.bbh-vtile--blog{min-height:0}
  .bbh-tile__title{font-size:18px}.bbh-tile__sub{font-size:13px}.bbh-tile__more{font-size:12.5px;min-height:34px}
  .bbh-vtile__title{font-size:22px}.bbh-vtile__more{font-size:12px}
}

/* v1.21 hero "Search Sarasota Area Homes" button (centre of the hero, in the spacer row) */
.bbh-grid{grid-template-areas:
    "brand brand .     burger"
    ".     find  find  ."
    "sell  sbook bbook cash"
    "worth sbook bbook guides"}
.bbh-g-find{grid-area:find}
.bbh-find{display:flex;align-items:center;justify-content:center;padding:clamp(10px,3vh,36px) 0}
.bbh-find__btn{display:inline-flex;align-items:center;gap:12px;padding:20px 38px;border-radius:999px;font-size:clamp(17px,1.5vw,21px);letter-spacing:.06em;text-transform:uppercase;box-shadow:0 14px 36px rgba(0,0,0,.35);white-space:nowrap}
.bbh-find__btn svg{fill:currentColor;flex:0 0 22px}
@media (max-width:760px){
  .bbh-grid{grid-template-areas:"brand burger" "social social" "find find" "sell sbook" "worth sbook" "cash bbook" "guides bbook"}
  .bbh-find{padding:4px 0 8px}
  .bbh-find__btn{width:100%;justify-content:center;padding:16px 14px;font-size:15px;letter-spacing:.05em;white-space:normal;text-align:center}
}

/* v1.24 (round v12): book tiles removed from the hero; one row of four equal tiles, Sell | Worth | Guides | Cash-Back.
   The spacer/find row takes the freed height so more of the banner video shows. */
.bbh-grid{grid-template-rows:auto minmax(24px,1fr) minmax(clamp(190px,24vh,260px),auto);
  grid-template-areas:
    "brand brand  .      burger"
    ".     find   find   ."
    "sell  worth  guides cash"}
@media (max-width:1100px){.bbh-grid{grid-template-rows:auto 90px minmax(190px,auto)}}
@media (max-width:760px){
  .bbh-grid{grid-template-rows:none;grid-template-areas:"brand burger" "social social" "find find" "sell worth" "guides cash"}
}
@media (max-width:760px){.bbh-hero .bbh-small{min-height:262px}}

/* v1.25 (round v13): Area Guides wide band directly under the hero */
.bbh-areas{position:relative;display:flex;align-items:center;min-height:clamp(420px,52vh,560px);padding:clamp(56px,7vw,96px) calc(var(--bbh-rail,0px) + clamp(24px,6vw,96px));
  background:linear-gradient(90deg,rgba(13,46,82,.9) 0%,rgba(13,46,82,.72) 42%,rgba(13,46,82,.2) 75%,rgba(13,46,82,.05) 100%),var(--bbh-areas-bg) center/cover no-repeat;color:#fff}
.bbh-areas__inner{max-width:660px}
.bbh-areas__kicker{margin:0 0 14px;font:600 14px/1.2 var(--bbh-ui);letter-spacing:.24em;text-transform:uppercase;color:var(--srq-sky)}
.bbh-areas__title{margin:0 0 20px;font:600 clamp(48px,6vw,84px)/1.02 var(--bbh-display);color:#fff;letter-spacing:-.01em}
.bbh-areas__lead{margin:0 0 30px;font:500 clamp(17px,1.35vw,20px)/1.6 var(--bbh-ui);color:var(--srq-ice)}
.bbh-areas__actions{display:flex;flex-wrap:wrap;gap:14px}
.bbh-areas__btn{padding:16px 30px;font-size:15px;letter-spacing:.08em;text-transform:uppercase}
@media (max-width:760px){
  .bbh-areas{min-height:0;padding:48px 20px;background:linear-gradient(180deg,rgba(13,46,82,.82) 0%,rgba(13,46,82,.88) 100%),var(--bbh-areas-bg) center/cover no-repeat}
  .bbh-areas__title{font-size:46px}.bbh-areas__lead{font-size:16.5px}
  .bbh-areas__btn{flex:1 1 100%;justify-content:center;text-align:center}
}

/* v1.26 (round v14): Area Guides tweaks (bigger kicker, centred on mobile, sandcastle photo) + three FREE Guide tiles */
.bbh-areas{background-position:center,70% center}
.bbh-areas__kicker{font-size:clamp(18px,1.6vw,24px);letter-spacing:.2em;margin-bottom:16px}
@media (max-width:760px){
  .bbh-areas{justify-content:center;text-align:center;background-position:center,62% center}
  .bbh-areas__inner{margin:0 auto}
  .bbh-areas__actions{justify-content:center}
  .bbh-areas__kicker{font-size:18px}
}
.bbh-gtiles{padding:clamp(48px,6vw,80px) calc(var(--bbh-rail,0px) + clamp(20px,5vw,80px));background:var(--srq-navy);text-align:center;color:#fff}
.bbh-gtiles__kicker{margin:0 0 10px;font:600 clamp(16px,1.4vw,20px)/1.2 var(--bbh-ui);letter-spacing:.2em;text-transform:uppercase;color:var(--srq-sky)}
.bbh-gtiles__title{margin:0 0 32px;font:600 clamp(34px,4vw,56px)/1.08 var(--bbh-display);color:#fff}
.bbh-gtiles__row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:1240px;margin:0 auto}
.bbh-gtile{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:22px;min-height:200px;padding:30px 24px;border-radius:18px;text-decoration:none;color:#fff;
  background:linear-gradient(180deg,rgba(18,66,117,.95),rgba(12,56,72,.95));border:1px solid rgba(110,193,228,.45);box-shadow:0 14px 36px rgba(0,0,0,.25);transition:transform .2s,border-color .2s}
.bbh-gtile:hover,.bbh-gtile:focus-visible{transform:translateY(-3px);border-color:var(--srq-sky)}
.bbh-gtile__t{font:600 clamp(22px,2vw,30px)/1.15 var(--bbh-display);letter-spacing:.06em;text-transform:uppercase}
.bbh-gtile__more{padding:12px 24px;font-size:14px;letter-spacing:.08em;text-transform:uppercase}
@media (max-width:760px){.bbh-gtiles__row{grid-template-columns:1fr;gap:14px}.bbh-gtile{min-height:150px}}
@media (prefers-reduced-motion:reduce){.bbh-gtile{transition:none}}

/* v1.27: retain the sandcastle's natural colours; shade ONLY the copy panel, not the photograph. */
.bbh-areas{background:var(--bbh-areas-bg) 70% center/cover no-repeat;border-top:6px solid #f4ead8;border-bottom:6px solid #f4ead8}
.bbh-areas__inner{padding:32px;border-radius:16px;background:linear-gradient(110deg,rgba(28,25,22,.85),rgba(28,25,22,.74));box-shadow:0 12px 40px rgba(0,0,0,.12)}
@media(max-width:760px){
 .bbh-areas{padding:40px 14px;background:var(--bbh-areas-bg) 62% center/cover no-repeat;text-align:center;justify-content:center}
 .bbh-areas__inner{padding:26px 18px;width:100%;margin:0 auto}
 .bbh-areas__kicker,.bbh-areas__title,.bbh-areas__lead{text-align:center}
 .bbh-areas__actions{justify-content:center;text-align:center}
 .bbh-areas__btn{padding-left:12px;padding-right:12px}
}

/* v1.29 / round v17: John requests centred Area Guides copy on desktop as well as mobile. */
.bbh-areas{justify-content:center;text-align:center}
.bbh-areas__inner{margin-left:auto;margin-right:auto}
.bbh-areas__kicker,.bbh-areas__title,.bbh-areas__lead{text-align:center}
.bbh-areas__actions{justify-content:center;text-align:center}

/* v1.31 / round v22: larger two-line Area Guides CTA. */
.bbh-areas .bbh-areas__btn{display:block;font-size:clamp(17px,1.5vw,22px);line-height:1.45;padding:18px 26px;text-align:center;white-space:normal}
@media(max-width:760px){.bbh-areas .bbh-areas__btn{font-size:15px;letter-spacing:.025em;padding:16px 10px}}
/* v26: three hero search tiles replace the center search button */
.bbh-find--tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;width:100%;max-width:1100px;margin:0 auto}
.bbh-stile{display:flex;align-items:center;justify-content:center;text-align:center;min-height:76px;padding:14px 16px;border:2px solid #fff;border-radius:10px;background:#0a9bd8;color:#fff!important;font:700 clamp(16px,1.35vw,20px)/1.25 var(--bbh-btnfont);text-transform:uppercase;letter-spacing:.02em;text-decoration:none;box-shadow:0 10px 28px rgba(0,0,0,.35)}
.bbh-stile:hover,.bbh-stile:focus-visible{background:var(--srq-navy,#0b2545);color:#fff}
@media (max-width:760px){.bbh-find--tiles{grid-template-columns:1fr;gap:10px}.bbh-stile{min-height:58px;font-size:16px}}
@media (min-width:761px){.bbh-find--tiles.bbh-g-find{grid-column:1/-1;width:min(1100px,86vw);justify-self:center}.bbh-stile br{display:block}}

/* ========== v1.36 / round v27 ========== */
/* Markup A: three hero search tiles — equal size + same translucent glass as the four option cards below. */
.bbh-find--tiles{align-items:stretch}
.bbh-find--tiles.bbh-g-find{align-self:center}
.bbh-stile{
  display:flex;align-items:center;justify-content:center;text-align:center;
  align-self:center;width:100%;min-height:120px;height:auto!important;max-height:160px;padding:22px 18px;box-sizing:border-box;
  border:1.5px solid rgba(110,193,228,.55);border-radius:var(--bbh-radius,12px);
  background:var(--bbh-glass,rgba(13,46,82,.5));
  -webkit-backdrop-filter:blur(8px) saturate(1.15);backdrop-filter:blur(8px) saturate(1.15);
  color:#fff!important;
  font:700 clamp(15px,1.2vw,18px)/1.28 var(--bbh-btnfont);
  text-transform:uppercase;letter-spacing:.02em;text-decoration:none;
  box-shadow:0 10px 30px rgba(6,22,44,.25);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}
.bbh-stile:hover,.bbh-stile:focus-visible{
  transform:translateY(-3px);
  background:rgba(13,46,82,.64);
  border-color:var(--srq-sky,#6EC1E4);
  box-shadow:0 16px 36px rgba(6,22,44,.4);
  color:#fff!important;
}
@media (max-width:760px){
  .bbh-stile{min-height:72px;max-height:none;padding:16px 14px;font-size:15.5px}
}

/* Markup B sitewide (homepage + shared): every link button solid + clear border — no faint ghosts. */
.bbh-btn--dark{
  background:var(--srq-navy,#0D2E52)!important;
  border:2px solid var(--srq-sky,#6EC1E4)!important;
  color:var(--srq-ice,#F2F5FF)!important;
  box-shadow:0 6px 16px rgba(6,22,44,.28);
}
.bbh-btn--dark:hover,.bbh-btn--dark:focus-visible,
a:hover>.bbh-btn--dark,a:focus-visible>.bbh-btn--dark{
  background:var(--srq-sky,#6EC1E4)!important;
  border-color:var(--srq-sky,#6EC1E4)!important;
  color:var(--srq-navy,#0D2E52)!important;
}
.bbh-btn--outline{
  background:var(--srq-navy,#0D2E52)!important;
  border:2px solid var(--srq-sky,#6EC1E4)!important;
  color:#fff!important;
  border-radius:8px;
}
.bbh-btn--outline:hover,.bbh-btn--outline:focus-visible{
  background:var(--srq-sky,#6EC1E4)!important;
  border-color:var(--srq-sky,#6EC1E4)!important;
  color:var(--srq-navy,#0D2E52)!important;
}
.bbh-btn--light{
  background:var(--srq-navy,#0D2E52)!important;
  border:2px solid var(--srq-navy,#0D2E52)!important;
  color:#fff!important;
}
.bbh-btn--light:hover,.bbh-btn--light:focus-visible{
  background:var(--srq-blue,#124275)!important;
  border-color:var(--srq-sky,#6EC1E4)!important;
  color:#fff!important;
}
.bbh-btn--sky{border:2px solid var(--srq-navy,#0D2E52)!important}
.bbh-btn--navy{border:2px solid var(--srq-sky,#6EC1E4)!important}
.bbh-exit .bbh-btn--light{
  background:var(--srq-navy,#0D2E52)!important;
  border:2px solid var(--srq-sky,#6EC1E4)!important;
  color:#fff!important;
}
.bbh-exit .bbh-btn--light:hover{
  background:var(--srq-sky,#6EC1E4)!important;
  color:var(--srq-navy,#0D2E52)!important;
}
.bbh-areas__btn{border:2px solid var(--srq-sky,#6EC1E4)!important}
.bbh-book__links .bbh-btn--dark{background:var(--srq-navy,#0D2E52)!important}

/* ========== v1.37.4 / round v30: Area Guides CTA — professional navy like other page buttons ========== */
.bbh-areas .bbh-areas__btn{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:580px;
  margin:6px auto 0;
  padding:22px 32px!important;
  font:700 clamp(16px,1.55vw,21px)/1.35 var(--bbh-ui)!important;
  letter-spacing:.06em!important;
  text-transform:uppercase;
  text-align:center;
  white-space:normal;
  color:#fff!important;
  background:var(--srq-navy,#0D2E52)!important;
  border:2px solid var(--srq-sky,#6EC1E4)!important;
  border-radius:8px;
  box-shadow:0 12px 32px rgba(0,0,0,.35);
  transform:none;
  transition:background .2s,color .2s,border-color .2s,transform .2s,box-shadow .2s;
}
.bbh-areas .bbh-areas__btn:hover,
.bbh-areas .bbh-areas__btn:focus-visible{
  background:var(--srq-blue,#124275)!important;
  color:#fff!important;
  border-color:#fff!important;
  box-shadow:0 16px 40px rgba(0,0,0,.42);
  transform:translateY(-2px);
}
.bbh-areas__actions{justify-content:center}
@media (max-width:760px){
  .bbh-areas .bbh-areas__btn{
    max-width:none;
    padding:18px 16px!important;
    font-size:15px!important;
    letter-spacing:.04em!important;
  }
}


/* ---------- v33 Social + Monthly Video Newsletter (magazine layout from BrokerBrink.com) ---------- */
.bbh-social{background:var(--srq-mist);color:var(--srq-navy);padding:72px max(28px,calc((100% - 1120px)/2)) 28px}
.bbh-social__inner{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:48px 56px;align-items:start}
.bbh-social__eyebrow{margin:0 0 6px;font:600 13px/1.4 var(--bbh-ui);letter-spacing:.08em;text-transform:uppercase}
.bbh-social__eyebrow a,.bbh-social__heading a,.bbh-social__handle{color:inherit;text-decoration:none}
.bbh-social__eyebrow a:hover,.bbh-social__heading a:hover,.bbh-social__handle:hover{color:var(--srq-blue)}
.bbh-social__heading{margin:0 0 22px;font:700 42px/1.05 var(--bbh-display);letter-spacing:.02em;text-transform:uppercase;color:var(--srq-navy)}
.bbh-social__track-wrap{position:relative;display:flex;align-items:stretch;gap:10px}
.bbh-social__track{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:4px;width:100%}
.bbh-social__track::-webkit-scrollbar{display:none}
.bbh-social__card{flex:0 0 calc(50% - 8px);max-width:calc(50% - 8px);scroll-snap-align:start;background:#fff;border:1px solid rgba(13,46,82,.12);border-radius:14px;padding:14px 14px 18px;display:flex;flex-direction:column;gap:10px;box-shadow:0 10px 28px rgba(13,46,82,.08);min-width:0}
.bbh-social__media{display:block;border-radius:10px;overflow:hidden;aspect-ratio:16/10;background:var(--srq-navy)}
.bbh-social__media img{width:100%;height:100%;object-fit:cover;display:block}
.bbh-social__date{margin:2px 0 0;font:600 12px/1.3 var(--bbh-btnfont);letter-spacing:.08em;text-transform:uppercase;color:#4f6070}
.bbh-social__excerpt{margin:0;flex:1;font:500 14px/1.45 var(--bbh-ui);color:var(--srq-navy)}
.bbh-social__more{align-self:flex-start;min-height:36px;padding:8px 18px;border-radius:999px;border-width:1.5px;font-size:11px;letter-spacing:.14em;text-transform:uppercase}
.bbh-social__nav{flex:0 0 36px;width:36px;height:36px;align-self:center;border:1.5px solid var(--srq-navy);border-radius:50%;background:#fff;color:var(--srq-navy);font-size:22px;line-height:1;cursor:pointer}
.bbh-social__nav:hover,.bbh-social__nav:focus-visible{background:var(--srq-navy);color:#fff}
.bbh-social__nav[hidden]{visibility:hidden}
.bbh-social__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 22px}
.bbh-social__tile{display:block;aspect-ratio:1;border-radius:10px;overflow:hidden;background:var(--srq-navy);border:1px solid rgba(13,46,82,.1)}
.bbh-social__tile img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.bbh-social__tile:hover img,.bbh-social__tile:focus-visible img{transform:scale(1.04)}
.bbh-social__follow{display:inline-flex;min-height:44px;padding:10px 28px;border-radius:999px;border-color:var(--srq-sky);letter-spacing:.14em;text-transform:uppercase;font-size:12px}
.bbh-social__handle{display:block;margin:14px 0 0;text-align:center;font:600 15px/1.3 var(--bbh-ui);color:var(--srq-navy)}
.bbh-social__ig{text-align:center}
.bbh-social__ig .bbh-social__eyebrow,.bbh-social__ig .bbh-social__heading{text-align:center}
.bbh-social__ig .bbh-social__follow{margin-inline:auto}

.bbh-news{background:var(--srq-mist);color:var(--srq-navy);padding:28px max(28px,calc((100% - 860px)/2)) 80px;text-align:center}
.bbh-news__inner{max-width:860px;margin:0 auto}
.bbh-news__title{margin:0 0 10px;font:700 40px/1.05 var(--bbh-display);letter-spacing:.02em;text-transform:uppercase;color:var(--srq-navy)}
.bbh-news__sub{margin:0 0 28px;font:500 18px/1.4 var(--bbh-ui);color:var(--srq-navy)}
.bbh-news__form{display:flex;flex-direction:column;align-items:center;gap:18px}
.bbh-news__email{width:min(100%,640px);min-height:54px;padding:14px 26px;border:1.5px solid rgba(13,46,82,.22);border-radius:999px;background:#fff;color:var(--srq-navy);font:500 16px/1.3 var(--bbh-ui);outline:none}
.bbh-news__email:focus{border-color:var(--srq-sky);box-shadow:0 0 0 3px rgba(110,193,228,.35)}
.bbh-news__email.is-invalid{border-color:#b42318}
.bbh-news__choices{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 28px;width:100%}
.bbh-news__choice{display:inline-flex;align-items:center;gap:8px;font:600 14px/1.3 var(--bbh-ui);color:var(--srq-navy);cursor:pointer}
.bbh-news__choice input{width:16px;height:16px;accent-color:var(--srq-navy)}
.bbh-news__submit{min-height:42px;padding:10px 28px;border-radius:999px;border-color:var(--srq-sky);letter-spacing:.16em;text-transform:uppercase;font-size:12px}
.bbh-news__status{min-height:1.2em;margin:0;font:600 14px/1.4 var(--bbh-ui)}
.bbh-news__status.is-error{color:#b42318}
.bbh-news__done{padding:18px 8px}
.bbh-news__done h4{margin:0 0 8px;font:700 22px/1.2 var(--bbh-display);color:var(--srq-navy)}
.bbh-hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}

@media (max-width:980px){
  .bbh-social{padding:56px 22px 18px}
  .bbh-social__inner{grid-template-columns:1fr;gap:42px}
  .bbh-social__heading{font-size:34px}
  .bbh-social__card{flex-basis:85%;max-width:85%}
  .bbh-news__title{font-size:30px}
  .bbh-news{padding:18px 22px 64px}
}
@media (max-width:560px){
  .bbh-social__heading{font-size:28px}
  .bbh-social__grid{gap:8px}
  .bbh-social__card{flex-basis:88%;max-width:88%}
  .bbh-news__title{font-size:24px}
  .bbh-news__sub{font-size:16px}
  .bbh-news__choices{flex-direction:column;align-items:flex-start;gap:12px;padding:0 8px}
}

/* ========== v1.41.0 / round v40 (John markup t93ua6): card order Sell | Guides | Worth | Cash + balanced hero type ========== */
.bbh-grid{grid-template-areas:"brand brand  .      burger" ".     find   find   ." "sell  guides worth  cash"}
@media (max-width:760px){.bbh-grid{grid-template-areas:"brand burger" "social social" "find find" "sell guides" "worth cash"}}
/* Upper three search tiles: identical box, centered balanced two-line text */
.bbh-find--tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(10px,1.2vw,18px)}
.bbh-stile{height:100%!important;min-height:120px;max-height:none;text-wrap:balance;font:700 clamp(15px,1.2vw,18px)/1.3 var(--bbh-btnfont);letter-spacing:.03em}
@media (max-width:760px){.bbh-find--tiles{grid-template-columns:1fr}.bbh-stile{min-height:72px}}
/* Lower four cards: same height/padding; title block, subline and button sit on shared baselines */
@media (min-width:761px){
  .bbh-hero .bbh-small{align-self:stretch;height:100%;box-sizing:border-box;padding:22px 24px 22px;
    grid-template-rows:auto auto 1fr auto;grid-template-areas:"title" "sub" "." "more";align-content:stretch;row-gap:10px;font-size:clamp(23px,1.9vw,29px)}
  .bbh-hero .bbh-small .bbh-tile__title{font-size:1em;line-height:1.15;min-height:2.3em;display:flex;align-items:flex-end;text-wrap:balance;overflow:visible}
  .bbh-hero .bbh-small .bbh-tile__sub{min-height:2.7em;font-size:clamp(14px,1.1vw,16.5px);line-height:1.35;text-wrap:balance}
  .bbh-hero .bbh-small .bbh-tile__more{align-self:end;justify-self:start;margin-right:56px;white-space:nowrap}
  .bbh-hero .bbh-small .bbh-tile__badge{bottom:20px;right:20px}
}
@media (min-width:761px) and (max-width:1100px){
  .bbh-hero .bbh-small{padding:18px 18px;font-size:21px}
  .bbh-hero .bbh-small .bbh-tile__title{min-height:3.45em}
  .bbh-hero .bbh-small .bbh-tile__more{margin-right:0;white-space:normal}
  .bbh-hero .bbh-small .bbh-tile__badge{display:none}
}
@media (max-width:760px){
  .bbh-hero .bbh-small{grid-template-rows:auto auto 1fr auto;grid-template-areas:"badge" "title" "sub" "more";align-content:stretch}
  .bbh-hero .bbh-small .bbh-tile__title{min-height:2.4em;display:flex;align-items:center;justify-content:center;text-wrap:balance}
  .bbh-hero .bbh-small .bbh-tile__sub{text-wrap:balance}
  .bbh-hero .bbh-small .bbh-tile__more{align-self:end;white-space:normal}
}

/* ========== v1.42.0 / round v41 (John t93u): Guides | List | Cash-Back | Worth, centered balanced card text ========== */
.bbh-grid{grid-template-areas:"brand brand  .      burger" ".     find   find   ." "guides sell  cash   worth"}
@media (max-width:760px){.bbh-grid{grid-template-areas:"brand burger" "social social" "find find" "guides sell" "cash worth"}}
.bbh-hero .bbh-small{justify-items:center!important;text-align:center!important}
.bbh-hero .bbh-small .bbh-tile__title{justify-content:center;text-align:center;align-items:center!important;text-wrap:balance}
.bbh-hero .bbh-small .bbh-tile__sub{text-align:center;text-wrap:balance;max-width:24ch}
.bbh-hero .bbh-small .bbh-tile__more{justify-self:center!important;margin:0!important;text-align:center}
@media (min-width:761px){
  .bbh-hero .bbh-small{grid-template-rows:auto auto 1fr auto;grid-template-areas:"title" "sub" "." "more";padding:24px 22px}
  .bbh-hero .bbh-small .bbh-tile__title{min-height:2.3em}
  .bbh-hero .bbh-small .bbh-tile__badge{top:14px;right:14px;bottom:auto;width:36px;height:36px;opacity:.85}
  .bbh-hero .bbh-small .bbh-tile__badge .bbh-tile__ill{width:20px;height:20px}
}
@media (min-width:761px) and (max-width:1100px){.bbh-hero .bbh-small .bbh-tile__title{min-height:2.3em;font-size:20px}}
@media (max-width:760px){
  .bbh-hero .bbh-small .bbh-tile__title{min-height:2.4em;font-size:17px}
  .bbh-hero .bbh-small .bbh-tile__more{white-space:normal}
}

/* v1.43.0 / round v42 (John t94ua0): Worth | List | Cash-Back | Guides */
.bbh-grid{grid-template-areas:"brand brand  .      burger" ".     find   find   ." "worth sell  cash   guides"}
@media (max-width:760px){.bbh-grid{grid-template-areas:"brand burger" "social social" "find find" "worth sell" "cash guides"}}

/* ========== v1.44.0 / round v43 (John t94ua1): search tiles move into the top row between logo and menu; larger menu toggle (homepage hero only) ========== */
.bbh-hero .bbh-g-burger{min-width:108px;padding:14px 18px;gap:8px;border-radius:12px}
.bbh-hero .bbh-g-burger .bbh-burger__bars{gap:7px}
.bbh-hero .bbh-g-burger .bbh-burger__bars span{width:42px;height:4px}
.bbh-hero .bbh-g-burger .bbh-burger__label{font-size:14px}
@media (min-width:1101px){
  .bbh-grid{grid-template-areas:"brand .     .      burger" ".     .     .      ." "worth sell  cash   guides"}
  .bbh-hero .bbh-g-brand{width:100%;max-width:400px}
  .bbh-find--tiles.bbh-g-find{grid-row:1;grid-column:2/5;justify-self:stretch;align-self:start;width:auto;max-width:none;
    margin:0 calc(108px + var(--bbh-gap,18px)) 0 clamp(8px,1vw,20px);padding:0;gap:clamp(10px,1vw,16px);z-index:2}
  .bbh-hero .bbh-stile{min-height:88px;padding:14px 12px;font-size:clamp(14px,1.05vw,17px);line-height:1.28}
}
@media (min-width:761px) and (max-width:1100px){
  .bbh-hero .bbh-g-burger{min-width:96px;padding:12px 16px}
  .bbh-hero .bbh-g-burger .bbh-burger__bars span{width:36px}
}
@media (max-width:760px){
  .bbh-hero .bbh-g-burger{min-width:82px;padding:10px 12px;gap:6px}
  .bbh-hero .bbh-g-burger .bbh-burger__bars span{width:32px;height:3px}
  .bbh-hero .bbh-g-burger .bbh-burger__label{font-size:12px}
}

/* v1.46.0 / round v46 (John t96ua0): outer cards (Worth, PDF Guides) ~22% shorter than the two middle cards; bottoms aligned */
@media (min-width:761px){
  .bbh-hero .bbh-small.bbh-g-worth,.bbh-hero .bbh-small.bbh-g-guides{align-self:end;height:78%;min-height:0;padding-top:16px;padding-bottom:16px;row-gap:8px}
}

/* v1.47.0 / round v47 (John t96ua1): outer short cards are content-sized (no fixed 78% height that clipped the PDF CTA) */
@media (min-width:761px){
  .bbh-hero .bbh-small.bbh-g-worth,.bbh-hero .bbh-small.bbh-g-guides{
    align-self:end;height:auto;min-height:min(78%,100%);max-height:none;
    grid-template-rows:auto auto auto;grid-template-areas:"title" "sub" "more";align-content:center;
    padding:18px 20px 20px;row-gap:10px}
  .bbh-hero .bbh-small.bbh-g-guides .bbh-tile__title{min-height:0;white-space:nowrap}
  .bbh-hero .bbh-small.bbh-g-worth .bbh-tile__title{min-height:0}
  .bbh-hero .bbh-small.bbh-g-guides .bbh-tile__sub{min-height:0}
}

/* v1.50.0 / round v49 (John t99ua0): brand block order Team line / @BROKERBRINK logo / Keyword search; team line spans logo width */
.bbh-hero .bbh-brand{container-type:inline-size}
.bbh-hero .bbh-team{order:0;margin:0;width:100%;box-sizing:border-box;padding:0 .3%;
  font-size:clamp(9px,3.05cqw,15px);letter-spacing:.14em;line-height:1.2;white-space:nowrap;
  text-align:justify;text-align-last:justify}
.bbh-hero .bbh-logo{margin-top:-2px}
.bbh-hero .bbh-search{margin-top:4px}
@media (max-width:760px){.bbh-hero .bbh-team{font-size:clamp(8px,3cqw,12px);letter-spacing:.1em}}

/* v1.52.0 / round v51 (John t100ua0): team line — larger type, tighter tracking, natural word spacing (replaces v49 justify) */
.bbh-hero .bbh-team{text-align:center;text-align-last:auto;word-spacing:normal;letter-spacing:.04em;
  font-size:clamp(11px,3.55cqw,17px);line-height:1.2;white-space:nowrap;padding:0;overflow:visible}
@media (max-width:760px){.bbh-hero .bbh-team{font-size:clamp(8.5px,3.5cqw,13px);letter-spacing:.02em}}

/* v1.60.1 (staging): sticky mobile bar must never exceed the viewport — flex items may shrink and wrap instead of forcing 700px+ intrinsic width */
@media (max-width:760px){
  .bbh-sticky{box-sizing:border-box;width:100%;max-width:100vw}
  .bbh-sticky a{flex:1 1 0;min-width:0;box-sizing:border-box;white-space:normal;text-align:center;padding:6px 10px;overflow-wrap:anywhere}
  .bbh-sticky__call svg{flex:none}
}

/* v1.60.2 (staging): social section overflow — grid/flex items default to min-width:auto, so the FB carousel track expanded its column to the full card row (~693px). Let items shrink; the track scrolls internally as designed. */
.bbh-social__inner>*{min-width:0}
.bbh-social__track-wrap{min-width:0;max-width:100%}
.bbh-social__track{flex:1 1 auto;min-width:0}
@media (max-width:980px){.bbh-social__inner{grid-template-columns:minmax(0,1fr)}}

/* v1.60.3: restore John's preferred lower-card order PDF | List For Less | Cash-Back | Home Worth (desktop L→R + mobile grid) */
.bbh-grid{grid-template-areas:"brand brand  .      burger" ".     find   find   ." "guides sell  cash   worth"}
@media (max-width:760px){.bbh-grid{grid-template-areas:"brand burger" "social social" "find find" "guides sell" "cash worth"}}
@media (min-width:1101px){
  .bbh-grid{grid-template-areas:"brand .     .      burger" ".     .     .      ." "guides sell  cash   worth"}
}

/* v1.60.4: John t160u — Home Worth | List For Less | Cash-Back | PDF Guides (desktop L→R; mobile 2x2 worth/sell then cash/guides) */
.bbh-grid{grid-template-areas:"brand brand  .      burger" ".     find   find   ." "worth sell  cash   guides"}
@media (max-width:760px){.bbh-grid{grid-template-areas:"brand burger" "social social" "find find" "worth sell" "cash guides"}}
@media (min-width:1101px){
  .bbh-grid{grid-template-areas:"brand .     .      burger" ".     .     .      ." "worth sell  cash   guides"}
}

/* v1.60.6: social date contrast a11y */


/* ========== v1.61.11 / v76: home reorder — videos under books; FB|IG|Blog trio ========== */
.bbh-social{
  padding:56px max(24px,calc((100% - 1180px)/2)) 36px;
}
.bbh-social__inner{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px 24px;
  align-items:stretch;
}
.bbh-social__inner>*{
  min-width:0;
  display:flex;
  flex-direction:column;
}
.bbh-social__heading{
  margin:0 0 16px;
  font-size:clamp(22px,2vw,30px);
  line-height:1.08;
}
.bbh-social__fb .bbh-social__eyebrow,
.bbh-social__fb .bbh-social__heading{text-align:left}
.bbh-social__track-wrap{margin-top:auto}
/* One FB card visible per column so carousel + arrows stay usable */
.bbh-social__card{
  flex:0 0 100%;
  max-width:100%;
}
.bbh-social__excerpt{
  display:-webkit-box;
  -webkit-line-clamp:4;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.bbh-social__grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin:0 0 16px;
}
.bbh-social__follow{align-self:center}
.bbh-social__handle{margin-top:10px}

/* Blog column: vertical card (image top, copy below) */
.bbh-social__blog{
  background:transparent;
  padding:0;
}
.bbh-social__blog .bbh-blog__inner{
  max-width:none;
  margin:0;
  display:flex;
  flex-direction:column;
  height:100%;
}
.bbh-social__blog .bbh-blog__eyebrow{
  margin:0 0 6px;
  color:var(--srq-navy);
}
.bbh-social__blog .bbh-blog__heading{
  margin:0 0 14px;
  font-size:clamp(22px,2vw,30px);
  line-height:1.08;
  color:var(--srq-navy);
}
.bbh-social__blog .bbh-blog__card{
  display:grid;
  grid-template-columns:1fr;
  grid-template-rows:auto 1fr;
  flex:1 1 auto;
  min-height:0;
}
.bbh-social__blog .bbh-blog__media{
  min-height:0;
  aspect-ratio:16/10;
  width:100%;
}
.bbh-social__blog .bbh-blog__body{
  justify-content:flex-start;
  padding:18px 18px 20px;
  gap:10px;
}
.bbh-social__blog .bbh-blog__feat{
  font-size:clamp(16px,1.4vw,20px);
}
.bbh-social__blog .bbh-blog__actions{
  margin-top:auto;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}
.bbh-social__blog .bbh-blog__cta{
  background:var(--srq-sky)!important;
  border:2px solid var(--srq-navy)!important;
  color:var(--srq-navy)!important;
}

/* Videos sit directly under books — tighten top pad a touch on the white band */
.bbh-videos{padding-top:36px}

/* Newsletter continues mist band under the trio */
.bbh-news{padding-top:12px}

/* Tablet: 2 + 1 (FB|IG, Blog full width) */
@media (max-width:1023px){
  .bbh-social__inner{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:28px 20px;
  }
  .bbh-social__blog{grid-column:1/-1}
  .bbh-social__blog .bbh-blog__card{
    grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  }
  .bbh-social__blog .bbh-blog__media{
    aspect-ratio:auto;
    min-height:220px;
    height:100%;
  }
  .bbh-social__blog .bbh-blog__actions{flex-direction:row;align-items:center}
}

/* Narrow tablet / large phone: stack */
@media (max-width:760px){
  .bbh-social{padding:40px 16px 24px}
  .bbh-social__inner{grid-template-columns:1fr;gap:36px}
  .bbh-social__blog{grid-column:auto}
  .bbh-social__blog .bbh-blog__card{grid-template-columns:1fr}
  .bbh-social__blog .bbh-blog__media{min-height:0;aspect-ratio:16/9;height:auto}
  .bbh-social__blog .bbh-blog__actions{flex-direction:column;align-items:flex-start}
  .bbh-social__card{flex-basis:100%;max-width:100%}
  .bbh-social__heading{font-size:26px}
}

@media (max-width:560px){
  .bbh-social__grid{gap:6px}
  .bbh-social__heading{font-size:24px}
}
