/**
 * Reset, RTL base, self-hosted Vazirmatn.
 */

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

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

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

html {
	direction: rtl;
}

body {
	font-family: 'Vazirmatn', Tahoma, sans-serif;
	font-size: var(--karema-fs-body);
	color: var(--karema-charcoal);
	background: var(--karema-bg);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

ul,
ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

a {
	color: inherit;
	text-decoration: none;
}

h1,
h2,
h3,
h4 {
	margin: 0;
	color: var(--karema-charcoal);
}

svg {
	display: block;
}

/* Persian digits inside LTR-forced inputs still read left-to-right numerals correctly */
input {
	font-family: inherit;
}

:focus-visible {
	outline: 2px solid var(--karema-teal);
	outline-offset: 2px;
}
