/**
 * Typography - Nunito (Premium Gotham Rounded Alternative)
 * Performance-first local font loading
 */

@font-face {
    font-family: 'Opsim Primary';
    src: url('../fonts/nunito/nunito-400.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Opsim Primary';
    src: url('../fonts/nunito/nunito-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Opsim Primary';
    src: url('../fonts/nunito/nunito-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Opsim Primary';
    src: url('../fonts/nunito/nunito-800.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --opsim-font-primary: 'Opsim Primary', sans-serif;
    --opsim-font-secondary: 'Opsim Primary', sans-serif;
}

body, input, textarea, select, button {
    font-family: var(--opsim-font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.5;
    color: var(--wp--preset--color--primary, #111827);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--opsim-font-primary);
    font-weight: 800;
}


/* Ensure bold weight is correctly applied */
b, strong {
    font-weight: 700;
}
