/* Multilanga language switcher.
   Layout properties carry !important on purpose: the switcher is dropped into
   arbitrary themes (shortcode inside .entry-content, menus, page builders) whose
   own list/details rules (".single-content ul { padding-left: 2em }") share our
   specificity and load later. Colours, radius and shadow stay on CSS variables, so
   the Settings pickers and a theme's own overrides of --mlg-* still apply. */
.mlg-switcher{position:fixed;z-index:99999;font:14px/1.4 -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;text-align:left;--mlg-bg:#fff;--mlg-fg:#1d2327;--mlg-bd:#dcdcde;--mlg-radius:6px;--mlg-shadow:0 2px 8px rgba(0,0,0,.12);--mlg-btn-bg:var(--mlg-bg);--mlg-btn-bd:var(--mlg-bd);--mlg-btn-shadow:var(--mlg-shadow)}
.mlg-switcher-inline{position:relative;display:inline-block;z-index:99999}
.mlg-switcher .mlg-flag{display:block!important;flex:0 0 auto;object-fit:cover;margin:0!important;padding:0!important;border:0!important;max-width:none!important;box-shadow:0 0 0 1px rgba(0,0,0,.08)}
.mlg-switcher.mlg-flag-rect .mlg-flag{width:20px!important;height:15px!important;border-radius:2px!important}
.mlg-switcher.mlg-flag-round .mlg-flag{width:18px!important;height:18px!important;border-radius:50%!important}
.mlg-switcher .mlg-name{margin:0!important;padding:0!important}
.mlg-switcher details{position:relative!important;display:block!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;width:auto!important}
.mlg-switcher details[open]{z-index:99999}
.mlg-switcher summary{display:flex!important;align-items:center;gap:6px;list-style:none!important;cursor:pointer;margin:0!important;background:var(--mlg-btn-bg)!important;color:var(--mlg-fg)!important;border:1px solid var(--mlg-btn-bd)!important;border-radius:var(--mlg-radius)!important;padding:8px 14px!important;box-shadow:var(--mlg-btn-shadow)!important;font:inherit!important;line-height:1.4!important;text-transform:none!important;letter-spacing:normal!important;white-space:nowrap}
.mlg-switcher summary::-webkit-details-marker{display:none}
.mlg-switcher summary:focus,.mlg-switcher summary:focus-visible,.mlg-switcher summary:active,.mlg-switcher li a:focus,.mlg-switcher li a:focus-visible,.mlg-switcher-row .mlg-row a:focus,.mlg-switcher-row .mlg-row a:focus-visible{outline:0!important;outline-offset:0!important}
.mlg-switcher summary::before{content:none!important}
.mlg-switcher summary::after{content:""!important;display:inline-block!important;width:6px!important;height:6px!important;margin:0 0 0 8px!important;padding:0!important;background:none!important;border:0!important;border-right:2px solid currentColor!important;border-bottom:2px solid currentColor!important;opacity:.6;transform:translateY(-2px) rotate(45deg)!important;vertical-align:middle;transition:transform .2s ease!important}
.mlg-switcher details[open] summary::after{transform:translateY(1px) rotate(-135deg)!important}
.mlg-switcher ul{position:absolute!important;left:0!important;right:auto!important;bottom:100%!important;top:auto!important;margin:0 0 6px!important;padding:4px 0!important;list-style:none!important;background:var(--mlg-bg)!important;color:var(--mlg-fg)!important;border:1px solid var(--mlg-bd)!important;border-radius:var(--mlg-radius)!important;box-shadow:var(--mlg-shadow)!important;min-width:100%!important;width:max-content!important;max-width:none!important;height:auto!important;max-height:none!important;overflow:visible!important;z-index:99999!important;text-indent:0!important;transform:none!important}
.mlg-switcher-top ul{top:100%!important;bottom:auto!important;margin:6px 0 0!important}
.mlg-switcher details[open]>ul{display:block!important;visibility:visible!important;opacity:1!important}
.mlg-switcher li{display:block!important;margin:0!important;padding:0!important;list-style:none!important;background:none!important;border:0!important;text-indent:0!important}
.mlg-switcher li::before,.mlg-switcher li::after,.mlg-switcher li::marker{content:none!important;display:none!important}
.mlg-switcher li a{display:flex!important;align-items:center;gap:6px;float:none!important;width:auto!important;margin:0!important;padding:6px 14px!important;color:var(--mlg-fg)!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-decoration:none!important;white-space:nowrap;text-transform:none!important;letter-spacing:normal!important;font:inherit!important;line-height:1.4!important}
.mlg-switcher li a:hover,.mlg-switcher li a:focus{background:none!important;color:var(--mlg-fg)!important}
.mlg-switcher-row .mlg-row{display:flex!important;gap:4px;margin:0!important;background:var(--mlg-btn-bg)!important;border:1px solid var(--mlg-btn-bd)!important;border-radius:var(--mlg-radius)!important;padding:4px!important;box-shadow:var(--mlg-btn-shadow)!important}
.mlg-switcher-row .mlg-row a{display:flex!important;align-items:center;gap:6px;margin:0!important;padding:6px 10px!important;border:0!important;border-radius:4px!important;background:none!important;box-shadow:none!important;color:var(--mlg-fg)!important;text-decoration:none!important;white-space:nowrap;font:inherit!important;line-height:1.4!important;text-transform:none!important;letter-spacing:normal!important}
.mlg-switcher-row .mlg-row a:hover,.mlg-switcher-row .mlg-row a:focus{background:none!important}
.mlg-switcher-row .mlg-row a.mlg-active{background:none!important;font-weight:600!important}
@media (prefers-reduced-motion:reduce){.mlg-switcher summary::after{transition:none!important}}
