/* AP Event Manager – Nav CSS
   Loaded on EVERY page to:
   1. Hide APEM pages that were accidentally added to nav menus for non-APEM users
   2. Style the dynamically injected Monitor/Scan Tickets items
*/

/* ── HIDE items that shouldn't be visible ──────────────────────────
   .apem-hidden-nav-item is added by PHP to menu items that the current
   user is not allowed to see (i.e. a logged-out user, or a user without
   the correct role). This CSS hides them completely. */
.apem-hidden-nav-item,
.apem-hidden-nav-item a {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ── Dynamically injected nav items ────────────────────────────── */
.apem-nav-item > a {
    font-weight: 600 !important;
}
.apem-nav-item > a:hover,
.apem-nav-item.current-menu-item > a {
    color: #e63946 !important;
}
