/* Language toggle + LTR mirrors (phase 1). Cairo covers Arabic and Latin. */
html[dir=ltr] body{font-family:Cairo,"Segoe UI",system-ui,sans-serif}

.lang-toggle{
  appearance:none;flex:0 0 auto;margin-inline-start:.15rem;
  border:1px solid #B8913A;background:#fff;color:#4A2E35;
  font:700 .78rem Cairo,"Segoe UI",system-ui,sans-serif;
  border-radius:999px;padding:.38rem .75rem;cursor:pointer;
  line-height:1.2;white-space:nowrap;min-height:2.1rem
}
.lang-toggle:hover,.lang-toggle:focus{background:#fff8ee;outline:2px solid #B8913A;outline-offset:2px}
.lang-toggle[aria-pressed="true"]{background:#B8913A;color:#fff}

html[dir=ltr] .brand-txt b,
html[dir=ltr] .brand-txt small{white-space:normal;max-width:16rem}
html[dir=ltr] .hero-split .hero-txt{text-align:left}
html[dir=ltr] .hero-photo figcaption{border-radius:1.15rem;width:auto;max-width:100%;padding:.5rem .9rem}
html[dir=ltr] .hero-photo figcaption span{display:block;max-width:20rem;margin-inline:auto;line-height:1.45}
html[dir=ltr] .c-txt,
html[dir=ltr] .c-txt em,
html[dir=ltr] .foot-brand{text-align:left}
html[dir=ltr] .wa-float{left:auto;right:1.5rem}
@media (max-width:640px){html[dir=ltr] .wa-float{right:1rem;left:auto}}
html[dir=ltr] .modal-x{left:auto;right:.8rem}
html[dir=ltr] .modal-head{padding-left:0;padding-right:2.5rem}
html[dir=ltr] .sp-disc{border-right:0;border-left:3px solid #B8913A}
html[dir=ltr] .nav-links{flex-wrap:wrap;gap:.7rem 1rem;justify-content:flex-end}
@media (max-width:1023px){
  html[dir=ltr] .brand-txt b,html[dir=ltr] .brand-txt small{max-width:11rem}
}

/* English desktop nav: two tidy rows so the longer Latin labels do not collide */
@media (min-width:1024px){
  html[dir=ltr] .nav-in{
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-areas:"brand toggle" "links links";
    height:auto;
    min-height:4.25rem;
    padding:.45rem 0 .55rem;
    align-items:center;
    column-gap:1rem;
    row-gap:.35rem;
  }
  html[dir=ltr] .brand{grid-area:brand; justify-self:start;}
  html[dir=ltr] .lang-toggle{grid-area:toggle; justify-self:end; margin-inline-start:0;}
  html[dir=ltr] .nav-links{
    grid-area:links;
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:.4rem .85rem;
    font-size:.82rem;
  }
  html[dir=ltr] .nav-links .nav-cta{padding:.38rem .9rem; font-size:.82rem;}
  html[dir=ltr] .brand-txt b,
  html[dir=ltr] .brand-txt small{white-space:normal; max-width:18rem;}
  html[dir=ltr] .menu-btn{display:none;}
}

/* Pages without the main nav */
.links-top{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.nb-top-in .lang-toggle{order:0;margin-inline-start:.25rem}
