/* ==========================================================================
   Certified Jets — RTL / Arabic overrides
   Loaded only on pages flagged 'rtl' => true in the content map.
   Prata and Archivo carry no Arabic glyphs, so Cairo replaces both.
   ========================================================================== */

.cj-rtl{
  --cj-serif:'Cairo', 'Segoe UI', Tahoma, sans-serif;
  --cj-sans:'Cairo', 'Segoe UI', Tahoma, sans-serif;
  direction:rtl;
  text-align:right;
  font-family:'Cairo', 'Segoe UI', Tahoma, sans-serif;
  font-weight:400;
}

/* Hierarchy comes from weight, since Cairo is a single family */
.cj-rtl h1{font-family:'Cairo',sans-serif;font-weight:600;letter-spacing:0;line-height:1.35}
.cj-rtl h2{font-family:'Cairo',sans-serif;font-weight:600;letter-spacing:0;line-height:1.4}
.cj-rtl h3,.cj-rtl h4{font-family:'Cairo',sans-serif;font-weight:600;letter-spacing:0;line-height:1.5}
.cj-rtl p,.cj-rtl li,.cj-rtl td,.cj-rtl th{font-weight:400;line-height:1.95}
.cj-rtl .cj-lede-wide,.cj-rtl .cj-hero p{font-weight:300}

/* Labels — uppercase and tracking are meaningless in Arabic and break letter joining */
.cj-rtl .cj-eyebrow,.cj-rtl .cj-group-name,.cj-rtl .cj-status,
.cj-rtl .cjrc-title,.cj-rtl .cj-fact b,.cj-rtl .cj-nav a,.cj-rtl .cj-fact span{
  letter-spacing:0;
  text-transform:none;
}

/* Layout mirroring */
.cj-rtl .cj-split{direction:rtl}
.cj-rtl .cj-qa>div{border-left:0;border-right:1px solid var(--cj-line);padding-left:0;padding-right:1.4rem}
.cj-rtl .cj-disclosure{border-left:0;border-right:2px solid #a9987e;padding-left:0;padding-right:1.4rem}
.cj-rtl .cj-spectable th{text-align:right}
.cj-rtl .cj-spectable td{text-align:left}
.cj-rtl .cj-caps ul{padding-right:0}
.cj-rtl .cj-item:hover,.cj-rtl .cj-item:focus-visible{padding-left:0;padding-right:.9rem}
.cj-rtl .cj-more::after{transform:scaleX(-1)}

/* Masthead + footer: no overrides needed. direction:rtl already mirrors flex
   rows (logo on the right, first menu item on the right). The row-reverse rules
   that used to sit here reversed it a second time, back to the English layout. */

/* Figures stay Western Arabic numerals and read left-to-right */
.cj-rtl .cj-fact b,.cj-rtl .cj-spectable td,.cj-rtl .cj-count b{
  font-variant-numeric:tabular-nums;
  direction:ltr;
  unicode-bidi:embed;
  display:inline-block;
}

/* Phone numbers and email: must read left-to-right or the digit groups reverse.
   +1 201 895 1614 otherwise renders as 1614 895 201 1+ */
.cj-rtl a[href^="tel:"],
.cj-rtl a[href^="mailto:"],
.cj-rtl a[href*="wa.me"]{
  direction:ltr;
  unicode-bidi:isolate;
  text-align:right;
}

/* Latin technical terms inside Arabic prose — ACMI, Part 135, AOC, Jet Card */
.cj-rtl p,.cj-rtl li{unicode-bidi:plaintext}

/* Mobile nav panel */
@media(max-width:1000px){
  .cj-rtl .cj-nav{text-align:right}
  .cj-rtl .cj-navtoggle{margin-left:0;margin-right:auto}
}

/* Interactive comparison table */
.cj-rtl table.cj-cmp th,.cj-rtl table.cj-cmp td{text-align:right}
.cj-rtl .cj-cmp-pick-label,.cj-rtl table.cj-cmp tbody th,.cj-rtl table.cj-cmp td::before{
  letter-spacing:0;
  text-transform:none;
}
@media(max-width:760px){
  .cj-rtl table.cj-cmp td{padding:.45rem .9rem .45rem 0;border-left:0;border-right:2px solid transparent}
  .cj-rtl table.cj-cmp td.is-rec{border-right-color:#a9987e}
}

/* Language switcher link in the nav */
.cj-lang{opacity:.75;font-size:.85em}
.cj-lang:hover{opacity:1}

/* ==========================================================================
   Cairo everywhere on the Arabic site.
   Stylesheets that load from inside the body — the regional contacts block,
   plugin CSS, the contact widget — come after this file in the cascade and
   would otherwise reimpose Prata or Archivo, neither of which has Arabic
   glyphs. !important wins regardless of source order.
   Icon fonts are excluded so Font Awesome glyphs still render.
   ========================================================================== */
.cj-rtl,
.cj-rtl *:not([class*="fa-"]):not(.fa):not(.fab):not(.fas):not(.far):not(.fal):not([class*="icon"]){
  font-family:'Cairo','Segoe UI',Tahoma,Arial,sans-serif !important;
}
