/*
 * Vita Header Menu
 *
 * Every value the widget's Style tab controls is a --vh-* custom property set
 * on .vh, with the fallback written here. The bar holds two layouts:
 *   .vh-full     logo, menu and buttons
 *   .vh-compact  logo, hamburger and any buttons kept in the bar
 * .is-collapsed (set by vita-header-menu.js) switches from one to the other.
 */

.vh {
	--_speed: var(--vh-speed, 350ms);
	--_ease: cubic-bezier(0.22, 0.8, 0.24, 1);
	position: relative;
	z-index: var(--vh-z, 100);
	width: 100%;
}

.vh,
.vh *,
.vh *::before,
.vh *::after {
	box-sizing: border-box;
}

/* Theme resets: keep headings, lists, links and buttons from inheriting theme styles. */
.vh ul,
.vh li {
	list-style: none;
	margin: 0;
	padding: 0;
}

.vh li::before,
.vh li::marker {
	content: none;
}

.vh a {
	text-decoration: none;
	box-shadow: none;
}

.vh img {
	border: 0;
	box-shadow: none;
	border-radius: 0;
}

.vh .vh-burger,
.vh .vh-sub-toggle,
.vh .vh-close {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: transparent;
	color: inherit;
	font: inherit;
	font-weight: inherit;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	line-height: 1;
	white-space: normal;
	width: auto;
	height: auto;
	min-width: 0;
	min-height: 0;
	cursor: pointer;
}

/* Themes colour buttons on hover and focus; these stay the widget's colours. */
.vh button.vh-sub-toggle:is(:hover, :focus, :active) {
	color: inherit;
	background: transparent;
	box-shadow: none;
}

.vh :focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.vh-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.vh-notice {
	padding: 6px 10px;
	border: 1px dashed currentColor;
	font-size: 13px;
	opacity: 0.7;
}

/* ------------------------------------------------------------------ Bar */

.vh-bar {
	position: relative;
	background-color: #fff;
	border-bottom: var(--vh-border-w, 0px) solid var(--vh-border-c, transparent);
	transition:
		background-color var(--_speed) ease,
		box-shadow var(--_speed) ease,
		border-color var(--_speed) ease,
		transform var(--_speed) var(--_ease);
}

.vh-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	max-width: var(--vh-max, none);
	min-height: var(--vh-min-h, 72px);
	margin-inline: auto;
	padding: 0 24px;
	transition: min-height var(--_speed) var(--_ease), padding var(--_speed) var(--_ease);
}

.vh-full,
.vh-compact {
	grid-area: 1 / 1;
	display: grid;
	align-items: center;
	column-gap: var(--vh-gap, 32px);
	width: 100%;
	min-width: 0;
}

.vh-full {
	grid-template-columns: auto minmax(0, 1fr) auto;
}

.vh--sym .vh-full,
.vh-compact {
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
}

.vh-compact {
	display: none;
}

.vh-z {
	display: flex;
	align-items: center;
	min-width: 0;
	grid-row: 1;
}

.vh-z--start {
	grid-column: 1;
	justify-content: flex-start;
}

.vh-z--center {
	grid-column: 2;
	justify-content: center;
}

.vh-z--end {
	grid-column: 3;
	justify-content: flex-end;
}

/* Natural width of each zone's contents: this is what the script measures. */
.vh-zc {
	display: flex;
	align-items: center;
	gap: var(--vh-gap, 32px);
	flex: none;
	width: max-content;
}

/* Logo on top, menu underneath */
.vh--stack .vh-full {
	grid-template-columns: minmax(0, 1fr);
	row-gap: var(--vh-row-gap, 12px);
	padding-block: 12px;
}

.vh--stack .vh-full .vh-z {
	grid-column: 1;
	justify-content: center;
}

.vh--stack .vh-full .vh-z--center {
	grid-row: 2;
}

/* Collapsed: hide the full layout but keep it measurable. */
.vh.is-collapsed .vh-full {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0;
	overflow: hidden;
	visibility: hidden;
	pointer-events: none;
}

.vh.is-collapsed .vh-compact {
	display: grid;
}

/* Phone too narrow for the buttons kept in the bar: text buttons move to the panel. */
.vh.is-tight .vh-compact .vh-btn--spill,
.vh:not(.is-tight) .vh-pactions .vh-btn--spilled {
	display: none;
}

.vh-pactions:not(:has(.vh-btn:not(.vh-btn--spilled))) {
	display: none;
}

.vh.is-tight .vh-pactions:has(.vh-btn--spilled) {
	display: flex;
}

/* An open header sits above everything else on the page. */
.vh.is-open {
	z-index: 99990;
}

/* Before the script has run (or if an optimisation plugin delays it), phones get the hamburger. */
@media (max-width: 767px) {
	.vh:not(.is-ready):not(.vh--never) .vh-full {
		display: none;
	}

	.vh:not(.is-ready):not(.vh--never) .vh-compact {
		display: grid;
	}
}

/* Sticky and overlay */
.vh.is-fixed .vh-bar {
	position: fixed;
	top: var(--vh-top, 0px);
	left: 0;
	right: 0;
	z-index: var(--vh-z, 100);
}

/* Hide on scroll down: slides and/or fades, with its own speed (Sticky and scrolling). */
.vh.is-fixed .vh-bar {
	transition:
		background-color var(--_speed) ease,
		box-shadow var(--_speed) ease,
		border-color var(--_speed) ease,
		transform var(--vh-hide-speed, 450ms) cubic-bezier(0.4, 0, 0.2, 1),
		opacity var(--vh-hide-speed, 450ms) ease;
	will-change: transform;
}

.vh.is-hidden:not(.vh--hide-fade) .vh-bar {
	transform: translate3d(0, calc(-100% - var(--vh-top, 0px)), 0);
}

/* A logo hanging below the bar needs to travel further to leave the screen. */
.vh--logo-float.is-hidden:not(.vh--hide-fade) .vh-bar {
	transform: translate3d(0, calc(-100% - var(--vh-top, 0px) - var(--vh-logo-y, 0px) - 60px), 0);
}

.vh.is-hidden.vh--hide-fade .vh-bar,
.vh.is-hidden.vh--hide-slide-fade .vh-bar {
	opacity: 0;
	pointer-events: none;
}

.vh--overlay:not(.vh--editor) {
	height: 0;
}

.vh--overlay:not(.vh--editor):not(.is-fixed) .vh-bar {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.vh--measuring,
.vh--measuring * {
	transition: none !important;
}

/* ----------------------------------------------------------------- Logo */

.vh-logo {
	display: inline-flex;
	align-items: center;
	flex: none;
	color: var(--vh-logo-text, inherit);
	transform: translate(var(--vh-logo-x, 0px), var(--vh-logo-y, 0px));
	transition: opacity 0.2s ease, transform var(--_speed) var(--_ease);
}

a.vh-logo:hover {
	opacity: var(--vh-logo-hover, 1);
}

.vh .vh-logo-img {
	display: block;
	width: var(--vh-logo-w, 140px);
	max-width: none;
	height: auto;
	transition: width var(--_speed) var(--_ease);
}

.vh-compact .vh-logo-img {
	width: var(--vh-logo-cw, var(--vh-logo-w, 140px));
}

/* "Logo can be taller than the bar": the logo no longer sets the bar's height. */
.vh--logo-float .vh-bar .vh-logo {
	height: 0;
	overflow: visible;
}

.vh-logo-text {
	font-size: 1.35em;
	font-weight: 700;
	line-height: 1.1;
	white-space: nowrap;
}

/* ----------------------------------------------------------- Menu links */

.vh .vh-link {
	color: inherit;
}

.vh-full .vh-menu {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	gap: var(--vh-item-gap, 28px);
}

.vh-item {
	position: relative;
}

.vh-row {
	display: flex;
	align-items: center;
}

.vh-link {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
	line-height: 1.2;
	transition: color 0.2s ease, background-color 0.2s ease;
}

.vh-text {
	position: relative;
}

.vh-full .vh-menu > .vh-item > .vh-row {
	color: var(--vh-link, #1a1a1a);
	transition: color 0.2s ease;
}

.vh-full .vh-menu > .vh-item > .vh-row > .vh-link:not(.vh-btn) {
	padding: 8px 2px;
	border-radius: var(--vh-link-radius, 0px);
	background-color: var(--vh-link-bg, transparent);
}

.vh-full .vh-menu > .vh-item:is(:hover, :focus-within, .is-open) > .vh-row {
	color: var(--vh-link-hover, var(--vh-fx, #6b6b6b));
}

.vh-full .vh-menu > .vh-item:is(:hover, :focus-within, .is-open) > .vh-row > .vh-link:not(.vh-btn) {
	background-color: var(--vh-link-hover-bg, var(--vh-link-bg, transparent));
}

.vh-full .vh-menu > .vh-item:is(.is-current, .is-current-parent) > .vh-row {
	color: var(--vh-link-active, var(--vh-link-hover, var(--vh-fx, #6b6b6b)));
}

.vh-full .vh-menu > .vh-item:is(.is-current, .is-current-parent) > .vh-row > .vh-link:not(.vh-btn) {
	background-color: var(--vh-link-active-bg, var(--vh-link-hover-bg, var(--vh-link-bg, transparent)));
}

/* Hover and current effects */
.vh-full .vh-menu > .vh-item > .vh-row > .vh-link:not(.vh-btn) .vh-text::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: calc(-1 * var(--vh-fx-off, 6px) - var(--vh-fx-h, 2px));
	height: var(--vh-fx-h, 2px);
	background: var(--vh-fx, currentColor);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.3s var(--_ease), opacity 0.3s ease;
	pointer-events: none;
}

.vh--fx-none .vh-full .vh-link .vh-text::after {
	display: none;
}

.vh--fx-grow .vh-full .vh-menu > .vh-item > .vh-row > .vh-link .vh-text::after {
	transform-origin: center;
}

.vh--fx-overline .vh-full .vh-menu > .vh-item > .vh-row > .vh-link .vh-text::after {
	bottom: auto;
	top: calc(-1 * var(--vh-fx-off, 6px) - var(--vh-fx-h, 2px));
}

.vh--fx-dot .vh-full .vh-menu > .vh-item > .vh-row > .vh-link .vh-text::after {
	left: 50%;
	right: auto;
	width: var(--vh-fx-h, 5px);
	height: var(--vh-fx-h, 5px);
	bottom: calc(-1 * var(--vh-fx-off, 6px) - var(--vh-fx-h, 5px));
	margin-left: calc(var(--vh-fx-h, 5px) / -2);
	border-radius: 50%;
	transform: scale(0);
}

.vh-full .vh-menu > .vh-item:is(:hover, :focus-within, .is-open, .is-current, .is-current-parent) > .vh-row > .vh-link .vh-text::after {
	transform: none;
}

/* Arrow / submenu toggle */
.vh .vh-sub-toggle {
	display: inline-grid;
	place-items: center;
	padding: 6px 4px;
}

/* Icon rules are written stronger than page-builder add-ons' global "svg" rules
   (for example Jeg Elementor Kit's .elementor-element svg { width: 1em }). */
.vh svg.vh-caret {
	fill: none;
	width: var(--vh-caret, 10px);
	height: auto;
	transition: transform 0.25s ease;
}

.vh--no-caret .vh-full .vh-sub-toggle {
	position: absolute;
	right: 0;
	opacity: 0;
	pointer-events: none;
}

.vh--no-caret .vh-full .vh-sub-toggle:focus-visible {
	opacity: 1;
}

.vh-full .vh-menu > .vh-item.is-open > .vh-row .vh-caret {
	transform: rotate(180deg);
}

/* ------------------------------------------------------------ Dropdowns */

.vh-full .vh-sub {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 20;
	min-width: var(--vh-dd-w, 220px);
	margin-top: var(--vh-dd-off, 8px);
	padding: 8px 0;
	background: var(--vh-dd-bg, #fff);
	border-radius: var(--vh-dd-radius, 6px);
	box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

/* Keeps the dropdown open while the pointer crosses the gap. */
.vh-full .vh-sub::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 100%;
	height: calc(var(--vh-dd-off, 8px) + 4px);
}

.vh-full .vh-sub .vh-sub {
	top: -8px;
	left: 100%;
	margin-top: 0;
	margin-left: 4px;
}

.vh-full .vh-sub .vh-sub::before {
	top: 0;
	bottom: 0;
	left: -8px;
	right: auto;
	width: 8px;
	height: auto;
}

.vh-full .vh-menu > .vh-item.is-flip > .vh-sub {
	left: auto;
	right: 0;
}

.vh-full .vh-sub .vh-item.is-flip > .vh-sub {
	left: auto;
	right: 100%;
	margin-left: 0;
	margin-right: 4px;
}

.vh--sub-hover .vh-full .vh-item:is(:hover, :focus-within) > .vh-sub,
.vh-full .vh-item.is-open > .vh-sub {
	opacity: 1;
	visibility: visible;
	transform: none;
	transition-delay: 0s;
}

.vh-full .vh-sub .vh-item + .vh-item {
	border-top: 1px solid var(--vh-dd-divider, transparent);
}

.vh-full .vh-sub .vh-row {
	color: var(--vh-dd-link, #1a1a1a);
	transition: color 0.2s ease, background-color 0.2s ease;
}

.vh-full .vh-sub .vh-row > .vh-link {
	flex: 1;
	padding: 10px 18px;
}

.vh-full .vh-sub .vh-row > .vh-sub-toggle {
	padding-inline: 10px 14px;
}

.vh-full .vh-sub .vh-caret {
	transform: rotate(-90deg);
}

.vh-full .vh-sub .vh-item.is-flip > .vh-row .vh-caret {
	transform: rotate(90deg);
}

.vh-full .vh-sub .vh-item:is(:hover, :focus-within, .is-open) > .vh-row {
	color: var(--vh-dd-link-hover, var(--vh-dd-link, #1a1a1a));
	background: var(--vh-dd-hover-bg, rgba(0, 0, 0, 0.05));
}

.vh-full .vh-sub .vh-item.is-current > .vh-row {
	color: var(--vh-dd-link-active, var(--vh-dd-link-hover, var(--vh-dd-link, #1a1a1a)));
}

/* -------------------------------------------------------------- Buttons */

.vh-actions {
	display: flex;
	align-items: center;
	gap: var(--vh-btn-gap, 12px);
}

.vh .vh-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--vh-btn-icon-gap, 0.5em);
	padding: 0.75em 1.4em;
	border: var(--vh-btn-bw, 1px) solid transparent;
	border-radius: 4px;
	font-size: 0.95em;
	line-height: 1.1;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.vh .vh-btn--filled {
	color: var(--vh-b-text, var(--vh-fill-text, #fff));
	background-color: var(--vh-b-bg, var(--vh-fill-bg, #1a1a1a));
	border-color: var(--vh-b-border, var(--vh-fill-border, var(--vh-b-bg, var(--vh-fill-bg, #1a1a1a))));
}

.vh .vh-btn--filled:is(:hover, :focus-visible) {
	color: var(--vh-b-text-h, var(--vh-fill-text-h, var(--vh-b-text, var(--vh-fill-text, #fff))));
	background-color: var(--vh-b-bg-h, var(--vh-fill-bg-h, #444));
	border-color: var(--vh-b-border-h, var(--vh-fill-border-h, var(--vh-b-bg-h, var(--vh-fill-bg-h, #444))));
}

.vh .vh-btn--outline {
	color: var(--vh-b-text, var(--vh-out-text, var(--vh-link, #1a1a1a)));
	background-color: var(--vh-b-bg, var(--vh-out-bg, transparent));
	border-color: var(--vh-b-border, var(--vh-out-border, currentColor));
}

.vh .vh-btn--outline:is(:hover, :focus-visible) {
	color: var(--vh-b-text-h, var(--vh-out-text-h, var(--vh-link-hover, currentColor)));
	background-color: var(--vh-b-bg-h, var(--vh-out-bg-h, transparent));
	border-color: var(--vh-b-border-h, var(--vh-out-border-h, var(--vh-b-bg-h, var(--vh-out-bg-h, currentColor))));
}

.vh .vh-btn--text,
.vh .vh-btn--icon {
	padding: 6px;
	border-color: transparent;
	color: var(--vh-b-text, var(--vh-plain, var(--vh-link, #1a1a1a)));
	background-color: var(--vh-b-bg, transparent);
}

.vh .vh-btn--text {
	padding-inline: 2px;
}

.vh .vh-btn--text:is(:hover, :focus-visible),
.vh .vh-btn--icon:is(:hover, :focus-visible) {
	color: var(--vh-b-text-h, var(--vh-plain-h, var(--vh-link-hover, #6b6b6b)));
	background-color: var(--vh-b-bg-h, var(--vh-b-bg, transparent));
}

.vh-btn-icon {
	display: inline-flex;
	font-size: var(--vh-btn-icon, 1.2em);
	line-height: 1;
}

.vh-btn--icon .vh-btn-icon {
	font-size: var(--vh-btn-icon, 1.6em);
}

.vh .vh-btn-icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.vh .vh-btn-icon svg.vh-ico-line {
	fill: none;
}

.vh-count {
	display: inline-grid;
	place-items: center;
	min-width: 1.6em;
	height: 1.6em;
	padding: 0 0.4em;
	border-radius: 999px;
	background: var(--vh-count-bg, #c0392b);
	color: var(--vh-count-text, #fff);
	font-size: 0.68em;
	font-weight: 700;
	line-height: 1;
}

.vh-btn--icon .vh-count {
	position: absolute;
	top: -2px;
	right: -6px;
}

.vh:not(.vh--count-zero) .vh-count[data-count="0"] {
	display: none;
}

/* Menu items given the vh-button class */
.vh-full .vh-item--btn > .vh-row > .vh-link {
	padding: 0.65em 1.2em;
}

/* ------------------------------------------------------------ Hamburger */

.vh button.vh-burger {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 8px;
	color: var(--vh-burger-c, #1a1a1a);
	background: var(--vh-burger-bg, transparent);
	border: 1px solid var(--vh-burger-border, transparent);
	border-radius: var(--vh-burger-radius, 0px);
	transition: color 0.2s ease, background-color 0.2s ease;
}

.vh button.vh-burger:is(:focus, :active) {
	color: var(--vh-burger-c, #1a1a1a);
	background: var(--vh-burger-bg, transparent);
	box-shadow: none;
}

.vh button.vh-burger:is(:hover, :focus-visible) {
	color: var(--vh-burger-hc, var(--vh-burger-c, #1a1a1a));
	background: var(--vh-burger-hbg, var(--vh-burger-bg, transparent));
}

.vh.is-open button.vh-burger {
	color: var(--vh-burger-oc, var(--vh-burger-c, #1a1a1a));
}

.vh-burger--label-after .vh-burger-box {
	order: -1;
}

.vh-burger-label {
	line-height: 1;
}

.vh-burger-box {
	--_t: var(--vh-burger-t, 2px);
	--_g: var(--vh-burger-gap, 6px);
	position: relative;
	display: block;
	width: var(--vh-burger-w, 26px);
	height: calc(var(--_t) * 3 + var(--_g) * 2);
}

.vh-burger--two .vh-burger-box {
	height: calc(var(--_t) * 2 + var(--_g));
}

.vh-burger-box > span {
	position: absolute;
	left: 0;
	width: 100%;
	height: var(--_t);
	border-radius: var(--vh-burger-r, 2px);
	background: currentColor;
	transition: top 0.3s var(--_ease), transform 0.3s var(--_ease), opacity 0.2s ease, width 0.3s var(--_ease);
}

.vh-burger-box > span:nth-child(1) {
	top: 0;
}

.vh-burger-box > span:nth-child(2) {
	top: calc(50% - var(--_t) / 2);
}

.vh-burger-box > span:nth-child(3) {
	top: calc(100% - var(--_t));
}

.vh-burger--two .vh-burger-box > span:nth-child(2) {
	display: none;
}

.vh-burger--short .vh-burger-box > span:nth-child(2) {
	width: 60%;
}

.vh-z--end .vh-burger--short .vh-burger-box > span:nth-child(2),
.vh-z--end .vh-burger--steps .vh-burger-box > span {
	left: auto;
	right: 0;
}

.vh-burger--steps .vh-burger-box > span:nth-child(2) {
	width: 75%;
}

.vh-burger--steps .vh-burger-box > span:nth-child(3) {
	width: 50%;
}

/* The cross can be sized on its own (Style → Hamburger → Cross size). */
.vh.is-open .vh-burger--x .vh-burger-box > span {
	width: var(--vh-cross-w, 100%);
	left: calc(50% - var(--vh-cross-w, 100%) / 2);
	right: auto;
}

.vh.is-open .vh-burger--x .vh-burger-box > span:nth-child(1) {
	top: calc(50% - var(--_t) / 2);
	transform: rotate(45deg);
}

.vh.is-open .vh-burger--x .vh-burger-box > span:nth-child(2) {
	opacity: 0;
}

.vh.is-open .vh-burger--x .vh-burger-box > span:nth-child(3) {
	top: calc(50% - var(--_t) / 2);
	transform: rotate(-45deg);
}

/* ----------------------------------------------------------- Menu panel */

.vh-panel {
	position: fixed;
	inset: 0;
	z-index: calc(var(--vh-z, 100) + 2);
	visibility: hidden;
	pointer-events: none;
	transition: visibility 0s linear var(--_speed);
}

.vh.is-open .vh-panel {
	visibility: visible;
	pointer-events: auto;
	transition-delay: 0s;
}

.vh-overlay {
	position: absolute;
	inset: 0;
	background: var(--vh-overlay, rgba(0, 0, 0, 0.45));
	opacity: 0;
	transition: opacity var(--_speed) ease;
}

.vh.is-open .vh-overlay {
	opacity: 1;
}

.vh-drawer:focus {
	outline: none;
}

.vh-drawer {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(var(--vh-panel-w, 360px), 100%);
	display: flex;
	flex-direction: column;
	gap: var(--vh-pspace, 28px);
	padding: 20px 28px 32px;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	background-color: #fff;
	color: var(--vh-plink, #1a1a1a);
	text-align: var(--vh-palign, left);
	transform: translateX(100%);
	transition: transform var(--_speed) var(--_ease), opacity var(--_speed) ease;
}

.vh--panel-slide-left .vh-drawer {
	right: auto;
	left: 0;
	transform: translateX(-100%);
}

.vh.is-open .vh-drawer {
	transform: none;
}

.vh--panel-fullscreen .vh-drawer {
	left: 0;
	width: 100%;
	transform: none;
	opacity: 0;
}

.vh--panel-fullscreen.is-open .vh-drawer {
	opacity: 1;
}

.vh--panel-fullscreen .vh-pnav {
	margin-block: auto;
}

.vh--panel-dropdown .vh-panel {
	top: var(--vh-panel-top, 0px);
}

.vh--panel-dropdown .vh-drawer {
	left: 0;
	bottom: auto;
	width: 100%;
	max-height: 100%;
	padding-top: 12px;
	opacity: 0;
	transform: translateY(-10px);
}

.vh--panel-dropdown.is-open .vh-drawer {
	opacity: 1;
}

.vh-phead {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 44px;
}

.vh-plogo .vh-logo {
	transform: none;
}

.vh .vh-plogo .vh-logo-img {
	width: var(--vh-plogo-w, 120px);
}

.vh .vh-close {
	display: inline-grid;
	place-items: center;
	margin-left: auto;
	padding: 8px;
}

.vh button.vh-close,
.vh button.vh-close:is(:hover, :focus, :active) {
	color: var(--vh-close, currentColor);
	background: transparent;
	box-shadow: none;
}

.vh .vh-close svg.vh-close-icon {
	fill: none;
	width: var(--vh-close-size, 26px);
	height: var(--vh-close-size, 26px);
}

/* Panel links */
.vh-pnav .vh-menu {
	display: flex;
	flex-direction: column;
}

.vh-pnav .vh-item {
	border-bottom: 1px solid var(--vh-pdivider, transparent);
}

.vh-pnav .vh-sub .vh-item:last-child {
	border-bottom: 0;
}

.vh-pnav .vh-row {
	justify-content: var(--vh-pjustify, flex-start);
	gap: 8px;
	color: var(--vh-plink, #1a1a1a);
	transition: color 0.2s ease;
}

.vh-pnav .vh-link {
	padding-block: var(--vh-pitem-pad, 12px);
	white-space: normal;
}

.vh-pnav .vh-menu > .vh-item > .vh-row > .vh-link {
	font-size: 1.15em;
}

.vh-pnav .vh-item:is(:hover, .is-open) > .vh-row,
.vh-pnav .vh-row:focus-within {
	color: var(--vh-plink-hover, var(--vh-plink, #1a1a1a));
}

.vh-pnav .vh-item:is(.is-current, .is-current-parent) > .vh-row {
	color: var(--vh-plink-active, var(--vh-plink-hover, var(--vh-plink, #1a1a1a)));
}

.vh-pnav .vh-item--btn > .vh-row > .vh-link {
	margin-block: 8px;
	padding: 0.75em 1.4em;
}

.vh-pnav .vh-sub {
	display: none;
	padding-left: var(--vh-psub-indent, 16px);
	padding-bottom: 8px;
}

.vh-pnav .vh-item.is-open > .vh-sub {
	display: block;
}

.vh .vh-pnav .vh-sub-toggle {
	padding: 10px;
	margin-right: -10px;
}

.vh .vh-pnav svg.vh-caret {
	width: var(--vh-caret, 12px);
}

.vh-pnav .vh-item.is-open > .vh-row .vh-caret {
	transform: rotate(180deg);
}

.vh-pactions {
	flex-direction: column;
	align-items: var(--vh-pjustify, flex-start);
}

.vh--pbtn-full .vh-pactions {
	align-items: stretch;
}

.vh .vh-pactions .vh-btn--text {
	justify-content: var(--vh-pjustify, flex-start);
	padding-inline: 0;
}

.vh-ptext {
	color: var(--vh-ptext, inherit);
	font-size: 0.9em;
	line-height: 1.6;
}

.vh-ptext p {
	margin: 0 0 0.6em;
}

.vh-ptext p:last-child {
	margin-bottom: 0;
}

/* Page scroll is locked while the panel is open. */
html.vh-lock,
html.vh-lock body {
	overflow: hidden;
}

html.vh-lock {
	scrollbar-gutter: stable;
}

/* ---------------------------------------------------------------- Editor */

.vh--editor .vh-panel {
	position: absolute;
	top: 100%;
	bottom: auto;
	height: 80vh;
}

.vh--editor.vh--panel-dropdown .vh-panel {
	top: 100%;
}

@media (prefers-reduced-motion: reduce) {
	.vh,
	.vh * {
		transition-duration: 1ms !important;
	}
}
