/* Dropdown helpers for Athena
 *
 * Bootstrap 5 already styles .dropdown-menu / .dropdown-item / .show
 * correctly out of the box and uses Popper.js for positioning. The
 * previous version of this file (never actually loaded by base.html)
 * was a Bootstrap-4-era wholesale re-implementation that fought
 * Popper — `top: 100%; left: 0; float: left; position: absolute`
 * hardcoded on .dropdown-menu broke navbar dropdown positioning the
 * moment we wired the file up. Those rules are gone.
 *
 * What remains here is only the small set of pragmatic overrides we
 * actually want:
 *   1. Mobile-collapsed navbar: render the dropdown inline (Bootstrap's
 *      default) rather than as a floating panel inside the collapse,
 *      so the menu items appear in the expanded hamburger drawer.
 */

@media (max-width: 991.98px) {
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        box-shadow: none;
    }
}
