/**
 * Bloc Fest Pro - Local Web Fonts
 * Typeface: Neue Haas Unica Pro (18 TTF files)
 * Map seamlessly to 'Neue Haas Unica Pro', 'NeueHaasUnicaPro', 'Geist', and 'Geist-600'
 */

/* ==========================================================================
   1. NEUE HAAS UNICA PRO - @FONT-FACE DECLARATIONS
   ========================================================================== */

/* 100 - Thin */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

/* 200 - UltraLight */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-UltraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-UltLightIt.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

/* 300 - Light */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-LightIt.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

/* 400 - Regular */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

/* 500 - Medium */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-MediumIt.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

/* 600 - SemiBold / Bold */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-BoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

/* 700 - Bold */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* 800 - Heavy */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-HeavyIt.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* 900 - Black */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-BlackIt.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* 950 - Extra Black */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-XBlack.ttf') format('truetype');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-XBlackIt.ttf') format('truetype');
    font-weight: 950;
    font-style: italic;
    font-display: swap;
}

/* ==========================================================================
   2. ALIASING: 'Geist' & 'Geist-600' TO NEUE HAAS UNICA PRO
   Assicura che tutti i widget e stili esistenti ereditino il nuovo font
   ========================================================================== */

/* Geist Alias */
@font-face {
    font-family: 'Geist';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Heavy.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Geist';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Geist-600 Alias */
@font-face {
    font-family: 'Geist-600';
    src: url('../fonts/NeueHaasUnicaPro/NeueHaasUnicaPro-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   3. GLOBAL SITE-WIDE FONT DEFINITIONS & INHERITANCE
   ========================================================================== */
:root {
    --bloc-font-family: 'Neue Haas Unica Pro', 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --bloc-font-mono: 'Geist Mono', monospace;
}

/* Applica Neue Haas Unica Pro a tutto il corpo del sito e alle sezioni Divi/Elementor */
body,
html,
#page-container,
.et_builder_inner_content,
.elementor,
h1,
h2,
h3,
h4,
h5,
h6,
p,
button,
input,
textarea,
select {
    font-family: var(--bloc-font-family);
}