/**
 * === Fonts mainly for Jawi Malay (ms-Arab) but also general Arabic text ===
 * Website header: Scheherazade
 * Page headings: Amiri
 * Main content: Mada
 *
 * This file is written by Yaya MNH48 and licensed under MIT.
 *
 */

/**
 * === Website header: Scheherazade New ===
 *
 * Font is Copyright (c) 1994-2026, SIL Global (https://www.sil.org/),
 * with Reserved Font Names "Scheherazade" and "SIL".
 * This Font Software is licensed under the SIL Open Font License, Version 1.1.
 * 
 * The woff2 and woff files loaded are the version 4.500 release downloaded from
 * the official website of SIL at https://software.sil.org/scheherazade
 *
 * CSS codes below for loading the fonts are arranged in this order:
 * - normal regular (weight 400)
 * - normal medium (weight 500)
 * - normal semibold (weight 600)
 * - normal bold (weight 700)
 *
 * This font does not exist in italic font style.
 *
 * This font supports traditional Jawi comma (U+2E41) and semicolon (U+204F) and
 * as such do not need supplemental file injected to support them.
 *
 * This font supports traditional Jawi double quotation mark pairs
 * (U+201F & U+201D) and single quotation mark pairs (U+201B & U+2019) and
 * as such do not need supplemental files injected to support them.
 *
 */

@font-face {
  font-family: 'Scheherazade';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ScheherazadeNew-4.500/web/ScheherazadeNew-Regular.woff2') format('woff2'),
       url('../fonts/ScheherazadeNew-4.500/web/ScheherazadeNew-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Scheherazade';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ScheherazadeNew-4.500/web/ScheherazadeNew-Medium.woff2') format('woff2'),
       url('../fonts/ScheherazadeNew-4.500/web/ScheherazadeNew-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Scheherazade';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/ScheherazadeNew-4.500/web/ScheherazadeNew-SemiBold.woff2') format('woff2'),
       url('../fonts/ScheherazadeNew-4.500/web/ScheherazadeNew-SemiBold.woff') format('woff');
}

@font-face {
  font-family: 'Scheherazade';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/ScheherazadeNew-4.500/web/ScheherazadeNew-Bold.woff2') format('woff2'),
       url('../fonts/ScheherazadeNew-4.500/web/ScheherazadeNew-Bold.woff') format('woff');
}

/**
 * === Page headings: Amiri ===
 *
 * Font is Copyright 2010-2022 The Amiri Project Authors
 * (https://github.com/aliftype/amiri)
 * This Font Software is licensed under the SIL Open Font License, Version 1.1.
 *
 * The woff2 files loaded are compressed from the respective ttf files
 * downloaded from GitHub repository https://github.com/aliftype/amiri/
 * as at commit 0584b05, using the woff2_compress code that were built from
 * source as at the commit fb9c337 from https://github.com/google/woff2/
 *
 * Codes for loading the fonts are arranged in this order:
 * - normal regular (weight 400)
 * - normal bold (weight 700)
 * - italic regular (weight 400)
 * - italic bold (weight 700)
 *
 * This font supports traditional Jawi comma (U+2E41) and semicolon (U+204F) and
 * as such do not need supplemental file injected to support them.
 *
 * This font supports traditional Jawi double quotation mark pairs
 * (U+201F & U+201D) and single quotation mark pairs (U+201B & U+2019) and
 * as such do not need supplemental files injected to support them.
 * 
 */

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

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

@font-face {
  font-family: 'Amiri';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/amiri/Amiri-Italic.woff2') format('woff2');
}

@font-face {
  font-family: 'Amiri';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/amiri/Amiri-BoldItalic.woff2') format('woff2');
}

/**
 * === Main content: Mada ===
 *
 * Font is Copyright 2015-2022 The Mada Project Authors
 * (https://github.com/aliftype/mada), with Reserved Font Name "Source".
 * This Font Software is licensed under the SIL Open Font License, Version 1.1.
 *
 * The woff2 file loaded are compressed from the origin variable ttf file
 * downloaded from GitHub repository https://github.com/aliftype/mada
 * as at commit d743635, using the woff2_compress code that were built from
 * source as at the commit fb9c337 from https://github.com/google/woff2/
 *
 * Codes for loading the fonts are arranged in this order:
 * - load variable font
 * - injects comma, semicolon, and missing closing double quotation mark
 * 
 * This font supports traditional Jawi single quotation mark pairs
 * (U+201B & U+2019) and the opening double quotation mark (U+201D) and as such
 * do not need supplemental file injected to support them, however the fonts
 * do not support traditional Jawi comma (U+2E41), semicolon (U+204F) and the
 * closing double quotation mark (U+201F), and so an additional font file is
 * included to inject the missing characters into the font for proper support.
 *
 */
 
@font-face {
  font-family: Mada;
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/mada/web/mada.woff2') format('woff2 supports variations'),
       url('../fonts/mada/web/mada.woff2') format('woff2-variations');
}

@font-face {
  font-family: Mada;
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url('../fonts/mada/web/mnh48compatibilityformada.woff2') format('woff2');
  unicode-range: U+2E41, U+204F, U+201F;
}
