/* ════════════════════════════════════════════════════════════════
   ENGLISH ADDITIONS
   The English pages are unchanged except for the language switcher, which
   replaced the old two-way ع toggle. Loaded after /style.css.
════════════════════════════════════════════════════════════════ */

/* ── Language switcher ─────────────────────────────────────────── */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin-inline: 6px;
}
.lang-switch .lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  padding: 0 6px;
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 999px;
  color: var(--gold);
  font-family: 'DM Sans', 'Noto Sans SC', sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.lang-switch .lang-opt:hover {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}
.lang-switch .lang-opt.is-current {
  background: rgba(201, 168, 76, 0.16);
  border-color: var(--gold);
  cursor: default;
}
/* Below 768px the nav collapses to the hamburger drawer, which carries the
   language options. Matches how the original two-way toggle behaved. */
@media (max-width: 768px) {
  .lang-switch { display: none; }
}

/* ── Arabic film title ──────────────────────────────────────────
   Arabic script is cursive: adjacent letters join with connecting strokes.
   Any letter-spacing pulls those joins apart, so the word stops reading as one
   connected shape. .illicit-ar-title carried 0.02em from the Latin design,
   which is what made ابعد الحلال look broken. It also sat at line-height 1,
   clipping 13px of descender off the final ل.

   This element carries lang="ar" but lives inside the English and Chinese pages
   as well, where the [dir="rtl"] rules in /style.css never reach it, so the same
   block is appended to en.css and zh.css. */
.illicit-ar-title,
[lang="ar"]:not(html) {
  letter-spacing: normal !important;
}
.illicit-ar-title {
  line-height: 1.45;
  padding-bottom: 0.08em;
}

/* Reem Kufi is a geometric Kufi face. On this particular string it compresses
   ح ل ا ل into a single unreadable block, which is what made the title look
   broken. Amiri is a classical naskh with the same high-contrast calligraphic
   character as Playfair Display next to it, and it renders ابعد الحلال cleanly. */
.illicit-ar-title {
  font-family: 'Amiri', 'Tajawal', serif !important;
  font-weight: 700;
  line-height: 1.6;   /* Amiri sits taller than Reem Kufi; 1.45 still clipped 3px */
}
