/**
 * Arabic display rhythm correction
 *
 * Arabic connected glyphs and stacked dots need more vertical room than the
 * compressed Latin display system. This late layer changes typography only.
 */

html[dir="rtl"] body.enjaz-v2 main :where(h1, h2, h3, h4) {
	letter-spacing: normal;
}

html[dir="rtl"] body.enjaz-v2 main :where(h1, h2) {
	line-height: 1.2;
	text-wrap: balance;
}

html[dir="rtl"] body.enjaz-v2 main :where(h3, h4) {
	line-height: 1.35;
}

html[dir="rtl"] body.enjaz-v2 main :where(.ej2-section-title, .ej2-positioning__statement, .ej2-final__title) {
	line-height: 1.22;
}

@media (max-width: 720px) {
	html[dir="rtl"] body.enjaz-v2 main :where(h1, h2) {
		line-height: 1.24;
		text-wrap: pretty;
	}
}

