/* ==========================================================================
   ARABIC RIGHT-TO-LEFT (RTL) STYLESHEET
   Rational Observer Global — Arabic Systems Observatory
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

html[dir="rtl"], body.rtl {
  direction: rtl;
  text-align: right;
  font-family: 'Amiri', 'Noto Naskh Arabic', serif;
  font-size: 18px;
}

body.rtl h1, body.rtl h2, body.rtl h3, body.rtl h4, body.rtl h5, body.rtl h6 {
  font-family: 'Noto Naskh Arabic', sans-serif;
  letter-spacing: normal;
}

body.rtl .brand-title, 
body.rtl .brand-tagline,
body.rtl .nav-link,
body.rtl .lang-btn,
body.rtl .btn-primary,
body.rtl .btn-secondary,
body.rtl .res-tab-btn,
body.rtl .ep-tag,
body.rtl .status-badge,
body.rtl .meta-item,
body.rtl .btn-card-read,
body.rtl .figure-title,
body.rtl .figure-badge {
  font-family: 'Noto Naskh Arabic', sans-serif;
}

/* Flipped Borders & Accents */
body.rtl .hero-credentials {
  border-left: 1px solid var(--border);
  border-right: 3px solid var(--gold);
}

body.rtl .chapter-card.featured-card {
  border-left: 1px solid var(--border);
  border-right: 4px solid var(--gold);
}

body.rtl .media-dock {
  border-left: 1px solid var(--border);
  border-right: 4px solid var(--gold);
}

body.rtl .lang-dropdown {
  right: auto;
  left: 0;
}

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

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

body.rtl .figure-card-header {
  flex-direction: row-reverse;
}

body.rtl .figure-card-footer {
  flex-direction: row-reverse;
}

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

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

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