/* Lingwise language switcher. Inherits the theme font; override with .lingwise-switcher selectors. */
.lingwise-switcher { font-size: 14px; line-height: 1.3; position: relative; z-index: 9990; }
.lingwise-switcher ul { list-style: none; margin: 0; padding: 0; }
.lingwise-switcher a { text-decoration: none; color: inherit; display: inline-flex; align-items: center; gap: 6px; }
.lingwise-switcher--list ul { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.lingwise-switcher--list .is-current a { font-weight: 600; }
.lingwise-switcher--dropdown details { position: relative; display: inline-block; }
.lingwise-switcher--dropdown summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; background: #fff; color: #1d2327; border: 1px solid rgba(0,0,0,.12); box-shadow: 0 2px 10px rgba(0,0,0,.08); }
.lingwise-switcher--dropdown summary::-webkit-details-marker { display: none; }
.lingwise-switcher--dropdown summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); margin-left: 4px; opacity: .6; }
.lingwise-switcher--dropdown details[open] summary::after { transform: rotate(225deg) translateY(-2px); }
.lingwise-switcher--dropdown ul { position: absolute; min-width: 100%; margin-top: 6px; padding: 6px; background: #fff; color: #1d2327; border: 1px solid rgba(0,0,0,.12); border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.lingwise-switcher--dropdown li a { display: flex; padding: 7px 10px; border-radius: 6px; white-space: nowrap; }
.lingwise-switcher--dropdown li a:hover, .lingwise-switcher--dropdown li a:focus-visible { background: rgba(0,0,0,.06); }
.lingwise-switcher--dropdown .is-current a { font-weight: 600; }
.lingwise-floating { position: fixed; }
.lingwise-floating--bottom-right { right: 16px; bottom: 16px; }
.lingwise-floating--bottom-left { left: 16px; bottom: 16px; }
.lingwise-floating--top-right { right: 16px; top: 16px; }
.lingwise-floating--top-left { left: 16px; top: 16px; }
.lingwise-floating--bottom-right ul, .lingwise-floating--bottom-left ul { bottom: 100%; margin: 0 0 6px; }
.lingwise-floating--bottom-right ul, .lingwise-floating--top-right ul { right: 0; }
.admin-bar .lingwise-floating--top-right, .admin-bar .lingwise-floating--top-left { top: 48px; }
.lingwise-flag { font-size: 1.15em; line-height: 1; }
.lingwise-banner { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 9991; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 10px 10px 10px 16px; background: #1d2327; color: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 14px; }
.lingwise-banner a { color: #fff; font-weight: 600; text-decoration: underline; }
.lingwise-banner button { background: transparent; border: 0; color: #fff; font-size: 20px; line-height: 1; cursor: pointer; padding: 4px 8px; }
@media (max-width: 600px) { .lingwise-floating--bottom-right, .lingwise-floating--bottom-left { bottom: 12px; } .lingwise-banner { bottom: 72px; } }
