/* Hide Gnuboard default login message bar */
#hd_login_msg { display: none !important; }
/* ===== Footer Fix =====
 * theme.css sets .footer-top { display: grid } which breaks the first row layout.
 * This file is loaded LAST to override all conflicting styles.
 */

/* Force first row to be block so .alpha-container works normally */
.alpha-footer .footer-top {
    display: block !important;
}

/* Force the grid inside to be flex row (left policy links / right utility links) */
.alpha-footer .footer-top .footer-top-grid {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* Left side links */
.alpha-footer .footer-top .footer-policy-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 24px;
    flex: 0 0 auto;
}

/* Right side links */
.alpha-footer .footer-top .footer-utility-links {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 24px;
    flex: 0 0 auto;
}

/* Mobile: stack vertically */
@media (max-width: 768px) {
    .alpha-footer .footer-top .footer-top-grid {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px;
    }
}
