/* ==========================================================================
   RTL support for Arabic
   ========================================================================== */

:root {
	--industry-rtl-font: "Segoe UI", Tahoma, "Arial", "Noto Sans Arabic", sans-serif;
}

body.rtl,
.rtl body,
html[dir="rtl"] body {
	font-family: var(--industry-rtl-font);
}

/* Mirror flex rows that should read right-to-left. */
.rtl .industry-topbar__row,
.rtl .industry-header__main,
.rtl .industry-header__brand,
.rtl .industry-header__nav {
	flex-direction: row-reverse;
}

/* Navigation alignment. */
.rtl .industry-header__nav .wp-block-navigation {
	justify-content: flex-start;
}

/* Topbar contacts: keep phone/email readable. */
.rtl .industry-topbar__contacts a {
	margin-inline-start: 1rem;
	margin-inline-end: 0;
}

/* Sliders scroll in the opposite direction. */
.rtl .industry-slider {
	scroll-snap-type: x mandatory;
}

/* Dots stay centred. */
.rtl .industry-slider__dots {
	justify-content: center;
	flex-direction: row-reverse;
}

/* Forms: labels and inputs align right. */
.rtl input,
.rtl textarea,
.rtl select {
	text-align: right;
}

/* Quote border moves to the other side. */
.rtl .wp-block-quote,
.rtl .industry-quote {
	border-left: 0;
	border-right: 2px solid var(--wp--preset--color--brand);
	padding-left: 0;
	padding-right: var(--wp--preset--spacing--40);
}

/* Lists and breadcrumbs. */
.rtl ul,
.rtl ol {
	padding-inline-start: 0;
	padding-inline-end: 1.5rem;
}

/* Keep numbers LTR where needed. */
.rtl .industry-counter__number {
	direction: ltr;
	unicode-bidi: bidi-override;
}
