/*
 * Självhostade typsnitt (SIL Open Font License 1.1, se fonts/OFL.txt). Källa: Fontsource/Google Noto.
 * unicode-range gör att webbläsaren bara laddar ned ett typsnitt när sidan innehåller tecken ur det skriftsystemet.
 */

/* Gränssnitt: latin (Inter, variabel vikt 100–900) */
@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Rubriker: latin (Source Serif 4, variabel vikt 200–900) – ger studierummets lugna, boklika känsla. */
@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Source Serif 4";
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
    src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Gränssnitt: arabiska */
@font-face {
    font-family: "Noto Sans Arabic";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/noto-sans-arabic-arabic-400-normal.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
    font-family: "Noto Sans Arabic";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/noto-sans-arabic-arabic-700-normal.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}

/* Kursinnehåll: arabiska (naskh, tydliga harakat) */
@font-face {
    font-family: "Noto Naskh Arabic";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/noto-naskh-arabic-arabic-400-normal.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+25CC, U+FB50-FDFF, U+FE70-FEFC;
}

@font-face {
    font-family: "Noto Naskh Arabic";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/noto-naskh-arabic-arabic-700-normal.woff2") format("woff2");
    unicode-range: U+0600-06FF, U+0750-077F, U+0870-08FF, U+200C-200E, U+25CC, U+FB50-FDFF, U+FE70-FEFC;
}

/* Gränssnitt: hebreiska */
@font-face {
    font-family: "Noto Sans Hebrew";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/noto-sans-hebrew-hebrew-400-normal.woff2") format("woff2");
    unicode-range: U+0590-05FF, U+20AA, U+FB1D-FB4F;
}

@font-face {
    font-family: "Noto Sans Hebrew";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/noto-sans-hebrew-hebrew-700-normal.woff2") format("woff2");
    unicode-range: U+0590-05FF, U+20AA, U+FB1D-FB4F;
}

/* Kursinnehåll: hebreiska (niqqud) */
@font-face {
    font-family: "Frank Ruhl Libre";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/frank-ruhl-libre-hebrew-400-normal.woff2") format("woff2");
    unicode-range: U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F;
}

@font-face {
    font-family: "Frank Ruhl Libre";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/frank-ruhl-libre-hebrew-700-normal.woff2") format("woff2");
    unicode-range: U+0590-05FF, U+20AA, U+25CC, U+FB1D-FB4F;
}

/* Syriska */
@font-face {
    font-family: "Noto Sans Syriac";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/noto-sans-syriac-syriac-400-normal.woff2") format("woff2");
    unicode-range: U+0700-074F, U+0860-086A;
}

/*
 * Meltho (Beth Mardutho: The Syriac Institute) – användarens val av syrisk skriftstil, se leshoni.css.
 * Licensen förbjuder ändringar av typsnitten, så originalfilerna (.otf) serveras oförändrade
 * tillsammans med fonts/meltho/LICENSE-Meltho.txt. Noto Sans Syriac ovan är reserv.
 */
@font-face {
    font-family: "Estrangelo Edessa";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/meltho/SyrCOMEdessa.otf") format("opentype");
    unicode-range: U+0700-074F, U+0860-086A;
}

@font-face {
    font-family: "Serto Urhoy";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/meltho/SyrCOMUrhoy.otf") format("opentype");
    unicode-range: U+0700-074F, U+0860-086A;
}

@font-face {
    font-family: "Serto Urhoy";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/meltho/SyrCOMUrhoyBold.otf") format("opentype");
    unicode-range: U+0700-074F, U+0860-086A;
}

@font-face {
    font-family: "East Syriac Adiabene";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/meltho/SyrCOMAdiabene.otf") format("opentype");
    unicode-range: U+0700-074F, U+0860-086A;
}

/* Ge'ez (amhariska, tigrinska, ge'ez) */
@font-face {
    font-family: "Noto Sans Ethiopic";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/noto-sans-ethiopic-ethiopic-400-normal.woff2") format("woff2");
    unicode-range: U+1200-139F, U+2D80-2DDE, U+AB01-AB2E;
}
