/* Master Header 1.13.0. Scoped priority supersedes historical header patches. */
html body.mh-nav-custom #master-header#master-header .mh-menu-inline,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline > ul,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline li {
    overflow: visible !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline > ul > li > a {
    position: relative !important;
    border-radius: 8px !important;
    transition: color .18s ease, background-color .18s ease !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline > ul > li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current_page_ancestor) > a {
    color: var(--mh-nd-main-active-text) !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline > ul > li:is(:hover, :focus-within) > a {
    color: var(--mh-nd-main-hover-text) !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline > ul > li > a::after {
    background: var(--mh-nd-main-hover-text) !important;
    box-shadow: none !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline > ul > li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current_page_ancestor) > a::after {
    background: var(--mh-nd-main-indicator) !important;
}
html body.mh-nav-custom.mh-nd-main-style-pill #master-header#master-header .mh-menu-inline > ul > li:is(.current-menu-item, .current_page_item, .current-menu-ancestor, .current_page_ancestor) > a {
    background: var(--mh-nd-main-active-bg) !important;
}
html body.mh-nav-custom.mh-nd-main-style-pill #master-header#master-header .mh-menu-inline > ul > li:is(:hover, :focus-within) > a {
    background: var(--mh-nd-main-hover-bg) !important;
}
html body.mh-nav-custom.mh-nd-main-style-pill #master-header#master-header .mh-menu-inline > ul > li > a::after {
    display: none !important;
}

/* Panels: one scrollable root; deeper levels expand inside it rather than
   getting clipped by an ancestor or leaving the viewport. Mega menus excluded. */
html body.mh-nav-custom #master-header#master-header .mh-menu-inline li:where(:not(.mh-mega):not(.mega-menu):not(.mh-mega-full)) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    box-sizing: border-box !important;
    position: absolute !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    top: calc(100% + var(--mh-nd-gap, 10px)) !important;
    bottom: auto !important;
    left: var(--mh-nd-left, 0px) !important;
    right: auto !important;
    width: var(--mh-nd-panel-width, var(--mh-nd-width, 280px)) !important;
    inline-size: var(--mh-nd-panel-width, var(--mh-nd-width, 280px)) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 32px) !important;
    max-height: var(--mh-nd-available-height, min(70vh, 640px)) !important;
    margin: 0 !important;
    padding: 6px !important;
    border: 1px solid var(--mh-nd-sub-border) !important;
    border-radius: var(--mh-nd-radius, 16px) !important;
    background: var(--mh-nd-sub-bg) !important;
    color: var(--mh-nd-sub-text) !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, .15) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    overflow: auto !important;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--mh-nd-sub-border) transparent;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(0) !important;
    transform-origin: top center !important;
    transition: opacity var(--mh-nd-duration, 240ms) ease, transform var(--mh-nd-duration, 240ms) cubic-bezier(.2,.8,.2,1), filter var(--mh-nd-duration, 240ms) ease, clip-path var(--mh-nd-duration, 240ms) ease !important;
    z-index: 10060 !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *))::before,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *))::after,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li::before,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li::after,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) a::before,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) a::after {
    content: none !important;
    display: none !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li {
    position: relative !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a {
    box-sizing: border-box !important;
    position: relative !important;
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 44px !important;
    height: auto !important;
    margin: 0 !important;
    padding: var(--mh-nd-padding, 12px) 14px !important;
    border: 0 !important;
    border-radius: max(0px, calc(var(--mh-nd-radius, 16px) - 6px)) !important;
    color: var(--mh-nd-sub-text) !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    text-overflow: clip !important;
    text-align: start !important;
    transform: none !important;
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, padding .18s ease !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li:is(.current-menu-item, .current_page_item) > a,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) a[aria-current="page"] {
    color: var(--mh-nd-sub-active-text) !important;
    background: var(--mh-nd-sub-active-bg) !important;
    font-weight: 700 !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a:is(:hover, :focus-visible) {
    color: var(--mh-nd-sub-hover-text) !important;
    background: var(--mh-nd-sub-hover-bg) !important;
}
html body.mh-nav-custom.mh-nd-hover-accent #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a:is(:hover, :focus-visible) {
    box-shadow: inset 3px 0 var(--mh-nd-sub-hover-text) !important;
}
html body.mh-nav-custom.mh-nd-hover-underline #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a:is(:hover, :focus-visible) {
    background: transparent !important;
    text-decoration: underline !important;
    text-underline-offset: 5px !important;
    text-decoration-thickness: 2px !important;
}
html body.mh-nav-custom.mh-nd-hover-shift #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a:is(:hover, :focus-visible) {
    padding-inline-start: 19px !important;
}

/* JS owns disclosure state; hover/focus remains a usable fallback without JS. */
html body.mh-nav-custom #master-header#master-header .mh-menu-inline:not(.mh-nd-enhanced) li:is(:hover, :focus-within) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)),
html body.mh-nav-custom #master-header#master-header .mh-menu-inline.mh-nd-enhanced li.mh-nd-open > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    position: static !important;
    display: none !important;
    width: 100% !important;
    inline-size: 100% !important;
    max-width: 100% !important;
    max-height: none !important;
    margin: 3px 0 6px !important;
    padding: 0 0 0 10px !important;
    border: 0 !important;
    border-inline-start: 2px solid var(--mh-nd-sub-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    overflow: visible !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline:not(.mh-nd-enhanced) .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) li:is(:hover, :focus-within) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)),
html body.mh-nav-custom #master-header#master-header .mh-menu-inline.mh-nd-enhanced .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) li.mh-nd-open > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    display: grid !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline > ul > li::after {
    height: calc(var(--mh-nd-gap, 10px) + 6px) !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .mh-nd-parent > a {
    padding-inline-end: 36px !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .mh-nav-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 3px !important;
    left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    min-width: 28px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 4px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: inherit !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(-50%) !important;
    cursor: pointer;
    box-shadow: none !important;
    z-index: 2;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) .mh-nav-toggle {
    top: var(--mh-nd-padding, 12px) !important;
    transform: none !important;
    height: 24px !important;
    min-height: 24px !important;
    color: var(--mh-nd-sub-text) !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .mh-nav-toggle::before,
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .mh-nav-toggle::after {
    content: none !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .mh-nav-toggle svg {
    display: block !important;
    width: 14px !important;
    height: 14px !important;
    transition: transform .18s ease;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .mh-nav-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline :is(a, button):focus-visible {
    outline: 2px solid currentColor !important;
    outline-offset: -3px !important;
}

/* Layout variants */
html body.mh-nav-custom.mh-nd-layout-classic #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li:not(:last-child) {
    border-bottom: 1px solid var(--mh-nd-sub-border) !important;
}
html body.mh-nav-custom.mh-nd-layout-cards #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    gap: 6px !important;
    padding: 8px !important;
}
html body.mh-nav-custom.mh-nd-layout-cards #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a {
    border: 1px solid var(--mh-nd-sub-border) !important;
}
html body.mh-nav-custom.mh-nd-layout-glass #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    background: color-mix(in srgb, var(--mh-nd-sub-bg) 88%, transparent) !important;
    backdrop-filter: blur(18px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.15) !important;
}
html body.mh-nav-custom.mh-nd-layout-minimal #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    padding: 3px !important;
    border-radius: min(6px, var(--mh-nd-radius, 16px)) !important;
    box-shadow: 0 8px 20px rgba(15,23,42,.08) !important;
}
html body.mh-nav-custom.mh-nd-layout-minimal #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a {
    border-radius: 3px !important;
}
@media (min-width: 641px) {
    html body.mh-nav-custom.mh-nd-layout-columns #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
}

/* Entrance animations; only the closed state differs, never the hit area. */
html body.mh-nav-custom.mh-nd-animation-slide #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) { transform: translateY(10px) !important; }
html body.mh-nav-custom.mh-nd-animation-zoom #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) { transform: scale(.95) !important; }
html body.mh-nav-custom.mh-nd-animation-flip #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) { transform: perspective(700px) rotateX(-9deg) !important; }
html body.mh-nav-custom.mh-nd-animation-stagger #master-header#master-header .mh-menu-inline .mh-nd-open > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li {
    animation: mhNavRowIn var(--mh-nd-duration, 240ms) ease both !important;
    animation-delay: calc(var(--mh-nd-row, 0) * 35ms) !important;
}
@keyframes mhNavRowIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html body.mh-nav-custom.mh-nd-animation-none #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)),
html body.mh-nav-custom.mh-nd-animation-none #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li { transition: none !important; animation: none !important; transform: none !important; }
html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)).mh-nd-above {
    top: auto !important;
    bottom: calc(100% + var(--mh-nd-gap, 10px)) !important;
    transform-origin: bottom center !important;
}

/* The same explicit hover/current colors in existing mobile drawers. */
html body.mh-nav-custom :is(#master-header#master-header .mh-drawer-menu, .mh-drawer.mh-drawer-menu) .mh-offcanvas-list li:is(.current-menu-item, .current_page_item) > a {
    color: var(--mh-nd-sub-active-text) !important;
    background: var(--mh-nd-sub-active-bg) !important;
}
html body.mh-nav-custom :is(#master-header#master-header .mh-drawer-menu, .mh-drawer.mh-drawer-menu) .mh-offcanvas-list li > a:is(:hover, :focus-visible) {
    color: var(--mh-nd-sub-hover-text) !important;
    background: var(--mh-nd-sub-hover-bg) !important;
}
@media (prefers-reduced-motion: reduce) {
    html body.mh-nav-custom.mh-nd-animation-stagger #master-header#master-header .mh-menu-inline .mh-nd-open > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li,
    html body.mh-nav-custom #master-header#master-header .mh-menu-inline li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)),
    html body.mh-nav-custom #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a,
    html body.mh-nav-custom #master-header#master-header .mh-menu-inline *,
    html body.mh-nav-custom #master-header#master-header .mh-menu-inline *::after {
        animation: none !important;
        transition: none !important;
    }
}

/* 1.13.0: additional layouts, motion and shared hover effects. */
html body.mh-nav-custom.mh-nd-layout-outlined #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    border: 2px solid var(--mh-nd-sub-hover-text) !important; box-shadow: 6px 6px 0 var(--mh-nd-sub-border) !important; padding: 8px !important;
}
html body.mh-nav-custom.mh-nd-layout-rail #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    border-inline-start: 5px solid var(--mh-nd-main-indicator) !important; padding: 9px !important;
}
html body.mh-nav-custom.mh-nd-layout-tiles #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    gap: 8px !important; padding: 10px !important;
}
html body.mh-nav-custom.mh-nd-layout-tiles #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a {
    min-height: 76px !important; display: flex !important; align-items: center !important; border: 1px solid var(--mh-nd-sub-border) !important; background: color-mix(in srgb, var(--mh-nd-sub-hover-bg) 35%, transparent) !important;
}
html body.mh-nav-custom.mh-nd-layout-editorial #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    border-radius: 0 !important; border-top: 3px solid var(--mh-nd-main-indicator) !important; padding: 10px 12px !important;
}
html body.mh-nav-custom.mh-nd-layout-editorial #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a {
    font-size: 17px !important; font-weight: 600 !important; border-radius: 0 !important; padding-block: max(14px, var(--mh-nd-padding)) !important;
}
html body.mh-nav-custom.mh-nd-layout-editorial #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li:not(:last-child) {
    border-bottom: 1px solid var(--mh-nd-sub-border) !important;
}
html body.mh-nav-custom.mh-nd-layout-compact #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    padding: 3px !important; border-radius: min(8px, var(--mh-nd-radius)) !important; box-shadow: 0 8px 24px #0f172a14 !important;
}
html body.mh-nav-custom.mh-nd-layout-compact #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a {
    padding-block: 8px !important; font-size: 14px !important; min-height: 44px !important;
}
html body.mh-nav-custom.mh-nd-layout-soft #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    padding: 10px !important; gap: 5px !important; border-color: transparent !important; box-shadow: 0 12px 40px #0f172a12 !important;
}
html body.mh-nav-custom.mh-nd-layout-soft #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a {
    background: color-mix(in srgb, var(--mh-nd-sub-hover-bg) 45%, transparent) !important; border-radius: var(--mh-nd-radius) !important;
}
@media (min-width: 641px) { html body.mh-nav-custom.mh-nd-layout-tiles #master-header#master-header .mh-menu-inline > ul > li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
html body.mh-nav-custom:is(.mh-nd-layout-tiles,.mh-nd-layout-soft) #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a:is([aria-current="page"],.current) {
    color: var(--mh-nd-sub-active-text) !important; background: var(--mh-nd-sub-active-bg) !important;
}
html body.mh-nav-custom:is(.mh-nd-layout-tiles,.mh-nd-layout-soft) #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li:is(.current-menu-item,.current_page_item) > a {
    color: var(--mh-nd-sub-active-text) !important; background: var(--mh-nd-sub-active-bg) !important;
}
html body.mh-nav-custom:is(.mh-nd-layout-tiles,.mh-nd-layout-soft) #master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a:is(:hover,:focus-visible) {
    color: var(--mh-nd-sub-hover-text) !important; background: var(--mh-nd-sub-hover-bg) !important;
}
html body.mh-nav-custom.mh-nd-animation-drop #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    transform: translateY(-12px) !important;
}
html body.mh-nav-custom.mh-nd-animation-swing #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    transform: perspective(700px) rotateY(-14deg) !important; transform-origin: left center !important;
}
html body.mh-nav-custom.mh-nd-animation-reveal #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    clip-path: inset(0 0 100% 0 round var(--mh-nd-radius)) !important;
}
html body.mh-nav-custom.mh-nd-animation-blur #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    filter: blur(7px) !important; transform: translateY(4px) !important;
}
html body.mh-nav-custom.mh-nd-animation-spring #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    transform: scale(.90) translateY(8px) !important;
}
html body.mh-nav-custom.mh-nd-animation-sweep #master-header#master-header .mh-menu-inline li:not(.mh-nd-open) > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    transform: translateX(-18px) !important;
}
html body.mh-nav-custom.mh-nd-animation-spring #master-header#master-header .mh-menu-inline li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    transition-timing-function: cubic-bezier(.2,1.35,.4,1) !important;
}
html body.mh-nav-custom #master-header#master-header .mh-menu-inline li.mh-nd-open > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    clip-path: none !important; filter: none !important;
}
html body.mh-nav-custom.mh-nd-animation-reveal #master-header#master-header .mh-menu-inline li.mh-nd-open > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) {
    clip-path: inset(-80px) !important;
}
html body.mh-nav-custom :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a) {
    transition: color .18s ease, background-color .18s ease, box-shadow .18s ease, padding .18s ease, transform .18s ease, background-size .24s ease !important;
}
html body.mh-nav-custom.mh-nd-hover-accent :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) {
    box-shadow: inset 3px 0 var(--mh-nd-sub-hover-text) !important;
}
html body.mh-nav-custom.mh-nd-hover-underline :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) {
    background: transparent !important; text-decoration: underline !important; text-underline-offset: 5px !important;
}
html body.mh-nav-custom.mh-nd-hover-shift :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) {
    padding-inline-start: 19px !important;
}
html body.mh-nav-custom.mh-nd-hover-outline :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) {
    box-shadow: inset 0 0 0 2px var(--mh-nd-sub-hover-text) !important;
}
html body.mh-nav-custom.mh-nd-hover-glow :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) {
    box-shadow: inset 0 0 0 1px var(--mh-nd-sub-hover-text), 0 0 14px color-mix(in srgb, var(--mh-nd-sub-hover-text) 25%, transparent) !important;
}
html body.mh-nav-custom.mh-nd-hover-lift :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) {
    transform: translateY(-2px) !important; box-shadow: 0 4px 9px #0f172a20 !important;
}
html body.mh-nav-custom.mh-nd-hover-sweep :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) {
    background-size: 100% 100% !important; background-color: transparent !important;
}
html body.mh-nav-custom.mh-nd-hover-zoom :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) {
    transform: scale(1.015) !important;
}
html body.mh-nav-custom.mh-nd-hover-arrow :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li:not(.mh-nd-parent) > a, .mh-nav-sidebar .mh-sidebar-list li:not(.mh-sb-parent) > a):is(:hover,:focus-visible) {
    padding-inline-end: 34px !important;
}
html body.mh-nav-custom.mh-nd-hover-sweep :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a) {
    background-image: linear-gradient(var(--mh-nd-sub-hover-bg),var(--mh-nd-sub-hover-bg)) !important; background-repeat: no-repeat !important; background-position: left center !important; background-size: 0% 100% !important;
}
html body.mh-nav-custom.mh-nd-hover-arrow :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li:not(.mh-nd-parent) > a, .mh-nav-sidebar .mh-sidebar-list li:not(.mh-sb-parent) > a):is(:hover,:focus-visible)::after {
    content: "→" !important; display: block !important; position: absolute !important; inset: 50% 12px auto auto !important; width: auto !important; height: auto !important; transform: translateY(-50%) !important; background: none !important; border: 0 !important; opacity: 1 !important; color: currentColor !important;
}

@media (prefers-reduced-motion: reduce) {
    html body.mh-nav-custom :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a), html body.mh-nav-custom #master-header#master-header .mh-menu-inline li > .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) { transition: none !important; animation: none !important; }
    html body.mh-nav-custom:is(.mh-nd-hover-lift,.mh-nd-hover-zoom) :is(#master-header#master-header .mh-menu-inline .sub-menu:where(:not(.mh-mega *, .mega-menu *, .mh-mega-full *)) > li > a, .mh-nav-sidebar .mh-sidebar-list li > a):is(:hover,:focus-visible) { transform: none !important; }
}
