/* ═══════════════════════════════════════════════════════════════
   lore-brief-ar.css — Arabic RTL Overrides for Lore Intelligence Briefs
   Version 1.0 — Built 2026-04-06
   Link AFTER lore-brief.css. Does NOT re-import base styles.
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;700;800&display=swap');

body {
  direction: rtl;
  font-family: 'Tajawal', sans-serif;
  font-size: 18px;
  line-height: 2.0;
}

/* Section label — flip the rule to the left side in RTL */
.section-label::before {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.section-label::after {
  display: none;
}

/* Opening argument — flip border side */
.opening-arg {
  border-left: none;
  border-right: 4px solid var(--accent);
}
body.brief-maghrib .opening-arg {
  border-right-color: var(--warm);
  border-left: none;
}
body.brief-isha .opening-arg {
  border-right-color: #3a6abf;
  border-left: none;
}

/* Constructive card — flip border */
.constructive-card {
  border-left: none;
  border-right: 4px solid var(--later);
}

/* Texture card — flip border */
.texture-card {
  border-left: none;
  border-right: 4px solid var(--gold);
}

/* Thread quote — flip border */
.thread {
  border-left: none;
  border-right: 3px solid var(--gold);
}

/* Signal cards — flip borders */
.signal-card.now {
  border-left: none;
  border-right: 3px solid var(--now);
}
.signal-card.next {
  border-left: none;
  border-right: 3px solid var(--next);
}

/* PTK quote — flip border */
.ptk-quote {
  border-left: none;
  border-right: 3px solid var(--gold);
}

/* PTK hidden layer — flip border */
.ptk-hidden-layer {
  border-left: none;
  border-right: 3px solid var(--now);
}

/* Tracker delta — flip border */
.tc-delta {
  border-left: none;
  border-right: 2px solid var(--border2);
}

/* Tracker cards — flip border */
.tc {
  border-left: none;
  border-right: 3px solid var(--border);
}
.tc-now { border-right-color: var(--now); border-left: none; }
.tc-next { border-right-color: var(--next); border-left: none; }
.tc-later { border-right-color: var(--later); border-left: none; }

/* Tech spotlight — flip border */
.tech-spotlight {
  border-left: none;
  border-right: 4px solid var(--accent);
}

/* Contested card — flip border */
.contested-card {
  border-left: none;
  border-right: 4px solid var(--now);
}

/* Go deeper card — flip border */
.go-deeper-card {
  border-left: none;
  border-right: 4px solid var(--accent);
}

/* Tracker deep dive — flip border */
.tracker-card {
  border-left: none;
  border-right: 4px solid var(--now);
}

/* Countdown widget — flip border */
.countdown-widget {
  border-left: none;
  border-right: 4px solid var(--gold);
}

/* Surprise card — flip border */
.surprise-card {
  border-left: none;
  border-right: 4px solid var(--accent);
}

/* PTK header — flip row direction for RTL */
.ptk-header {
  flex-direction: row-reverse;
}

/* Person meta — flip row direction for RTL */
.person-meta {
  flex-direction: row-reverse;
}

/* Watch item icon alignment in RTL */
.watch-item::before {
  order: 1;
}
