/**
 * Autor Font Face Declarations
 * 
 * @package Alleato_Arena
 * 
 * Font Family: Autor by Latinotype
 * Loaded from local files in /assets/fonts/autor/
 */

/* Autor Thin */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-thin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Autor Thin Italic */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-thin-italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* Autor Light */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Autor Light Italic */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-light-italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* Autor Regular */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Autor Regular Italic */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-regular-italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* Autor Medium */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Autor Medium Italic */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-medium-italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* Autor Bold */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Autor Bold Italic */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-bold-italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Autor ExtraBold */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-extrabold.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Autor ExtraBold Italic */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-extrabold-italic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Autor Black */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-black.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Autor Black Italic */
@font-face {
    font-family: 'Autor';
    src: url('autor/autor-black-italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* 
 * Font Loading Optimization
 * Preload the most important font weights
 */

/* For critical font weights, add these to the <head> of your document:
<link rel="preload" href="<?php echo get_template_directory_uri(); ?>/assets/fonts/autor/autor-regular.otf" as="font" type="font/otf" crossorigin>
<link rel="preload" href="<?php echo get_template_directory_uri(); ?>/assets/fonts/autor/autor-bold.otf" as="font" type="font/otf" crossorigin>
*/