/* Language switcher inspired by globe / ID / EN pill reference. */
.nav > .menu{margin-left:auto}
.language-switcher{display:inline-flex;align-items:center;justify-content:center;gap:3px;padding:5px 6px 5px 9px;min-height:54px;border:1px solid #dfe6ef;border-radius:999px;background:#fff;box-shadow:0 10px 26px rgba(22,42,76,.09);flex-shrink:0;white-space:nowrap;font-family:inherit;line-height:1}
.lang-globe{display:inline-grid;place-items:center;color:#182e50;width:34px;height:40px;margin-right:2px}
.lang-option{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:42px;padding:0 10px;border-radius:999px;color:#58657a;font-size:15px;font-weight:800;transition:background .18s,color .18s,box-shadow .18s}
.lang-option:hover:not(.is-active){background:#edf4fb;color:#173354}
.lang-option.is-active{background:#182c4e;color:#fff;box-shadow:0 2px 6px rgba(12,35,65,.13)}
.lang-option:focus-visible{outline:3px solid #f2b831;outline-offset:3px}
@media(max-width:1050px) and (min-width:901px){.nav{gap:12px}.nav>.menu{gap:14px}.language-switcher{min-height:48px}.lang-option{min-width:40px;height:38px}}
@media(max-width:900px){.nav{gap:12px}.nav>.menu{margin-left:0}.language-switcher{margin-left:auto}.menu-toggle{flex-shrink:0}}
@media(max-width:620px){.nav{gap:8px}.brand{min-width:0;flex-shrink:1}.brand img{width:68px;height:58px;flex-shrink:0}.brand span{font-size:.72rem;max-width:124px;overflow-wrap:anywhere}.language-switcher{min-height:44px;padding:3px 4px 3px 6px;gap:1px}.lang-globe{width:27px;height:32px;margin-right:0}.lang-globe svg{width:20px;height:20px}.lang-option{min-width:36px;height:36px;padding:0 7px;font-size:13px}.menu-toggle{width:42px;height:42px}}
@media(max-width:430px){.brand span{display:none}.brand img{width:76px;height:58px}}
/* Project-detail pages use independent site CSS. */
.detail-nav-inner .language-switcher{margin-left:auto}
.detail-nav-inner{gap:12px}
.detail-nav-inner .detail-back{flex-shrink:0}
@media(max-width:650px){.detail-nav-inner{display:flex;flex-wrap:wrap;gap:10px}.detail-nav-inner .detail-brand{min-width:0;flex:1 1 auto;order:1}.detail-nav-inner .language-switcher{margin-left:auto;order:2}.detail-nav-inner .detail-back{flex:1 0 100%;text-align:right;order:3}.detail-brand span{font-size:.82rem}}
@media(max-width:430px){.detail-nav-inner .detail-brand span{display:none}}
