.i18n-language-switcher{appearance:none;min-width:66px;height:34px;padding:5px 24px 5px 8px;border:1px solid rgba(43,110,143,.3);border-radius:999px;background:#fffdf9;color:var(--ink,#163547);font:800 13px Assistant,Arial,sans-serif;direction:ltr;cursor:pointer;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath d='m5 9 7 7 7-7' fill='none' stroke='%232b6e8f' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'/%3E%3C/svg%3E");background-position:right 8px center;background-repeat:no-repeat;background-size:12px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.i18n-language-switcher:hover,.i18n-language-switcher:focus-visible{border-color:var(--blue,#2b6e8f);box-shadow:0 4px 12px rgba(22,53,71,.12);transform:translateY(-2px);outline:0}.admin-header .i18n-language-switcher{margin-inline-start:auto;margin-inline-end:10px}@media(max-width:700px){.i18n-language-switcher{min-width:58px;height:32px;font-size:12px}.site-header .header-actions .i18n-language-switcher{order:3}.admin-header .i18n-language-switcher{margin-inline-start:auto}}
html[data-locale="en"] body{direction:ltr}html[data-locale="en"] .site-header .brand{direction:ltr;text-align:left}html[data-locale="en"] .site-header .brand>strong{text-align:left}html[data-locale="en"] .site-header nav{text-align:left}html[data-locale="en"] .section-heading,html[data-locale="en"] .section-heading-stacked,html[data-locale="en"] .upload-copy,html[data-locale="en"] .hub-intro,html[data-locale="en"] .legal-page,html[data-locale="en"] .profile-card,html[data-locale="en"] .public-profile-card,html[data-locale="en"] footer{text-align:left}html[data-locale="en"] .name-field span,html[data-locale="en"] .profile-card-heading,html[data-locale="en"] .profile-details-heading{direction:ltr;text-align:left}html[data-locale="en"] input,html[data-locale="en"] textarea,html[data-locale="en"] select{direction:ltr;text-align:left}html[data-locale="en"] .profile-identity h3,html[data-locale="en"] .profile-identity p{direction:ltr;text-align:left}html[data-locale="en"] .lightbox-caption,html[data-locale="en"] .lightbox-owner-tools{direction:ltr;text-align:left}body>.i18n-language-switcher{position:fixed;top:16px;inset-inline-end:16px;z-index:100}
/* Compact language menu: a flag opens a readable country/language list. */
.i18n-language-menu{position:relative;display:inline-flex;flex:0 0 auto;z-index:1400;direction:rtl}
.i18n-language-trigger{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:74px;height:36px;padding:5px 10px;border:1px solid rgba(43,110,143,.3);border-radius:999px;background:#fffdf9;color:var(--ink,#163547);font:800 13px Assistant,Arial,sans-serif;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.i18n-language-trigger:hover,.i18n-language-trigger:focus-visible{border-color:var(--blue,#2b6e8f);box-shadow:0 4px 12px rgba(22,53,71,.12);transform:translateY(-2px);outline:0}
.i18n-language-flag{font-size:18px;line-height:1;font-family:"Apple Color Emoji","Segoe UI Emoji",sans-serif}
.i18n-language-current{line-height:1}
.i18n-language-chevron{margin-inline-start:1px;color:#55707d;font-size:16px;line-height:.7}
.i18n-language-list{position:absolute;top:calc(100% + 8px);inset-inline-end:0;display:grid;gap:4px;width:210px;padding:7px;border:1px solid rgba(43,110,143,.2);border-radius:13px;background:#fffdf9;box-shadow:0 12px 30px rgba(22,53,71,.2);direction:rtl}
.i18n-language-list[hidden]{display:none}
.i18n-language-option{display:flex;align-items:center;gap:10px;width:100%;min-height:48px;padding:7px 9px;border:0;border-radius:9px;background:transparent;color:#163547;font:700 14px Assistant,Arial,sans-serif;text-align:right;cursor:pointer}
.i18n-language-option:hover,.i18n-language-option:focus-visible{background:#edf5f4;outline:0}
.i18n-language-option[aria-selected="true"]{background:#e3f0f0}
.i18n-language-option>span:last-child{display:grid;gap:1px;min-width:0}
.i18n-language-option strong{font:800 14px/1.2 Assistant,Arial,sans-serif}
.i18n-language-option small{color:#60717b;font:600 12px/1.2 Assistant,Arial,sans-serif}
html[data-locale="en"] .i18n-language-menu{direction:ltr}html[data-locale="en"] .i18n-language-list{direction:rtl}
html[data-locale="en"] .i18n-language-option{text-align:right;direction:rtl}
.admin-header .i18n-language-menu{margin-inline-start:auto;margin-inline-end:10px}
@media(max-width:700px){.i18n-language-trigger{min-width:48px;width:48px;height:34px;padding:5px 8px}.i18n-language-current{display:none}.i18n-language-list{inset-inline-end:0;width:195px}.site-header .header-actions .i18n-language-menu{order:3}}
/* Keep the closed language control compact: the current locale is represented
   by its flag. The expanded list shows each flag and language name. */
.i18n-language-trigger{min-width:42px;width:42px;padding:5px;gap:0}
.i18n-language-trigger .i18n-language-current,.i18n-language-trigger .i18n-language-chevron{display:none}
@media(max-width:700px){
  /* On phones the flag belongs to the collapsible hamburger navigation. */
  .site-header nav .i18n-language-menu{display:flex;width:100%;order:99;flex-direction:column;align-items:stretch;padding:5px 12px 8px;border-top:1px solid var(--line);}
  .site-header nav .i18n-language-trigger{width:100%;min-width:0;height:42px;padding:8px 4px;border:0;border-radius:7px;background:transparent;justify-content:space-between;gap:10px;}
  .site-header nav .i18n-language-trigger .i18n-language-current{display:inline;flex:1;text-align:start;font-size:15px;}
  .site-header nav .i18n-language-trigger .i18n-language-chevron{display:inline;font-size:18px;}
  .site-header nav .i18n-language-list{position:static;inset:auto;width:100%;margin-top:3px;padding:4px;box-shadow:none;border-color:rgba(43,110,143,.16);}
  .site-header nav.is-open{max-height:620px;overflow:visible;}
}
/* CSS flags avoid platform-dependent emoji rendering (which can appear as
   plain IL/US letters on desktop) while keeping the controls lightweight. */
.i18n-language-flag{display:inline-block;position:relative;flex:0 0 auto;width:24px;height:16px;overflow:hidden;border:1px solid rgba(22,53,71,.18);border-radius:3px;box-shadow:0 1px 2px rgba(22,53,71,.16);font-size:0;vertical-align:middle;}
.i18n-flag-il{background:linear-gradient(to bottom,#fff 0 22%,#2b6e8f 22% 34%,#fff 34% 66%,#2b6e8f 66% 78%,#fff 78%);}
.i18n-flag-il::after{content:'✡';position:absolute;inset:0;display:grid;place-items:center;color:#2b6e8f;font:700 11px/1 Arial,sans-serif;}
.i18n-flag-us{background:repeating-linear-gradient(to bottom,#b22234 0 1.23px,#fff 1.23px 2.46px);}
.i18n-flag-us::before{content:'';position:absolute;top:0;left:0;width:45%;height:54%;background:#3c3b6e;}

/* The language names are intentionally presented in a Hebrew/RTL reading
   order even when the active page is English/LTR.  Keep the trigger itself in
   the page direction, but make the opened options predictable. */
html[data-locale="en"] .i18n-language-list{right:0;left:auto;inset-inline-end:auto;inset-inline-start:auto}
html[data-locale="en"] .i18n-language-menu{direction:ltr}
/* Languages are intentionally not exposed while the public site is Hebrew-only. */
.i18n-language-menu,.i18n-language-switcher{display:none!important}
