/* =============================================================================
   Avenir Next W1G — Custom Font
   ============================================================================= */

/* Light (300) */
@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextW1G-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextW1G-LightItalic.woff2') format('woff2');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Regular (400) */
@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextW1G-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextW1G-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Medium / Bold (600, 700) */
@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextW1G-Medium.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextW1G-Medium.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextW1G-MediumItalic.woff2') format('woff2');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('../fonts/AvenirNextW1G-MediumItalic.woff2') format('woff2');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Override DevExpress Design System font variable */
:root {
    --dxds-font-family-sans-serif: 'Avenir Next', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Enable Old Style Figures globally */
body {
    font-feature-settings: "onum" 1;
}
