/* Social Icon Fix CSS */
/* Ensure Font Awesome icons display properly */

/* High specificity fix for Font Awesome icon display issues */
.fa, [class^="fa-"], [class*=" fa-"], i.fa, i[class^="fa-"], i[class*=" fa-"] {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
    font-weight: normal !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: auto !important;
    display: inline-block !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Ensure proper loading of Font Awesome fonts with fallback */
@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome-webfont3e6e.eot?v=4.7.0');
    src: url('../fonts/fontawesome-webfontd41d.eot?#iefix&v=4.7.0') format('embedded-opentype'),
         url('../fonts/fontawesome-webfont3e6e.woff2?v=4.7.0') format('woff2'),
         url('../fonts/fontawesome-webfont3e6e.woff?v=4.7.0') format('woff'),
         url('../fonts/fontawesome-webfont3e6e.ttf?v=4.7.0') format('truetype'),
         url('../fonts/fontawesome-webfont3e6e.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Social media icon fixes with higher specificity */
.social-icons .fa,
.social-media .fa,
.footer-social .fa,
.header-social .fa,
.social-icons i.fa,
.social-media i.fa,
.footer-social i.fa,
.header-social i.fa {
    display: inline-block !important;
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
}

/* Common icon display issues fixes */
i.fa:before, i[class^="fa-"]:before, i[class*=" fa-"]:before {
    font-family: 'FontAwesome' !important;
}

/* Ensure icons don't break in flexbox containers */
.fa, i.fa, i[class^="fa-"], i[class*=" fa-"] {
    flex-shrink: 0 !important;
}

/* Override any meta-item styling for Font Awesome icons */
.meta-item .fa,
.meta-item i.fa,
.meta-item i[class^="fa-"],
.meta-item i[class*=" fa-"] {
    font-family: 'FontAwesome' !important;
    font-style: normal !important;
}

/* Ensure Font Awesome pseudo-elements work correctly */
.fa:before, [class^="fa-"]:before, [class*=" fa-"]:before,
i.fa:before, i[class^="fa-"]:before, i[class*=" fa-"]:before {
    font-family: 'FontAwesome' !important;
    font-weight: normal !important;
    font-style: normal !important;
}
