/* Language switch (Polylang menu items) as a two-part toggle: English | עברית.
   The current language is filled; logical properties make it work in both
   directions (English page = ltr, Hebrew page = rtl). Loaded only with Polylang. */
.ha-nav-menu li.lang-item {
	display: flex;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
}
.ha-nav-menu li.lang-item-en {
	margin-inline-start: 18px !important;
}
.ha-nav-menu li.lang-item > a {
	display: inline-flex !important;
	align-items: center;
	padding: 5px 14px !important;
	margin: 0 !important;
	border: 1.5px solid #ffce00;
	color: #ffffff !important;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1.3 !important;
	background: transparent;
	transition: background 0.15s ease, color 0.15s ease;
}
.ha-nav-menu li.lang-item-en > a {
	border-start-start-radius: 999px;
	border-end-start-radius: 999px;
}
.ha-nav-menu li.lang-item-he > a {
	border-start-end-radius: 999px;
	border-end-end-radius: 999px;
	border-inline-start-width: 0;
}
.ha-nav-menu li.lang-item.current-lang > a {
	background: #ffce00;
	color: #0b1423 !important;
	pointer-events: none;
	cursor: default;
}
.ha-nav-menu li.lang-item:not(.current-lang) > a:hover {
	background: rgba(255, 206, 0, 0.18);
}
.ha-nav-menu li.lang-item > a::before,
.ha-nav-menu li.lang-item > a::after {
	display: none !important; /* no menu underline/hover bar on the toggle */
}
