/*
 * One Bangla font for the whole software (partials/theme-head). "SAU Bangla" holds the Bangla letters only
 * (unicode-range), so English keeps its font: Times New Roman on the public pages, Figtree in the panels.
 * The browser fetches the font only on a page with Bangla on it. Plain CSS on purpose: the live server
 * does not rebuild Tailwind. PDFs, certificates and emails have their own fonts and are not touched.
 */
@font-face {
    font-family: 'SAU Bangla';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.bunny.net/hind-siliguri/files/hind-siliguri-bengali-400-normal.woff2) format('woff2'),
        url(https://fonts.bunny.net/hind-siliguri/files/hind-siliguri-bengali-400-normal.woff) format('woff');
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC;
}

@font-face {
    font-family: 'SAU Bangla';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url(https://fonts.bunny.net/hind-siliguri/files/hind-siliguri-bengali-500-normal.woff2) format('woff2'),
        url(https://fonts.bunny.net/hind-siliguri/files/hind-siliguri-bengali-500-normal.woff) format('woff');
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC;
}

@font-face {
    font-family: 'SAU Bangla';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.bunny.net/hind-siliguri/files/hind-siliguri-bengali-600-normal.woff2) format('woff2'),
        url(https://fonts.bunny.net/hind-siliguri/files/hind-siliguri-bengali-600-normal.woff) format('woff');
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC;
}

@font-face {
    font-family: 'SAU Bangla';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.bunny.net/hind-siliguri/files/hind-siliguri-bengali-700-normal.woff2) format('woff2'),
        url(https://fonts.bunny.net/hind-siliguri/files/hind-siliguri-bengali-700-normal.woff) format('woff');
    unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+200C-200D, U+25CC;
}

/* the panels: the same fonts as before, with Bangla in front */
html body,
html .font-sans { font-family: 'SAU Bangla', Figtree, ui-sans-serif, system-ui, sans-serif; }

html .font-serif-u { font-family: 'SAU Bangla', 'Playfair Display', Georgia, serif; }

/* the public pages (.front-font in app.css, whose calligraphy and icon rules still win) */
html .front-font,
html .front-font * { font-family: 'SAU Bangla', 'Times New Roman', Times, serif !important; }
