/* English edition only (22 Nov 2026). Linked after the mirrored stylesheets (en/assets/*.css, generated by
   build_i18n.py from assets/*.css) and NOT mirrored itself: write these rules for left-to-right directly.

   Two kinds of blocks in the English edition:
   A. ordinary content (header, lists, cards, forms, footer…): mirrored automatically — it reads from the left.
   B. composed blocks (photo + artwork + text placed by hand): «translation only, everything stays where it is»
      (owner, 22 Nov — mirroring them broke the design). Their rules are not mirrored (NOFLIP_SELECTORS in
      build_i18n.py); here the block is laid out right-to-left like the Arabic page and only its TEXT is set
      left-to-right. Photos and artwork are never mirrored. */

html { direction: ltr; }
body { letter-spacing: 0; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- every hero (owner, 23 Nov: «المحاذاة للكلام يسار، واعكس الصورة») ----------
   The text block sits on the LEFT and reads from the left. The photo layer and its fade keep the Arabic page's
   geometry (their rules are not mirrored) and are then mirrored as ONE piece, so the clear side of every photo and
   the white fade end up under the text exactly as they do in Arabic. */
.hero .hero-grid { direction: ltr; }
.hero .hero-copy { direction: ltr; text-align: left; }
.hero .hero-media { transform: scaleX(-1); }

/* ---------- B. home: «About the National Alliance» (artwork on the left, text on the right) ---------- */
.about { direction: rtl; }
.about .about-copy { direction: ltr; text-align: left; }

/* ---------- B. home: «Pillars of the Alliance» (wheel on the right, photo on the left) ---------- */
.pillars { direction: rtl; }
.pillars .pillars-copy { direction: ltr; text-align: left; }
.pillar h3 { white-space: normal; text-wrap: balance; }      /* Arabic keeps each pillar title on one line; English ones are longer */

/* ---------- B. home: «The Work of the National Alliance» (team photo on the left, text on the right) ---------- */
.eff-head { direction: rtl; }
.eff-copy { direction: ltr; text-align: left; }

/* ---------- B. about page: «Strengths», «Strategy», «Organizational Structure & Governance» ---------- */
.ab-cap, .ab-strat, .ab-gov { direction: rtl; }
.ab-cap-head, .ab-cap-item, .ab-scard, .ab-gov-side { direction: ltr; }

/* ---------- long English labels ---------- */
.mj-hero-stats { width: 36em; }                              /* «service groups», «reference bodies» need a little more room than the Arabic labels */
/* «Strengths of the Alliance»: same diagram as the Arabic page — one-line titles and three short lines under each */
.ab-cap-item h3 { font-size: clamp(1rem, 1.35vw, 1.15rem); white-space: nowrap; }
.ab-cap-item p { font-size: 13.5px; line-height: 1.6; }
@media (max-width: 980px) { .ab-cap-item h3 { white-space: normal; } }
.hero .hero-copy p { max-width: 28em; }                      /* English lines run longer: keep the paragraph off the people in the photo */

/* ---------- the English logo carries the name in three small lines: a little taller than the Arabic one so it reads,
   and it scales with the window like the rest of the bar (site.css, 23 Nov) ---------- */
.site-header .logo-h { height: clamp(38px, 3.5vw, 52px); }
.site-header.is-scrolled .logo-h { height: clamp(34px, 3vw, 44px); }
.footer-logo { height: 72px; }
@media (min-width: 981px) { .nav a { padding-inline: clamp(2px, calc(.8vw - 7px), 9px); font-size: clamp(11.5px, calc(.5vw + 6px), 14px); } }
@media (max-width: 980px) { .site-header .logo-h { height: 44px; } .site-header.is-scrolled .logo-h { height: 38px; } }
@media (max-width: 560px) { .site-header .logo-h { height: 40px; } }
