/*
 * Extend the existing Poppins family with local Noor glyphs for Arabic only.
 * Regular text uses Noor Regular. Semantic public headings use the dedicated
 * Noor Bold face below. The unicode range deliberately leaves Latin, Thai,
 * and other scripts on their existing fonts, including mixed-language content.
 */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/noor-regular.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Noor Public Heading';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/noor-bold.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Noor Public Heading';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noor-bold.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Noor Public Heading';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/noor-bold.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Noor Public Heading';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/noor-bold.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Noor Public Heading';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/noor-bold.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Noor Public Heading';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/noor-bold.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Noor Public Heading';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/noor-bold.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

/* This stylesheet is loaded last in the public layout so page styles cannot
 * replace the deliberate Arabic-title face. Non-Arabic glyphs fall back to
 * Poppins because Noor Public Heading is limited by unicode-range. */
html body :is(h1, h2, h3, h4, h5, h6) {
    font-family: 'Noor Public Heading', 'Poppins', sans-serif;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/noor-regular.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/noor-regular.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/noor-regular.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}

@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/noor-regular.ttf') format('truetype');
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+FB50-FDFF, U+FE70-FEFF, U+10EC0-10EFF, U+1EE00-1EEFF;
}
