/* Selettore lingua dell'header: globo + tendina (da Palmarea, adattato a Neon Coast).
   Il vecchio «IT · EN» (shortcode TranslatePress ridotto da neoncoast.js) resta in pagina ma nascosto. */
.nc-site .nc-lang { display: none !important; }

.nc-language { position: relative; flex: 0 0 auto; align-self: center; margin: 0; z-index: 30; font-family: var(--nc-font-c, Manrope, sans-serif); line-height: 1.4; text-transform: none; color: inherit; }
.nc-language details { position: relative; border: 0; padding: 0; margin: 0; background: none; }
.nc-language summary {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 44px; min-height: 44px; padding: 0; margin: 0; box-sizing: border-box;
	list-style: none; cursor: pointer; color: inherit; background: transparent; border: 0;
	-webkit-tap-highlight-color: transparent;
}
.nc-language summary::-webkit-details-marker { display: none; }
.nc-language summary::marker { content: ""; }
.nc-language summary::after { content: none; }
.nc-language .nc-language-globe { display: block; width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; }
.nc-language summary:hover, .nc-language details[open] > summary { opacity: .6; }
.nc-language summary:focus-visible, .nc-language a:focus-visible { outline: 2px solid var(--nc-pink, #ff2d95); outline-offset: 2px; opacity: 1; }

.nc-language .nc-language-options {
	position: absolute; top: calc(100% + 6px); right: 0; min-width: 196px; padding: 6px; box-sizing: border-box;
	background: var(--nc-night2, #1a1c1f); color: #fff; border: 1px solid rgba(255, 255, 255, .16); border-radius: 0;
	box-shadow: 0 14px 36px rgba(0, 0, 0, .45); z-index: 100;
}
.nc-language .nc-language-options a, .nc-language .nc-language-current {
	display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 12px; box-sizing: border-box;
	color: #fff !important; font: 500 13px/1.3 var(--nc-font-c, Manrope, sans-serif) !important;
	letter-spacing: .02em !important; text-transform: none !important; text-decoration: none !important; white-space: nowrap; opacity: .8;
}
.nc-language .nc-language-current { font-weight: 700 !important; opacity: 1; }
.nc-language .nc-language-current::after { content: "\2713"; margin-left: auto; padding-left: 16px; font-size: 12px; color: var(--nc-pink, #ff2d95); }
.nc-language .nc-language-options a:hover { background: rgba(255, 255, 255, .09); opacity: 1; }
.nc-language .nc-language-flag { display: block; width: 20px !important; height: 15px !important; max-width: none; object-fit: cover; flex: 0 0 20px; border: 0; border-radius: 2px; box-shadow: none; }

@media (max-width: 359px) { .nc-language .nc-language-options { min-width: 176px; } }
@media (prefers-reduced-motion: reduce) { .nc-language * { transition: none !important; } }
