/* The EN / LT link in the project sites' header, added by
   src/app/(website)/[locale]/projektai/[slug]/route.ts before the menu
   button (2026-11-16). With it the menu of the template sites (.wrap.hdr__in)
   fits on one line from 1240 px; below that the menu button shows and the
   contact button stays. On Čiobrelių kvartalas (.hdr__in without .wrap) the
   menu items sit closer and the phone shows only its icon up to 1365 px. On a
   phone the gaps are smaller, so the project name stays on one line and
   nothing scrolls sideways, down to 320 px. Measured on all 9 sites, LT and
   EN. */
.hdr__lang {
	display: inline-grid;
	place-items: center;
	flex: none;
	min-width: 44px;
	height: 44px;
	padding: 0 6px;
	border-radius: 999px;
	color: inherit;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.06em;
	text-decoration: none;
	opacity: 0.88;
}
.hdr__lang:hover {
	opacity: 1;
	text-decoration: underline;
	text-underline-offset: 6px;
}
@media (max-width: 1239px) {
	.wrap.hdr__in .nav {
		display: none;
	}
	.wrap.hdr__in .hdr__menu {
		display: grid;
		place-items: center;
	}
}
@media (min-width: 1141px) and (max-width: 1365px) {
	.hdr__in:not(.wrap) .nav a {
		padding-right: 8px;
		padding-left: 8px;
	}
	.hdr__in:not(.wrap) .nav a::after {
		right: 8px;
		left: 8px;
	}
	.hdr__in:not(.wrap) .hdr__actions {
		gap: 12px;
		margin-left: 8px;
	}
	.hdr__in:not(.wrap) .hdr__tel span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}
@media (max-width: 760px) {
	.wrap.hdr__in {
		gap: 12px;
	}
	.hdr__lang {
		min-width: 40px;
	}
}
@media (max-width: 359px) {
	.wrap.hdr__in,
	.hdr__in:not(.wrap),
	.hdr__actions {
		gap: 8px;
	}
	.hdr__lang {
		min-width: 36px;
		padding: 0 4px;
	}
	.wrap.hdr__in .brand__name {
		font-size: 16px;
	}
}
