/* Scoped to the language component; preserves the site's existing navigation. */
#header .hsj-language{position:relative;display:flex;align-items:center;justify-content:center;flex:0 0 auto;margin:0;padding:0;min-width:0;align-self:stretch;direction:ltr}
#header .hsj-language-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:48px;width:100%;padding:10px 12px;border:0;background:transparent;color:#173a34;font:inherit;font-size:14px;line-height:1.4;white-space:nowrap;cursor:pointer}
.hsj-language-toggle svg{fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
#header .hsj-language-toggle:hover,#header .hsj-language-toggle[aria-expanded=true]{background:#f3ecdf;color:#9d2720}
.hsj-language-toggle:focus-visible,.hsj-language-panel button:focus-visible,.hsj-language-status button:focus-visible{outline:2px solid #9d2720;outline-offset:2px}
.hsj-language-panel{position:fixed;z-index:10020;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;border:1px solid #d9c8ac;border-radius:8px;background:#fffdf8;box-shadow:0 12px 40px #142b2733;overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box;direction:ltr;color:#173a34}
.hsj-language-panel[hidden],.hsj-language-status[hidden],.hsj-language-status button[hidden]{display:none!important}
.hsj-language-panel button{min-height:44px;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:6px;padding:9px 10px;border:1px solid transparent;border-radius:4px;background:transparent;color:inherit;font:400 14px/1.4 system-ui,sans-serif;text-align:start;cursor:pointer;overflow-wrap:anywhere}
.hsj-language-panel button:hover{background:#f3ecdf}
.hsj-language-panel button[aria-pressed=true]{border-color:#c79e61;background:#f3ecdf;color:#8e211b}
.hsj-language-check{visibility:hidden;flex:none}.hsj-language-panel button[aria-pressed=true] .hsj-language-check{visibility:visible}
.hsj-language-status{position:fixed;z-index:10030;left:50%;bottom:24px;transform:translateX(-50%);box-sizing:border-box;max-width:calc(100vw - 32px);padding:12px 18px;border:1px solid #d9c8ac;border-radius:6px;background:#fffdf8;color:#173a34;box-shadow:0 4px 20px #142b2726;font:14px/1.5 system-ui,sans-serif;text-align:center}
.hsj-language-status button{display:block;min-height:44px;margin:6px auto 0;border:1px solid #c79e61;border-radius:4px;padding:8px 16px;background:#f3ecdf;color:#8e211b;cursor:pointer}
@media(max-width:1100px) and (min-width:701px){#header .hsj-language-toggle{padding-inline:7px;font-size:13px;gap:4px}}
@media(max-width:700px){#header .hsj-language{width:100%;flex:none;margin-top:8px;border-top:1px solid #d9c8ac;border-bottom:1px solid #d9c8ac}#header .hsj-language-toggle{min-height:50px;font-size:16px;padding:13px 10px;text-align:center;justify-content:center}.hsj-language-panel{padding:10px}.hsj-language-status{bottom:18px}}
@media(prefers-reduced-motion:reduce){.hsj-language-panel,.hsj-language-toggle{transition:none}}
