/* Language names remain visible beside decorative flags. */
.language-switch{display:block;position:relative;flex-shrink:0;margin:0;color:#2d3e4c;font-size:.875rem}
.language-switch summary{display:flex;align-items:center;gap:.5rem;min-height:44px;margin:0;padding:.6rem .75rem;border:1px solid #ffffff50;border-radius:3px;color:#2d3e4c;background:rgba(255,255,255,.76);list-style:none;cursor:pointer;white-space:nowrap;line-height:1.4}
.language-switch summary::-webkit-details-marker{display:none}
.language-switch summary::after{content:'';width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);margin-left:.3rem;flex-shrink:0}
.language-switch[open] summary::after{transform:translateY(2px) rotate(225deg)}
.language-current-flag{display:flex;align-items:center}
.language-flag{display:block;width:22px;height:16.5px;flex-shrink:0;border-radius:1px;box-shadow:0 0 0 1px #2d3e4c26;overflow:hidden}
.language-options{position:absolute;z-index:5;right:0;top:calc(100% + .5rem);min-width:170px;width:max-content;max-width:calc(100vw - 2rem);margin:0;padding:.35rem;list-style:none;border:1px solid #dfe5e3;border-radius:4px;background:#fff;box-shadow:0 8px 25px #182e3926;max-height:320px;overflow-y:auto}
.language-options li{margin:0;padding:0}
.language-options button{display:flex;align-items:center;gap:.65rem;min-height:44px;width:100%;margin:0;padding:.6rem .7rem;border:0;border-radius:2px;background:transparent;color:#2d3e4c;text-align:left;font:inherit;white-space:nowrap}
.language-options button:hover,.language-options button[aria-current=true]{background:#edf1ee}
.language-options button[aria-current=true]::after{content:'✓';margin-left:auto;font-size:.875rem}
.language-switch summary:focus-visible,.language-options button:focus-visible{outline:2px solid #8b7156;outline-offset:2px}
@media(min-width:801px) and (max-width:1200px){.site-header nav{gap:1rem}.language-switch summary{font-size:.8rem;gap:.4rem;padding:.55rem .6rem}.language-switch summary .language-flag{width:18px;height:13.5px}}
@media(max-width:800px){.site-header nav{max-height:calc(100svh - 78px);overflow-y:auto}.language-switch{width:100%;margin-top:.25rem;padding-top:.7rem;border-top:1px solid #dfe5e3}.language-switch summary{width:100%;font-size:1rem;background:#f5f6f2}.language-switch summary::after{margin-left:auto;margin-right:.2rem}.language-options{position:static;width:100%;min-width:0;max-width:none;max-height:290px;margin-top:.5rem;box-shadow:none}.language-options button{font-size:1rem}}
