/* Seven locale choices; only the language menu layout is affected. */
.language-option [lang="ar"]{direction:rtl;unicode-bidi:isolate;letter-spacing:normal}
.language-option [lang="zh-Hant-TW"]{font-family:"Noto Sans TC","Microsoft JhengHei","PingFang TC",sans-serif;direction:ltr;unicode-bidi:isolate;letter-spacing:normal}
@media(max-width:900px){.language-options{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:360px){.language-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.language-option [lang="zh-Hans"]{font-family:"Noto Sans SC","Microsoft YaHei","PingFang SC",sans-serif;direction:ltr;unicode-bidi:isolate;letter-spacing:normal}

/* Stable utility slots: font changes and translated labels do not move controls. */
@media(min-width:901px){
  .header .language-trigger{width:112px}
  .header .language-trigger>span{flex:1}
  .header .nav-utility>.nav-contact{display:flex;align-items:center;justify-content:space-between;width:152px;flex:0 0 152px;height:44px;min-height:44px;padding-block:0;white-space:nowrap}
  .header .nav-utility>.nav-contact>span{margin:0}
}
