/* 
 * Custom CSS Overrides for Deonde Blog Theme
 * This file has higher specificity to override WordPress default styles
 */

/* ===================================================
   DROPDOWN MENU FIXES
   =================================================== */

/* Remove bullets and list styling */
#menu-primary-menu,
.nav-menu,
.sub-menu,
.dropdown-menu {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

#menu-primary-menu li,
.nav-menu li,
.sub-menu li,
.dropdown-menu li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
}

#menu-primary-menu li::before,
.nav-menu li::before,
.sub-menu li::before,
.dropdown-menu li::before {
    content: none !important;
    display: none !important;
}

/* Remove blue underlines from dropdown links */
.sub-menu a,
.dropdown-menu a,
#menu-primary-menu .sub-menu a {
    color: #4a4a4a !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.sub-menu a:hover,
.dropdown-menu a:hover {
    color: #ffe147 !important;
    text-decoration: none !important;
    background: #f8f9fa !important;
}

.sub-menu a:visited,
.dropdown-menu a:visited {
    color: #4a4a4a !important;
}

/* ===================================================
   FOOTER FIXES
   =================================================== */

/* Footer all links white */
.footer a,
.footer-brand a,
.footer-links a,
.footer-legal a,
.business-links a,
.footer-section a,
.footer-content a {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: none !important;
}

.footer a:hover,
.footer-links a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

.footer a:visited,
.footer-links a:visited,
.business-links a:visited,
.footer-legal a:visited {
    color: #ffffff !important;
}

/* Ensure all footer text is white */
.footer,
.footer p,
.footer-text,
.footer-locations,
.footer-locations p,
.footer-section,
.footer-content {
    color: #ffffff !important;
}

/* Business links specific */
.business-links a {
    color: #ffffff !important;
    opacity: 0.8 !important;
}

.business-links a:hover {
    opacity: 1 !important;
}

/* Social icons */
.social-link,
.footer-social a {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ===================================================
   ADDITIONAL WORDPRESS OVERRIDES
   =================================================== */

/* Remove WordPress default link colors everywhere */
.nav a:link,
.nav a:visited {
    color: #4a4a4a !important;
}

.nav a:hover {
    color: #ffe147 !important;
}

/* Ensure primary buttons stay styled */
.btn-primary,
.btn-secondary {
    text-decoration: none !important;
}

/* Blog card links */
.blog-card-link,
.blog-card-title a {
    text-decoration: none !important;
}
