/* MBB directory header, all pages — compact unified header */
#mbb-dir-site-header{height:70px!important;min-height:70px!important;z-index:2147482000!important;isolation:isolate!important}
#mbb-dir-site-header .header-inner{height:70px!important;min-height:70px!important;padding:0 clamp(12px,2.2vw,32px)!important}
#mbb-dir-site-header .logo img{width:auto!important;max-width:190px!important;max-height:55px!important;object-fit:contain!important}
#mbb-dir-site-header .nav{margin:0!important;max-width:none!important}
#mbb-dir-site-header .hamburger{box-shadow:none!important}
#mbbctb-topbar{display:none!important;visibility:hidden!important;height:0!important;min-height:0!important;padding:0!important;margin:0!important}
@media(max-width:950px){
#mbb-dir-site-header{height:70px!important;min-height:70px!important}
#mbb-dir-site-header .header-inner{height:70px!important;min-height:70px!important;padding:0 12px!important}
#mbb-dir-site-header .logo img{max-width:min(48vw,180px)!important;max-height:54px!important}
#mbb-dir-site-header .hamburger{width:43px!important;min-width:43px!important;height:43px!important}
#mbb-dir-site-header .nav{top:100%!important;max-height:calc(100dvh - 70px)!important;overscroll-behavior:contain!important}
}
/* Same readable hero on the original /channels/ pages; never change video layout */
body.mbb-channel-page .mbb-route-panel .mbb-banner{display:none!important}
.mbb-dir-approved-hero{display:block!important;width:100%!important;margin:0!important;padding:0!important;line-height:0!important;background:#100e0f!important;overflow:hidden!important}
.mbb-dir-approved-hero .mbb-dir-approved-desktop{display:block!important;width:100%!important;height:auto!important;object-fit:contain!important}
.mbb-dir-approved-hero .mbb-dir-approved-mobile{display:none!important}
@media(max-width:650px){
 .mbb-dir-approved-hero .mbb-dir-approved-desktop{display:none!important}
 .mbb-dir-approved-hero .mbb-dir-approved-mobile{display:block!important}
 .mbb-dir-approved-hero .mbb-dir-hero-photo{width:100%!important;height:180px!important;object-fit:cover!important;object-position:center 36%!important;display:block!important}
 .mbb-dir-approved-hero .mbb-dir-hero-copy{padding:22px 20px 25px!important;color:#fff!important;background:#100d0f!important;line-height:1.4!important}
 .mbb-dir-approved-hero .mbb-dir-hero-kicker{margin:0 0 7px!important;color:#d8ae6e!important;font:700 12px/1.4 Arial,sans-serif!important;letter-spacing:.24em!important}
 .mbb-dir-approved-hero .mbb-dir-hero-heading{margin:0!important;color:#fff!important;font:normal clamp(27px,7.6vw,42px)/1.08 Georgia,serif!important;letter-spacing:0!important}
 .mbb-dir-approved-hero .mbb-dir-hero-desc{margin:10px 0 0!important;color:#f5eeee!important;font:normal 14px/1.5 Arial,sans-serif!important}
 .mbb-dir-approved-hero .mbb-dir-hero-rule{width:130px;height:3px;background:linear-gradient(90deg,#ae7a3a,#f4dba0,#b4863a);margin-top:14px}
}
/* Override any original theme navbar region without hiding its content */
html:has(#mbb-dir-site-header){scroll-padding-top:82px!important}
.mbb-directory-addon-page #directorySearch,.mbb-directory-addon-page #categories,.mbb-directory-addon-page #directory-providers,
.mbb-directory-addon-page #how,.mbb-directory-addon-page #pros,.mbb-directory-addon-page #channels{scroll-margin-top:82px!important}

/* WordPress dashboard toolbar offset for logged-in editors only. */
body.admin-bar #mbb-dir-site-header{top:32px!important}
@media(max-width:782px){body.admin-bar #mbb-dir-site-header{top:46px!important}}

/* v1.1.4: anchors align to section titles; JS owns instant scroll corrections. */
.mbb-directory-addon-page #directorySearch,
.mbb-directory-addon-page #categories,
.mbb-directory-addon-page #directory-providers,
.mbb-directory-addon-page #how,
.mbb-directory-addon-page #pros,
.mbb-directory-addon-page #channels{scroll-margin-top:0!important}
.mbb-directory-addon-page #directoryHome .section-head .eyebrow,
.mbb-directory-addon-page #directoryHome .cta-copy .eyebrow{scroll-margin-top:0!important}

/* v1.1.5 — The Channels header remains pinned to the TOP during all scrolling. */
body.mbb-channel-page{padding-top:70px!important;min-width:0!important;max-width:100%!important}
body.mbb-channel-page #mbb-dir-site-header{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;height:70px!important;min-height:70px!important;transform:none!important;margin:0!important;z-index:2147482000!important}
body.mbb-channel-page .mbb-dir-approved-hero{width:100%!important;max-width:100%!important;height:auto!important;overflow:hidden!important}
body.mbb-channel-page .mbb-dir-approved-desktop{width:100%!important;height:auto!important;object-fit:contain!important;object-position:center!important}
/* Landscape handhelds can have an effective CSS viewport under 650px.
   In landscape, always use the original approved wide artwork, never the stacked portrait. */
@media (orientation:landscape) and (min-width:500px){
  body.mbb-channel-page .mbb-dir-approved-hero .mbb-dir-approved-desktop{display:block!important;width:100%!important;height:auto!important}
  body.mbb-channel-page .mbb-dir-approved-hero .mbb-dir-approved-mobile{display:none!important}
}
@media (min-width:651px){
  body.mbb-channel-page .mbb-dir-approved-hero .mbb-dir-approved-desktop{display:block!important}
  body.mbb-channel-page .mbb-dir-approved-hero .mbb-dir-approved-mobile{display:none!important}
}
@media (max-width:650px) and (orientation:portrait){
  body.mbb-channel-page .mbb-dir-approved-hero .mbb-dir-approved-desktop{display:none!important}
  body.mbb-channel-page .mbb-dir-approved-hero .mbb-dir-approved-mobile{display:block!important}
}
/* Hide original crown topbar only. WP dashboard stays accessible via /wp-admin/. */
body.mbb-channel-page #mbbctb-topbar{display:none!important}

/* Directory homepage only: modal must sit above the fixed header. */
.mbb-directory-addon-page .mbb-addon-dialog { z-index: 2147483000 !important; }
