/* Mobile off-canvas nav (#mobile-nav) polish — scoped overrides on top of
   main.css (shared site-wide, not edited directly) rather than new
   behavior; #mobile-nav only renders/shows at mobile widths in the first
   place, so nothing here needs its own media query to stay off desktop. */

/* main.css's "#mobile-nav .mobile-nav li a" rule sets padding:3px 0 (each
   row only ~30px tall) then margin-bottom:48px (a huge gap after every
   single row) — a cramped tap target immediately followed by a large dead
   zone, which reads as "spacing feels off" and, worse, the expander arrow
   for parent items (position:absolute;top:0;bottom:0 — i.e. exactly as
   tall as this row) inherits that same ~30px height, under the ~44px
   minimum real touch targets need. A real tap easily lands on the link
   text next to it instead and navigates away rather than expanding the
   submenu. Taller rows with a smaller, more even gap fix both: easier to
   tap accurately, and the rhythm between items stops reading as broken. */
#mobile-nav .mobile-nav li a {
    padding: 14px 0px;
    margin-bottom: 8px;
}

/* The expander's own hit area is position:absolute;top:0;bottom:0 inside
   the link above, so it grows to match that row's new height automatically
   — no separate rule needed for it. */

/* Same 282px inset the search form below already uses (search.css) — the
   nav items themselves had no matching side inset, so they ran edge-to-edge
   while the search box sat centered with visible margins, reading as
   misaligned with everything above it. */
#mobile-nav .mobile-nav .menu {
    max-width: 282px;
    margin-left: auto;
    margin-right: auto;
}

/* Now that the whole row (not just the small arrow) toggles the submenu,
   this vertical divider between the title and the arrow no longer marks a
   separate clickable zone — it's just a leftover line with nothing to
   divide. */
#mobile-nav .mobile-nav .menu > li.menu-item-has-children > a .expander::before {
    display: none;
}

/* .75em worked out to ~12px against this row's inherited size — noticeably
   smaller than the ~16px top-level titles call for a submenu that's meant
   to still read as normal menu items, not fine print. Bumped up without
   going anywhere near the top-level size. */
#mobile-nav .mobile-nav .menu li .sub-menu li a {
    font-size: 14px;
}
