.langflag {
	width: 20px;
	height: 20px;
}
.translation-menu {
	border: 1px solid #000;
	font-size: 1rem;
	margin: 0 0.5rem;
	padding: 14px;
	position: relative;
	width: fit-content;
}
.translation-menu .translation-current {
	color: #000;
	cursor: pointer;
	display: block;
	font-weight: 500;
}
.translation-menu .translation-current > * {
	pointer-events: none;
}
.translation-menu .lang-wrapper {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}
.translation-menu .translation-other .lang-wrapper:not(:last-child) {
	margin-bottom: 0.5rem;
}
.translation-menu .translation-current i {
	font-size: 0.7rem;
	margin-left: 2px;
	transition: all 0.2s linear;
}
.translation-menu .translation-other {
	display: none;
	left: -1px;
	padding-top: 0.5rem;
	position: absolute;
	top: 100%;
	min-width: calc(100% + 2px);
}
.translation-menu .translation-other > div {
	background: #fff;
	border: 1px solid #000;
	padding: 10px 15px;
	width: max-content;
	min-width: 100%;
}
.translation-menu .translation-other a {
	color: #000;
	font-weight: 500;
}
.translation-menu .translation-other a > span {
	display: block;
}
.translation-menu .translation-other a:hover,
.translation-menu .translation-other a:focus-visible {
	text-decoration: underline;
}
.translation-menu:hover .translation-current i,
.translation-menu:focus-within .translation-current i {
	transform: rotate(-180deg);
}
.translation-menu:hover .translation-other,
.translation-menu:focus-within .translation-other {
	display: block;
}
