.wpmm-switcher { position: relative; margin-right: 40px; }

/* Ensure the toggle renders inline like all other Ohio menu links */
.wpmm-switcher__toggle,
.wpmm-switcher__toggle:hover,
.wpmm-switcher__toggle:focus {
	cursor: pointer;
	text-decoration: none !important;
	display: flex !important;
	align-items: center !important;
	padding-top: 7px;
	padding-left: 10px;
}

/* Ohio sets .header .menu li span { flex-direction: column } which pushes
   the caret to a new line — override to row for our wrapper span only. */
.wpmm-switcher__toggle > span {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: .2em;
}

/* Keep the caret on the same line as the label */
.wpmm-switcher__caret {
	font-size: .75em;
	line-height: 1;
	display: inline-flex !important;
	align-items: center;
}

/* Prevent the switcher from wrapping onto a new line */
#menu-primary,
ul#menu-primary {
	flex-wrap: nowrap !important;
}

/* ── Dropdown ── */
.wpmm-switcher__menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	left: auto;
	width: 50px;
	min-width: 0;
	max-width: calc(100vw - 20px);
	margin: 0;
	padding: 10px 0 .25em;
	list-style: none;
	background: #fff;
	border: 1px solid rgba(0,0,0,.1);
	box-shadow: 0 4px 12px rgba(0,0,0,.08);
	z-index: 10000;
}
.wpmm-switcher.is-open > .wpmm-switcher__menu { display: block; }
.wpmm-switcher__menu > li {
	list-style: none;
	margin: 0;
	padding: 0;
	position: static;
}
.wpmm-switcher__menu > li > a,
.wpmm-switcher__menu > li > a:hover,
.wpmm-switcher__menu > li > a:focus,
.wpmm-switcher__menu > li > a:active {
	display: block;
	padding: .4em .9em;
	white-space: nowrap;
	color: inherit;
	background: transparent !important;
	text-decoration: none !important;
}

/* ── Mobile-only: render the switcher inline (EN / 繁 / 简). Scoped to
      viewports where Ohio actually swaps to the mobile nav, so the desktop
      dropdown stays intact. ── */
@media (max-width: 1024px) {
.slide-in-overlay .wpmm-switcher,
.mobile-menu .wpmm-switcher,
.hamburger-nav .wpmm-switcher {
	margin-right: 0;
	display: flex !important;
	align-items: baseline;
	flex-wrap: wrap;
	gap: .4em;
	line-height: 1.4;
}
.slide-in-overlay .wpmm-switcher__toggle,
.mobile-menu .wpmm-switcher__toggle,
.hamburger-nav .wpmm-switcher__toggle {
	padding-top: 0;
	padding-left: 0;
	pointer-events: none; /* purely a label — no click behavior needed */
	display: inline-flex !important;
}
.slide-in-overlay .wpmm-switcher__caret,
.mobile-menu .wpmm-switcher__caret,
.hamburger-nav .wpmm-switcher__caret {
	display: none !important;
}
.slide-in-overlay .wpmm-switcher__menu,
.mobile-menu .wpmm-switcher__menu,
.hamburger-nav .wpmm-switcher__menu {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: baseline;
	gap: .4em;
	position: static !important;
	width: auto !important;
	max-width: none !important;
	max-height: none !important;
	height: auto !important;
	opacity: 1 !important;
	visibility: visible !important;
	overflow: visible !important;
	transform: none !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	list-style: none;
}
.slide-in-overlay .wpmm-switcher__menu > li,
.mobile-menu .wpmm-switcher__menu > li,
.hamburger-nav .wpmm-switcher__menu > li {
	display: inline-flex !important;
	align-items: baseline;
	opacity: 1 !important;
	max-height: none !important;
	height: auto !important;
	visibility: visible !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1.4;
}
/* Prepend "/" separator before every item (one before the first item too,
   which sits after the "EN" label — giving EN / 繁 / 简). */
.slide-in-overlay .wpmm-switcher__menu > li::before,
.mobile-menu .wpmm-switcher__menu > li::before,
.hamburger-nav .wpmm-switcher__menu > li::before {
	content: "/";
	opacity: .5;
	margin-right: .4em;
}
.slide-in-overlay .wpmm-switcher__menu > li > a,
.mobile-menu .wpmm-switcher__menu > li > a,
.hamburger-nav .wpmm-switcher__menu > li > a {
	padding: 0 !important;
	font-size: 1em;
	display: inline !important;
	opacity: 1 !important;
}
} /* end @media (max-width: 1024px) */
