/* Shared navigation polish, current site routes retained. */
.site-header{position:relative;z-index:30;background:#fff}
.site-header .masthead{border-bottom:1px solid #20272b12;box-shadow:0 5px 20px #15212605}
.site-header .masthead .brand{transition:opacity .2s}
.site-header .masthead .brand:hover{opacity:.85}
.site-header .masthead .nav{gap:3px}
.site-header .masthead .nav>a{position:relative;border:0;border-radius:9px;padding:12px 10px;font-size:13px;font-weight:600;line-height:1.4;transition:color .2s,background .2s,transform .2s}
.site-header .masthead .nav>a:not(.button)::after{content:"";position:absolute;height:2px;width:18px;left:50%;bottom:6px;border-radius:2px;background:#c90029;transform:translateX(-50%) scaleX(0);transform-origin:center;transition:transform .2s}
.site-header .masthead .nav>a:hover{background:#f5f1ef;color:#a60023;transform:translateY(-1px)}
.site-header .masthead .nav>a[aria-current=page],.site-header .masthead .nav>a.is-current-section{background:#c9002910;color:#b90027}
.site-header .masthead .nav>a[aria-current=page]::after,.site-header .masthead .nav>a.is-current-section::after,.site-header .masthead .nav>a:hover::after{transform:translateX(-50%) scaleX(1)}
.site-header .masthead .nav>a.button{color:#fff;background:#c90029;padding:13px 18px}
.site-header .masthead a:focus-visible,.site-header .menu:focus-visible{outline:3px solid #c90029;outline-offset:4px}
@media(min-width:1051px) and (max-width:1250px){.site-header .masthead{gap:16px;padding-inline:3%}.site-header .masthead .brand{flex-basis:21%}.site-header .masthead .nav>a{font-size:11px;padding:11px 7px}}
@media(max-width:1050px){
.site-header .masthead{height:92px;padding:12px 22px;position:relative;justify-content:space-between}
.site-header .masthead .brand{flex-basis:230px;max-width:65%}
.site-header .masthead .brand img{max-height:68px}
.site-header .masthead .menu{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:94px;min-height:46px;padding:11px 14px;border:1px solid #c9002938;border-radius:10px;background:#f7f4f1;color:#1c2225;-webkit-text-fill-color:currentColor;font:600 13px Poppins,Arial,sans-serif;cursor:pointer;transition:background .2s,color .2s}
.site-header .menu::before{content:"";display:inline-block;width:16px;height:12px;background:linear-gradient(currentColor,currentColor) 0 0/100% 2px no-repeat,linear-gradient(currentColor,currentColor) 0 5px/75% 2px no-repeat,linear-gradient(currentColor,currentColor) 0 10px/100% 2px no-repeat}
.site-header .masthead .menu[aria-expanded=true]{background:#1c2225;color:#fff}
.site-header .menu[aria-expanded=true]::before{background:linear-gradient(45deg,transparent 43%,currentColor 44% 56%,transparent 57%),linear-gradient(-45deg,transparent 43%,currentColor 44% 56%,transparent 57%)}
.site-header .masthead .nav{display:none;position:absolute;z-index:40;top:calc(100% - 1px);left:16px;right:16px;max-height:min(70vh,560px);overflow-y:auto;padding:16px;background:#fff;color:#1c2225;border:1px solid #1c22251a;border-top:3px solid #c90029;border-radius:0 0 16px 16px;box-shadow:0 20px 35px #17212624;white-space:normal;gap:8px}
.site-header .masthead .nav.open{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.site-header .masthead .nav>a{min-width:0;min-height:49px;display:flex;align-items:center;justify-content:flex-start;padding:13px 12px;font-size:14px;background:#f7f7f6;color:#1c2225;-webkit-text-fill-color:currentColor}
.site-header .masthead .nav>a:not(.button)::after{width:3px;height:18px;left:0;bottom:50%;transform:translateY(50%) scaleY(0)}
.site-header .masthead .nav>a[aria-current=page]::after,.site-header .masthead .nav>a.is-current-section::after,.site-header .masthead .nav>a:hover::after{transform:translateY(50%) scaleY(1)}
.site-header .masthead .nav>a.button{grid-column:1/-1;justify-content:center;margin-top:4px;color:#fff}
.site-header .contactbar{flex-wrap:wrap}
}
@media(max-width:360px){.site-header .masthead{padding-inline:16px}.site-header .masthead .brand{max-width:61%}.site-header .masthead .menu{min-width:82px;padding-inline:10px}.site-header .masthead .nav{left:10px;right:10px;padding:12px;gap:7px}.site-header .masthead .nav>a{font-size:13px;padding-inline:10px}}
@media(prefers-reduced-motion:reduce){.site-header *{transition:none!important}}

@media(max-width:1050px){.site-header .masthead .nav{width:auto!important;box-sizing:border-box}}

/* Keep the menu beside the logo even at the smallest mobile widths. */
@media(max-width:1050px){.site-header .masthead{flex-wrap:nowrap;gap:12px;min-height:92px;height:auto}.site-header .masthead .brand{flex:1 1 180px;min-width:0;max-width:230px}.site-header .masthead .menu{flex:0 0 auto}}
@media(max-width:1050px){.site-header .masthead .menu{background:#f7f4f1!important;color:#1c2225!important;-webkit-text-fill-color:currentColor!important;border-color:#c9002938!important}.site-header .masthead .menu[aria-expanded=true]{background:#1c2225!important;color:#fff!important;border-color:#1c2225!important}}
