/* Override Font Awesome font-face strategy to avoid FOIT */
@font-face {
    font-family: "Font Awesome 6 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fontawesome/webfonts/fa-brands-400.woff2") format("woff2"),
         url("../fontawesome/webfonts/fa-brands-400.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
         url("../fontawesome/webfonts/fa-regular-400.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome 6 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("../fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}

/* Legacy aliases still emitted by Font Awesome for compatibility */
@font-face {
    font-family: "Font Awesome 5 Brands";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fontawesome/webfonts/fa-brands-400.woff2") format("woff2"),
         url("../fontawesome/webfonts/fa-brands-400.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
         url("../fontawesome/webfonts/fa-regular-400.ttf") format("truetype");
}

@font-face {
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("../fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}

@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fontawesome/webfonts/fa-regular-400.woff2") format("woff2"),
         url("../fontawesome/webfonts/fa-regular-400.ttf") format("truetype");
}

@font-face {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url("../fontawesome/webfonts/fa-solid-900.woff2") format("woff2"),
         url("../fontawesome/webfonts/fa-solid-900.ttf") format("truetype");
}
