/* Custom header — replaces the previous header-only CSS. */
#custom-site-header.custom-header{--header-text:#252a32;--header-accent:#f39816;--header-admin-offset:0px;--header-row-height:80px;position:relative;z-index:1000;width:100%;background:#fff;border-bottom:1px solid #f0f0f0;font-family:Arial,sans-serif}
.custom-header,.custom-header *{box-sizing:border-box}
#custom-site-header.custom-header.is-sticky{position:fixed;top:var(--header-admin-offset);left:0;right:0;width:100%;box-shadow:0 5px 20px #0000000d}
.custom-header__spacer{height:0;width:100%;pointer-events:none;visibility:hidden}
.custom-header__inner{width:100%;max-width:1400px;min-height:96px;margin-inline:auto;padding:18px 0;display:flex;align-items:center;justify-content:space-between;gap:28px}
.custom-header a{color:var(--header-text);text-decoration:none}
.custom-header a:hover{color:var(--header-accent)}
.custom-header a:focus-visible,.custom-header button:focus-visible,.custom-header input:focus-visible,.custom-header summary:focus-visible{outline:2px solid var(--header-accent);outline-offset:5px}
.custom-header__logo{flex-shrink:0;display:inline-flex;align-items:center;font-size:25px;font-weight:800;letter-spacing:-1px}
.custom-header__logo img{display:block;width:auto;height:auto;max-width:210px;max-height:80px;object-fit:contain}
.custom-header__logo span{max-width:210px;overflow-wrap:anywhere;line-height:1.2}
.custom-header__nav{flex:1;min-width:0;margin:0}
.custom-header__menu{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:0 26px;list-style:none;padding:0;margin:0}
.custom-header__menu li{position:relative;padding:0;margin:0;list-style:none}
.custom-header__menu a{display:block;padding:10px 0;font-size:14px;font-weight:700;line-height:1.4;white-space:nowrap;transition:color .2s ease}
.custom-header__menu>.menu-item-has-children{display:flex;align-items:center;gap:3px}
.custom-header__menu>.current-menu-item>a,.custom-header__menu>.current-menu-ancestor>a{color:var(--header-accent)}
.custom-header__menu .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:10;min-width:210px;max-width:300px;margin:0;padding:9px 0;list-style:none;background:#fff;border:1px solid #eee;border-radius:9px;box-shadow:0 10px 24px #00000012}
.custom-header__menu .sub-menu a{padding:10px 15px;white-space:normal;font-size:13px}
.custom-header__submenu-toggle{display:inline-flex;align-items:center;justify-content:center;width:25px;height:30px;margin:0;padding:3px;border:0;border-radius:5px;background:transparent;color:var(--header-text);cursor:pointer}
.custom-header .custom-header__submenu-toggle svg{width:14px;height:14px}
.custom-header__submenu-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.custom-header__menu .is-submenu-open>.sub-menu{display:block}
.custom-header__actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.custom-header__socials{display:flex;align-items:center;gap:15px}
.custom-header__socials a,.custom-header__search summary{display:inline-flex;align-items:center;justify-content:center;width:26px;height:32px}
.custom-header svg{display:block;width:19px;height:19px}
.custom-header__search{position:static}
.custom-header__search summary{cursor:pointer;color:var(--header-text);list-style:none}
.custom-header__search summary::-webkit-details-marker{display:none}
.custom-header__search form{position:absolute;top:calc(100% + 8px);right:24px;display:flex;gap:8px;width:min(310px,calc(100vw - 32px));padding:12px;background:#fff;border:1px solid #e8e8e8;border-radius:10px;box-shadow:0 12px 30px #00000012}
.custom-header__search input{width:100%;min-width:0;margin:0;padding:10px;border:1px solid #ddd;border-radius:6px;background:#fff;color:var(--header-text);font:inherit;font-size:14px}
.custom-header__search button{padding:10px 12px;border:0;border-radius:6px;background:var(--header-accent);color:#191919;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.custom-header__toggle{display:none;align-items:center;justify-content:center;width:42px;height:42px;padding:9px;border:1px solid #e5e5e5;border-radius:8px;background:#fff;color:var(--header-text);cursor:pointer}
.custom-header__toggle svg{width:23px;height:23px}
.custom-header__close-icon{display:none!important}
.custom-header__toggle[aria-expanded="true"] .custom-header__menu-icon{display:none}
.custom-header__toggle[aria-expanded="true"] .custom-header__close-icon{display:block!important}
@media(min-width:1101px){
 .custom-header__nav{flex:1;order:0;width:auto;min-width:0;margin:0;padding-top:0;border-top:none}
 .custom-header__menu{justify-content:center}
 .custom-header__menu>li:hover>.sub-menu,.custom-header:not(.is-ready) .custom-header__menu>li:focus-within>.sub-menu{display:block}
 .custom-header__menu>li:last-child>.sub-menu{left:auto;right:0}
 .custom-header__search form{right:max(24px,calc((100vw - 1400px)/2 + 24px))}
}
@media(max-width:1100px){
 .custom-header__inner{min-height:80px;flex-wrap:wrap;gap:0 16px;padding:16px 24px;justify-content: flex-start;}
 .custom-header__logo{margin-right:auto}
 .custom-header.is-ready .custom-header__toggle{display:inline-flex}
 .custom-header__nav{flex:auto;order:3;width:100%;margin:16px 0 0;padding-top:12px;border-top:1px solid #eee}
 .custom-header.is-ready .custom-header__nav{display:none;max-height:calc(100vh - var(--header-admin-offset) - var(--header-row-height) - 35px);max-height:calc(100dvh - var(--header-admin-offset) - var(--header-row-height) - 35px);overflow-y:auto;overscroll-behavior:contain}
 .custom-header.is-ready.is-open .custom-header__nav{display:block}
 .custom-header__menu{flex-direction:column;align-items:stretch;gap:0}
 .custom-header__menu a{padding:13px 4px;font-size:15px;white-space:normal}
 .custom-header__menu>.menu-item-has-children{display:grid;grid-template-columns:minmax(0,1fr) 38px;gap:0}
 .custom-header .custom-header__submenu-toggle{width:36px;height:40px}
 .custom-header__menu .sub-menu{position:static;grid-column:1/-1;min-width:0;max-width:none;margin:0 0 6px;padding:0 0 0 14px;box-shadow:none;border:0;border-radius:0}
 .custom-header:not(.is-ready) .custom-header__menu .sub-menu{display:block}
}
@media(max-width:600px){
 .custom-header__inner{min-height:74px;padding:14px 16px;column-gap:10px}
 .custom-header__actions{gap:10px}
 .custom-header__socials{gap:5px}
 .custom-header__socials a{width:23px}
 .custom-header__search form{right:16px}
}
@media(max-width:380px){.custom-header__socials{display:none}}
@media(prefers-reduced-motion:reduce){.custom-header__menu a{transition:none}}
/* Dynamic social list and custom icon images. */
.custom-header__socials{flex-wrap:wrap;max-width:200px;max-height:100px;overflow-y:auto}
.custom-header__socials a{flex-shrink:0}
.custom-header__social-image{display:block;width:19px;height:19px;object-fit:contain}
@media(max-width:600px){.custom-header__socials{max-width:110px;max-height:70px}}
