/*
 * English (LTR) overrides. Loaded only on the English Polylang site.
 * The base theme is written for Arabic/RTL; this file flips the direction-dependent rules
 * and swaps the Arabic typeface for Latin ones.
 */

html[lang|="en"] {
	--zw-font-head: 'Montserrat', 'Inter', sans-serif;
	--zw-font-body: 'Inter', 'Montserrat', sans-serif;
}

/* Typeface: Elementor writes Noto Kufi Arabic into every widget, so override it. */
html[lang|="en"] body,
html[lang|="en"] body :where(p, a, span, div, li, td, th, label, input, textarea, select, button, small, strong, em, blockquote, figcaption, time) {
	font-family: var(--zw-font-body) !important;
}

html[lang|="en"] body :where(h1, h2, h3, h4, h5, h6, .elementor-heading-title, .elementor-button, .elementor-button-text, .elementor-counter-number-wrapper, .elementor-counter-title, .elementor-icon-box-title, .site-title, .site-title a, .zw-eyebrow, .zw-eyebrow span, .menu-link, .ast-custom-button, .zw-ticker-track span, .widget-title, .zw-num, .elementor-widget-container .elementor-icon-box-title span) {
	font-family: var(--zw-font-head) !important;
}

/* Headings read more tightly in Latin letters. */
html[lang|="en"] .elementor-heading-title {
	letter-spacing: -0.01em;
	line-height: 1.25;
}

html[lang|="en"] .zw-hero-title .elementor-heading-title {
	line-height: 1.12;
}

/* Footer: gold bar under widget titles, link chevrons. */
html[lang|="en"] .site-primary-footer-wrap .widget-title::after,
html[lang|="en"] .site-primary-footer-wrap h3::after {
	right: auto;
	left: 0;
}

html[lang|="en"] .zw-footer-links a::before {
	content: "›";
	margin-left: 0;
	margin-right: 8px;
}

html[lang|="en"] .zw-footer-links a:hover {
	padding-right: 0;
	padding-left: 4px;
}

/* Quote block and table headers. */
html[lang|="en"] .zw-quote .elementor-widget-container,
html[lang|="en"] .zw-quote {
	border-right: 0;
	border-left: 4px solid var(--zw-gold);
}

html[lang|="en"] .zw-table th,
html[lang|="en"] .zw-table td {
	text-align: left;
}

/* Moving ticker keeps left-to-right text. */
html[lang|="en"] .zw-ticker-track span {
	direction: ltr;
}

/* Hero: underline and watermark mirror to the other side. */
html[lang|="en"] .zw-hero-title .elementor-heading-title::after {
	right: auto;
	left: 0;
}

html[lang|="en"] .zw-hero::after {
	left: auto;
	right: -140px;
}

/* Menu: dropdown chevron spacing. */
html[lang|="en"] .main-header-menu .menu-item .ast-icon.icon-arrow,
html[lang|="en"] .main-header-menu .menu-item .dropdown-menu-toggle {
	margin-right: 0;
	margin-left: 4px;
}

/* Phones: the Latin site name is wider than the Arabic one. */
@media (max-width: 544px) {
	html[lang|="en"] .site-title a {
		font-size: 20px !important;
	}
}
