/* Shared header lanes: the brand never shares its space with navigation. */
html#ag-site body#ag-home-page .elementor-location-header .ag-header-inner{display:grid!important;grid-template-columns:clamp(205px,20vw,300px) minmax(0,1fr)!important;gap:clamp(18px,2vw,32px)!important;box-sizing:border-box!important;max-width:1600px!important;width:100%!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-header-logo{width:100%!important;max-width:100%!important;min-width:0!important;flex:none!important;grid-column:1!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-header-logo>a{display:block!important;width:100%!important;max-width:100%!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-header-logo img{width:100%!important;max-width:100%!important;object-fit:contain!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-logo-slogan{max-width:100%!important;white-space:normal!important;overflow-wrap:normal!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-header-actions{grid-column:2!important;min-width:0!important;width:100%!important;max-width:100%!important;gap:clamp(12px,1.4vw,22px)!important;box-sizing:border-box!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-menu-desktop{flex:0 0 auto!important;width:max-content!important;max-width:none!important;margin:0!important}
html#ag-site body#ag-home-page .elementor-location-header .elementor-nav-menu--main>ul{display:flex!important;flex-wrap:nowrap!important;gap:clamp(8px,1vw,16px)!important;width:max-content!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-menu-desktop .elementor-item{padding-inline:9px!important;white-space:nowrap!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-header-actions>.ag-language-selector,html#ag-site body#ag-home-page .elementor-location-header .ag-menu-toggle{flex:0 0 auto!important;min-width:0!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-header-actions[data-ag-compact=true]>.ag-menu-desktop{display:none!important}
html#ag-site body#ag-home-page .elementor-location-header .ag-header-actions[data-ag-measuring]>.ag-menu-desktop{display:block!important;position:absolute!important;visibility:hidden!important;pointer-events:none!important}
@media(max-width:1250px){html#ag-site body#ag-home-page .elementor-location-header .ag-menu-desktop{display:none!important}}
@media(max-width:767px){html#ag-site body#ag-home-page .elementor-location-header .ag-header-inner{grid-template-columns:minmax(0,205px) auto!important;gap:12px!important;padding-inline:18px!important}html#ag-site body#ag-home-page .elementor-location-header .ag-header-actions{gap:10px!important}html#ag-site body#ag-home-page .elementor-location-header .ag-header-logo{max-width:205px!important}}
@media(max-width:380px){html#ag-site body#ag-home-page .elementor-location-header .ag-header-inner{grid-template-columns:minmax(0,1fr) auto!important;padding-inline:12px!important;gap:10px!important}html#ag-site body#ag-home-page .elementor-location-header .ag-header-actions{width:auto!important}}
/* Compact headers on category/legal pages retain a separate full-width menu row. */
body:not(#ag-home-page) header .header-inner{display:flex!important;flex-wrap:wrap!important;gap:16px!important;align-items:center!important}
body:not(#ag-home-page) header .brand{min-width:0!important;max-width:calc(100% - 130px)!important;flex:0 1 250px!important}
body:not(#ag-home-page) header .brand img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;object-fit:contain!important}
body:not(#ag-home-page) header #navigation{flex:1 1 100%!important;min-width:0!important;flex-wrap:wrap!important;justify-content:flex-end!important}
@media(max-width:900px){body:not(#ag-home-page) header #navigation{box-sizing:border-box!important;width:100%!important;max-width:100vw!important;justify-content:flex-start!important}}
/* No horizontal scrollbar or clipped brand in the shared drawer. */
html body .ag-premium-menu .ag-menu-nav{overflow-x:hidden!important}
html body .ag-premium-menu .ag-menu-slogan{white-space:normal!important}
html body .ag-premium-menu .ag-menu-actions{min-width:0;flex-wrap:wrap}
/* Use one spacing system instead of inherited margins plus padding and gaps. */
html#ag-site body#ag-home-page .elementor-location-header .ag-menu-desktop .elementor-item,html#ag-site body#ag-home-page .elementor-location-header .elementor-nav-menu--main>ul>li{margin:0!important}
/* Keep links hidden for the first layout measurement; the drawer stays available. */
html#ag-site body#ag-home-page .elementor-location-header .ag-header-actions:not([data-ag-compact])>.ag-menu-desktop{visibility:hidden!important}
