/* OJS Default Theme Mobile Header - Full Replacement */

/* Ensure header remains in normal document flow */
.pkp_head_wrapper {
    position: relative !important;
}

/* Mobile header adjustments (max 768px) */
@media (max-width: 768px) {

  /* Fix toggle button */
  .pkp_site_nav_toggle {
    position: fixed !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 10001 !important;
  }

  /* Make menu full-screen */
  .pkp_site_nav_menu {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #005a8c !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100vh !important;
    overflow-y: auto !important;
    z-index: 10000 !important;
    padding-top: 70px !important;
  }

  /* Make menu items full-width */
  .pkp_navigation_primary > li > a {
    width: 100% !important;
    display: block !important;
    padding: 14px 20px !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255,255,255,0.25) !important;
    background: transparent !important;
  }

  /* Remove the narrow column layout */
  .pkp_navigation_primary_wrapper,
  .pkp_navigation_primary_row,
  .pkp_navigation_primary {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* User menu section */
  .pkp_navigation_user_wrapper {
    padding: 16px 20px 30px !important;
    border-top: 1px solid rgba(255,255,255,0.25) !important;
  }
}
