/* benzodoc.com header and phone layout. Loaded by bnz-phone-experience.php. Master: /root/fleet-publish/mu-plugins/.
   !important where Elementor's own per-element rules are more specific.
   History: fixes he approved on the /experience sheet of 1 Dec 2026 (items 1, 2, 3, 4, 7); 2 Dec 2026, his word ("all changes we have
   made for drleeds ... would work there"): the drleeds.com header layout (his mockup, Trilium Wc2WNEWhsTyf) with this site's own
   button colour, and the contact page without its photo band. */

/* 7: breadcrumb under a blog title in white, as on the other pages */
.elementor-363 .elementor-element-8bc3ba1 a,.elementor-363 .elementor-element-8bc3ba1 span,.elementor-363 .elementor-element-8bc3ba1 i{color:#fff !important}
/* 2: blog posts already carry the form after the article; the footer's second copy never shows */
.single-post .elementor-location-footer .elementor-element-8ed213b{display:none}
.single-post .elementor-location-footer .elementor-element-c2c74e9{margin-left:auto;margin-right:auto}

/* ---- Header (template 107, section 3dbb661), every width: it stays on screen; button far left, thin divider, logo,
   then the menu or the Menu button at the right. Columns: button bffc77a, logo 94b5288, menu 7e7b672. The order is set
   here as well as in the template, so the look does not depend on the template's column order. */
header.elementor-location-header{position:sticky;top:0;z-index:9990}
header.elementor-location-header .elementor-element-3dbb661{box-shadow:0 1px 6px rgba(0,0,0,.12)}
.elementor-location-header .elementor-element-3dbb661>.elementor-container{flex-wrap:nowrap;align-items:center}
.elementor-location-header .elementor-element-bffc77a{order:1;flex:0 0 auto}
.elementor-location-header .elementor-element-bffc77a>.elementor-widget-wrap{padding:0 !important}
.elementor-location-header .elementor-element-94b5288{order:2;width:auto !important;flex:0 0 auto;position:relative;margin-left:36px}
.elementor-location-header .elementor-element-94b5288::before{content:"";position:absolute;left:-18px;top:50%;width:1px;height:29px;margin-top:-14px;background:#D5DDE4}
.elementor-location-header .elementor-element-94b5288>.elementor-widget-wrap{padding:0 !important}
.elementor-location-header .elementor-element-7e7b672{order:3;width:auto !important;flex:0 0 auto;margin-left:auto}

/* a drop-down is as wide as its longest line ("Medically Supervised Tapering" ran 14 points past its 220 box) */
.elementor-location-header .bnz-nav-main .sub-menu{width:max-content;max-width:90vw}

/* ---- 768 and wider: the button keeps its two-line desktop size */
@media (min-width:768px){
.elementor-location-header .elementor-element-bffc77a{width:218px !important}
.elementor-location-header .elementor-element-94b5288 img{width:230px !important;max-width:none !important;height:auto}
}
/* the row has no side margin of its own below 1340 */
@media (min-width:768px) and (max-width:1339px){
.elementor-location-header .elementor-element-3dbb661>.elementor-container{padding-left:20px;padding-right:20px;box-sizing:border-box}
}

/* ---- 1025 to 1279 (a narrow desktop window, a tablet on its side): the menu wrapped to two rows here, so the Menu button
   is used. These seven rules repeat what bnz/bnz-elementor-free.css does up to 1024. */
@media (min-width:1025px) and (max-width:1279px){
.bnz-nav-main{display:none !important}
.bnz-nav-toggle{display:flex !important;align-items:center;padding:7px}
.elementor-location-header .bnz-nav-toggle svg{width:28px;height:28px}
.bnz-nav-dropdown.bnz-nav-open{display:block;position:absolute;left:0;right:0;top:100%;z-index:9999;background:#fff;box-shadow:0 4px 12px rgba(0,0,0,.15)}
.bnz-nav-dropdown .elementor-nav-menu{list-style:none;margin:0;padding:10px 0}
.bnz-nav-dropdown .elementor-nav-menu li a{display:block;padding:10px 20px}
.bnz-nav-dropdown .sub-menu{display:none;list-style:none;padding-left:15px}
.bnz-nav-dropdown .bnz-sub-open>.sub-menu{display:block}
}

/* ---- Up to 1279: the open menu goes across the full screen, under the header (item 4) */
@media (max-width:1279px){
.elementor-location-header .elementor-element-3dbb661>.elementor-container,.elementor-location-header .elementor-element-7e7b672,.elementor-location-header .elementor-element-7e7b672>.elementor-widget-wrap,.elementor-location-header .elementor-element-1714a42{position:static}
/* the template gives the open menu a 10px top margin with its own !important: the longer selector wins, so no strip of the page shows between header and menu */
header.elementor-location-header .elementor-element.elementor-element-1714a42 nav.bnz-nav-dropdown.bnz-nav-open{margin-top:0 !important}
.bnz-nav-dropdown.bnz-nav-open{max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px);overflow-y:auto}
.bnz-nav-dropdown .elementor-nav-menu{display:flex;flex-direction:column}
.bnz-nav-dropdown .elementor-nav-menu>li.menu-item-323{order:-1}
.bnz-nav-dropdown .elementor-nav-menu li a{white-space:normal;padding-left:20px !important}
.bnz-nav-dropdown .elementor-nav-menu .sub-menu li a{padding-left:35px !important}
.bnz-nav-dropdown .menu-item-has-children>a{position:relative;padding-right:48px}
.bnz-nav-dropdown .menu-item-has-children>a::after{content:"";position:absolute;right:22px;top:50%;width:8px;height:8px;margin-top:-7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:1 !important;background:none !important;left:auto;bottom:auto}
.bnz-nav-dropdown .menu-item-has-children.bnz-sub-open>a::after{transform:rotate(225deg);margin-top:-2px}
}

/* ---- Phones: the header's own button (hidden on phones in the template) is shown, smaller, with a tighter divider */
@media (max-width:767px){
.elementor-location-header .elementor-element-3dbb661{padding-top:6px !important;padding-bottom:6px !important}
.elementor-location-header .elementor-element-3dbb661>.elementor-container{padding-left:10px;box-sizing:border-box}
.elementor-location-header .elementor-element-bffc77a.elementor-hidden-mobile{display:flex !important;width:auto !important}
.elementor-location-header .elementor-element-bffc77a .elementor-button{display:block;box-sizing:border-box;max-width:132px;padding:7px 8px;font-size:12px;line-height:1.25;font-weight:600;text-align:center;border-radius:4px;white-space:normal}
.elementor-location-header .elementor-element-94b5288{flex:1 1 0;min-width:0;margin-left:21px}
.elementor-location-header .elementor-element-94b5288::before{left:-11px}
.elementor-location-header .elementor-element-94b5288 img{width:100% !important;max-width:188px !important;height:auto}
.elementor-location-header .elementor-element-7e7b672>.elementor-widget-wrap{padding:0 8px 0 4px !important}
/* 3: shorter title band on blog posts */
.elementor-363 .elementor-element-4a82dc9{padding-top:24px !important;padding-bottom:18px !important}
.elementor-363 .elementor-element-4a82dc9 h1{font-size:26px !important;line-height:1.3 !important}
}
@media (max-width:375px){
.elementor-location-header .elementor-element-bffc77a .elementor-button{max-width:96px;font-size:11.5px;padding:5px 6px}
}
@media (max-width:345px){
.elementor-location-header .elementor-element-bffc77a .elementor-button{max-width:86px;font-size:11px;padding:5px}
}

/* ---- Tablets: the footer's link list (icon list 79f7f3dc) was wider than its column and made every page run past the screen
   edge (25 points at 768, 52 at 1024); found 2 Dec 2026 while testing the header */
@media (min-width:768px) and (max-width:1024px){
.elementor-location-footer .elementor-element-79f7f3dc{width:auto !important;max-width:calc(100% - 30px) !important}
}
/* Footer social icons: Elementor pulls the row 3.5px past each edge, which made every phone page 394 wide on a 390 screen (seen by the
   Mac mini monitor, 1 Dec 2026); the same 4 points showed at 768 */
@media (max-width:1024px){
.elementor-location-footer .elementor-social-icons-wrapper{margin-left:0 !important;margin-right:0 !important}
}

/* ---- Contact page (255), every width: no photo band above the form (his word, 2 Dec 2026). Section 8938cba holds the page's
   only h1, "Contact", and the breadcrumb, so it is kept for screen readers and search engines and hidden from view;
   do NOT delete the section from the page. */
.elementor-255 .elementor-element-8938cba{position:absolute !important;width:1px !important;height:1px !important;min-height:0 !important;margin:-1px !important;padding:0 !important;overflow:hidden !important;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0 !important;background:none !important}
/* its column waits for an entrance animation that never starts once the band is 1px, and stayed visibility:hidden: screen readers then skip the h1 */
.elementor-255 .elementor-element-8938cba .elementor-invisible{visibility:visible !important}

/* ---- Entrance animations slide blocks in from beyond the screen edge, and for about a second the page measured 400 to 2,600 wide
   (a phone page could wobble sideways, a desktop page flashed a scroll bar). The animations stay; the part beyond the edge is no longer
   counted (his word, 2 Dec 2026: "Let's do the wider measurement fix, leaving animations intact"). The body already had overflow-x:clip,
   but a rule on the body is handed to the window and does not hold the width; it must sit on these two wrappers. Not on the header
   (it is sticky and its menu opens outside it). */
main#content.site-main,footer.elementor-location-footer{overflow-x:clip}
