/* RTL layout overrides for Arabic pages (dir="rtl") */

/* Hero — flip mask and image sides (desktop) */
html[dir="rtl"] .hero__content {
  padding-right: 0;
  padding-left: 24px;
}

html[dir="rtl"] .hero__media {
  left: 0;
  right: 38%;
}

html[dir="rtl"] .hero__mask {
  left: auto;
  right: 0;
  clip-path: ellipse(85% 120% at 100% 50%);
}

/* Navigation dropdown */
html[dir="rtl"] .main-nav__sub {
  left: auto;
  right: 0;
}

html[dir="rtl"] .main-nav .has-dropdown::after {
  margin-left: 0;
  margin-right: 4px;
}

/* Who We Are stats */
html[dir="rtl"] .who__stats li {
  border-right: none;
  border-left: 1px solid rgba(0, 77, 38, 0.1);
}

html[dir="rtl"] .who__stats li:last-child {
  border-left: none;
}

@media (max-width: 1024px) {
  html[dir="rtl"] .who__stats li:nth-child(2) {
    border-left: none;
  }
}

/* Solution cards & list bullets */
html[dir="rtl"] .card__icon {
  left: auto;
  right: 12px;
}

html[dir="rtl"] .solution-group li {
  padding-left: 0;
  padding-right: 14px;
}

html[dir="rtl"] .solution-group li::before {
  left: auto;
  right: 0;
}

/* Product cards (homepage featured SKUs) */
html[dir="rtl"] .product-card__cluster {
  left: auto;
  right: 12px;
}

/* FAQ accordion */
html[dir="rtl"] .accordion-trigger {
  text-align: right;
}

html[dir="rtl"] .accordion-panel p {
  padding-right: 0;
  padding-left: 24px;
}

/* Breadcrumbs separator */
html[dir="rtl"] .breadcrumbs li:not(:last-child)::after {
  margin-left: 0;
  margin-right: 0.35em;
}
