/* This header has its own selectors so legacy Neve page overrides cannot resize it. */
.smh-shell {
    position: fixed !important;
    top: 0 !important;
    z-index: 99990 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 16px 32px !important;
    background: transparent !important;
    box-shadow: none !important;
    border: 0 !important;
    pointer-events: none;
    transition: transform .24s ease, opacity .24s ease;
    transform: none;
}
.smh-shell.smh-scroll-hidden { transform: translateY(calc(-100% - 48px)); opacity: 0; }
.smh-shell.smh-scroll-hidden #smh-navigation { pointer-events: none; }
body.smh-menu-open .smh-shell { transform: none; opacity: 1; transition: none; }
/* Clearance stays inside the hero background, not in a separate header strip. */
body.page-id-8 .elementor-element-2839df9 { padding-top: 42px !important; }
.bio3-hero { padding-top: 48px !important; }
.yp-hero { padding-top: 32px !important; }
body.page-id-1384 #content, body.page-id-1417 #content { padding-top: 96px !important; }
body.admin-bar .smh-shell { top: 32px !important; }
#smh-navigation {
    --smh-bg: #141a17;
    --smh-surface: #232b26;
    --smh-ink: #f7f7f2;
    --smh-accent: #fcd116;
    --smh-muted: #bbc6bd;
    --smh-border: #3b453e;
    font: 400 14px/1.4 Arial, sans-serif;
    color: var(--smh-ink);
    width: 100%;
    pointer-events: auto;
}
#smh-navigation *, #smh-navigation *::before, #smh-navigation *::after { box-sizing: border-box; letter-spacing: 0; }
#smh-navigation :where(a, button, ul, li, span, img) { margin: 0; }
#smh-navigation a { text-decoration: none; color: inherit; text-transform: none; }
#smh-navigation .smh-bar { display: flex; align-items: center; width: 100%; }
#smh-navigation .smh-brand {
    display: flex; flex: 0 0 auto; align-items: center; gap: 10px;
    padding: 8px 16px 8px 8px; min-height: 64px;
    background: var(--smh-surface); border-radius: 999px 0 0 999px;
}
#smh-navigation .smh-brand img { width: 44px; height: 44px; background: var(--smh-ink); border-radius: 50%; padding: 5px; object-fit: contain; }
#smh-navigation .smh-wordmark { font: 700 16px/1.2 Arial, sans-serif; white-space: nowrap; }
#smh-navigation .smh-wordmark > span { display: block; margin-top: 4px; font: 400 10px/1.2 Arial, sans-serif; color: var(--smh-muted); }
#smh-navigation .smh-drawer { display: contents; }
#smh-navigation .smh-links {
    list-style: none; display: flex; align-items: center; gap: 2px;
    padding: 8px 8px 8px 0; margin: 0 auto 0 0; min-height: 64px;
    background: var(--smh-surface); border-radius: 0 999px 999px 0;
}
#smh-navigation .smh-links li { list-style: none; padding: 0; flex: 0 0 auto; }
#smh-navigation .smh-links a {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 44px; padding: 12px 13px; border: 0; border-radius: 999px;
    color: var(--smh-ink); font: 400 13px/1.2 Arial, sans-serif; white-space: nowrap;
    transition: background-color .18s, color .18s;
}
#smh-navigation .smh-links a:hover { background: var(--smh-border); }
#smh-navigation .smh-links a[aria-current="page"] { background: var(--smh-accent); color: var(--smh-bg); }
#smh-navigation .smh-link-arrow { display: none; }
#smh-navigation .smh-official {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; flex: 0 0 auto;
    margin-left: 24px; padding: 6px 6px 6px 20px; min-height: 56px;
    border: 0; border-radius: 999px; background: var(--smh-accent);
    color: var(--smh-bg); font: 700 13px/1.2 Arial, sans-serif; white-space: nowrap;
}
#smh-navigation .smh-action-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--smh-bg); color: var(--smh-accent); }
#smh-navigation .smh-official:hover .smh-action-icon { background: var(--smh-border); }
#smh-navigation .smh-toggle { display: none; }
#smh-navigation a:focus-visible, #smh-navigation button:focus-visible { outline: 2px solid var(--smh-accent); outline-offset: 4px; }
#smh-navigation .smh-official:focus-visible { outline-color: var(--smh-bg); }
#smh-navigation .smh-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.smh-shell > .neve-skip-link { pointer-events: auto; }
@media (max-width: 1199px) {
    html body.page-id-8 #content .elementor.elementor-8 .elementor-element.elementor-element-2839df9 { padding-top: 110px !important; }
    /* The home hero begins behind the floating mobile header; keep that exposed area on the same dark treatment. */
    html body.page-id-8 #content .elementor.elementor-8 .elementor-element.elementor-element-2839df9 {
        background: #032b19 !important;
    }
    html body.page-id-8 #content .elementor.elementor-8 .elementor-element.elementor-element-b255bb7 {
        background: transparent !important;
    }
    html body.page-id-1390 #content .r3-hero { padding-top: 104px !important; }
    .smh-shell { padding: 12px 16px !important; }
    #smh-navigation .smh-bar { padding: 0 8px 0 0; min-height: 64px; background: var(--smh-surface); border: 1px solid var(--smh-border); border-radius: 999px; }
    #smh-navigation .smh-brand { background: transparent; margin-right: auto; min-height: 62px; }
    #smh-navigation .smh-toggle:not([hidden]) { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--smh-bg); color: var(--smh-ink); cursor: pointer; box-shadow: none; }
    #smh-navigation .smh-toggle .dashicons { font-size: 24px; width: 24px; height: 24px; }
    #smh-navigation .smh-drawer {
        display: flex; flex-direction: column; position: fixed;
        top: 88px; left: 16px; right: 16px; bottom: max(12px, env(safe-area-inset-bottom));
        padding: 20px 24px; background: var(--smh-bg); border: 1px solid var(--smh-border); border-radius: 28px;
        box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
        overflow: auto; overscroll-behavior: contain;
        visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
        transition: transform .2s ease, opacity .2s ease, visibility .2s;
    }
    #smh-navigation.smh-open .smh-drawer { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
    #smh-navigation .smh-links { display: block; width: 100%; min-height: 0; padding: 0; margin: 0 0 24px; border-radius: 0; background: transparent; }
    #smh-navigation .smh-links li { border-bottom: 1px solid var(--smh-border); }
    #smh-navigation .smh-links a { padding: 18px 0; border-radius: 0; font-size: 25px; line-height: 1.2; white-space: normal; min-height: 68px; }
    #smh-navigation .smh-links a[aria-current="page"] { color: var(--smh-accent); background: transparent; }
    #smh-navigation .smh-links a:hover { color: var(--smh-accent); background: transparent; }
    #smh-navigation .smh-link-arrow { display: block; font-size: 20px; flex: 0 0 20px; }
    #smh-navigation .smh-official { margin: auto 0 0; width: 100%; min-height: 56px; }
    body.admin-bar #smh-navigation .smh-drawer { top: 120px; }
    body.smh-menu-open { overflow: hidden !important; }
    #smh-navigation.smh-nojs .smh-bar { flex-wrap: wrap; border-radius: 8px; }
    #smh-navigation.smh-nojs .smh-drawer { position: static; visibility: visible; opacity: 1; transform: none; pointer-events: auto; width: 100%; }
}
@media (max-width: 782px) { body.admin-bar .smh-shell { top: 46px !important; } body.admin-bar #smh-navigation .smh-drawer { top: 134px; } }
@media (max-width: 359px) {
    .smh-shell { padding-left: 10px !important; padding-right: 10px !important; }
    #smh-navigation .smh-wordmark { font-size: 14px; }
    #smh-navigation .smh-drawer { left: 10px; right: 10px; padding: 16px 20px; }
    #smh-navigation .smh-links a { font-size: 22px; min-height: 60px; padding: 16px 0; }
}
@media (prefers-reduced-motion: reduce) { .smh-shell, #smh-navigation * { transition: none !important; } }