/* ==========================================================================
   Shazdeh Pro - Farsi Numerals (FaNum) [Primary Font Family for Ulurn]
   ========================================================================== */

@font-face {
    font-family: 'ShazdehFaNum';
    src: url('/assets/fonts/shazdehpro/ShazdeFaNum-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShazdehFaNum';
    src: url('/assets/fonts/shazdehpro/ShazdeFaNum-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShazdehFaNum';
    src: url('/assets/fonts/shazdehpro/ShazdeFaNum-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShazdehFaNum';
    src: url('/assets/fonts/shazdehpro/ShazdeFaNum-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShazdehFaNum';
    src: url('/assets/fonts/shazdehpro/ShazdeFaNum-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShazdehFaNum';
    src: url('/assets/fonts/shazdehpro/ShazdeFaNum-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShazdehFaNum';
    src: url('/assets/fonts/shazdehpro/ShazdeFaNum-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'ShazdehFaNum';
    src: url('/assets/fonts/shazdehpro/ShazdeFaNum-UltraBold.woff2') format('woff2');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   Shazdeh Pro - Standard English Numerals
   ========================================================================== */

@font-face {
    font-family: 'Shazdeh';
    src: url('/assets/fonts/shazdehpro/Shazde-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shazdeh';
    src: url('/assets/fonts/shazdehpro/Shazde-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shazdeh';
    src: url('/assets/fonts/shazdehpro/Shazde-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shazdeh';
    src: url('/assets/fonts/shazdehpro/Shazde-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shazdeh';
    src: url('/assets/fonts/shazdehpro/Shazde-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shazdeh';
    src: url('/assets/fonts/shazdehpro/Shazde-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shazdeh';
    src: url('/assets/fonts/shazdehpro/Shazde-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shazdeh';
    src: url('/assets/fonts/shazdehpro/Shazde-UltraBold.woff2') format('woff2');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}


/* ==========================================================================
   Kalameh Web & FaNum (Retained for 100% Backward Compatibility)
   ========================================================================== */

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

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

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

@font-face {
    font-family: 'KalamehWeb';
    src: url('/assets/fonts/KalamehWeb-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

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

@font-face {
    font-family: 'KalamehWeb';
    src: url('/assets/fonts/KalamehWeb-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

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

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


/* ==========================================================================
   Global Root Variables & Typography Rules
   ========================================================================== */

:root {
    --font-primary: 'ShazdehFaNum', 'Shazdeh', 'KalamehWebFaNum', 'KalamehWeb', 'Vazirmatn', sans-serif;
    --font-fanum: 'ShazdehFaNum', 'KalamehWebFaNum', sans-serif;
}

html, body {
    font-family: var(--font-primary);
}

.font-fanum {
    font-family: var(--font-fanum) !important;
}

.font-fanum-bold {
    font-family: var(--font-fanum) !important;
    font-weight: 700 !important;
}
