/**
 * Bundled typography. Vazirmatn (Persian) and Rajdhani (Latin display).
 * Both are SIL Open Font License. No Google Fonts CDN.
 */

@font-face {
	font-family: Vazirmatn;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/vazirmatn-arabic-400.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C, U+200D;
}

@font-face {
	font-family: Vazirmatn;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/vazirmatn-arabic-700.woff2") format("woff2");
	unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF, U+200C, U+200D;
}

@font-face {
	font-family: Vazirmatn;
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/vazirmatn-latin-400.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: Rajdhani;
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("../fonts/rajdhani-latin-600.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: Rajdhani;
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("../fonts/rajdhani-latin-700.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;
}

:root {
	--font-base: Rajdhani, Vazirmatn, "Segoe UI", sans-serif;
	--nby-font-ltr: Rajdhani, Vazirmatn, "Segoe UI", sans-serif;
	--nby-font-rtl: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
}

body {
	font-family: var(--nby-font-ltr);
}

html[dir="rtl"] body,
body.rtl,
.rtl body {
	font-family: var(--nby-font-rtl);
}

h1,
h2,
h3,
h4,
h5,
h6,
.heading-font {
	font-family: var(--nby-font-ltr);
	font-weight: 700;
}

html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] .heading-font,
.rtl h1,
.rtl h2,
.rtl h3,
.rtl h4,
.rtl h5,
.rtl h6 {
	font-family: var(--nby-font-rtl);
}
