.mlp-language-switcher {
	position: relative;
	display: inline-block;
	text-align: start;
}

.mlp-language-switcher > summary {
	cursor: pointer;
	white-space: nowrap;
}

.mlp-language-switcher > ul {
	position: absolute;
	inset-inline-start: 0;
	z-index: 100;
	display: block;
	box-sizing: border-box;
	min-width: max(100%, 9rem);
	margin: 0.35rem 0 0;
	padding: 0.25rem;
	border: 1px solid currentColor;
	border-radius: 0.3rem;
	background: var(--wp--preset--color--base, Canvas);
	color: var(--wp--preset--color--contrast, CanvasText);
	list-style: none;
}

.mlp-language-switcher:not([open]) > ul {
	display: none;
}

.mlp-language-switcher > ul > li {
	display: block;
	margin: 0;
	padding: 0;
}

.mlp-language-switcher > ul a {
	display: block;
	padding: 0.35rem 0.65rem;
	color: inherit;
	white-space: nowrap;
}

.mlp-language-switcher > ul a[aria-current="page"] {
	font-weight: 700;
}
