.sp-language-switch {
	display: inline-flex;
	align-items: stretch;
	border: 1px solid #d8cec3;
	border-radius: 4px;
	overflow: hidden;
	white-space: nowrap;
}

.sp-language-switch a {
	display: inline-flex;
	min-width: 42px;
	min-height: 34px;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	color: #4a3b36;
	font-family: Inter, sans-serif;
	font-size: 12px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
}

.sp-language-switch a + a {
	border-left: 1px solid #d8cec3;
}

.sp-language-switch a[aria-current="true"] {
	background: #4a3b36;
	color: #fffdf8;
}

.sp-language-switch a:focus-visible {
	outline: 2px solid #c8a6a1;
	outline-offset: -3px;
}

.wp-block-post-content > p:empty {
	display: none;
}

@media (max-width: 700px) {
	header .wp-block-group:has(> .sp-language-switch) {
		gap: 10px;
	}

	.sp-language-switch a {
		min-width: 40px;
		min-height: 32px;
		padding-inline: 8px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.sp-language-switch a {
		transition: background-color 160ms ease, color 160ms ease;
	}
}
