/* webhostlb-child RTL overrides (AR locale only).
 * Logical properties so we don't fight Cascade in LTR contexts.
 */

html[dir="rtl"] body { direction: rtl; text-align: right; }

html[dir="rtl"] .wp-block-buttons { justify-content: flex-end; }

/* Inline LTR phone numbers, dates, etc. — markup must use <bdi dir="ltr">…</bdi>;
   we set a baseline here so unwrapped digits still read sanely. */
html[dir="rtl"] bdi[dir="ltr"] { unicode-bidi: isolate; direction: ltr; }

/* Off-screen positioning must use logical inset, not left:-9999px
   (which creates a 9999px horizontal scrollbar in RTL — known WP gotcha). */
.screen-reader-text,
.wblb-offscreen {
	position: absolute !important;
	inset-inline-start: -9999px !important;
}

/* overflow-x: clip (NOT hidden) — clip keeps position:sticky working
   while still clipping stray off-screen content. */
html[dir="rtl"] body { overflow-x: clip; }
