/*
 * Elementor Integration Fixes
 * Prevents Elementor from overriding the theme's Font Awesome 6 icons.
 */

/* Force theme icons to use Font Awesome 6 over Elementor's Font Awesome 5 */
body i.fas, 
body i.fa-solid,
body i.far, 
body i.fa-regular,
body .fas, 
body .fa-solid,
body .far, 
body .fa-regular {
    font-family: "Font Awesome 6 Free" !important;
}

body i.fab, 
body i.fa-brands,
body .fab, 
body .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
}

/* Ensure font weights match FA 6 requirements */
body i.fas, 
body i.fa-solid, 
body i.fa-vector-square,
body .fas, 
body .fa-solid, 
body .fa-vector-square {
    font-weight: 900 !important;
}

body i.far, 
body i.fa-regular,
body .far, 
body .fa-regular {
    font-weight: 400 !important;
}

/* Fix Elementor's global CSS resets (if they target i elements) */
body [class^="fa-"]:not(.eicon), 
body [class*=" fa-"]:not(.eicon),
body i[class^="fa-"]:not(.eicon), 
body i[class*=" fa-"]:not(.eicon) {
    font-style: normal !important;
    font-variant: normal !important;
    text-rendering: auto !important;
    line-height: 1 !important;
    display: inline-block !important;
}
