html[lang="ar"] body.home-page .home-hero-slide .hero-copy,
html[lang="ar"] body.customization-page .hero-slide .hero-copy {
  direction: rtl;
  text-align: right;
}

html[lang="ar"] .hero-facts strong {
  direction: ltr;
  unicode-bidi: isolate;
}

html[lang="ar"] .about-v3-stats strong {
  direction: ltr;
  unicode-bidi: isolate;
}

html[lang="ar"] body.customization-page .hero-slide .shell,
html[lang="ar"] .contact-hero .hero-content,
html[lang="ar"] .about-v2-intro-content,
html[lang="ar"] .archive-hero-compact-copy {
  direction: ltr;
}

html[lang="ar"] .contact-hero .hero-content > :is(.eyebrow,h1,p,.hero-actions),
html[lang="ar"] .about-v2-intro-content > :is(.eyebrow,h1,p,.hero-actions),
html[lang="ar"] .archive-hero-compact-copy > :is(.eyebrow,h1,p) {
  direction: rtl;
  text-align: right;
}

@media (min-width: 1001px) {
  html[lang="ar"] body.home-page .home-hero-slide.hero-aligned .hero-copy {
    inset-inline: auto;
    left: max(24px,calc((100% - 1420px)/2));
    right: auto;
  }
  html[lang="ar"] body.customization-page .hero-slide.hero-aligned .hero-copy {
    inset-inline: auto;
    left: 0;
    right: auto;
  }
}

@media (min-width: 761px) {
  html[lang="ar"] .contact-hero .hero-content > :is(.eyebrow,h1,p,.hero-actions) {
    width: min(620px,52%);
    max-width: none;
  }
  html[lang="ar"] .about-v2-intro-content > :is(.eyebrow,h1,p,.hero-actions) {
    width: min(670px,52%);
    max-width: none;
  }
  html[lang="ar"] .archive-hero-compact-inner {
    height: auto;
    min-height: 300px;
  }
  html[lang="ar"] .archive-hero-compact-copy {
    height: auto;
    min-height: 300px;
  }
  html[lang="ar"] .archive-hero-compact-copy > :is(.eyebrow,h1,p) {
    width: min(620px,54%);
    max-width: none;
  }
}

@media (max-width: 760px) {
  html[lang="ar"] .contact-hero .hero-content > :is(.eyebrow,h1,p,.hero-actions),
  html[lang="ar"] .about-v2-intro-content > :is(.eyebrow,h1,p,.hero-actions),
  html[lang="ar"] .archive-hero-compact-copy > :is(.eyebrow,h1,p) {
    width: 100%;
    max-width: none;
  }
}
