html[dir="rtl"] {
  --sans: "PAETOW Arabic", Tahoma, Arial, sans-serif;
}

[dir="rtl"] .skip {
  left: auto;
  right: 8px;
}

[dir="rtl"] :is(h1, h2, h3, .heading, .directory-head h2) {
  letter-spacing: normal;
  line-height: 1.22;
}

[dir="rtl"] :is(.eyebrow, .brand-text small, .hero-caption, .feature-photo figcaption) {
  font-family: var(--sans);
  letter-spacing: normal;
}

[dir="rtl"] :is(.tile-code, .sector span) {
  direction: ltr;
  text-align: right;
  unicode-bidi: isolate;
}

[dir="rtl"] .brand-text strong,
[dir="rtl"] .fields input[type="email"] {
  direction: ltr;
  unicode-bidi: isolate;
}

[dir="rtl"] .language:not([lang="ar"]) {
  direction: ltr;
}

[dir="rtl"] .arrow {
  transform: scaleX(-1);
}

[dir="rtl"] :is(.button, .text-link):hover .arrow {
  transform: translate(-3px, -2px) scaleX(-1);
}

[dir="rtl"] .service-tile:hover .arrow {
  transform: translate(-2px, -2px) scaleX(-1);
}

[dir="rtl"] .hero-picture {
  inset: 0 31% 0 0;
}

[dir="rtl"] .hero-picture img {
  object-position: 41% 60%;
}

[dir="rtl"] .hero:not(.subhero) .hero-picture img {
  transform: scaleX(-1);
}

[dir="rtl"] .hero::after {
  background: linear-gradient(270deg,#091929 0%,#091929 22%,#091929f0 34%,#0919299e 54%,#09192915 78%),
              linear-gradient(0deg,#091929b0,transparent 35%);
}

[dir="rtl"] .hero h1 {
  font-size: clamp(48px, 5.9vw, 83px);
  letter-spacing: normal;
  line-height: 1.15;
}

[dir="rtl"] .subhero h1 {
  font-size: clamp(43px, 5.4vw, 75px);
  max-width: 12em;
}

[dir="rtl"] .hero-caption {
  left: var(--gutter);
  right: auto;
}

[dir="rtl"] .hero-caption::before {
  margin-right: 0;
  margin-inline-end: 8px;
}

[dir="rtl"] .feature-photo figcaption {
  left: auto;
  right: 10px;
}

[dir="rtl"] .luxia-banner::before {
  background: linear-gradient(270deg,#102436 9%,#102436e7 42%,#1024363d 85%),url("luxia-banner.jpg") center/cover;
}

[dir="rtl"] .luxia-logo {
  object-position: right;
}

@media (max-width: 780px) {
  [dir="rtl"] .primary-nav a {
    text-align: start;
  }

  [dir="rtl"] .hero-picture {
    right: 14%;
  }

  [dir="rtl"] .hero::after {
    background: linear-gradient(270deg,#091929 0%,#091929f2 25%,#091929a0 55%,#09192929 95%),
                linear-gradient(0deg,#091929b0,transparent 35%);
  }

  [dir="rtl"] .hero h1 {
    font-size: clamp(39px, 8vw, 65px);
  }
}

@media (max-width: 520px) {
  [dir="rtl"] .hero-picture {
    inset: auto 0 0;
  }

  [dir="rtl"] .hero-picture img {
    object-position: 40% 63%;
  }

  [dir="rtl"] .hero::after {
    background: linear-gradient(180deg,#091929 0%,#091929 32%,#091929d4 53%,#09192908 79%,#0919299e 100%);
  }

  [dir="rtl"] .hero h1 {
    font-size: clamp(33px, 9.25vw, 47px);
  }

  [dir="rtl"] .hero-actions .button {
    font-size: 12px;
  }

  [dir="rtl"] .hero-caption {
    font-size: 9px;
  }
}
