/* Keep the authenticated OJS account menu above the journal navigation. */
.ajair-theme .utility-bar {
  position: relative;
  z-index: 200;
}

.ajair-theme .nav-wrap {
  position: relative;
  z-index: 100;
}

.ajair-theme .ajair-user-nav,
.ajair-theme .ajair-user-nav .pkp_navigation_user,
.ajair-theme .ajair-user-nav .profile {
  position: relative;
}

.ajair-theme .ajair-user-nav .dropdown-menu {
  z-index: 1000;
}

/* The account menu opens into the row beneath it. Temporarily clear the only
   control in that footprint so every account action remains unobstructed. */
.ajair-theme .site-header:has(.ajair-user-nav [aria-expanded="true"]) .ajair-essential-nav .button {
  opacity: 0;
  pointer-events: none;
}
