/*
Theme Name: ZOYA Lounge
Description: RTL overrides for Arabic. Loaded automatically by WordPress
when the current locale is RTL (is_rtl()). Override-only: style.css is
never edited for RTL here.
*/

/* Arabic body face; Sora stays as fallback for Latin fragments. */
html[dir="rtl"] body,
html[lang="ar"] body {
	font-family: 'Noto Naskh Arabic', 'Sora', Georgia, serif;
	line-height: 1.8;
}

/* Latin tracking on display type reads wrong in Arabic script. */
html[dir="rtl"] .hero-title,
html[dir="rtl"] .section h2,
html[dir="rtl"] .hero-kicker {
	letter-spacing: 0;
	line-height: 1.3;
}

html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .hero-inner,
html[dir="rtl"] .corridor-inner,
html[dir="rtl"] .story-copy { text-align: right; }

/* Mirror the signature flash and skip link. */
html[dir="rtl"] .signature {
	left: auto;
	right: max(16px, var(--pad));
}
html[dir="rtl"] .skip-link:focus {
	left: auto;
	right: 0.5rem;
}

/* Corridor red rule slides under right-aligned copy. */
html[dir="rtl"] .corridor-rule { margin-right: 0; }

/* Nav: wordmark/brand keeps its LTR lockup; links flow naturally. */
html[dir="rtl"] .nav-links a { letter-spacing: 0; }

/* Flex pushes written with physical margins re-aimed for RTL. */
html[dir="rtl"] .menu-btn {
	margin-left: 0;
	margin-right: auto;
}
html[dir="rtl"] .lang-switch {
	margin-left: 0;
	margin-right: 0.4rem;
}
html[dir="rtl"] .footer nav { margin-left: 0; margin-right: auto; }

/* Play triangle mirrors with the reading direction. */
html[dir="rtl"] .film-play::before {
	border-left: 0;
	border-right: 9px solid var(--gold);
}

/* Mobile: mirror the tightened signature anchor. */
@media (max-width: 899px) {
	html[dir="rtl"] .signature {
		left: auto;
		right: 12px;
	}
	html[dir="rtl"] .lang-switch { margin-right: 0; }
}
html[dir="rtl"] .hero-sub,
html[dir="rtl"] .lede,
html[dir="rtl"] .story-copy p { line-height: 1.9; }
