/* Per-page Arabic support: WordPress itself remains configured with an English locale. */
body.ipd-rtl .ipd-shell,
html[dir="rtl"] .ipd-shell {
	direction: rtl;
	text-align: start;
}

body.ipd-rtl .ipd-shell h1,
body.ipd-rtl .ipd-shell h2,
body.ipd-rtl .ipd-shell h3,
body.ipd-rtl .ipd-shell p,
html[dir="rtl"] .ipd-shell h1,
html[dir="rtl"] .ipd-shell h2,
html[dir="rtl"] .ipd-shell h3,
html[dir="rtl"] .ipd-shell p {
	letter-spacing: normal;
}

body.ipd-rtl .ipd-eyebrow,
body.ipd-rtl .ipd-footer-grid h2,
html[dir="rtl"] .ipd-eyebrow,
html[dir="rtl"] .ipd-footer-grid h2 {
	letter-spacing: 0;
	text-transform: none;
}

body.ipd-rtl .ipd-brand,
body.ipd-rtl .ipd-footer-brand,
html[dir="rtl"] .ipd-brand,
html[dir="rtl"] .ipd-footer-brand {
	direction: ltr;
	unicode-bidi: isolate;
}

body.ipd-rtl .ipd-logo-image,
html[dir="rtl"] .ipd-logo-image {
	object-position: left center;
}

body.ipd-rtl .ipd-ltr-isolate,
body.ipd-rtl .ipd-app-monogram,
body.ipd-rtl .ipd-card-index,
body.ipd-rtl .ipd-method-index,
body.ipd-rtl .ipd-charter-flow-top,
html[dir="rtl"] .ipd-ltr-isolate,
html[dir="rtl"] .ipd-app-monogram,
html[dir="rtl"] .ipd-card-index,
html[dir="rtl"] .ipd-method-index,
html[dir="rtl"] .ipd-charter-flow-top {
	direction: ltr;
	unicode-bidi: isolate;
}

body.ipd-rtl .ipd-charter-flow-top,
html[dir="rtl"] .ipd-charter-flow-top {
	letter-spacing: 0;
}

body.ipd-rtl .ipd-note,
html[dir="rtl"] .ipd-note {
	border-radius: 8px 0 0 8px;
}

body.ipd-rtl .ipd-form input[type="email"],
body.ipd-rtl .ipd-form input[type="tel"],
html[dir="rtl"] .ipd-form input[type="email"],
html[dir="rtl"] .ipd-form input[type="tel"] {
	direction: ltr;
	text-align: start;
}

@media (max-width: 767px) {
	body.ipd-rtl .ipd-shell .ipd-actions,
	html[dir="rtl"] .ipd-shell .ipd-actions {
		align-items: stretch;
	}
}
