/* WebHostingM - Local Font Definitions
   Local fonts as fallback when Google Fonts is unreachable */

/* Inter - Main Font (Variable) */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter/Inter[opsz,wght].ttf') format('truetype');
    font-optical-sizing: auto;
}

@font-face {
    font-family: 'Inter';
    font-style: italic;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/inter/Inter-Italic[opsz,wght].ttf') format('truetype');
    font-optical-sizing: auto;
}

/* Noto Sans Arabic - For Arabic language support */
@font-face {
    font-family: 'Noto Sans Arabic';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/noto-sans-arabic/NotoSansArabic[wdth,wght].ttf') format('truetype');
}

/* Noto Sans Hebrew - For Hebrew language support */
@font-face {
    font-family: 'Noto Sans Hebrew';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/noto-sans-hebrew/NotoSansHebrew[wdth,wght].ttf') format('truetype');
}

/* Noto Sans SC - For Simplified Chinese language support */
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/assets/fonts/noto-sans-sc/NotoSansSC[wght].ttf') format('truetype');
}

/* Language-specific font stacks */
:lang(ar) {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

:lang(he) {
    font-family: 'Noto Sans Hebrew', 'Inter', sans-serif;
}

:lang(zh),
:lang(zh-CN),
:lang(zh-Hans) {
    font-family: 'Noto Sans SC', 'Inter', sans-serif;
}
