/* ============================================================
   LiveSofia - bandierine italiano / inglese nell'header (lv-lingue.php) - aggiunto 2026-10-02
   ============================================================ */

.lv-lingue {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 10px 0 0;
	padding: 4px 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .05);
	border: 1px solid rgba(255, 255, 255, .08);
	vertical-align: middle;
}
.lv-lingua {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px;
	border-radius: 5px;
	line-height: 0;
	opacity: .5;
	transition: opacity .2s ease, box-shadow .2s ease, transform .2s ease;
}
.lv-lingua:hover,
.lv-lingua:focus-visible { opacity: 1; transform: translateY(-1px); }
.lv-lingua.is-current { opacity: 1; box-shadow: 0 0 0 2px #ef003b; }
.lv-flag {
	display: block;
	width: 24px;
	height: 16px;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, .35);
}
.lv-lingue .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

@media (max-width: 1024px) {
	.lv-lingue { gap: 4px; margin-right: 6px; padding: 3px 4px; }
	.lv-flag { width: 21px; height: 14px; }
}

/* testi scritti dal CSS (lv-cards.css, lv-calendar.css): versione inglese sulle pagine /en/ */
body.translatepress-en_US .archive-featured article.entry-tpl-tile .entry-before-title::before { content: "NEW"; }
body.translatepress-en_US .lv-cal td.current-day > span:first-child::after { content: "Today"; }
