/* ============================================================
   ApruebaCCSE — RTL Support (Arabic)
   ============================================================ */

body.rtl {
  direction: rtl;
  text-align: right;
}

body.rtl .nav {
  flex-direction: row-reverse;
}
body.rtl .nav-brand {
  flex-direction: row-reverse;
}
body.rtl .nav-links {
  flex-direction: row-reverse;
}
body.rtl .nav-actions {
  flex-direction: row-reverse;
}

body.rtl .hero__stats {
  flex-direction: row-reverse;
}
body.rtl .hero__stat {
  border-left: none;
  border-right: 2px solid var(--color-gold);
  padding-left: 0;
  padding-right: 12px;
}

body.rtl .hero__ctas {
  flex-direction: row-reverse;
}

body.rtl .alert {
  border-left: none;
  border-right: 3px solid;
}

body.rtl .step {
  flex-direction: row-reverse;
}
body.rtl .steps::before {
  left: auto;
  right: 19px;
}

body.rtl .accordion-trigger {
  flex-direction: row-reverse;
}
body.rtl .accordion-icon {
  margin-left: 0;
  margin-right: 16px;
}

body.rtl .calc-item {
  flex-direction: row-reverse;
}
body.rtl .calc-item__label {
  flex-direction: row-reverse;
}
body.rtl .calc-total {
  flex-direction: row-reverse;
}

body.rtl .footer__grid {
  direction: rtl;
}
body.rtl .footer__bottom {
  flex-direction: row-reverse;
}

body.rtl .breadcrumb {
  flex-direction: row-reverse;
}

body.rtl .task-nav {
  flex-direction: row-reverse;
}

body.rtl .option-btn {
  flex-direction: row-reverse;
  text-align: right;
}

body.rtl .test-meta {
  flex-direction: row-reverse;
}

body.rtl .test-nav {
  flex-direction: row-reverse;
}

body.rtl .breakdown-row {
  flex-direction: row-reverse;
}

body.rtl .verifier-opts {
  flex-direction: row-reverse;
}

body.rtl .link-card__cat,
body.rtl .section-label,
body.rtl .pricing-card__name,
body.rtl .exam-info-item__label {
  text-align: right;
}

body.rtl .section-header--center {
  text-align: center;
}

body.rtl .comparison-table th,
body.rtl .comparison-table td {
  text-align: right;
}

body.rtl .paywall__code-wrap {
  flex-direction: row-reverse;
}

body.rtl .banner-urgent {
  flex-direction: row-reverse;
}

/* Cormorant Garamond does not have Arabic glyphs;
   fall back to system Arabic font for body text in AR */
body.rtl p,
body.rtl li,
body.rtl .alert,
body.rtl .disclaimer,
body.rtl .footer__legal,
body.rtl .modal__desc,
body.rtl .question-text {
  font-family: 'DM Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
}
