this happens because of hover
(tap on button toggles "open" class, but there are also very similar styles which append on hover
so, if button already doesn't have "open" class, it may still be open due to hover styles)
the fix is to remove hover for mobile and turn it on only for desktops (width >= 1200px)
second tap on mobile version-switcher doesn't necessarily close the menu
https://github.com/django/djangoproject.com/assets/6430448/6b19d7a6-1e34-4d86-8af6-0442f4f751e4
this happens because of hover (tap on button toggles "open" class, but there are also very similar styles which append on hover so, if button already doesn't have "open" class, it may still be open due to hover styles)
the fix is to remove hover for mobile and turn it on only for desktops (width >= 1200px)