body.dropdown-active .anchor-navigation{display:none !important}

/* Desktop: black header background when anchor nav present */
body.has-anchor-nav header{background-color:#000 !important}

/* Always add spacing below anchor nav - pushes content down */
body.has-anchor-nav{padding-top:80px !important}

.anchor-navigation.bg-electric-blue{background-color:#2c3cbb!important}.anchor-navigation.bg-black{background-color:#000!important}.anchor-navigation.bg-white{background-color:#fff!important}.anchor-navigation.bg-oatmeal{background-color:#e7e4df!important}.anchor-navigation.bg-forged-steel{background-color:#3a352e!important}.anchor-navigation.text-white{color:#fff}.anchor-navigation.text-white *{color:#fff}.anchor-navigation.text-black{color:#000}.anchor-navigation.text-black *{color:#000}.anchor-navigation.text-oatmeal{color:#e7e4df}.anchor-navigation.text-oatmeal *{color:#e7e4df}.anchor-navigation.text-forged-steel{color:#3a352e}.anchor-navigation.text-forged-steel *{color:#3a352e}

.anchor-navigation{position:fixed !important;display:block !important;visibility:visible !important;opacity:1 !important;top:112px;left:0 !important;right:0 !important;z-index:1000;border-bottom:1px solid var(--border-tertiary,#5d564b);background:rgba(93,86,75,0.98);width:100%;transition:top .3s ease-in-out;min-height:44px;height:auto !important;overflow:visible !important}

.anchor-navigation *{visibility:visible !important;opacity:1 !important}

/* Desktop nav */
.anchor-nav-desktop{margin:0 auto;width:100%;display:flex !important;align-items:center;padding-left:24px;padding-right:24px;min-height:44px;height:auto !important}
.anchor-navigation--inner{display:flex !important;justify-content:center;gap:0 24px;max-width:100%;overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none;flex:1;scroll-behavior:smooth;min-height:44px;height:auto !important;align-items:center}
.anchor-navigation--inner::-webkit-scrollbar{display:none}
.anchor-navigation--inner a,.anchor-navigation a.anchor-navigation__link{color:#fff !important;display:inline-block !important;padding:12px 0 !important;white-space:nowrap;text-decoration:none;transition:color .2s ease;font-size:14px !important;height:auto !important;line-height:1.4 !important}
.anchor-navigation a:hover{color:#8FFF3E !important}
.anchor-navigation a.active,.anchor-navigation--inner a.active{color:#8FFF3E !important;text-decoration:underline !important;text-decoration-color:#8FFF3E !important;text-underline-offset:4px;text-decoration-thickness:2px}

/* Mobile dropdown - hidden on desktop */
.anchor-nav-mobile-dropdown{display:none}

/* Scroll behavior - desktop */
body.active-scroll.has-anchor-nav:not(.dropdown-active) header{transform:translateY(-32px) !important}
body.active-scroll.has-anchor-nav .util-nav{opacity:0;pointer-events:none}
body.active-scroll.has-anchor-nav .anchor-navigation{top:80px}

/* ========== MOBILE STYLES ========== */
@media (max-width:900px){
    /* Always add spacing below anchor nav - mobile */
    body.has-anchor-nav{padding-top:40px !important}

    .anchor-navigation{position:fixed !important;top:137px !important;left:0 !important;right:0 !important;width:100% !important;z-index:999 !important;background:rgba(93,86,75,0.98) !important;min-height:44px !important;height:auto !important;overflow:visible !important;box-sizing:border-box !important}

    /* Hide desktop nav on mobile */
    .anchor-nav-desktop{display:none !important}

    /* Show mobile dropdown */
    .anchor-nav-mobile-dropdown{display:block !important;width:100%;padding:0 16px;box-sizing:border-box}

    .anchor-nav-dropdown-trigger{display:flex !important;align-items:center;justify-content:space-between;width:100%;padding:14px 0;margin:0 !important;background:transparent;border:none;color:#fff;font-size:14px;font-family:"ballinger-mono",sans-serif;cursor:pointer;text-align:left}
    .anchor-nav-dropdown-trigger .dropdown-chevron{transition:transform .2s ease;flex-shrink:0;margin-left:8px}
    .anchor-nav-dropdown-trigger[aria-expanded="true"] .dropdown-chevron{transform:rotate(180deg)}
    .anchor-nav-current{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

    .anchor-nav-dropdown-menu{display:none;position:absolute;top:100%;left:0;right:0;background:rgba(93,86,75,0.98);border-top:1px solid rgba(255,255,255,0.1);max-height:60vh;overflow-y:auto;z-index:1000}
    .anchor-nav-dropdown-menu.open{display:block}
    .anchor-nav-dropdown-item{display:block;padding:14px 16px;color:#fff;text-decoration:none;font-size:14px;font-family:"ballinger-mono",sans-serif;border-bottom:1px solid rgba(255,255,255,0.1);transition:background .2s ease}
    .anchor-nav-dropdown-item:hover,.anchor-nav-dropdown-item.active{background:rgba(255,255,255,0.1);color:#8FFF3E}
    .anchor-nav-dropdown-item:last-child{border-bottom:none}

    /* Scroll behavior - mobile */
    body.active-scroll.has-anchor-nav:not(.dropdown-active) header{transform:translateY(-52px) !important}
    body.active-scroll.has-anchor-nav .anchor-navigation{top:85px !important}
    body:not(.active-scroll).has-anchor-nav .anchor-navigation{top:137px !important}
}
