/* Font display overrides to prevent layout shifts and improve performance */

/* Ensure Font Awesome swaps quickly */
@font-face {
    font-family: 'FontAwesome';
    font-style: normal;
    font-weight: normal;
    font-display: swap;
    src: url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2');
}

/* Ensure Oswald font uses swap to prevent layout shift */
@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/oswald/v57/TK3IWkUHHAljg75cFRf3bXL8LICs1_Fv40pKIN4NNSESASz7FmlWHYg.woff2') format('woff2');
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/oswald/v57/TK3IWkUHHAljg75cFRf3bXL8LICs1_Fv40pKIN4NNSESASz7FmlWHYg.woff2') format('woff2');
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/oswald/v57/TK3IWkUHHAljg75cFRf3bXL8LICs1_Fv40pKIN4NNSESASz7FmlWHYg.woff2') format('woff2');
}

@font-face {
    font-family: 'Oswald';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/oswald/v57/TK3IWkUHHAljg75cFRf3bXL8LICs1_Fv40pKIN4NNSESASz7FmlWHYg.woff2') format('woff2');
}

/* Ensure Helvetica uses swap */
@font-face {
    font-family: 'Helvetica';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Helvetica'), local('Helvetica Neue'), Arial, sans-serif;
}

/* Ensure Roboto (loaded indirectly by some Google services) uses swap */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('https://fonts.gstatic.com/s/roboto/v18/KFOlCnqEu92Fr1MmEU9fBBc4AMP6lQ.woff2') format('woff2');
}


