/* Harmony Healing Center — V7.9.56
   Arabic visual parity + advanced RTL/BiDi correction.
   Loaded last so it overrides earlier v7.9.54 RTL hotfixes safely. */

/* ---------------------------------------------------------
   HOME HERO: same underlying artwork; Arabic copy stays RTL.
   Reduce the white veil so the clinic/interior remains visible.
   --------------------------------------------------------- */
html[lang="ar"] .homev766-hero-visual,
html[lang="ar"] .homev766-hero-visual-img{
  direction:ltr!important;
}
html[lang="ar"] .homev766-hero-visual-img{
  object-position:center center!important;
  transform:none!important;
}
@media (min-width:921px){
  html[lang="ar"] .homev766-hero-veil{
    background:linear-gradient(270deg,
      rgba(255,255,255,.98) 0%,
      rgba(255,255,255,.95) 11%,
      rgba(255,255,255,.86) 18%,
      rgba(255,255,255,.62) 25%,
      rgba(255,255,255,.34) 31%,
      rgba(255,255,255,.12) 36%,
      rgba(255,255,255,0) 43%)!important;
  }
  html[lang="ar"] .homev766-hero-copy{
    width:min(42%,690px)!important;
    max-width:690px!important;
    min-width:515px!important;
  }
  html[lang="ar"] .homev762-hero-trust{
    max-width:650px!important;
  }
  html[lang="ar"] .homev762-hero-trust span{
    font-size:11px!important;
    line-height:1.32!important;
  }
  html[lang="ar"] .homev765-signature{
    margin-top:20px!important;
    transform:translateY(-4px)!important;
  }
}

/* ---------------------------------------------------------
   TRUSTED ORGANIZATIONS: desktop AR uses the SAME approved
   exact artwork/composition as EN. The live card version is
   retained only for responsive/mobile behavior.
   --------------------------------------------------------- */
@media (min-width:901px){
  html[lang="ar"] .home45r-exact{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
  }
  html[lang="ar"] .home45k-live{
    display:none!important;
  }
}
html[lang="ar"] .home45r-head,
html[lang="ar"] .home45r-description,
html[lang="ar"] .home45r-benefit{
  direction:rtl!important;
  text-align:center!important;
}
html[lang="ar"] .home45r-title{
  direction:rtl!important;
  white-space:normal!important;
  letter-spacing:0!important;
  gap:.16em!important;
  font-family:"Noto Kufi Arabic","Noto Sans Arabic",Tahoma,Arial,sans-serif!important;
}
html[lang="ar"] .home45r-kicker,
html[lang="ar"] .home45r-description,
html[lang="ar"] .home45r-benefit strong,
html[lang="ar"] .home45r-benefit span{
  letter-spacing:0!important;
  font-family:"Noto Sans Arabic",Tahoma,Arial,sans-serif!important;
}
html[lang="ar"] .home45r-description{
  max-width:920px!important;
  line-height:1.75!important;
}

/* Mobile partner cards: same logo order as EN, Arabic copy RTL. */
@media (max-width:900px){
  html[lang="ar"] .home45d-card-row,
  html[lang="ar"] .home45z-mobile-cards{
    direction:ltr!important;
  }
  html[lang="ar"] .home45d-head,
  html[lang="ar"] .home45d-benefit,
  html[lang="ar"] .home45d-card{
    direction:rtl!important;
  }
}

/* ---------------------------------------------------------
   MEDIA: keep exact visual order between EN and AR.
   The text inside each card remains Arabic RTL.
   --------------------------------------------------------- */
html[lang="ar"] .homev784-showcase,
html[lang="ar"] .media949-stage,
html[lang="ar"] .media949-press-grid,
html[lang="ar"] .media949-tv-grid,
html[lang="ar"] .media949-library-grid{
  direction:ltr!important;
}
html[lang="ar"] .homev784-showcase-item,
html[lang="ar"] .media949-press-card,
html[lang="ar"] .media949-tv-card,
html[lang="ar"] .media949-library-card{
  direction:rtl!important;
}
html[lang="ar"] .homev784-label{
  direction:rtl!important;
  text-align:right!important;
}

/* ---------------------------------------------------------
   FOOTER: keep the approved EN visual column composition,
   but make each Arabic content region properly RTL.
   --------------------------------------------------------- */
html[lang="ar"] .homev72-footer-main{
  direction:ltr!important;
}
html[lang="ar"] .homev72-footer-brand,
html[lang="ar"] .homev72-footer-location,
html[lang="ar"] .homev74-footer-side{
  direction:rtl!important;
  text-align:right!important;
}
html[lang="ar"] .homev72-footer-location-head,
html[lang="ar"] .homev72-social-link,
html[lang="ar"] .homev74-quick-grid a,
html[lang="ar"] .homev72-map-link,
html[lang="ar"] .homev72-footer-book{
  direction:rtl!important;
}
html[lang="ar"] .homev74-bottom-inner{
  direction:ltr!important;
}
html[lang="ar"] .homev754-copyright,
html[lang="ar"] .homev74-bottom-center,
html[lang="ar"] .homev754-legal{
  direction:rtl!important;
}

/* Advanced phone BiDi isolation.
   The digits are already localized by v7.9.54; this forces
   +971 / +44 and every digit to stay in source order. */
html[lang="ar"] .homev72-footer-phone{
  direction:rtl!important;
  text-align:right!important;
  white-space:nowrap!important;
}
html[lang="ar"] .homev72-footer-phone bdi,
html[lang="ar"] .homev72-footer-phone .homev7956-phone-number{
  display:inline-block!important;
  direction:ltr!important;
  unicode-bidi:bidi-override!important;
  white-space:pre!important;
  text-align:left!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:.015em!important;
}

/* Mixed Arabic + Latin fragments: isolate instead of allowing
   the Unicode bidi algorithm to reorder postcode/email pieces. */
html[lang="ar"] .homev72-footer-location address bdi,
html[lang="ar"] .homev72-footer-contact [dir="ltr"],
html[lang="ar"] .homev74-email{
  unicode-bidi:isolate!important;
}

@media (max-width:760px){
  html[lang="ar"] .homev72-footer-main,
  html[lang="ar"] .homev74-bottom-inner{
    direction:rtl!important;
  }
  html[lang="ar"] .homev754-copyright,
  html[lang="ar"] .homev74-bottom-center,
  html[lang="ar"] .homev754-legal{
    text-align:center!important;
  }
}
