/* Vinspiration header: a thin, full-width black bar that floats over the page,
   hides on scroll down and comes back on scroll up. Header template #129, container 3c32378. */
:root {
	--vsh-bg: #000;
	--vsh-admin: 0px;
	--vsh-logo-h: 15px; /* height of the wordmark itself (tagline cropped) */
}
body.admin-bar { --vsh-admin: 32px; }
@media (max-width: 782px) { body.admin-bar { --vsh-admin: 46px; } }
@media (max-width: 600px) { body.admin-bar { --vsh-admin: 0px; } }
@media (max-width: 767px) { :root { --vsh-logo-h: 13px; } }

.elementor-location-header .elementor-element.elementor-element-3c32378 {
	position: fixed !important;
	top: var(--vsh-admin) !important;
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--vsh-bg) !important;
	box-shadow: 0 4px 18px rgba(0, 0, 0, .22);
	z-index: 999 !important;
	/* translate stays "none" while visible, and no will-change: any translate value creates
	   a containing block and would trap the fixed off-canvas mobile menu inside the header. */
	translate: none;
	transition: translate .35s cubic-bezier(.4, 0, .2, 1);
}
.elementor-location-header .elementor-element.elementor-element-3c32378.vsh-hidden {
	translate: 0 calc(-100% - var(--vsh-admin) - 8px);
}

/* Thinner: less padding around the row, a smaller logo, tighter menu links */
.elementor-location-header .elementor-element-3c32378 > .e-con-inner {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
	background: none !important;
}
.elementor-location-header .elementor-element-3c32378 .elementor-element-8480afb,
.elementor-location-header .elementor-element-3c32378 .elementor-element-fdab016 {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
/* Logo without the "WINE · FOOD · CULTURE" tagline: the image (logo-vinspiration-1.png, 1754x413)
   has the wordmark on rows 59–234 and the tagline below it. Show only the wordmark by
   sizing the image so the wordmark is --vsh-logo-h tall and clipping the rest. */
.elementor-location-header .elementor-element-3c32378 .elementor-element-d188c8c .elementor-widget-container,
.elementor-location-header .elementor-element-3c32378 .elementor-element-d188c8c a {
	display: block;
	height: var(--vsh-logo-h) !important;
	/* clip only top/bottom (the tagline); never cut the wordmark's sides on narrow screens */
	overflow-x: visible;
	overflow-y: clip;
	line-height: 0;
}
.elementor-location-header .elementor-element-3c32378 .elementor-element-d188c8c img {
	height: calc(var(--vsh-logo-h) * 413 / 175) !important;
	width: auto !important;
	max-width: none !important;
	max-height: none !important;
	/* position:relative + top (not margin-top): overflow:clip does not start a new block
	   formatting context, so a negative margin would collapse out and move the whole logo up */
	position: relative;
	top: calc(var(--vsh-logo-h) * -59 / 175) !important;
	margin: 0 !important;
	display: block;
	/* all white, including the wine in the glass */
	filter: brightness(0) invert(1);
}

/* The same logo inside the mobile off-canvas menu panel (Jeg Kit .jkit-nav-logo):
   white, tagline cropped, same technique as above */
.elementor-location-header .elementor-element-3c32378 .jkit-nav-identity-panel .jkit-nav-logo {
	--vsh-panel-logo-h: 16px;
	display: block;
	box-sizing: content-box;
	padding: 0 !important; /* Jeg Kit adds 5px, which shifts the crop */
	margin: 5px 0;
	height: var(--vsh-panel-logo-h) !important;
	overflow-x: visible;
	overflow-y: clip;
	line-height: 0;
}
.elementor-location-header .elementor-element-3c32378 .jkit-nav-identity-panel .jkit-nav-logo img {
	height: calc(var(--vsh-panel-logo-h) * 413 / 175) !important;
	width: auto !important;
	max-width: none !important;
	max-height: none !important;
	position: relative;
	top: calc(var(--vsh-panel-logo-h) * -59 / 175) !important;
	margin: 0 !important;
	display: block;
	filter: brightness(0) invert(1);
}

/* Menu links: smaller, in Varela Round (already loaded by the site), desktop bar and mobile panel */
.elementor-location-header .elementor-element-3c32378 .jkit-menu > li > a {
	font-family: "Varela Round", sans-serif !important;
	font-size: 14px !important;
	font-weight: 400 !important;
	letter-spacing: .3px !important;
}
@media (max-width: 1024px) {
	.elementor-location-header .elementor-element-3c32378 .jkit-menu > li > a { font-size: 15px !important; }
}

/* Logo and menu spread across 95% of the screen width */
.elementor-location-header .elementor-element.elementor-element-3c32378 > .e-con-inner {
	width: 95% !important;
	max-width: 95% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	justify-content: space-between !important;
}
.elementor-location-header .elementor-element-3c32378 .elementor-element-abf9c2f .jkit-menu > li > a {
	padding-top: 6px !important;
	padding-bottom: 6px !important;
}

@media (max-width: 767px) {
	.elementor-location-header .elementor-element-3c32378 > .e-con-inner {
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}
}
@media (prefers-reduced-motion: reduce) {
	.elementor-location-header .elementor-element.elementor-element-3c32378 { transition: none; }
}
