/* Scoped to the native Astra element; menus and shortcode instances are unchanged. */
.vernacore-astra-switcher {
	min-width: 0;
	gap: 0;
	margin-inline: var(--vcore-astra-spacing, 8px);
	color: var(--vcore-astra-color, inherit);
	font-size: var(--vcore-astra-size, 14px);
	line-height: 1.3;
}
.vernacore-astra-switcher .vernacore-switcher { margin: 0; }
.vernacore-astra-switcher .vernacore-switcher__flag img {
	width: var(--vcore-astra-flag, 22px);
	height: calc(var(--vcore-astra-flag, 22px) * 0.6667);
}
.vernacore-astra-switcher .vernacore-switcher__list { margin: 0; gap: 0.3em; }
.vernacore-astra-switcher .vernacore-dropdown__toggle { padding: 0.45em 0.55em; }
.vernacore-astra-switcher .vernacore-switcher__link { color: inherit; text-decoration: none; }
.vernacore-astra-switcher .vernacore-switcher__link:hover:not(:focus-visible) { outline: none; }
.vernacore-astra-switcher .vernacore-switcher__link:focus-visible { outline-color: var(--vernacore-dropdown-focus-color, #4f46e5); }
.vernacore-astra-switcher .vernacore-dropdown__list .is-current,
.vernacore-astra-switcher .vernacore-dropdown__list a:hover,
.vernacore-astra-switcher .vernacore-dropdown__list a:focus-visible { color: inherit; background: rgb(127 127 127 / 12%); }
.vernacore-astra-switcher__empty { max-width: 20rem; padding: 0.6rem; font-size: 13px; }
.vernacore-astra-switcher[data-vcore-device="mobile"] .vernacore-dropdown__list { position: static; margin-block-start: 0.35rem; }

/* Header rows must not grow when opened; drawer instances stay in normal flow. */
.site-header-section > .vernacore-astra-switcher[data-vcore-device="mobile"] .vernacore-dropdown__list {
	position: absolute;
	margin-block-start: 0;
}
