/* Always-visible navigation, with a separate compact brand row. */
.cpse-site-header { position: relative; top: auto; background: #fff; }
.admin-bar .cpse-site-header { top: auto; }
.cpse-header-inner { flex-direction: column; gap: 0; padding: 0 1.5rem; min-height: 0; }
.cpse-brand { justify-content: center; padding: 1rem 0; width: 100%; }
.cpse-brand-logo--college, .cpse-brand .custom-logo { width: auto; max-width: min(320px, 80vw); max-height: 56px; height: auto; object-fit: contain; }
.cpse-primary-nav, .admin-bar .cpse-primary-nav { position: static; width: 100%; max-height: none; opacity: 1; pointer-events: auto; transform: none; overflow: visible; box-shadow: none; background: #fff; border: 0; border-top: 1px solid var(--cpse-line); padding: .4rem 0; }
.cpse-menu--primary { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .15rem .5rem; width: 100%; max-width: none; padding: 0; }
.cpse-menu--primary > li { min-width: 0; max-width: 100%; }
.cpse-menu--primary > li > a { display: flex; align-items: center; min-height: 44px; padding: .65rem .7rem; font-size: .88rem; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
.cpse-menu--primary a:focus-visible, .cpse-submenu-toggle:focus-visible { outline: 2px solid var(--cpse-blue); outline-offset: 2px; }
@media (max-width: 1120px) {
    .cpse-header-inner { padding: 0 1rem; }
    .cpse-brand { padding: .75rem 0; }
    .cpse-brand-logo--college, .cpse-brand .custom-logo { max-height: 48px; max-width: min(290px, 80vw); }
    .cpse-menu--primary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: .4rem; }
    .cpse-menu--primary > li { background: #fff; border: 1px solid var(--cpse-line); border-radius: 7px; overflow: hidden; }
    .cpse-menu--primary > li > a { font-size: .86rem; padding: .7rem .7rem; min-height: 48px; }
    .cpse-menu--primary > .menu-item-has-children > a { padding-right: 3.2rem; }
    .cpse-menu--primary .sub-menu .menu-item-has-children > a { padding-right: 3rem; }
    .cpse-submenu-toggle { width: 44px; height: 44px; top: .1rem; right: .1rem; }
    .cpse-menu--primary .sub-menu { overflow-wrap: anywhere; }
    html:not(.cpse-nav-ready) .cpse-menu--primary .sub-menu { display: block; }
}
@media (max-width: 640px) {
    .cpse-header-inner { padding: 0 .7rem; }
    .cpse-menu--primary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cpse-menu--primary > li > a { font-size: .8rem; }
    .cpse-brand-logo--college, .cpse-brand .custom-logo { max-height: 44px; max-width: min(270px, 80vw); }
}
