/* Language switcher — markup is generated by i18n/build.js at the <!-- i18n:switcher --> markers. */
.lang-switch { position: relative; display: inline-block; vertical-align: middle; margin-right: 12px; font-family: inherit; }
.lang-switch-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: #2D333A; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; }
.lang-switch-btn:hover, .lang-switch:focus-within .lang-switch-btn { background: #f0f0f0; }
.lang-switch-menu { position: absolute; top: 100%; right: 0; z-index: 1000; min-width: 150px; margin: 4px 0 0; padding: 6px; list-style: none; background: #fff; border-radius: 10px; box-shadow: 0 10px 28px rgba(20, 24, 30, .14); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease, visibility .15s; }
.lang-switch:hover .lang-switch-menu, .lang-switch:focus-within .lang-switch-menu { opacity: 1; visibility: visible; transform: none; }
.lang-switch-menu li { margin: 0; padding: 0; }
.lang-switch-menu a { display: block; padding: 8px 10px; border-radius: 6px; color: #2D333A; font-size: 14px; text-decoration: none; white-space: nowrap; }
.lang-switch-menu a:hover { background: #f5f5f5; color: #E8660C; }
.lang-switch-menu a.is-current { font-weight: 700; color: #E8660C; }

/* Mobile sidebar: show the list open, no dropdown. */
.mobile-lang { margin: 16px 0; }
.mobile-lang .lang-switch { display: block; margin: 0; }
.mobile-lang .lang-switch-btn { display: none; }
.mobile-lang .lang-switch-menu { position: static; display: flex; flex-wrap: wrap; gap: 6px; min-width: 0; margin: 0; padding: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
.mobile-lang .lang-switch-menu a { padding: 6px 12px; border: 1px solid #e5e5e5; }
