/**
 * IRANSans — self-hosted, sitewide font.
 *
 * Only the weights actually used by the theme's Tailwind classes are
 * declared (400 Regular, 500 Medium, 700 Bold, 800 ExtraBold) to keep the
 * number of font requests/bytes to a minimum. woff2 only — it is smaller
 * and has universal modern-browser support, so no ttf/eot fallback is
 * shipped. font-display: swap avoids invisible text while the font loads.
 */

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

@font-face {
	font-family: 'IRANSans';
	src: url('../fonts/IRANSansWeb.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

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

/*@font-face {*/
/*	font-family: 'IRANSans';*/
/*	src: url('../fonts/iransans-extrabold.woff2') format('woff2');*/
/*	font-weight: 800;*/
/*	font-style: normal;*/
/*	font-display: swap;*/
/*}*/






/******kalameh font start**********/

/**
 * KalamehWeb is the theme's default sitewide font (see the `html` rule
 * below). Only two weights are actually shipped as files:
 *   - 400 (Regular) — used as the default/body weight.
 *   - 700 (Bold)     — used wherever the theme/Tailwind classes ask for
 *                       font-weight 600–800 (the browser matches to the
 *                       nearest declared weight).
 * NOTE: there is no true Thin/Light (100–300) KalamehWeb file bundled
 * with this theme, so 400 Regular is the lightest weight available.
 * If you have a KalamehWeb Thin/Light .woff2 file, add it here as its
 * own @font-face with font-weight: 300 (or 100) and switch the `html`
 * rule below to that weight for a genuinely thinner default look.
 */

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

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

/******kalameh font end**********/




/*
 * Sitewide application. Same selector specificity as Tailwind's base rule
 * (html{font-family:...}) in main.css, but this file is enqueued AFTER
 * main.css, so it wins the cascade — no !important needed.
 *
 * font-weight: 400 is set explicitly here as the theme's default weight —
 * it is the lightest ("نازک") KalamehWeb weight actually shipped (see
 * note above). Elements that ask for heavier weights (font-bold,
 * font-extrabold, headings, etc.) override this locally as before; this
 * only sets the baseline for regular body text.
 */
html {
	font-family: 'KalamehWeb', 'IRANSans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
	font-weight: 400;
}
