.elementor-widget-container.premium-cursor-ftext .premium-global-cursor-{{ID}} .premium-cursor-follow-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-container .premium-global-cursor-{{ID}}{color:var( --e-global-color-primary );fill:var( --e-global-color-primary );}.elementor-widget-container .premium-global-badge-{{ID}} .premium-badge-text{color:var( --e-global-color-secondary );}.elementor-widget-container.pa-bg-clipped-yes.premium-gbadge-custom .premium-global-badge-{{ID}} .premium-badge-text, .elementor-widget-container:not(.premium-gbadge-custom) .premium-global-badge-{{ID}} .premium-badge-container, .elementor-widget-container.premium-gbadge-custom:not(.pa-bg-clipped-yes) .premium-global-badge-{{ID}} .premium-badge-container{background-color:var( --e-global-color-primary );}.elementor-widget-container .premium-global-badge-{{ID}} .premium-badge-icon{color:var( --e-global-color-secondary );fill:var( --e-global-color-secondary );}.elementor-146 .elementor-element.elementor-element-c20c3d5{--display:flex;--position:absolute;top:0px;}body:not(.rtl) .elementor-146 .elementor-element.elementor-element-c20c3d5{left:0px;}body.rtl .elementor-146 .elementor-element.elementor-element-c20c3d5{right:0px;}.elementor-widget-html.premium-cursor-ftext .premium-global-cursor-{{ID}} .premium-cursor-follow-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-html .premium-global-cursor-{{ID}}{color:var( --e-global-color-primary );fill:var( --e-global-color-primary );}.elementor-widget-html .premium-global-badge-{{ID}} .premium-badge-text{color:var( --e-global-color-secondary );}.elementor-widget-html.pa-bg-clipped-yes.premium-gbadge-custom .premium-global-badge-{{ID}} .premium-badge-text, .elementor-widget-html:not(.premium-gbadge-custom) .premium-global-badge-{{ID}} .premium-badge-container, .elementor-widget-html.premium-gbadge-custom:not(.pa-bg-clipped-yes) .premium-global-badge-{{ID}} .premium-badge-container{background-color:var( --e-global-color-primary );}.elementor-widget-html .premium-global-badge-{{ID}} .premium-badge-icon{color:var( --e-global-color-secondary );fill:var( --e-global-color-secondary );}body:not(.rtl) .elementor-146 .elementor-element.elementor-element-513326d{left:0vh;}body.rtl .elementor-146 .elementor-element.elementor-element-513326d{right:0vh;}.elementor-146 .elementor-element.elementor-element-513326d{top:0px;z-index:0;}.elementor-146 .elementor-element.elementor-element-6c93e52{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-513326d */.elementor-146 .elementor-element.elementor-element-513326d,
.elementor-146 .elementor-element.elementor-element-513326d > * {
  position: absolute;
  pointer-events: none;
  height: 100%;
  width: 100%;
  overflow: hidden;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-32e89db */.elementor-146 .elementor-element.elementor-element-32e89db{
    display: contents;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-6c93e52 */.elementor-146 .elementor-element.elementor-element-6c93e52{
    display: none;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-58602eb */.elementor-146 .elementor-element.elementor-element-58602eb{
    display: none;
    pointer-events: none;
}/* End custom CSS */
/* Start custom CSS */@scope (.mrkt-header) {
  :is(.elementor-default) :scope {
    position: fixed;
    inset: 0 0 auto;
    z-index: 600;
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    background: transparent;
    pointer-events: auto;
    border-radius: 0;

    color: var(--mrkt-color-primary-900);
    width: auto;
    height: calc(var(--mrkt-header-height) * 0.7);

    gap: var(--mrkt-space-s);
    padding: 0;
    padding-top: var(--mrkt-space-xs);
    padding-inline: calc(var(--mrkt-section-padding-inline) / 6);
    box-shadow: 0px -20px 50px 10px var(--mrkt-color-primary-700) 50%, var(--mrkt-color-transparent);

    transition: all 0.3s ease-in-out;
  }

  @media only screen and (max-width: 767px)  {
    :is(.elementor-default) :scope {
      padding-inline: var(--mrkt-space-s);
    }
  }  
  
  :is(.elementor-default) :scope .mrkt-header__logo{
  width: 12rem;
  height: 100%;
  padding: 0;
  gap: 0;
  transition: all 0.3s ease-in-out;
  z-index: 1;
  }

  :is(.elementor-default) :scope.sticky .mrkt-header__logo{
  width: 14rem;
  }
  
:is(.elementor-default) :scope .mrkt-header__logo .cls-1{
      fill: white;
      transition: fill 0.3s ease-in-out;
  }
  
  :is(.elementor-default) :scope.sticky .mrkt-header__logo .cls-1,
  :root:has(.mrkt-hero-interior) :scope .mrkt-header__logo .cls-1{
      /* fill: #4f8c24; */
      fill: black;
  }

  
  :is(.elementor-default) :scope.sticky {
    padding-block: var(--header-padding-block);
    padding-inline: calc((var(--mrkt-section-padding-inline) / 6) + var(--mrkt-space-m));
    height: calc(var(--mrkt-header-height) * 1);
    border-bottom: 2px solid var(--mrkt-color-primary-900);
  }
  
  :is(.elementor-default) :scope.sticky:hover{
    box-shadow: 0px 0px 50px 10px color-mix(in oklch, var(--mrkt-color-primary-700) 50%, var(--mrkt-color-transparent));
    } 
}

/* ── Liquid glass ───────────────────────────────────────────── */
.liquid-glass { position: relative; overflow: visible; }

.liquid-glass::before,
.liquid-glass::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
}

.liquid-glass::after {               /* face + edge */
  z-index: 2;
  
  opacity: 0; transition: opacity .3s ease;
}

.liquid-glass::before {
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  filter: url(#glass-blur);

  opacity: 0;
  transition: opacity .3s ease;
}

/* reveal on sticky */
#mrkt-header.sticky.liquid-glass         { background-color: color-mix(in srgb, var(--mrkt-color-primary-50) 70%, transparent); }
#mrkt-header.sticky.liquid-glass::before { opacity: 1; }
#mrkt-header.sticky.liquid-glass::after  { opacity: 1; }

.mrkt-header .elementor-widget-premium-nav-menu .premium-nav-menu-container > .premium-main-nav-menu {
  flex-wrap: nowrap;
}


/* NAV STYLING */

@scope (.mrkt-header) {
	:scope {
		/* Positioning */
		--nav-z: 2;
		--panel-z: 920;
		--submenu-min-width: 13.5rem;
		--megamenu-min-width: min(64rem, calc(100vw - 2rem));
		--mobile-panel-max-height: 60rem;
		--mobile-nav-max-height: calc(100dvh - var(--mrkt-header-height) - var(--mrkt-space-s));

		/* Layout */
		container-type: size;
		--header-padding-block: var(--mrkt-space-s);
		--nav-gap: 0.55rem var(--mrkt-space-m);
		--nav-link-padding: 0.2rem 0;
		--burger-size: 2.75rem;
		--burger-line-width: 1.25rem;
		--burger-line-height: 2px;
		--burger-line-gap: 0.35rem;
		--mobile-nav-gap: 0.25rem;
		--mobile-nav-padding: 0.65rem;
		--mobile-nav-link-padding: 0.58rem 0.75rem;
		--submenu-gap: 0.25rem;
		--submenu-padding: 0.65rem;
		--submenu-link-padding: 0.58rem 0.75rem;

		/* Typography */
		--nav-link-font: var(--mrkt-font-body);
		--nav-link-size: 0.78rem;
		--nav-link-weight: var(--mrkt-type-weight-bold);
		--nav-link-line-height: 1;
		--nav-link-spacing: var(--mrkt-type-tracking-meta);
		--nav-link-transform: uppercase;
		--submenu-link-font: var(--mrkt-font-body);
		--submenu-link-size: 0.86rem;
		--submenu-link-weight: var(--mrkt-type-weight-bold);
		--submenu-link-line-height: var(--mrkt-type-line-compact);
		--submenu-link-spacing: normal;
		--submenu-link-transform: none;

		/* Style
		   Hover/active swap the white lines for walnut on a light
		   honey surface — white disappeared on the light popover and
		   page backgrounds. Active keeps that pairing and swaps the
		   ring to brand green. */
		--burger-color: var(--mrkt-color-white);
		--burger-color-hover: var(--mrkt-color-accent-walnut);
		--burger-color-active: var(--mrkt-color-accent-walnut);

		--burger-bg: var(--mrkt-color-primary-900);
		--burger-bg-hover: color-mix(in oklch, var(--mrkt-color-accent-honey) 25%, var(--mrkt-color-white));
		--burger-bg-active: color-mix(in oklch, var(--mrkt-color-accent-honey) 25%, var(--mrkt-color-white));

		--burger-border: 1px solid var(--mrkt-color-primary-900);
		--burger-border-hover: 1px solid var(--mrkt-color-accent-walnut);
		--burger-border-active: 1px solid var(--mrkt-color-primary-700);
		--burger-border-radius: 50%;
		--burger-shadow-active: 0 0 0 4px color-mix(in oklch, var(--mrkt-color-primary-700) 14%, var(--mrkt-color-transparent));
		--burger-focus-ring: 2px solid var(--mrkt-color-accent-walnut);

		--nav-link-color: var(--mrkt-color-white);
		--nav-link-color-hover: var(--mrkt-color-accent-walnut);
		--nav-link-color-active: var(--nav-link-color-hover);

		--mobile-nav-bg: color-mix(in oklch, var(--mrkt-color-white) 96%, var(--mrkt-color-transparent));
		--mobile-nav-color: var(--mrkt-color-text-primary);
		--mobile-nav-color-hover: var(--mrkt-color-accent-walnut);
		--mobile-nav-link-bg-hover: var(--mrkt-color-primary-50);
		--mobile-nav-link-bg-active: var(--mrkt-color-primary-50);
		--mobile-nav-link-color-active: var(--mrkt-color-accent-walnut);
		--mobile-nav-border-color: color-mix(in oklch, var(--mrkt-color-white) 78%, var(--mrkt-color-border-default));
		--mobile-nav-border-width: 1px;
		--mobile-nav-border-radius: var(--mrkt-radius-s);
		--mobile-nav-shadow: 0 1rem 2.5rem color-mix(in oklch, var(--mrkt-color-primary-900) 14%, var(--mrkt-color-transparent));

		--submenu-bg: color-mix(in oklch, var(--mrkt-color-white) 96%, var(--mrkt-color-transparent));
		--submenu-color: var(--mrkt-color-primary-900);
		--submenu-color-hover: var(--submenu-color);
		--submenu-color-active: var(--submenu-color);
		--submenu-border-color: color-mix(in oklch, var(--mrkt-color-white) 78%, var(--mrkt-color-border-default));
		--submenu-border-width: 1px;
		--submenu-border-radius: var(--mrkt-radius-s);
		--submenu-link-radius: var(--mrkt-radius-s);
		--submenu-link-bg-hover: var(--mrkt-color-primary-50);
		--submenu-shadow: 0 1rem 2.5rem color-mix(in oklch, var(--mrkt-color-primary-900) 14%, var(--mrkt-color-transparent));

		/* Transition */
		--transition-speed: var(--mrkt-transition-soft);
		--transition-offset: var(--mrkt-space-s, 1rem);
		--transition-scale: 0.96;
		--transition-open: 360ms cubic-bezier(0.22, 1, 0.36, 1);
		--transition-close: 160ms cubic-bezier(0.4, 0, 1, 1);
		--transition-delay: 160ms;
		--burger-transition: 260ms cubic-bezier(0.22, 1, 0.36, 1);
	}

	:scope .mrkt-header__nav-burger {
		/* Reset Elementor */
		min-width: 0;
		min-height: 0;
		margin: 0;
		padding: 0;

		/* Positioning */
		position: relative;
		anchor-name: --mrkt-nav-burger;

		/* Layout */
		display: none;
		width: var(--burger-size);
		height: var(--burger-size);
		flex: 0 0 var(--burger-size);

		/* Style */
		appearance: none;
		color: var(--burger-color);
		background: var(--burger-bg);
		border: var(--burger-border);
		border-radius: var(--burger-border-radius);
		box-shadow: none;
		cursor: pointer;
		touch-action: manipulation;
		-webkit-tap-highlight-color: transparent;

		/* Transition */
		transition:
			color var(--transition-speed),
			background-color var(--transition-speed),
			border-color var(--transition-speed),
			box-shadow var(--transition-speed),
			transform var(--transition-speed);
	}

	:scope .mrkt-header__nav-burger > span {
		/* Positioning */
		position: absolute;
		top: 50%;
		left: 50%;

		/* Layout */
		display: block;
		width: var(--burger-line-width);
		height: var(--burger-line-height);

		/* Style */
		background: currentColor;
		border-radius: 999px;
		pointer-events: none;

		/* Transition */
		transition:
			transform var(--burger-transition),
			opacity var(--transition-speed);
	}

	:scope .mrkt-header__nav-burger > span:nth-child(1) {
		transform: translate(-50%, -50%) translateY(calc(0rem - var(--burger-line-gap)));
	}

	:scope .mrkt-header__nav-burger > span:nth-child(2) {
		transform: translate(-50%, -50%);
	}

	:scope .mrkt-header__nav-burger > span:nth-child(3) {
		transform: translate(-50%, -50%) translateY(var(--burger-line-gap));
	}

	:scope .mrkt-header__nav-burger:hover {
		color: var(--burger-color-hover);
		background: var(--burger-bg-hover);
		border-color: var(--burger-border-hover);
		transform: translateY(-1px);
	}

	:scope .mrkt-header__nav-burger:focus-visible {
		outline: var(--burger-focus-ring);
		outline-offset: 3px;
	}

	:scope[data-menu-state='open'] .mrkt-header__nav-burger {
		color: var(--burger-color-active);
		background: var(--burger-bg-active);
		box-shadow: var(--burger-shadow-active);
		border-color: var(--burger-border-active);
	}

	:scope[data-menu-state='open'] .mrkt-header__nav-burger > span:nth-child(1) {
		transform: translate(-50%, -50%) rotate(45deg);
	}

	:scope[data-menu-state='open'] .mrkt-header__nav-burger > span:nth-child(2) {
		opacity: 0;
		transform: translate(-50%, -50%) scaleX(0.2);
	}

	:scope[data-menu-state='open'] .mrkt-header__nav-burger > span:nth-child(3) {
		transform: translate(-50%, -50%) rotate(-45deg);
	}

	:scope .mrkt-header__nav {
		/* Reset Elementor */
		min-width: 0;
		min-height: 0;
		padding: 0;

		/* Positioning */
		position: relative;
		z-index: var(--nav-z);
		grid-column: 2;
		justify-self: center;

		/* Layout */
		width: auto;
		display: flex;
		align-items: center;
		justify-content: center;
		gap: var(--nav-gap);
	}

	:scope .mrkt-header__nav-link {
		/* Positioning */
		position: relative;
		z-index: var(--nav-z);

		/* Layout */
		display: inline-flex;
		align-items: center;
		margin: 0;
		padding: var(--nav-link-padding);

		/* Typography */
		font-family: var(--nav-link-font);
		font-size: var(--nav-link-size);
		font-weight: var(--nav-link-weight);
		line-height: var(--nav-link-line-height);
		letter-spacing: var(--nav-link-spacing);
		text-transform: var(--nav-link-transform);
		white-space: nowrap;

		/* Style */
		color: var(--nav-link-color);
		cursor: pointer;
		text-decoration: none;

		/* Transition */
		transition:
			color var(--transition-speed),
			opacity var(--transition-speed);
	}

	:scope .mrkt-header__nav-link > a {
		font: inherit;
		letter-spacing: inherit;
		text-transform: inherit;
		color: inherit;
		text-decoration: inherit;
	}

	:scope .mrkt-header__nav-link:is(:hover, :focus-visible, :focus-within) {
		color: var(--nav-link-color-hover);
	}

	:scope .mrkt-header__nav-link.is-active {
		color: var(--nav-link-color-active);
	}

	/* Walnut underline grows from the center on hover — plain links only;
	   triggers keep their chevron on ::after instead. */
	:scope .mrkt-header__nav-link:not(.mrkt-header__nav-trigger)::after {
		content: '';
		position: absolute;
		right: 0;
		bottom: -0.35rem;
		left: 0;
		height: 1px;
		background: var(--mrkt-color-accent-walnut);
		transform: scaleX(0);
		transform-origin: center;
		transition: transform var(--transition-speed);
	}

	:scope .mrkt-header__nav-link:not(.mrkt-header__nav-trigger):is(:hover, :focus-visible, :focus-within)::after,
	:scope .mrkt-header__nav-link:not(.mrkt-header__nav-trigger).is-active::after {
		transform: scaleX(1);
	}

	:scope .mrkt-header__nav-trigger {
		padding-right: 1.35rem;
		user-select: none;
	}

	/* The trigger's chevron: a rotated square that flips upward when open. */
	:scope .mrkt-header__nav-trigger::after {
		content: '';
		position: absolute;
		top: 50%;
		right: 0.35rem;
		width: 0.36rem;
		height: 0.36rem;
		border-right: 1px solid currentColor;
		border-bottom: 1px solid currentColor;
		transform: translateY(-68%) rotate(45deg);
		transition: transform var(--transition-speed);
	}

	:scope .mrkt-header__nav-trigger:is(:hover, :focus-within)::after {
		transform: translateY(-30%) rotate(225deg);
	}

	/* The hover bridge sits behind the panel now, so once the pointer lands on
	   the panel these keep the trigger styled while it stays open. */
	:scope .mrkt-header__nav-trigger:has(+ .mrkt-header__nav-panel:is(:hover, :focus-within)) {
		color: var(--nav-link-color-hover);
	}

	:scope .mrkt-header__nav-trigger:has(+ .mrkt-header__nav-panel:is(:hover, :focus-within))::after {
		transform: translateY(-30%) rotate(225deg);
	}

	/* Invisible ::before — megamenu/header triggers stretch it into a hover
	   bridge; without content: '' the pseudo-element never renders. */
	:scope .mrkt-header__nav-trigger::before {
		content: '';
		position: absolute;
		top: 50%;
		right: 0.35rem;
		width: 0.55rem;
		height: 1.5px;
		transform: translateY(-50%);
		background: transparent;
		border-radius: 999px;
		pointer-events: none;
		transition:
			transform var(--transition-speed),
			opacity var(--transition-speed);
	}

	:scope .mrkt-header__nav-megamenu-trigger:hover::before,
	:scope .mrkt-header__nav-trigger[data-anchor-bottom="header"]:hover::before {
		pointer-events: auto;
	}

	/* Invisible desktop hover bridge between a trigger and its visual panel. */
	:scope .mrkt-header__nav-panel {
		/* Reset Elementor */
		min-width: 0;
		min-height: 0;
		padding: 0;

		/* Positioning */
		position: fixed;
		z-index: var(--panel-z);

		/* Layout */
		width: auto;

		/* Hidden State */
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transform: translate3d(0, var(--transition-offset), 0) scaleY(var(--transition-scale));
		transform-origin: top center;

		/* Transition */
		transition:
			opacity var(--transition-speed),
			transform var(--transition-close),
			visibility 0s linear var(--transition-delay);
	}

	/* CSS-only: hover or focus on the trigger (or on the panel itself) keeps it open. */
	:scope .mrkt-header__nav-trigger:is(:hover, :focus-within) + .mrkt-header__nav-panel,
	:scope .mrkt-header__nav-panel:is(:hover, :focus-within) {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		transform: translate3d(0, 0, 0) scaleY(1);
		transition:
			opacity var(--transition-open),
			transform var(--transition-open),
			visibility 0s;
	}

	/* Submenu: left-aligned panel, visible surface, and links. */
	:scope .mrkt-header__nav-submenu {
		top: anchor(bottom);
		left: anchor(left);
		min-width: var(--submenu-min-width);
		padding-top: 0;
	}

	:scope .mrkt-header__submenu-links {
		/* Reset Elementor */
		min-width: 0;
		min-height: 0;
		padding: 0;

		/* Positioning */
		position: absolute;
		top: 0;
		left: 0;
		z-index: var(--nav-z);

		/* Layout */
		min-width: var(--submenu-min-width);
		display: grid;
		gap: var(--submenu-gap);
		padding: var(--submenu-padding);

		/* Style */
		background: var(--submenu-bg);
		border: var(--submenu-border-width) solid var(--submenu-border-color);
		border-radius: var(--submenu-border-radius);
		box-shadow: var(--submenu-shadow);
	}

	:scope .mrkt-header__submenu-link {
		/* Reset Elementor */
		min-width: 0;
		min-height: 0;
		margin: 0;
		padding: 0;

		/* Positioning */
		position: relative;

		/* Layout */
		width: 100%;
		display: block;
		border-radius: var(--submenu-link-radius);
		overflow: hidden;
		white-space: nowrap;

		/* Typography */
		font-family: var(--submenu-link-font);
		font-size: var(--submenu-link-size);
		font-weight: var(--submenu-link-weight);
		line-height: var(--submenu-link-line-height);
		letter-spacing: var(--submenu-link-spacing);
		text-transform: var(--submenu-link-transform);

		/* Style */
		color: var(--submenu-color);

		/* Transition */
		transition:
			color var(--transition-speed),
			transform var(--transition-speed);
	}

	:scope .mrkt-header__submenu-link > a {
		display: block;
		width: 100%;
		padding: var(--submenu-link-padding);
		font: inherit;
		letter-spacing: inherit;
		text-transform: inherit;
		color: inherit;
		text-decoration: inherit;
	}

	:scope .mrkt-header__submenu-link:is(:hover, :focus-visible, :focus-within) {
		color: var(--submenu-color-hover);
		background: var(--submenu-link-bg-hover);
	}

	:scope .mrkt-header__submenu-link.is-active {
		color: var(--submenu-color-active);
		background: var(--submenu-link-bg-hover);
	}

	/* Megamenu: panel attached to the header's bottom edge, centered on the trigger. */
	:scope .mrkt-header__nav-megamenu {
		top: 100cqh;
		left: anchor(center);
		min-width: var(--megamenu-min-width);
		padding-top: 0;
		translate: -50% 0;
	}

	/* Positioning presets: data-anchor-bottom / data-anchor-left on the trigger. */
	:scope .mrkt-header__nav-trigger[data-anchor-bottom="link"] + .mrkt-header__nav-panel {
		top: anchor(bottom);
	}

	:scope .mrkt-header__nav-trigger[data-anchor-bottom="header"] + .mrkt-header__nav-panel {
		top: 100cqh;
	}

	/* Sticky offset: the sticky header grows its padding-block, so the panel
	   would overlap it — push it down by the same amount. */
	:is(.elementor-default) :scope.sticky .mrkt-header__nav-trigger[data-anchor-bottom="header"] + .mrkt-header__nav-panel {
		top: calc(100cqh + 2 * var(--header-padding-block));
	}

	:scope .mrkt-header__nav-trigger[data-anchor-left="link"] + .mrkt-header__nav-panel {
		left: anchor(left);
		translate: none;
	}

	:scope .mrkt-header__nav-trigger[data-anchor-left="center-link"] + .mrkt-header__nav-panel {
		left: anchor(center);
		translate: -50% 0;
	}

	:scope .mrkt-header__nav-trigger[data-anchor-left="center"] + .mrkt-header__nav-panel {
		left: 50vw;
		translate: -50% 0;
	}

	/* The megamenu/header triggers stretch their ::before into an invisible
	   hover bridge down to the panel. z-index -1 keeps it under the trigger's
	   own <a> content; it still covers the gap below, where nothing else
	   paints at this stacking level. */
	:scope .mrkt-header__nav-megamenu-trigger::before,
	:scope .mrkt-header__nav-trigger[data-anchor-bottom="header"]::before {
		z-index: -1;
		left: 0;
		right: 0;
		width: auto;
		height: calc(100cqh + 2 * var(--header-padding-block) - 50%);
		transform: none;
		border-radius: 0;
		background: transparent;
	}

	:scope .mrkt-header__megamenu-content {
		/* In flow: sizes the panel, sits right at its top edge (header bottom). */
		position: relative;
	}

	:scope .mrkt-header__megamenu-link {
		/* Reset Elementor */
		min-width: 0;
		min-height: 0;
		margin: 0;
		padding: 0;

		/* Positioning */
		position: relative;

		/* Layout */
		width: 100%;
		display: block;
		border-radius: var(--submenu-link-radius);
		overflow: hidden;
		white-space: nowrap;

		/* Typography */
		font-family: var(--submenu-link-font);
		font-size: var(--submenu-link-size);
		font-weight: var(--submenu-link-weight);
		line-height: var(--submenu-link-line-height);
		letter-spacing: var(--submenu-link-spacing);
		text-transform: var(--submenu-link-transform);

		/* Style */
		color: var(--submenu-color);

		/* Transition */
		transition:
			color var(--transition-speed),
			transform var(--transition-speed);
	}

	:scope .mrkt-header__megamenu-link > a {
		display: block;
		width: 100%;
		padding: var(--submenu-link-padding);
		font: inherit;
		letter-spacing: inherit;
		text-transform: inherit;
		color: inherit;
		text-decoration: inherit;
	}

	:scope .mrkt-header__megamenu-link:is(:hover, :focus-visible, :focus-within) {
		color: var(--submenu-color-hover);
		background: var(--submenu-link-bg-hover);
	}

	:scope .mrkt-header__megamenu-link.is-active {
		color: var(--submenu-color-active);
		background: var(--submenu-link-bg-hover);
	}

	/* Collapse the desktop nav into a burger popover with inline accordion panels. */
	@media only screen and (max-width: 1300px) {
		:scope .mrkt-header__nav-burger {
			display: block;
		}

		:scope .mrkt-header__nav {
			/* Positioning
			   Absolute inside the fixed header: top: 100% is the
			   header's real bottom edge in every browser — no
			   container-query or anchor dependency for the vertical
			   attachment. The header never scrolls (it is fixed), so
			   the open popover stays glued to it exactly as before. */
			position: absolute;
			top: calc(100% - var(--mobile-nav-border-width));
			right: var(--mrkt-space-s);
			right: anchor(--mrkt-nav-burger right);
			z-index: var(--panel-z);
			grid-column: auto;
			justify-self: auto;

			/* Layout */
			min-width: var(--submenu-min-width);
			max-height: var(--mobile-nav-max-height);
			display: grid;
			align-items: stretch;
			justify-content: stretch;
			gap: var(--mobile-nav-gap);
			padding: var(--mobile-nav-padding);
			overflow-y: auto;

			/* Style */
			background: var(--mobile-nav-bg);
			border: var(--mobile-nav-border-width) solid var(--mobile-nav-border-color);
			border-radius: var(--mobile-nav-border-radius);
			box-shadow: var(--mobile-nav-shadow);

			/* Inactive State */
			opacity: 0;
			visibility: hidden;
			pointer-events: none;
			transform: translate3d(0, var(--transition-offset), 0) scaleY(var(--transition-scale));
			transform-origin: top right;
			will-change: opacity, transform;

			/* Transition */
			transition:
				opacity var(--transition-speed),
				transform var(--transition-close),
				visibility 0s linear var(--transition-delay);
		}

		/* Nav links share the submenu link treatment — the popover is
		   one uniform list: same size, no caps, normal tracking, same
		   rounded corners on the hover/active surfaces. */
		:scope .mrkt-header__nav-link {
			/* Layout */
			width: 100%;
			padding: var(--mobile-nav-link-padding);
			border-radius: var(--submenu-link-radius);

			/* Typography */
			font-size: 0.875rem;
			letter-spacing: normal;
			text-transform: none;

			/* Style */
			color: var(--mobile-nav-color);
			border-bottom: none;
		}

		/* The desktop center underline has no place in the list. */
		:scope .mrkt-header__nav-link:not(.mrkt-header__nav-trigger)::after {
			content: none;
		}

		:scope .mrkt-header__nav-link > a {
			width: 100%;
		}

		:scope .mrkt-header__nav-link:is(:hover, :focus-visible, :focus-within) {
			color: var(--mobile-nav-color-hover);
			background: var(--mobile-nav-link-bg-hover);
		}

		/* Active matches the submenu active: page ink on the soft
		   primary-50 surface. */
		:scope .mrkt-header__nav-link.is-active {
			color: var(--mobile-nav-color);
			background: var(--mobile-nav-link-bg-active);
		}

		/* Open state: js toggles data-menu-state between
		   'open' und 'closed' via burger click. */
		:scope[data-menu-state='open'] .mrkt-header__nav {
			opacity: 1;
			visibility: visible;
			pointer-events: auto;
			transform: translate3d(0, 0, 0) scaleY(1);
			transition:
				opacity var(--transition-open),
				transform var(--transition-open),
				visibility 0s;
		}

		:scope .mrkt-header__nav-trigger {
			width: 100%;
		}

		/* Desktop floating panels become always-open in-flow sections
		   inside the popover — no accordion toggling, the full tree is
		   visible at once. max-height stays as a clip guard on very
		   long menus; the popover itself scrolls. */
		:scope .mrkt-header__nav-panel,
		:scope .mrkt-header__nav-trigger[data-anchor-bottom] + .mrkt-header__nav-panel,
		:scope .mrkt-header__nav-trigger[data-anchor-left] + .mrkt-header__nav-panel {
			position: static;
			top: auto;
			left: auto;
			z-index: auto;
			width: 100%;
			min-width: 0;
			max-height: var(--mobile-panel-max-height);
			padding-top: 0;
			overflow: hidden;
			opacity: 1;
			visibility: visible;
			pointer-events: auto;
			translate: none;
			transform: none;
			transition: none;
		}

		/* Closed popover: die immer-offene Regel oben setzt visibility und
		   pointer-events auf den Panels — und Elementors eigene Widget-
		   Styles aktivieren beides erneut auf den Links. Der geschlossene
		   Zustand erzwingt daher den kompletten Subtree: unsichtbar UND
		   nicht klickbar. !important ist gewollt und muss Widget-Levels
		   schlagen, die wir nicht kontrollieren. */
		:scope:not([data-menu-state='open']) .mrkt-header__nav,
		:scope:not([data-menu-state='open']) .mrkt-header__nav * {
			visibility: hidden !important;
			pointer-events: none !important;
		}

		/* Panels are permanently open, so the trigger chevron holds the
		   desktop "open" orientation. */
		:scope .mrkt-header__nav-trigger::after {
			transform: translateY(-30%) rotate(225deg);
		}

		/* Panels are in-flow and always open — the desktop hover bridge
		   has nothing left to span, and with pointer-events enabled while
		   hovering the trigger it would sit on top of the child links and
		   swallow their clicks. Remove it entirely. */
		:scope .mrkt-header__nav-trigger::before {
			display: none;
		}

		/* Submenu accordion overrides. */
		:scope .mrkt-header__submenu-links {
			position: static;
			top: auto;
			left: auto;
			width: 100%;
			min-width: 0;
			padding: 0.2rem 0 0.2rem 0.7rem;
			color: var(--mobile-nav-color);
			background: var(--mrkt-color-transparent);
			border: 0;
			border-radius: 0;
			box-shadow: none;
		}

		:scope .mrkt-header__submenu-link {
			font-size: 0.875rem;
			text-transform: none;
			color: var(--mobile-nav-color);
		}

		:scope .mrkt-header__submenu-link:is(:hover, :focus-within) {
			color: var(--mobile-nav-color-hover);
			background: var(--mrkt-color-primary-50);
		}

		/* Submenu active matches desktop: page ink on the soft
		   primary-50 surface — the walnut stays reserved for the
		   top-level links. */
		:scope .mrkt-header__submenu-link.is-active {
			color: var(--mobile-nav-color);
			background: var(--mobile-nav-link-bg-active);
		}

		/* Megamenu accordion overrides. */
		:scope .mrkt-header__megamenu-content {
			position: static;
			top: auto;
			left: auto;
			width: 100%;
			translate: none;
		}

		:scope .mrkt-header__megamenu-link {
			font-size: 0.875rem;
			text-transform: none;
			color: var(--mobile-nav-color);
		}

		:scope .mrkt-header__megamenu-link:is(:hover, :focus-within) {
			color: var(--mobile-nav-color-hover);
			background: var(--mrkt-color-primary-50);
		}

		:scope .mrkt-header__megamenu-link.is-active {
			color: var(--mobile-nav-color);
			background: var(--mobile-nav-link-bg-active);
		}
	}

	/* Phones use the same popover at full viewport width. */
	@media only screen and (max-width: 767px) {
		:scope .mrkt-header__nav {
			left: 0;
			right: 0;
			min-width: 100%;
			border-radius: 0;
		}
	}

	@media (prefers-reduced-motion: reduce) {
		:scope .mrkt-header__nav-burger,
		:scope .mrkt-header__nav-burger > span,
		:scope .mrkt-header__nav,
		:scope .mrkt-header__nav-panel,
		:scope .mrkt-header__nav-trigger::before,
		:scope .mrkt-header__nav-trigger::after {
			transition: none;
		}
	}

	/* Sticky state: the header leaves the dark hero, so the links flip from
	   hero-white to the page ink. Add .sticky to the header via JS on scroll. */
	:scope.sticky {
		/* Style */
		--nav-link-color: var(--mrkt-color-text-primary);
	}

	/* Pages whose hero interior exists anywhere sit the header on white,
	   where the white links are invisible — default to the ink scheme there.
	   The landing page hero is dark, so it keeps white. Anchored on :root
	   because the hero wrapper and the header are siblings. .sticky still
	   wins on scroll. */
	:root:has(.mrkt-hero-interior) :scope {
		--nav-link-color: var(--mrkt-color-text-primary);
	}

	/* Kurs single posts: heller Hero (mrkt-kurs-hero) — gleiche Tinte,
	   dunkles Logo, auch auf Mobile. */
	:root:has(.mrkt-kurs-hero) :scope {
		--nav-link-color: var(--mrkt-color-text-primary);
	}

	:root:has(.mrkt-kurs-hero) :scope .mrkt-header__logo .cls-1 {
		fill: black;
	}

	/* Remove Elementor's wrapper without removing this component from layout. */
	:scope .elementor-widget-html {
		display: contents !important;
	}
}/* End custom CSS */