/* ============================================
   FOOTER MOBILE FIX
   Prevents duplicate menu items on mobile
   ============================================ */

@media (max-width: 768px) {
    /* Ensure footer menu items don't duplicate */
    .footer-widget .footer-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-widget .footer-menu li {
        display: block;
        margin-bottom: 10px;
    }
    
    /* Hide any duplicate items that might slip through */
    .footer-widget .footer-menu li:not(:first-of-type) a[href*="/about"],
    .footer-widget .footer-menu li:not(:first-of-type) a[href*="/services"],
    .footer-widget .footer-menu li:not(:first-of-type) a[href*="/doctors"],
    .footer-widget .footer-menu li:not(:first-of-type) a[href*="/appointments"],
    .footer-widget .footer-menu li:not(:first-of-type) a[href*="/academy"] {
        /* This is a fallback - the PHP filter should catch duplicates first */
    }
    
    /* Ensure only one instance of each URL is visible */
    .footer-menu li {
        position: relative;
    }
}
