[dir="rtl"] body,
html[dir="rtl"] {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .space-x-reverse > :not([hidden]) ~ :not([hidden]) {
  --tw-space-x-reverse: 1;
}
