/* ===========================
   RTL overrides for Arabic pages
   =========================== */

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

html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] .eyebrow,
html[dir="rtl"] .btn,
html[dir="rtl"] .nav-links a,
html[dir="rtl"] .chip-nav a,
html[dir="rtl"] .service-tag,
html[dir="rtl"] table.data-table th {
  font-family: "Cairo", "Tajawal", sans-serif;
}

[dir="rtl"] .bullet-list li {
  padding-left: 0;
  padding-right: 26px;
}
[dir="rtl"] .bullet-list li::before {
  left: auto;
  right: 0;
}

[dir="rtl"] table.identity-table td:first-child {
  width: 260px;
}

[dir="rtl"] table.data-table th,
[dir="rtl"] table.data-table td {
  text-align: right;
}

[dir="rtl"] .stat {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
[dir="rtl"] .stat:first-child {
  border-right: none;
}

[dir="rtl"] .eyebrow::before {
  margin-left: 0;
  margin-right: 0;
}

[dir="rtl"] .nav-links {
  right: 0;
  left: 0;
}

[dir="rtl"] .lang-switch {
  font-family: "Space Grotesk", "Cairo", sans-serif;
}

[dir="rtl"] .card .num,
[dir="rtl"] .job-detail summary .job-meta {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

[dir="rtl"] .manual-hub-card .chapter-tag {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}
