/* Keep the shared visual identity; language control follows existing square buttons. */
.site-header .language-toggle{order:3;display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 15px;background:transparent;color:#eef3ef;border:1px solid #496452;border-radius:0;font:600 13px 'DM Sans',Arial,sans-serif;cursor:pointer;white-space:nowrap}
.site-header .language-toggle:hover{background:#173324;border-color:#92cdb0}
.site-header .language-toggle:focus-visible{outline:3px solid #b6dfcb;outline-offset:3px}
.is-arabic{font-family:'Noto Sans Arabic','DM Sans',Arial,sans-serif}
.is-arabic :is(h1,h2,h3,h4,p,a,button,span,label,input,textarea,select,option){font-family:'Noto Sans Arabic','DM Sans',Arial,sans-serif}
.is-arabic :is(.display,.ev-display,.ec-display){line-height:1.3;letter-spacing:0;text-transform:none}
.is-arabic :is(.eyebrow,.tag){letter-spacing:0}
.is-arabic .site-header,.is-arabic .site-nav{direction:rtl}
.is-arabic .brand-name{direction:rtl}
.is-arabic .arrow,.is-arabic .side-arrow{display:inline-block}
.is-arabic input,.is-arabic textarea,.is-arabic select{text-align:right}
.is-arabic .ev3-event,.is-arabic .ec-join-layout{direction:rtl}
.vibook-join-action{display:flex;flex-direction:column;gap:24px;align-items:flex-start;min-height:180px;justify-content:center}
.vibook-explainer{max-width:560px;line-height:1.8}
.vibook-primary{display:inline-flex;min-width:220px;justify-content:space-between}
@media(max-width:850px){.site-header{flex-wrap:wrap}.site-header .language-toggle{margin-inline-start:auto}.site-header .site-nav{order:4;width:100%}.vibook-primary{width:100%}}
@media(max-width:480px){.site-header .language-toggle{padding:9px 12px;font-size:12px}.is-arabic :is(.display,.ev-display,.ec-display){overflow-wrap:anywhere}}

/* Mobile header: brand on the reading-start side; language and menu together
   on the opposite side. This works in LTR English and RTL Arabic. */
@media (max-width: 760px) {
  .site-header { column-gap: 6px; row-gap: 0; }
  .site-header .brand { order: 0; min-width: 0; flex: 0 1 auto; }
  .site-header .language-toggle {
    order: 1;
    margin-inline-start: auto;
    margin-inline-end: 0;
    flex: 0 0 auto;
  }
  .site-header .menu-toggle {
    order: 2;
    margin: 0;
    flex: 0 0 44px;
  }
  .site-header .site-nav { order: 4; }
}
