/* Translation By SoftwareCY — front-end language switcher */

.tbsc-language-switcher {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 10px;
	align-items: center;
	flex-wrap: wrap;
}

.tbsc-language-switcher .tbsc-lang-item a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	line-height: 1;
}

.tbsc-language-switcher .tbsc-flag {
	width: 24px;
	height: 18px;
	object-fit: cover;
	border-radius: 2px;
	vertical-align: middle;
}

.tbsc-language-switcher .current-lang a {
	font-weight: 700;
}

.tbsc-language-switcher .current-lang {
	opacity: .7;
}

/* Language switcher dropped into a nav menu (one item per language). */
.menu-item.tbsc-menu-switcher > a {
	display: inline-flex !important;
	align-items: center;
	gap: 6px;
}

.menu-item.tbsc-menu-switcher .tbsc-flag {
	display: inline-block !important;
	width: 18px;
	height: 12px;
	max-width: none;
	object-fit: cover;
	border-radius: 2px;
	vertical-align: middle;
}

.menu-item.tbsc-menu-switcher.current-lang > a {
	font-weight: 700;
}
