/* Language switcher (top right) */
.lang-switch {
	position: fixed;
	top: 12px;
	right: 12px;
	z-index: 10;
	font-family: sans-serif;
	font-size: 15px;
}

.lang-switch summary {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	cursor: pointer;
	color: #333;
	border-radius: 50%;
}

.lang-switch summary::-webkit-details-marker {
	display: none;
}

.lang-switch summary:hover,
.lang-switch details[open] summary {
	background: rgba(255, 255, 255, 0.6);
}

.lang-switch ul {
	position: absolute;
	top: 100%;
	right: 0;
	margin: 6px 0 0;
	padding: 0;
	min-width: 130px;
	list-style: none;
	background: #fff;
	border-radius: 6px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}

.lang-switch li a {
	display: block;
	padding: 6px 14px;
	color: #333;
	text-decoration: none;
	white-space: nowrap;
}

/* The menu's vertical padding lives on the first/last link, so the hover covers it too */
.lang-switch li:first-child a {
	padding-top: 12px;
}

.lang-switch li:last-child a {
	padding-bottom: 12px;
}

.lang-switch li a:hover {
	background: rgb(255, 237, 203);
}
