.intecma-wpml-switcher {
	position: relative;
	display: inline-block !important;
	white-space: nowrap;
}

.intecma-wpml-switcher__toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 2rem;
	padding: 0.25rem 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	line-height: 1;
	cursor: pointer;
}

.intecma-wpml-switcher__flag {
	display: block;
	width: 1.125rem;
	height: 0.75rem;
	object-fit: cover;
	flex: 0 0 auto;
}

.intecma-wpml-switcher__chevron {
	width: 0.45rem;
	height: 0.45rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-0.12rem) rotate(45deg);
	transition: transform 180ms ease;
}

.intecma-wpml-switcher:hover .intecma-wpml-switcher__chevron,
.intecma-wpml-switcher.is-open .intecma-wpml-switcher__chevron,
.intecma-wpml-switcher__toggle:focus-visible .intecma-wpml-switcher__chevron {
	transform: translateY(0.12rem) rotate(225deg);
}

.intecma-wpml-switcher__menu {
	position: absolute;
	z-index: 1000;
	top: calc(100% + 0.25rem);
	right: -0.75rem;
	display: none;
	min-width: 7.5rem;
	padding: 0.35rem;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 0.2rem;
	background: #00005b;
	box-shadow: 0 0.45rem 1rem rgba(0, 0, 55, 0.24);
}

.intecma-wpml-switcher__menu::before {
	content: "";
	position: absolute;
	right: 0;
	bottom: 100%;
	left: 0;
	height: 0.35rem;
}

.intecma-wpml-switcher:hover .intecma-wpml-switcher__menu,
.intecma-wpml-switcher.is-open .intecma-wpml-switcher__menu,
.intecma-wpml-switcher__toggle:focus-visible + .intecma-wpml-switcher__menu,
.intecma-wpml-switcher__menu:focus-within {
	display: block;
}

.intecma-wpml-switcher__link {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
	padding: 0.55rem 0.65rem;
	border-radius: 0.15rem;
	color: #fff;
	font: inherit;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.intecma-wpml-switcher__link:hover,
.intecma-wpml-switcher__link:focus-visible {
	background: rgba(6, 170, 245, 0.16);
	color: #06aaf5;
}

.intecma-wpml-switcher__toggle:hover,
.intecma-wpml-switcher__toggle:focus-visible {
	color: #06aaf5;
}

.intecma-wpml-switcher__toggle:focus-visible,
.intecma-wpml-switcher__link:focus-visible {
	outline: 2px solid #06aaf5;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	#mobile-navigation .mobile-menu-search .utility-knowledge-link {
		justify-content: flex-start;
		gap: 0.8rem;
	}

	#mobile-navigation .mobile-menu-search .utility-knowledge-link .utility-icon {
		flex: 0 0 auto;
	}

	.mobile-language.intecma-wpml-switcher .intecma-wpml-switcher__menu {
		right: 0;
	}
}

/* Keep the complete Contact mega-menu mark visible inside its existing slot. */
#mega-menu-contact .mega-contact-people {
	object-fit: contain;
	object-position: left center;
}
