/*
 * Local Lato Font Definitions
 * Using local font files for better performance and reliability
 */

/* Lato Regular (400) */
@font-face {
    font-family: 'Lato';
    src: url('./Lato-Regular.eot');
    src: url('./Lato-Regular.eot?#iefix') format('embedded-opentype'),
         url('./Lato-Regular.woff2') format('woff2'),
         url('./Lato-Regular.woff') format('woff'),
         url('./Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Lato Medium (500) */
@font-face {
    font-family: 'Lato';
    src: url('./Lato-Medium.eot');
    src: url('./Lato-Medium.eot?#iefix') format('embedded-opentype'),
         url('./Lato-Medium.woff2') format('woff2'),
         url('./Lato-Medium.woff') format('woff'),
         url('./Lato-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Lato Bold (700) */
@font-face {
    font-family: 'Lato';
    src: url('./Lato-Bold.eot');
    src: url('./Lato-Bold.eot?#iefix') format('embedded-opentype'),
         url('./Lato-Bold.woff2') format('woff2'),
         url('./Lato-Bold.woff') format('woff'),
         url('./Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: bold;
    font-display: swap;
}

/* Lato Black (900) */
@font-face {
    font-family: 'Lato';
    src: url('./Lato-Black.eot');
    src: url('./Lato-Black.eot?#iefix') format('embedded-opentype'),
         url('./Lato-Black.woff2') format('woff2'),
         url('./Lato-Black.woff') format('woff'),
         url('./Lato-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Lato Heavy (800) - Alternative black weight */
@font-face {
    font-family: 'Lato';
    src: url('./Lato-Heavy.eot');
    src: url('./Lato-Heavy.eot?#iefix') format('embedded-opentype'),
         url('./Lato-Heavy.woff2') format('woff2'),
         url('./Lato-Heavy.woff') format('woff'),
         url('./Lato-Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Lato Italic (400) */
@font-face {
    font-family: 'Lato';
    src: url('./Lato-Italic.eot');
    src: url('./Lato-Italic.eot?#iefix') format('embedded-opentype'),
         url('./Lato-Italic.woff2') format('woff2'),
         url('./Lato-Italic.woff') format('woff'),
         url('./Lato-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Create Lato-Bold alias for AEM compatibility */
@font-face {
    font-family: 'Lato-Bold';
    src: url('./Lato-Bold.eot');
    src: url('./Lato-Bold.eot?#iefix') format('embedded-opentype'),
         url('./Lato-Bold.woff2') format('woff2'),
         url('./Lato-Bold.woff') format('woff'),
         url('./Lato-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
