/**
 * Component-level RTL for Hebrew / Arabic / Persian editions.
 * Page-level html[dir=rtl] is already forced from the edition registry.
 * These rules keep search, nav, breadcrumbs, forms, and cards mirroring.
 */

html[dir="rtl"] .header-search-form,
body.rtl .header-search-form {
	display: flex;
	flex-direction: row-reverse;
}

html[dir="rtl"] .header-search-input,
body.rtl .header-search-input {
	text-align: right;
}

html[dir="rtl"] .news-breadcrumb,
html[dir="rtl"] .topic-dossier-breadcrumb,
body.rtl .news-breadcrumb,
body.rtl .topic-dossier-breadcrumb {
	direction: rtl;
	text-align: right;
}

html[dir="rtl"] .topic-dossier-masthead-grid,
body.rtl .topic-dossier-masthead-grid {
	direction: rtl;
}

html[dir="rtl"] .topic-dossier-layout,
body.rtl .topic-dossier-layout {
	direction: rtl;
}

html[dir="rtl"] .topic-dossier-coverage-list time,
html[dir="rtl"] .topic-dossier-evidence-list time,
body.rtl .topic-dossier-coverage-list time,
body.rtl .topic-dossier-evidence-list time {
	unicode-bidi: isolate;
}

html[dir="rtl"] .mobile-header-row,
body.rtl .mobile-header-row {
	flex-direction: row-reverse;
}

html[dir="rtl"] .header-section,
body.rtl .header-section {
	direction: rtl;
}

html[dir="rtl"] table,
body.rtl table {
	direction: rtl;
}

html[dir="rtl"] input[type="text"],
html[dir="rtl"] input[type="search"],
html[dir="rtl"] input[type="email"],
html[dir="rtl"] textarea,
body.rtl input[type="text"],
body.rtl input[type="search"],
body.rtl input[type="email"],
body.rtl textarea {
	text-align: right;
}

html[dir="rtl"] .uc-mobile-menu,
body.rtl .uc-mobile-menu {
	direction: rtl;
	text-align: right;
}

html[dir="rtl"] .israel-edition-switcher,
body.rtl .israel-edition-switcher {
	direction: rtl;
}

html[dir="rtl"] .article-datetime,
html[dir="rtl"] .news-time,
html[dir="rtl"] time,
body.rtl .article-datetime,
body.rtl .news-time,
body.rtl time {
	unicode-bidi: isolate;
	direction: inherit;
}
