/* v1.3.9: functional navigation changes. Existing brand/design unchanged. */
#mbb-dir-site-header .header-actions {display:none!important}
#mbb-dir-site-header .nav .mbb-nav-login {color:#e7c080!important}
#mbb-dir-site-header .nav .mbb-nav-login:hover {color:#fff!important}
@media (min-width:680px){
 #mbb-dir-site-header .header-inner{display:flex!important;flex-wrap:nowrap!important;gap:clamp(8px,1.2vw,19px)!important;padding-inline:clamp(12px,1.8vw,26px)!important}
 #mbb-dir-site-header .logo{flex:0 0 auto!important}
 #mbb-dir-site-header .logo img{width:auto!important;max-width:clamp(124px,16vw,188px)!important;max-height:61px!important}
 #mbb-dir-site-header .hamburger{display:none!important}
 #mbb-dir-site-header .nav{display:flex!important;position:static!important;flex:1 1 auto!important;min-width:0!important;width:auto!important;max-width:none!important;max-height:none!important;overflow:visible!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:flex-end!important;gap:clamp(5px,.85vw,16px)!important;padding:0!important;margin:0!important;background:none!important;border:0!important;box-shadow:none!important}
 #mbb-dir-site-header .nav>a,#mbb-dir-site-header .dropdown-toggle{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:39px!important;white-space:nowrap!important;font:700 clamp(10px,1.05vw,13px)/1.3 Arial,sans-serif!important;padding:6px 0!important}
 #mbb-dir-site-header .nav-dropdown{flex:0 0 auto!important;position:relative!important;width:auto!important}
 #mbb-dir-site-header .dropdown-toggle{width:auto!important;gap:3px!important}
 #mbb-dir-site-header .dropdown-content{position:absolute!important;top:100%!important;left:-10px!important;right:auto!important;display:none!important;width:max-content!important;min-width:190px!important;max-width:275px!important;max-height:calc(100dvh - 95px)!important;overflow:auto!important;margin:0!important;padding:7px!important;box-shadow:0 12px 30px rgba(0,0,0,.35)!important}
 #mbb-dir-site-header .nav-dropdown.open .dropdown-content{display:grid!important}
 #mbb-dir-site-header .dropdown-content a{font-size:12px!important;padding:10px 12px!important;min-height:39px!important}
}
@media (min-width:680px) and (max-width:790px){
 #mbb-dir-site-header .logo img{max-width:125px!important}
 #mbb-dir-site-header .header-inner{gap:8px!important;padding-inline:11px!important}
 #mbb-dir-site-header .nav{gap:7px!important}
 #mbb-dir-site-header .nav>a,#mbb-dir-site-header .dropdown-toggle{font-size:10px!important;letter-spacing:-.1px!important}
}
@media (max-width:679px){
 #mbb-dir-site-header .hamburger{display:flex!important}
 #mbb-dir-site-header .nav{display:none!important}
 #mbb-dir-site-header .nav.is-open{display:flex!important}
 #mbb-dir-site-header .nav .mbb-nav-login{width:100%!important}
}
/* The hero must grow to accommodate both buttons in tablet portrait/landscape.
   The photo, fonts, gradients, and exact approved body design are not modified. */
@media (min-width:701px) and (max-width:1110px){
 #directoryHome .mbb4-hero{height:auto!important;min-height:350px!important;overflow:visible!important}
 #directoryHome .mbb4-hero-copy{padding-top:15px!important;padding-bottom:19px!important;box-sizing:border-box!important}
 #directoryHome .mbb4-hero-cta{flex-wrap:wrap!important;gap:9px!important;max-width:100%!important}
 #directoryHome .mbb4-hero-cta .mbb4-btn{flex:1 1 148px!important;min-width:0!important;max-width:100%!important;min-height:42px!important}
 #directoryHome .mbb4-hero-image{min-height:350px!important;overflow:hidden!important}
}
@media (max-width:700px){
 #directoryHome .mbb4-hero{height:auto!important;overflow:visible!important}
 #directoryHome .mbb4-hero-cta .mbb4-btn{max-width:100%!important}
}

@media (min-width:1111px){
 #directoryHome .mbb4-hero{height:auto!important;min-height:350px!important;overflow:visible!important}
 #directoryHome .mbb4-hero-copy{padding-bottom:20px!important}
 #directoryHome .mbb4-hero-image{min-height:350px!important;overflow:hidden!important}
}

/* v1.3.9.7: restore approved pink List Your Business button at END of mobile dropdown. */
#mbb-dir-site-header .nav > .mbb-mobile-list-business{display:none!important}
@media(max-width:679px){
 #mbb-dir-site-header .nav > .mbb-mobile-list-business{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:100%!important;min-height:43px!important;box-sizing:border-box!important;
  margin:12px 0 2px!important;padding:10px 15px!important;border-radius:9px!important;
  background:#e60a77!important;color:#fff!important;text-align:center!important;
  font:700 14px/1.3 Arial,sans-serif!important;text-decoration:none!important;white-space:normal!important;
 }
 #mbb-dir-site-header .nav > .mbb-mobile-list-business:hover,
 #mbb-dir-site-header .nav > .mbb-mobile-list-business:focus-visible{background:#c80765!important;color:#fff!important}
}

/* v1.3.9.13 — Horizontal navigation CTA visibility only.
   The approved List Your Business anchor already exists. It was hidden
   at >=680px while the hamburger was hidden, leaving no pink CTA.
   Restore that same link as a compact pink pill in the horizontal nav.
   The original portrait dropdown and all other site sections are unchanged. */
@media (min-width:680px){
 #mbb-dir-site-header .nav > .mbb-mobile-list-business{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  flex:0 0 auto!important;width:auto!important;max-width:none!important;
  min-height:36px!important;margin:0!important;padding:8px 12px!important;
  border:0!important;border-radius:20px!important;background:#e60a77!important;
  color:#fff!important;text-align:center!important;
  font:700 11px/1.2 Arial,sans-serif!important;text-decoration:none!important;white-space:nowrap!important;
 }
 #mbb-dir-site-header .nav > .mbb-mobile-list-business:hover,
 #mbb-dir-site-header .nav > .mbb-mobile-list-business:focus-visible{
  background:#c80765!important;color:#fff!important;
 }
}
/* Narrow horizontal menus (including phone landscape): reserve CTA room
   without hiding/reordering any approved navigation item. */
@media (min-width:680px) and (max-width:950px){
 #mbb-dir-site-header .nav{gap:clamp(3px,.6vw,7px)!important}
 #mbb-dir-site-header .logo img{max-width:clamp(100px,12.4vw,126px)!important}
 #mbb-dir-site-header .nav > a:not(.mbb-mobile-list-business),
 #mbb-dir-site-header .dropdown-toggle{font-size:clamp(9px,.9vw,10px)!important}
 #mbb-dir-site-header .nav > .mbb-mobile-list-business{
  min-height:32px!important;padding:7px 9px!important;font-size:10px!important
 }
}
