/* Robotics Infinity – custom additions (language switcher + spotlights) */

/* Keep all "About us" spotlight photos the same size, regardless of the
   source image resolution or whether main.js has swapped the <img> for a
   background. Without this, a larger source (e.g. an 886px photo next to
   413px ones) renders at natural size and breaks the layout. */
.spotlights > section > .image img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 100%;
	object-fit: cover;
	object-position: center center;
}

.lang-switch {
	list-style: none;
	display: flex;
	gap: 0.5rem;
	padding: 0;
	margin: 0 0 1.5rem 0;
	border-bottom: 0 !important;
}

.lang-switch li {
	padding: 0 !important;
	border-top: 0 !important;
	margin: 0 !important;
}

.lang-switch li a,
.lang-switch li .current {
	display: inline-block;
	min-width: 2.4em;
	padding: 0.35em 0.7em !important;
	border-radius: 4px;
	font-size: 0.8em;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-align: center;
	text-decoration: none;
	line-height: 1.4;
	border: 1px solid rgba(255, 255, 255, 0.35);
}

.lang-switch li a {
	color: inherit;
	opacity: 0.75;
	transition: opacity 0.2s ease, background-color 0.2s ease;
}

.lang-switch li a:hover {
	opacity: 1;
	background-color: rgba(255, 255, 255, 0.15);
}

.lang-switch li .current {
	background-color: rgba(255, 255, 255, 0.2);
	opacity: 1;
	cursor: default;
}

/* Footer language link spacing */
#footer .menu li a {
	text-decoration: underline;
}
