/* Shared local header/footer edition. Component roots isolate future theme integration. */
#marsh-header-v07{--mh-focus:#896500;--mh-separator:#dce2e3}
#marsh-header-v07 [hidden]{display:none!important}
#marsh-header-v07 .search-form{transition:background-color 180ms,outline-color 180ms;outline:1px solid transparent;outline-offset:0}
#marsh-header-v07 .search-form:focus-within{outline-color:#a8b4b8;background:#fff}
#marsh-header-v07 .search-form:has(input:focus-visible){outline:2px solid var(--mh-focus);outline-offset:2px}
#marsh-header-v07 :is(.search-btn,.mobile-tool,.mobile-menu-trigger,.tool-link){transition:background-color 180ms,transform 140ms}
#marsh-header-v07 :is(.search-btn,.mobile-tool,.mobile-menu-trigger,.tool-link):active{transform:translateY(1px)}
#marsh-header-v07 .search-btn:hover{background:#e9b50b;color:#232e35}
#marsh-header-v07 .navbar{border-bottom-color:var(--mh-separator)}
#marsh-header-v07 .nav-button[aria-expanded=true]{background:#fff2bb;color:#232e35}
#marsh-header-v07 .nav-button[aria-expanded=true]::after{display:none}
#marsh-header-v07 .mega-titlebar{padding-bottom:14px;border-bottom:1px solid var(--mh-separator);margin-bottom:20px}
#marsh-header-v07 .mega-titlebar h2::before{display:none}
#marsh-header-v07 .mega-selector-link{display:flex;align-items:center;justify-content:space-between;padding:15px 10px;margin-top:4px;color:#41525b;font-size:14px;font-weight:500;line-height:1.8}
#marsh-header-v07 .mega-main-head{margin-bottom:14px}
#marsh-header-v07 .mega-cats a{position:relative;min-height:48px;padding-inline:14px 34px;transition:background-color 180ms,color 180ms}
#marsh-header-v07 .mega-cats a::after{content:'';position:absolute;inset-inline-end:17px;top:calc(50% - 3px);width:6px;height:6px;border-left:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:translate 180ms}
#marsh-header-v07 .mega-cats a:hover::after{translate:-3px 0}
#marsh-header-v07 :is(.mega-cats,.mh10-shortcuts) bdi{font:inherit;font-family:Arial,sans-serif}
#marsh-header-v07 .mega-cats a:is([href$='/hmi-siemens/'],[href$='/siemens-g120-drive/']){background:#fff2bb;color:#232e35}
#marsh-header-v07 .mega-promo{gap:14px}
#marsh-header-v07 .mega-promo p{font-size:14px;line-height:1.95}
#marsh-header-v07 .mega-promo :is(a,button):focus-visible,#marsh-header-v07 .mh5-service-feature :is(a,button):focus-visible{outline-color:#f7c51e}
#marsh-header-v07 #mega-brands .simple-aside{justify-content:center}
#marsh-header-v07 #mega-brands .simple-aside strong{font-weight:500}
#marsh-header-v07 #mega-brands .simple-aside .mh-aside-logo{display:block;width:38px;height:51px;margin-bottom:4px}
#marsh-header-v07 #mega-brands .simple-grid>a{transition:background-color 200ms,border-color 200ms,transform 200ms}
#marsh-header-v07 #mega-brands .simple-grid>a:hover{transform:translateY(-2px)}
#marsh-header-v07 .mh10-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:18px}
#marsh-header-v07 .mh10-shortcuts>a{min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px;background:#fff1b6;color:#232e35;border-radius:12px;font-size:14px;line-height:1.8}
#marsh-header-v07 .mh10-shortcuts>a .ico{width:15px;height:15px}
#marsh-header-v07 .mh10-shortcuts bdi{white-space:nowrap}
#marsh-header-v07 .drawer-close{width:44px;height:44px}
#marsh-header-v07 .drawer-tabs button{min-height:44px}
#marsh-header-v07 .drawer-main{scrollbar-color:#a9b6bc transparent}
#marsh-header-v07 .acc{border-bottom:1px solid var(--mh-separator);border-radius:0;margin-bottom:0}
#marsh-header-v07 .acc summary{padding-inline:6px;min-height:60px;font-size:14px}
#marsh-header-v07 .acc-links a{min-height:44px;font-size:14px}
#marsh-header-v07 .drawer-head{height:70px;border-bottom:1px solid var(--mh-separator)}
#marsh-header-v07 .drawer-bottom{padding-block:12px max(16px,env(safe-area-inset-bottom));border-top:1px solid var(--mh-separator);background:#f5f6f3}
#marsh-header-v07 .mh5-drawer-engineering{background:#232e35;color:#fff;text-decoration:none;min-height:48px}
#marsh-header-v07 .mh5-drawer-engineering :is(svg,.ico){color:#f7c51e}
#marsh-header-v07 .mh5-drawer-engineering:focus-visible{outline-offset:-4px;outline-color:#f7c51e}
#marsh-header-v07 .drawer-contact{min-height:36px;margin-top:8px}

#marsh-footer-v06[data-frame-version='10']{--mf-ink:#232e35;--mf-muted:#c7d2d7;--mf-line:#4b5b64;--mf-yellow:#f7c51e;background:var(--mf-ink);color:#fff;font:500 14px/1.9 MarshSans,Tahoma,sans-serif;direction:rtl;font-synthesis:none;letter-spacing:0;padding-top:0}
#marsh-footer-v06 .mf10-shell{width:min(1320px,calc(100% - 64px));margin-inline:auto}
#marsh-footer-v06 .mf10-intro{display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:28px;align-items:center;padding-block:42px;border-bottom:1px solid var(--mf-line)}
#marsh-footer-v06 .mf10-logo{display:flex;align-items:center;justify-content:center;min-height:80px}
#marsh-footer-v06 .mf10-logo img{width:52px;height:71px;object-fit:contain}
#marsh-footer-v06 .mf10-intro h2{font-family:MarshDisplay,MarshSans,Tahoma,sans-serif;font-size:28px;font-weight:600;color:white;line-height:1.6;margin:0;text-wrap:balance}
#marsh-footer-v06 .mf10-intro p{font-size:14px;color:var(--mf-muted);max-width:70ch;margin:10px 0 0;line-height:1.95}
#marsh-footer-v06 .mf10-about{min-height:48px;display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border:1px solid #71838d;border-radius:10px;padding:10px 16px;color:#fff;font-size:14px}
#marsh-footer-v06 .mf10-about .vr-icon{width:18px;height:18px;color:var(--mf-yellow);transition:transform 200ms}
#marsh-footer-v06 .mf10-about:hover .vr-icon{transform:translateX(-4px)}
#marsh-footer-v06 .mf10-directory{display:grid;grid-template-columns:1fr 1fr 1.05fr 1.55fr;gap:32px;align-items:start;padding-block:36px 42px}
#marsh-footer-v06 .mf10-group{min-width:0}
#marsh-footer-v06 .mf10-group summary{font-size:16px;font-weight:500;line-height:1.8;list-style:none;cursor:default;color:#fff;margin:0 0 16px;min-height:29px}
#marsh-footer-v06 .mf10-group summary::-webkit-details-marker{display:none}
#marsh-footer-v06 .mf10-toggle{display:none}
#marsh-footer-v06 .mf10-links{display:grid;gap:0}
#marsh-footer-v06 .mf10-links>a{display:flex;align-items:center;width:fit-content;max-width:100%;min-height:40px;padding-block:5px;font-size:14px;line-height:1.8;text-decoration:underline;text-underline-offset:6px;text-decoration-color:#7e919d;color:#dce5e9;transition:color 180ms,text-decoration-color 180ms}
#marsh-footer-v06 .mf10-links>a:hover{color:var(--mf-yellow);text-decoration-color:var(--mf-yellow)}
#marsh-footer-v06 .mf10-links bdi{font:14px/1.8 Arial,sans-serif;margin-inline:4px}
#marsh-footer-v06 .mf10-contact{background:#2d3b44;border-radius:16px;padding:24px;min-width:0}
#marsh-footer-v06 .mf10-contact h3{font-size:16px;font-weight:500;line-height:1.8;color:white;margin:0 0 12px}
#marsh-footer-v06 .mf10-phone{display:flex;align-items:center;justify-content:flex-end;gap:12px;width:fit-content;min-height:48px;font-size:22px;color:white;white-space:nowrap;font-variant-numeric:tabular-nums}
#marsh-footer-v06 .mf10-phone .vr-icon{width:19px;height:19px;color:var(--mf-yellow)}
#marsh-footer-v06 .mf10-mail{display:block;width:fit-content;max-width:100%;min-height:36px;padding-block:4px;font:14px/1.8 Arial,sans-serif;color:#e2e9ec;text-decoration:underline;text-decoration-color:#8495a0;text-underline-offset:5px;overflow-wrap:anywhere}
#marsh-footer-v06 .mf10-address{font-size:14px;line-height:2;color:var(--mf-muted);margin:14px 0 20px}
#marsh-footer-v06 .mf10-contact-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
#marsh-footer-v06 .mf10-socials{display:flex;gap:8px}
#marsh-footer-v06 .mf10-socials a{display:grid;place-items:center;width:44px;height:44px;background:#42545f;border-radius:10px;transition:background-color 180ms,transform 180ms}
#marsh-footer-v06 .mf10-socials a:hover{background:#526874;transform:translateY(-2px)}
#marsh-footer-v06 .mf10-socials svg{width:19px;height:19px;fill:white}
#marsh-footer-v06 .mf10-contact-link{display:inline-flex;gap:12px;align-items:center;min-height:44px;color:var(--mf-yellow);text-decoration:underline;text-decoration-color:#a48c38;text-underline-offset:6px}
#marsh-footer-v06 .mf10-contact-link .vr-icon{width:18px;height:18px}
/* Reserve the fixed back-to-top corner, including its focus ring, beside the trust link. */
#marsh-footer-v06 .mf10-base{display:flex;align-items:center;justify-content:space-between;gap:28px;border-top:1px solid var(--mf-line);padding-block:20px;padding-inline-end:64px;min-height:95px}
#marsh-footer-v06 .mf10-base>span{font-size:13px;line-height:1.9;color:var(--mf-muted)}
#marsh-footer-v06 .mf10-trust{display:block;flex:none;border-radius:9px;background:white;padding:4px}
#marsh-footer-v06 .mf10-trust img{display:block;width:58px;height:64px;object-fit:contain}
#marsh-footer-v06 :is(.mf10-intro,.mf10-directory,.mf10-base) a:focus-visible,#marsh-footer-v06 .mf10-group summary:focus-visible{outline:3px solid var(--mf-yellow);outline-offset:4px}
#marsh-footer-v06 .mf10-about:hover{background:#344650;color:white}
#marsh-footer-v06 .mf10-contact :is(a):hover{color:var(--mf-yellow)}

@media(min-width:1025px) and (max-width:1280px){
 #marsh-header-v07 .mega-products-grid{grid-template-columns:190px minmax(0,1fr) 240px}
 #marsh-footer-v06 .mf10-directory{gap:24px;grid-template-columns:1fr 1fr 1fr 1.5fr}
 #marsh-footer-v06 .mf10-contact{padding:20px}
 #marsh-footer-v06 .mf10-contact-bottom{gap:10px}
}
@media(max-width:1024px){
 #marsh-footer-v06 .mf10-intro{grid-template-columns:48px minmax(0,1fr);gap:20px;padding-block:32px}
 #marsh-footer-v06 .mf10-logo img{width:43px;height:58px}
 #marsh-footer-v06 .mf10-about{grid-column:2;justify-self:start;margin-top:2px}
 #marsh-footer-v06 .mf10-directory{grid-template-columns:1fr 1fr 1.3fr;gap:28px;padding-block:32px}
 #marsh-footer-v06 .mf10-contact{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.4fr;gap:0 40px}
 #marsh-footer-v06 .mf10-contact h3{grid-column:1;grid-row:1}
 #marsh-footer-v06 .mf10-phone{grid-column:1;grid-row:2}
 #marsh-footer-v06 .mf10-mail{grid-column:1;grid-row:3}
 #marsh-footer-v06 .mf10-address{grid-column:2;grid-row:1/3;margin:0 0 14px;align-self:center}
 #marsh-footer-v06 .mf10-contact-bottom{grid-column:2;grid-row:3;align-self:end}
}
@media(max-width:899px){#marsh-footer-v06 .mf10-shell{width:calc(100% - 48px)}}
@media(max-width:599px){
 #marsh-footer-v06 .mf10-shell{width:calc(100% - 32px)}
 #marsh-footer-v06 .mf10-intro{grid-template-columns:40px minmax(0,1fr);gap:16px;padding-block:30px}
 #marsh-footer-v06 .mf10-logo{align-self:start;min-height:56px;margin-top:2px}
 #marsh-footer-v06 .mf10-logo img{width:36px;height:49px}
 #marsh-footer-v06 .mf10-intro h2{font-size:23px;line-height:1.7}
 #marsh-footer-v06 .mf10-intro p{font-size:14px;line-height:2;margin-top:10px}
 #marsh-footer-v06 .mf10-about{font-size:14px;min-height:44px;padding:8px 12px;gap:18px}
 #marsh-footer-v06 .mf10-directory{display:flex;flex-direction:column;gap:0;padding-block:12px 28px}
 #marsh-footer-v06 .mf10-group{width:100%;background:transparent;border-radius:0;padding:0;border-bottom:1px solid var(--mf-line)}
 #marsh-footer-v06 .mf10-group summary{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px;margin:0;padding:16px 2px;cursor:pointer;font-size:16px}
 #marsh-footer-v06 .mf10-group[open] summary{margin-bottom:0}
 #marsh-footer-v06 .mf10-group summary::after{content:none}
 #marsh-footer-v06 .mf10-toggle{display:block;position:relative;flex:none;width:20px;height:20px}
 #marsh-footer-v06 .mf10-toggle::before,#marsh-footer-v06 .mf10-toggle::after{content:'';position:absolute;left:3px;right:3px;top:9px;height:1.5px;background:var(--mf-yellow);transition:transform 240ms cubic-bezier(.16,1,.3,1)}
 #marsh-footer-v06 .mf10-toggle::after{transform:rotate(90deg)}
 #marsh-footer-v06 .mf10-group[open]:not([data-disclosure-expanded=false]) .mf10-toggle::after{transform:rotate(0)}
 #marsh-footer-v06 .mf10-links{padding-bottom:16px}
 #marsh-footer-v06 .mf10-links>a{min-height:44px;padding-block:8px}
 #marsh-footer-v06 .mf10-contact{display:block;width:100%;padding:24px 20px;margin-top:26px}
 #marsh-footer-v06 .mf10-contact h3{font-size:17px;margin-bottom:12px}
 #marsh-footer-v06 .mf10-phone{font-size:23px;min-height:48px}
 #marsh-footer-v06 .mf10-mail{font-size:14px;min-height:40px}
 #marsh-footer-v06 .mf10-address{margin:14px 0 18px;font-size:14px}
 #marsh-footer-v06 .mf10-contact-bottom{display:flex;gap:16px;flex-wrap:wrap}
 #marsh-footer-v06 .mf10-base{gap:20px;align-items:center;padding-block:20px 28px}
 #marsh-footer-v06 .mf10-base>span{font-size:13px}
 #marsh-footer-v06 .mf10-trust img{width:50px;height:56px}
}
@media(max-width:359px){
 #marsh-header-v07 .mh10-shortcuts{grid-template-columns:1fr;gap:8px}
 #marsh-header-v07 .mh10-shortcuts>a{min-height:48px;padding:10px 12px}
 #marsh-footer-v06 .mf10-intro{column-gap:12px;grid-template-columns:32px minmax(0,1fr)}
 #marsh-footer-v06 .mf10-logo img{width:30px;height:41px}
 #marsh-footer-v06 .mf10-intro h2{font-size:21px}
 #marsh-footer-v06 .mf10-contact{padding:22px 18px}
}
@media(prefers-reduced-motion:reduce){
 #marsh-header-v07 *,#marsh-footer-v06[data-frame-version='10'] *{transition:none!important;animation:none!important}
}
