/* Public bilingual switch: fixed presentation across desktop and mobile. */
.flag-lang{display:inline-flex!important;align-items:center!important;gap:4px!important;padding:5px!important;background:rgba(255,255,255,.07)!important;border:1px solid rgba(235,204,137,.32)!important;border-radius:999px!important;width:max-content!important;white-space:nowrap!important}
.flag-lang button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;color:#fff!important;background:transparent!important;padding:6px 8px!important;min-width:51px!important;height:34px!important;border:1px solid transparent!important;border-radius:999px!important;cursor:pointer!important;font-size:1.05rem!important;line-height:1!important;transition:background .2s ease,border-color .2s ease!important}
.flag-lang button .vga-lang-code{font-size:.72rem!important;letter-spacing:.025em!important;font-weight:850!important;color:#eee!important}
.flag-lang button:hover,.flag-lang button:focus-visible{background:rgba(220,185,112,.15)!important;border-color:rgba(220,185,112,.55)!important;outline-offset:2px!important}
.flag-lang button.active{background:rgba(220,185,112,.23)!important;border-color:rgba(220,185,112,.65)!important;box-shadow:0 0 0 1px rgba(220,185,112,.12) inset!important}
.flag-lang button.active .vga-lang-code{color:#f5d999!important}
@media(max-width:980px){
 /* On the main PHP layout flags remain visible in the top bar, without opening the drawer. */
 .vga-topbar-v22-28 .public-nav{gap:8px!important}
 .vga-topbar-v22-28 .public-actions{display:flex!important;align-items:center!important;justify-content:flex-end!important;order:2!important;margin-left:auto!important;flex:0 0 auto!important}
 .vga-topbar-v22-28 .vga-mobile-open-btn{order:3!important;margin-left:0!important;flex:0 0 46px!important}
 .vga-topbar-v22-28 .public-brand{order:1!important;flex:0 1 auto!important;min-width:0!important}
 .vga-topbar-v22-28 .public-actions .login-btn{display:none!important}
 .vga-topbar-v22-28 .flag-lang{min-width:0!important;min-height:0!important}
 .vga-topbar-v22-28 .flag-lang button{min-width:36px!important;width:36px!important;padding:5px!important}
 .vga-topbar-v22-28 .flag-lang button .vga-lang-code{display:none!important}
}
@media(max-width:390px){.vga-topbar-v22-28 .public-brand img{width:140px!important;max-width:140px!important}.vga-topbar-v22-28 .vga-mobile-open-btn{flex-basis:42px!important;min-width:42px!important;width:42px!important;height:42px!important}.flag-lang button{min-width:33px!important}}
/* Only show the legal paragraph in the selected language (without a flash of duplicates). */
html[lang="en"] [data-lang-block="it"],html[lang="it"] [data-lang-block="en"]{display:none!important}
