.hto-header-language-item,
.hto-language-switcher {
	position: relative;
}

.hto-language-switcher {
	display: inline-block;
	font: inherit;
}

.hto-language-switcher > summary {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	list-style: none;
	white-space: nowrap;
	cursor: pointer;
	color: inherit;
}

.hto-language-switcher > summary::-webkit-details-marker {
	display: none;
}

.hto-language-switcher > summary svg {
	width: 1.1em;
	height: 1.1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
}

.hto-language-caret {
	width: 0.42em;
	height: 0.42em;
	margin: -0.25em 0.1em 0 0.05em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg);
}

.hto-language-switcher[open] .hto-language-caret {
	margin-top: 0.15em;
	transform: rotate(225deg);
}

.hto-language-options {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 0.5rem);
	right: 0;
	min-width: 10.5rem;
	padding: 0.35rem;
	border: 1px solid #d9e0e9;
	border-radius: 0.45rem;
	background: #fff;
	box-shadow: 0 12px 28px rgb(12 22 38 / 18%);
	color: #182338;
}

.hto-language-options a,
.wpc-util-links .hto-language-options a {
	display: block;
	padding: 0.48rem 0.65rem;
	border-radius: 0.25rem;
	color: #182338;
	line-height: 1.35;
	text-decoration: none;
	white-space: nowrap;
}

.hto-language-options a:hover,
.hto-language-options a:focus-visible,
.wpc-util-links .hto-language-options a:hover,
.wpc-util-links .hto-language-options a:focus-visible {
	background: #eef3f9;
	color: #102a4c;
}

.hto-language-options a[aria-current="page"] {
	font-weight: 700;
}

.hto-language-switcher summary:focus-visible,
.hto-language-options a:focus-visible {
	outline: 2px solid #3977bc;
	outline-offset: 2px;
}

.hto-mobile-language-switcher {
	display: none;
}

@media (max-width: 820px) {
	.wpc-hd-bar > .hto-mobile-language-switcher {
		display: inline-block;
		margin-left: auto;
		font-size: 13px;
	}

	.wpc-hd-bar > .hto-mobile-language-switcher > summary {
		padding: 0.4rem;
	}
}
