/**
 * United Earth — Secondary Navigation (Mobile)
 * -------------------------------------------
 * Scope: GeneratePress secondary navigation (.secondary-navigation)
 *
 * Goal:
 * GeneratePress collapses secondary nav ULs on mobile (menu toggle + hidden list).
 * For the UE UX, the secondary menu should remain visible as a compact horizontal
 * link row, without a separate toggle.
 */

@media (max-width: 768px) {

  /* Hide the secondary nav toggle (hamburger) */
  .secondary-navigation .menu-toggle {
    display: none !important;
  }

  /* Force the secondary menu list to stay visible */
  .secondary-navigation .main-nav > ul {
    display: flex !important;
    align-items: center;
    gap: 0;
  }

  /* Ensure list items don't stack */
  .secondary-navigation .main-nav > ul > li {
    display: inline-flex;
  }

  /* Remove mobile menu padding/stack styles if GP adds them */
  .secondary-navigation .main-nav > ul > li > a {
    display: inline-block;
    padding-top: 0;
    padding-bottom: 0;
  }
}
