/* Text logo shared with HOME; inner pages retain their working search form. */
body:not(.home) .site-header .site-branding {
 background:#fff !important; min-height:100px; margin-top:0; margin-bottom:0;
}
body:not(.home) .site-header .site-branding > .header-group {
 width:auto; min-width:0; padding:16px 8px !important; align-self:center;
}
body:not(.home) .site-header .site-branding .header-group::before,
body:not(.home) .site-header .site-branding .header-group::after,
body:not(.home) .site-header .site-branding .site-title::after,
body:not(.home) .site-header .site-branding .aws-container::before {content:none;}
body:not(.home) .site-header .site-branding .aws-search-field {background:#fff !important;}
body:not(.home) .site-header .site-branding .aws-search-btn {background:#f6ce20; border-color:#f6ce20;}

/* HOME uses the theme's reference orange menu; keep the native category dropdown. */
body.home:has(.emalog-home-native-navigation) #logo-navigation {display:block !important;}
body.home .emalog-home-native-navigation .emalog-site-menu {display:none !important;}

/* Reference HOME header without a phone block. */
body.home .site-header .header-top .widget:has(.emalog-header-phone-text),
body.home .site-header a[href^="tel:"],
body.home .site-header .widget:has(a.logo-call-me) {display:none !important;}
body.home .home-header-static-hero-block:has(.emalog-home-native-navigation),
body.home .emalog-home-native-navigation .emalog-native-nav {background:#fdb819;}
body.home .emalog-home-native-navigation .emalog-catalog-dropdown {flex:0 0 293px; max-width:100%; background:#212121;}
@media(max-width:768px) {
 body.home .emalog-home-native-navigation .emalog-catalog-dropdown {flex:1 1 auto;}
}

/* Match the text reference with Rubik and reserve room for the orange HOME menu. */
body .site-header .site-branding .site-title,
body.home .site-header #logo-navigation {font-family:Rubik,sans-serif !important;}
body .site-header .site-branding .site-title {
 font-size:40px !important; font-weight:700 !important; font-style:normal !important;
 line-height:1.1 !important; letter-spacing:0 !important; margin:0 0 5px !important; height:auto !important;
}
body .site-header .site-branding .site-description {
 font-family:Rubik,sans-serif !important; font-size:13px !important; font-weight:400 !important;
 font-style:italic; line-height:1.45; letter-spacing:0; margin:0;
}
body.home .site-header #logo-navigation ul.menu > li > a {
 font-family:Rubik,sans-serif !important; font-size:15px !important; font-weight:500 !important;
 letter-spacing:.3px; white-space:nowrap;
}
@media(min-width:992px) {
 body.home .site-header .site-branding:has(> #logo-navigation) {
  display:grid; grid-template-columns:440px minmax(0,1fr) !important; grid-template-areas:"emalog-home-brand emalog-home-menu"; align-items:center;
 }
 body.home .site-header .site-branding > .header-group {grid-area:emalog-home-brand; width:auto; min-width:0; padding-left:8px; padding-right:8px;}
 body.home .site-header #logo-navigation {grid-area:emalog-home-menu; min-width:0; width:100%;}
 body.home .site-header #logo-navigation ul.menu {display:flex; flex-wrap:nowrap; justify-content:flex-end; align-items:center; gap:4px !important; margin:0; padding:0 8px;}
 body.home .site-header #logo-navigation ul.menu > li {flex:0 0 auto; margin:0;}
 body.home .site-header #logo-navigation ul.menu > li > a {padding-left:clamp(4px,calc((100vw - 992px)*.025),12px) !important; padding-right:clamp(4px,calc((100vw - 992px)*.025),12px) !important;}
 body.home .site-header #logo-navigation ul.menu > li.menu-item-has-children > a {padding-right:calc(clamp(4px,calc((100vw - 992px)*.025),12px) + 10px) !important;}
}
@media(min-width:992px) and (max-width:1199px) {
 body.home .site-header .site-branding:has(> #logo-navigation) {grid-template-columns:376px minmax(0,1fr) !important;}
}
@media(max-width:991px) {
 body .site-header .site-branding .site-title {font-size:clamp(28px,5vw,40px) !important;}
 body.home .site-header #logo-navigation ul.menu > li > a {white-space:normal;}
}
@media(max-width:991px) {
 body.home .site-header #logo-navigation ul.menu {display:flex !important; flex-direction:column; align-items:stretch; gap:0 !important;}
 body.home .site-header #logo-navigation ul.menu > li {float:none; width:100%; margin:0;}
 body.home .site-header #logo-navigation ul.menu > li > a {display:block; width:100%; box-sizing:border-box;}
}
