/* AYH compact navigation v1.0.0. Scoped child-theme component. */
#ayh-compact-nav{--ayh-nav-version:1;--ayh-nav-font:pp_neue_machinaplain_regular,Arial,sans-serif;position:absolute;top:27px;right:max(30px,env(safe-area-inset-right));z-index:101;display:flex;align-items:flex-start;gap:10px;font:400 14px/1 var(--ayh-nav-font);letter-spacing:0}
#ayh-compact-nav[hidden],#ayh-menu-panel[hidden]{display:none!important}
#ayh-compact-nav,#ayh-compact-nav *{box-sizing:border-box}
#ayh-compact-nav .ayh-compact-phone{display:inline-flex;align-items:center;justify-content:center;height:auto;min-height:31px;padding:6px 15px;border:1px solid #fff;border-radius:8px;background:#b7d5dc;color:#212529;font:700 14px/1.15 var(--ayh-nav-font);white-space:nowrap;text-decoration:none;transition:background-color .15s ease}
#ayh-compact-nav .ayh-compact-phone svg{display:none}
#ayh-compact-nav .ayh-compact-phone:hover{background:#c9e1e6}
#ayh-compact-nav .ayh-compact-disclosure{position:relative;margin:0;padding:0}
#ayh-compact-nav #ayh-menu-toggle{display:flex;align-items:center;justify-content:center;position:relative;width:41px;height:27px;min-width:0;min-height:0;margin:0;padding:7px 8px;border:0;border-radius:0!important;background:#000!important;color:#fff;box-shadow:none;cursor:pointer;appearance:none;touch-action:manipulation}
#ayh-menu-toggle::before{content:'';position:absolute;inset:-8px 0}
#ayh-menu-toggle .ayh-burger{position:relative;display:block;width:25px;height:13px}
#ayh-menu-toggle .ayh-burger>span{display:block;position:absolute;left:0;width:25px;height:1px;background:#fff;transform-origin:center;transition:transform .3s ease-in-out,opacity .15s ease-in-out}
#ayh-menu-toggle .ayh-burger>span:nth-child(1){top:0}
#ayh-menu-toggle .ayh-burger>span:nth-child(2){top:6px}
#ayh-menu-toggle .ayh-burger>span:nth-child(3){top:12px}
#ayh-menu-toggle[aria-expanded="true"] .ayh-burger>span:nth-child(1){transform:translateY(6px) rotate(45deg) scaleX(.65)}
#ayh-menu-toggle[aria-expanded="true"] .ayh-burger>span:nth-child(2){opacity:0}
#ayh-menu-toggle[aria-expanded="true"] .ayh-burger>span:nth-child(3){transform:translateY(-6px) rotate(-45deg) scaleX(.65)}
#ayh-compact-nav #ayh-menu-panel{display:block;position:absolute;top:27px;right:0;width:223px;max-width:calc(100vw - 30px);max-height:var(--ayh-menu-height,calc(100dvh - 70px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;margin:0;padding:0;border:1px solid #ccc;border-radius:0;background:#fff;box-shadow:none;animation:ayh-menu-appear .3s ease-in-out}
#ayh-compact-nav #ayh-menu-panel ul,#ayh-compact-nav #ayh-menu-panel li{display:block;float:none;margin:0;padding:0;list-style:none;width:auto}
#ayh-compact-nav #ayh-menu-panel li::before,#ayh-compact-nav #ayh-menu-panel a::after{display:none}
#ayh-compact-nav #ayh-menu-panel a{display:block;position:relative;margin:0;padding:16px 6px;color:rgba(0,0,0,.65);background:transparent;border:0;border-radius:0;font:400 14px/14px var(--ayh-nav-font);letter-spacing:0;text-align:center;text-transform:uppercase;text-decoration:none;overflow-wrap:anywhere;transition:color .15s ease,background-color .15s ease}
#ayh-compact-nav #ayh-menu-panel a:hover{color:#000;background:#f4f4f4}
#ayh-compact-nav a:focus-visible,#ayh-compact-nav button:focus-visible{outline:2px solid #235b70;outline-offset:3px}
#ayh-compact-nav #ayh-menu-panel a:focus-visible{outline-offset:-3px;background:#edf4f6}
#ayh-compact-nav #ayh-menu-panel .sub-menu{border-block:1px solid #eee;background:#f8f8f8}
#ayh-compact-nav #ayh-menu-panel .sub-menu a{font-size:13px;padding-block:13px}
#ayh-compact-nav #ayh-menu-panel .ayh-personal-area>a{padding:14px 10px;line-height:16px;border-top:1px solid #ccc;color:#000;text-transform:none}
#ayh-compact-nav #ayh-menu-panel .ayh-personal-area>a::before{content:'';display:inline-block;width:11px;height:11px;margin-right:8px;vertical-align:-1px;background:currentColor;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='4' r='2.3' fill='none' stroke='black'/%3E%3Cpath d='M3.5 14v-2.5c0-4 9-4 9 0V14' fill='none' stroke='black'/%3E%3C/svg%3E") center/contain no-repeat}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top .span_9,:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top .right-aligned-menu-items{display:none!important}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top>.container>.row{justify-content:center}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top .span_3{width:100%;text-align:center;left:auto;position:relative}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo{display:inline-block;margin:15px 0;left:auto;transform:none!important}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo img{height:56px;width:auto}
#header-outer.ayh-menu-open{overflow:visible!important}
@keyframes ayh-menu-appear{from{opacity:0}to{opacity:1}}
@media(max-width:1050px){#ayh-compact-nav{top:15px;right:max(30px,env(safe-area-inset-right))}#ayh-compact-nav .ayh-compact-phone{width:36px;height:28px;padding:4px}#ayh-compact-nav .ayh-compact-phone span{display:none}#ayh-compact-nav .ayh-compact-phone svg{display:block}:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo img{height:28px}:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo{margin:15px 0}}
@media(max-width:370px){#ayh-compact-nav{right:max(15px,env(safe-area-inset-right));gap:8px}:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo{margin-left:-25px}:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo img{height:24px}}
@media(prefers-reduced-motion:reduce){#ayh-compact-nav *,#ayh-compact-nav *::before{animation:none!important;transition:none!important}}

/* Keep navigation above Salient's own header stacking layer. */
#ayh-compact-nav{z-index:10001}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top .span_3{justify-content:center}

/* Centre the logo consistently across Salient desktop and mobile layouts. */
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready){padding-top:0!important;padding-bottom:0!important}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top .span_3{display:flex!important;justify-content:center!important;width:100%!important;text-align:center!important;float:none!important}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo{float:none!important;margin:15px 0!important}
:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo img{height:56px!important;width:auto!important}
@media(max-width:1050px){:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo img{height:28px!important}}
@media(max-width:370px){:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo{margin-left:-25px!important}:is(html.ayh-nav-loading #header-outer,#header-outer.ayh-nav-ready) #top #logo img{height:24px!important}}

@media(max-width:1050px){#ayh-compact-nav{right:max(15px,env(safe-area-inset-right))}#ayh-compact-nav #ayh-menu-panel{right:-15px}}

/* Prevent the touch flash; retain a neutral keyboard-only focus indicator. */
#ayh-compact-nav #ayh-menu-toggle,#ayh-menu-toggle *{-webkit-tap-highlight-color:transparent}
#ayh-compact-nav #ayh-menu-toggle:focus{box-shadow:none!important}
#ayh-compact-nav #ayh-menu-toggle:focus:not(:focus-visible){outline:none!important}
#ayh-compact-nav #ayh-menu-toggle:focus-visible{outline:2px solid #333;outline-offset:3px}
@media(max-width:1050px){#ayh-compact-nav .ayh-compact-phone{min-height:0}}

#ayh-compact-nav.ayh-pointer-input #ayh-menu-toggle:focus{outline:none!important}

/* Match the reference menu with its actual Medium face, hosted in this child theme. */
@font-face{font-family:"AYH Menu Medium";src:url("ayh-menu-medium.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
#ayh-compact-nav #ayh-menu-panel a{font-family:"AYH Menu Medium",var(--ayh-nav-font);font-weight:500}
#ayh-compact-nav #ayh-menu-panel .ayh-personal-area>a{font-family:var(--ayh-nav-font);font-weight:400}

/* Solid headers: bare dark lines when closed; retain the black open-state button. */
#header-outer:not(.transparent) #ayh-compact-nav #ayh-menu-toggle[aria-expanded="false"]{background:transparent!important;color:#000}
#header-outer:not(.transparent) #ayh-menu-toggle[aria-expanded="false"] .ayh-burger>span{background:#000}
