/* WattGoedkoper Header V1.0.7 - Absolute hero header, sticky after hero */

:root {
  --wg-primary: #063F3A;
  --wg-primary-dark: #032B27;
  --wg-secondary: #38E078;
  --wg-secondary-dark: #21B85B;
  --wg-accent: #FFD84D;
  --wg-bg-soft: #F3FAF5;
  --wg-bg-warm: #FFFBEA;
  --wg-text: #10201D;
  --wg-text-muted: #60756F;
  --wg-white: #FFFFFF;

  --wg-font-main: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --wg-radius-pill: 999px;
  --wg-shadow-premium:
    0 30px 90px rgba(3, 43, 39, .22),
    0 10px 28px rgba(3, 43, 39, .12),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.06);
  --wg-shadow-premium-compact:
    0 20px 60px rgba(3, 43, 39, .18),
    0 8px 20px rgba(3, 43, 39, .10),
    inset 0 1px 0 rgba(255,255,255,.20);
  --wg-glass-border: rgba(255,255,255,.20);
  --wg-glass-border-soft: rgba(255,255,255,.10);
  --wg-transition: all .25s ease;

  --wg-header-max-width: 1500px;
  --wg-header-height: 82px;
  --wg-header-compact-height: 60px;
  --wg-logo-width-desktop: 230px;
  --wg-logo-width-mobile: 180px;
  --wg-logo-font-size: 24px;
  --wg-menu-font-size: 14px;
  --wg-cta-font-size: 15px;
}

body.wg-custom-header-active #masthead,
body.wg-custom-header-active .site-header,
body.wg-custom-header-active .kadence-header-wrap,
body.wg-custom-header-active .site-header-wrap {
  display: none !important;
}

html.wg-header-ready body:not(.home).wg-custom-header-active {
  padding-top: var(--wg-fixed-header-space, 130px);
}

html.wg-header-ready body.home.wg-custom-header-active {
  padding-top: 0 !important;
}

body.wg-menu-open {
  overflow: hidden;
}

.wg-site-chrome {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999999;
  font-family: var(--wg-font-main);
  pointer-events: none;
}

.admin-bar .wg-site-chrome {
  top: 32px;
}

.wg-site-chrome * {
  box-sizing: border-box;
}

.wg-topbar,
.wg-header-wrap,
.wg-mobile-backdrop,
.wg-mobile-panel {
  pointer-events: auto;
}

.wg-topbar {
  width: 100%;
  background:
    radial-gradient(circle at 30% 0%, rgba(255,255,255,.55), transparent 30%),
    linear-gradient(90deg, #FFD84D 0%, #FFE978 48%, #FFD84D 100%);
  color: var(--wg-primary-dark);
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  padding: 9px 16px;
  transition: transform .34s cubic-bezier(.2,.8,.2,1), opacity .34s cubic-bezier(.2,.8,.2,1), max-height .34s cubic-bezier(.2,.8,.2,1), padding .34s cubic-bezier(.2,.8,.2,1);
  box-shadow:
    0 8px 28px rgba(245, 183, 0, .13),
    inset 0 1px 0 rgba(255,255,255,.56);
  max-height: 44px;
  overflow: hidden;
}

.wg-header-is-compact .wg-topbar {
  transform: translateY(-110%);
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.wg-topbar-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.wg-topbar-icon {
  display: inline-flex;
  width: 23px;
  height: 23px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--wg-primary-dark);
  color: var(--wg-accent);
  font-size: 13px;
  font-weight: 900;
}

.wg-topbar-text-mobile {
  display: none;
}

.wg-header-wrap {
  width: 100%;
  padding: 16px 20px;
  background: transparent;
  transition: padding .34s cubic-bezier(.2,.8,.2,1), background .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s cubic-bezier(.2,.8,.2,1), transform .34s cubic-bezier(.2,.8,.2,1);
}

.wg-header-is-compact .wg-header-wrap {
  padding-top: 8px;
  padding-bottom: 8px;
  background:
    linear-gradient(180deg, rgba(243,250,245,.66), rgba(243,250,245,.20));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.wg-header-bar {
  position: relative;
  width: 100%;
  max-width: var(--wg-header-max-width);
  margin: 0 auto;
  border-radius: var(--wg-radius-pill);
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.20), transparent 28%),
    radial-gradient(circle at 82% 10%, rgba(56,224,120,.18), transparent 30%),
    linear-gradient(135deg, rgba(6,63,58,.78), rgba(3,43,39,.72));
  border: 1px solid var(--wg-glass-border);
  box-shadow: var(--wg-shadow-premium);
  backdrop-filter: blur(30px) saturate(160%);
  -webkit-backdrop-filter: blur(30px) saturate(160%);
  overflow: hidden;
  transition: border-radius .34s cubic-bezier(.2,.8,.2,1), max-width .34s cubic-bezier(.2,.8,.2,1), background .34s cubic-bezier(.2,.8,.2,1), box-shadow .34s cubic-bezier(.2,.8,.2,1), border-color .34s cubic-bezier(.2,.8,.2,1);
}

.wg-header-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.05) 42%, rgba(255,255,255,0) 72%),
    linear-gradient(90deg, rgba(255,255,255,.10), transparent 20%, transparent 80%, rgba(255,255,255,.08));
  mix-blend-mode: screen;
  opacity: .9;
}

.wg-header-bar::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 0 0 34px rgba(255,255,255,.045),
    inset 0 -24px 42px rgba(0,0,0,.10);
}

.wg-header-is-compact .wg-header-bar {
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,.18), transparent 26%),
    radial-gradient(circle at 82% 0%, rgba(56,224,120,.15), transparent 28%),
    linear-gradient(135deg, rgba(6,63,58,.70), rgba(3,43,39,.66));
  border-color: rgba(255,255,255,.18);
  box-shadow: var(--wg-shadow-premium-compact);
}

.wg-header-inner {
  position: relative;
  z-index: 2;
  min-height: var(--wg-header-height);
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(210px, 270px);
  align-items: center;
  gap: 22px;
  padding: 0 18px 0 28px;
  transition: min-height .28s ease, padding .28s ease, gap .28s ease;
}

.wg-header-is-compact .wg-header-inner {
  min-height: var(--wg-header-compact-height);
  padding-left: 22px;
  padding-right: 12px;
  gap: 16px;
}

.wg-header-brand {
  min-width: 0;
  display: flex;
  align-items: center;
}

.wg-header-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wg-white);
  text-decoration: none;
  max-width: 100%;
  transition: transform .28s ease;
}

.wg-header-logo:hover {
  color: var(--wg-white);
}

.wg-header-is-compact .wg-header-logo {
  transform: scale(.92);
  transform-origin: left center;
}

.wg-header-logo-img {
  display: block;
  width: var(--wg-logo-width-desktop);
  max-width: var(--wg-logo-width-desktop);
  height: auto;
  max-height: 48px;
  object-fit: contain;
  transition: max-height .28s ease, width .28s ease, max-width .28s ease;
}

.wg-header-is-compact .wg-header-logo-img {
  max-height: 36px;
}

.wg-logo-icon {
  position: relative;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--wg-accent);
  color: var(--wg-primary-dark);
  box-shadow: 0 0 0 5px rgba(255, 216, 77, 0.14), 0 10px 22px rgba(0,0,0,.18);
  transition: width .28s ease, height .28s ease, flex-basis .28s ease;
}

.wg-header-is-compact .wg-logo-icon {
  width: 30px;
  height: 30px;
  flex-basis: 30px;
}

.wg-logo-icon::before,
.wg-logo-icon::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 2px solid rgba(255, 216, 77, 0.42);
  border-radius: 999px;
}

.wg-logo-icon::after {
  inset: -10px;
  border-color: rgba(56, 224, 120, 0.20);
}

.wg-logo-sun {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 17px;
}

.wg-header-is-compact .wg-logo-sun {
  font-size: 14px;
}

.wg-logo-text {
  display: inline-flex;
  align-items: baseline;
  color: var(--wg-white);
  font-size: var(--wg-logo-font-size);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 1;
  white-space: nowrap;
  transition: font-size .28s ease;
}

.wg-header-is-compact .wg-logo-text {
  font-size: calc(var(--wg-logo-font-size) - 3px);
}

.wg-logo-text span {
  opacity: .76;
  font-weight: 800;
}

.wg-header-nav {
  min-width: 0;
  display: flex;
  justify-content: center;
}

.wg-menu,
.wg-menu ul,
.wg-mobile-menu,
.wg-mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.wg-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 0;
}

.wg-menu > li {
  position: relative;
}

.wg-menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: var(--wg-radius-pill);
  color: rgba(255,255,255,.86);
  text-decoration: none;
  font-size: var(--wg-menu-font-size);
  font-weight: 800;
  white-space: nowrap;
  transition: var(--wg-transition);
}

.wg-header-is-compact .wg-menu > li > a {
  min-height: 36px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: calc(var(--wg-menu-font-size) - 1px);
}

.wg-menu > li > a:hover,
.wg-menu > li.current-menu-item > a,
.wg-menu > li.current_page_item > a {
  color: var(--wg-white);
  background: rgba(255,255,255,.12);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 8px 20px rgba(0,0,0,.10);
}

.wg-menu .sub-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 14px);
  min-width: 240px;
  padding: 10px;
  border-radius: 24px;
  background: var(--wg-white);
  box-shadow: 0 24px 60px rgba(6, 63, 58, .18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--wg-transition);
}

.wg-menu li:hover > .sub-menu,
.wg-menu li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.wg-menu .sub-menu a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--wg-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: var(--wg-transition);
}

.wg-menu .sub-menu a:hover {
  background: var(--wg-bg-soft);
  color: var(--wg-primary);
}

.wg-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.wg-header-cta,
.wg-mobile-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--wg-radius-pill);
  background:
    radial-gradient(circle at 24% 0%, rgba(255,255,255,.55), transparent 34%),
    linear-gradient(135deg, #38E078 0%, #2EDB73 52%, #21B85B 100%);
  color: var(--wg-primary-dark);
  text-decoration: none;
  font-size: var(--wg-cta-font-size);
  font-weight: 900;
  line-height: 1;
  box-shadow:
    0 14px 34px rgba(56, 224, 120, 0.30),
    inset 0 1px 0 rgba(255,255,255,.48),
    inset 0 -1px 0 rgba(3,43,39,.10);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  white-space: nowrap;
  overflow: hidden;
}

.wg-header-is-compact .wg-header-cta {
  min-height: 42px;
  padding-left: 22px;
  padding-right: 22px;
  font-size: calc(var(--wg-cta-font-size) - 1px);
}

.wg-header-cta::after,
.wg-mobile-cta::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0) 55%);
  pointer-events: none;
}

.wg-header-cta:hover,
.wg-mobile-cta:hover {
  color: var(--wg-primary-dark);
  transform: translateY(-2px);
  filter: saturate(1.08) brightness(1.02);
  box-shadow:
    0 18px 42px rgba(56, 224, 120, 0.38),
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(3,43,39,.10);
}

.wg-mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  transition: var(--wg-transition);
}

.wg-mobile-toggle:hover {
  background: rgba(255,255,255,.16);
}

.wg-mobile-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--wg-white);
  transition: var(--wg-transition);
}

.wg-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000000;
  background: rgba(3, 43, 39, .46);
  opacity: 0;
  visibility: hidden;
  transition: var(--wg-transition);
  pointer-events: none;
}

.wg-mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000001;
  width: min(420px, 92vw);
  height: 100dvh;
  padding: 20px;
  background: var(--wg-white);
  box-shadow: -20px 0 60px rgba(6, 63, 58, .22);
  transform: translateX(105%);
  transition: transform .32s ease;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.wg-menu-open .wg-mobile-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wg-menu-open .wg-mobile-panel {
  transform: translateX(0);
}

.wg-mobile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(6, 63, 58, .10);
}

.wg-mobile-panel .wg-header-logo,
.wg-mobile-panel .wg-logo-text {
  color: var(--wg-primary-dark);
}

.wg-mobile-panel .wg-header-logo-img {
  width: var(--wg-logo-width-mobile);
  max-width: var(--wg-logo-width-mobile);
}

.wg-mobile-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--wg-bg-soft);
  color: var(--wg-primary-dark);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.wg-mobile-nav {
  padding: 20px 0;
}

.wg-mobile-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wg-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 20px;
  background: var(--wg-bg-soft);
  color: var(--wg-text);
  text-decoration: none;
  font-size: 17px;
  font-weight: 900;
}

.wg-mobile-menu a:hover {
  background: var(--wg-secondary);
  color: var(--wg-primary-dark);
}

.wg-mobile-menu .sub-menu {
  margin: 8px 0 8px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wg-mobile-menu .sub-menu a {
  min-height: 46px;
  font-size: 15px;
  background: var(--wg-white);
  border: 1px solid rgba(6, 63, 58, .10);
}

.wg-mobile-cta {
  width: 100%;
  margin-top: auto;
  min-height: 56px;
}

.wg-mobile-note {
  margin: 14px 0 0;
  color: var(--wg-text-muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
  font-weight: 700;
}

@media (max-width: 1220px) {
  .wg-header-inner {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) minmax(190px, 240px);
    gap: 14px;
  }

  .wg-menu > li > a {
    padding-left: 9px;
    padding-right: 9px;
  }
}

@media (max-width: 1120px) {
  .wg-header-inner {
    display: flex;
  }

  .wg-header-nav {
    display: none;
  }

  .wg-header-brand {
    flex: 1 1 auto;
  }

  .wg-mobile-toggle {
    display: inline-flex;
  }
}

@media (max-width: 782px) {
  .admin-bar .wg-site-chrome {
    top: 46px;
  }
}

@media (max-width: 768px) {
  .wg-topbar {
    font-size: 13px;
    padding: 8px 12px;
  }

  .wg-topbar-text-desktop {
    display: none;
  }

  .wg-topbar-text-mobile {
    display: inline;
  }

  .wg-header-wrap {
    padding: 10px;
  }

  .wg-header-inner {
    min-height: 66px;
    padding: 0 10px 0 18px;
    gap: 10px;
  }

  .wg-header-is-compact .wg-header-inner {
    min-height: 58px;
  }

  .wg-header-logo-img {
    width: var(--wg-logo-width-mobile);
    max-width: var(--wg-logo-width-mobile);
    max-height: 36px;
  }

  .wg-logo-text {
    font-size: 20px;
  }

  .wg-logo-icon {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
  }

  .wg-header-cta {
    display: none;
  }

  .wg-mobile-toggle {
    width: 46px;
    height: 46px;
  }
}

@media (max-width: 420px) {
  .wg-logo-text {
    font-size: 18px;
  }

  .wg-logo-icon {
    display: none;
  }

  .wg-mobile-panel {
    width: 100vw;
  }
}


/* V1.0.4 homepage landing mode:
   homepage hero starts behind the fixed header */
body.home .wg-site-chrome {
  background: transparent;
}

body.home .wg-header-wrap {
  background: transparent;
}

body.home .wg-header-is-compact .wg-header-wrap {
  background:
    linear-gradient(180deg, rgba(243,250,245,.48), rgba(243,250,245,.08));
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
}

body.home .wg-topbar {
  box-shadow:
    0 10px 30px rgba(245, 183, 0, .10),
    inset 0 1px 0 rgba(255,255,255,.56);
}

body.home .wg-header-bar {
  box-shadow:
    0 34px 92px rgba(3, 43, 39, .24),
    0 12px 28px rgba(3, 43, 39, .13),
    inset 0 1px 0 rgba(255,255,255,.24),
    inset 0 -1px 0 rgba(255,255,255,.06);
}

@media (max-width: 782px) {
  html.wg-header-ready body.home.wg-custom-header-active {
    padding-top: 0 !important;
  }
}


/* V1.0.5 integrated homepage hero mode
   Homepage: hero owns the first viewport. Header is integrated at top and becomes floating on scroll. */

/* No layout padding on homepage */
html.wg-header-ready body.home.wg-custom-header-active {
  padding-top: 0 !important;
}

/* Hide topbar on homepage by default so the hero is the first visual experience */
body.home .wg-topbar {
  transform: translateY(-110%);
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

/* Keep topbar hidden on homepage even when scrolling */
body.home .wg-header-is-compact .wg-topbar,
body.home .wg-header-scroll-up .wg-topbar,
body.home .wg-header-scroll-down .wg-topbar {
  transform: translateY(-110%);
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

/* Header overlay mode at top of homepage */
body.home .wg-site-chrome {
  background: transparent !important;
  pointer-events: none;
}

body.home .wg-header-wrap {
  padding-top: 26px;
  padding-bottom: 0;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: auto;
}

body.home .wg-header-bar {
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(135deg, rgba(6,63,58,.54), rgba(3,43,39,.44)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow:
    0 26px 70px rgba(3,43,39,.12),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
}

/* The menu is calmer when integrated into the hero */
body.home .wg-menu > li > a {
  color: rgba(255,255,255,.86);
}

body.home .wg-header-cta {
  box-shadow:
    0 12px 28px rgba(56,224,120,.22),
    inset 0 1px 0 rgba(255,255,255,.50) !important;
}

/* Floating state after scroll */
body.home .wg-header-is-compact .wg-header-wrap {
  padding-top: 10px;
  padding-bottom: 10px;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.home .wg-header-is-compact .wg-header-bar {
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, rgba(6,63,58,.86), rgba(3,43,39,.78)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow:
    0 28px 80px rgba(3,43,39,.22),
    0 10px 28px rgba(3,43,39,.13),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
}

/* Make the header feel more like part of the hero on desktop */
@media (min-width: 1121px) {
  body.home .wg-header-wrap {
    padding-left: 32px;
    padding-right: 32px;
  }

  body.home .wg-header-bar {
    max-width: min(var(--wg-header-max-width), calc(100vw - 64px));
  }
}

/* Mobile homepage header */
@media (max-width: 768px) {
  body.home .wg-header-wrap {
    padding: 12px 10px 0;
  }

  body.home .wg-header-is-compact .wg-header-wrap {
    padding: 8px 10px;
  }
}


/* V1.0.6 after-hero floating mode
   On the homepage the header stays visually integrated in the hero until the visitor scrolls past the hero. */

body.home:not(.wg-header-past-hero) .wg-header-wrap {
  padding-top: 26px !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.home:not(.wg-header-past-hero) .wg-header-bar {
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(135deg, rgba(6,63,58,.54), rgba(3,43,39,.44)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow:
    0 26px 70px rgba(3,43,39,.12),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
}

/* Disable compact visual state while still inside the hero */
body.home:not(.wg-header-past-hero) .wg-header-is-compact .wg-header-wrap,
body.home:not(.wg-header-past-hero).wg-header-is-compact .wg-header-wrap {
  padding-top: 26px !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

body.home:not(.wg-header-past-hero) .wg-header-is-compact .wg-header-bar,
body.home:not(.wg-header-past-hero).wg-header-is-compact .wg-header-bar {
  min-height: var(--wg-header-height, 76px) !important;
  transform: none !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(135deg, rgba(6,63,58,.54), rgba(3,43,39,.44)) !important;
}

/* Floating mode only after hero */
body.home.wg-header-past-hero .wg-header-wrap {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  background: transparent !important;
}

body.home.wg-header-past-hero .wg-header-bar {
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, rgba(6,63,58,.88), rgba(3,43,39,.80)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow:
    0 28px 80px rgba(3,43,39,.22),
    0 10px 28px rgba(3,43,39,.13),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
}

/* Keep homepage topbar hidden */
body.home .wg-topbar {
  transform: translateY(-110%) !important;
  opacity: 0 !important;
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  body.home:not(.wg-header-past-hero) .wg-header-wrap {
    padding: 12px 10px 0 !important;
  }

  body.home.wg-header-past-hero .wg-header-wrap {
    padding: 8px 10px !important;
  }
}


/* V1.0.7 true homepage hero behavior
   Inside the hero the header is absolute and scrolls away with the hero.
   After the hero the header becomes fixed/floating. */

/* Homepage body should not reserve header space */
html.wg-header-ready body.home.wg-custom-header-active {
  padding-top: 0 !important;
}

/* Default homepage: header is part of the hero, not fixed */
body.home:not(.wg-header-past-hero) .wg-site-chrome {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 50 !important;
  background: transparent !important;
  pointer-events: none;
  transform: none !important;
}

body.home:not(.wg-header-past-hero).admin-bar .wg-site-chrome {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.home:not(.wg-header-past-hero).admin-bar .wg-site-chrome {
    top: 46px !important;
  }
}

/* Let header controls remain clickable */
body.home:not(.wg-header-past-hero) .wg-header-wrap,
body.home:not(.wg-header-past-hero) .wg-header-bar,
body.home:not(.wg-header-past-hero) .wg-header-bar * {
  pointer-events: auto;
}

/* Hero integrated visual state */
body.home:not(.wg-header-past-hero) .wg-header-wrap {
  padding-top: 26px !important;
  padding-bottom: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.home:not(.wg-header-past-hero) .wg-header-bar {
  background:
    radial-gradient(circle at 12% 0%, rgba(255,255,255,.16), transparent 30%),
    linear-gradient(135deg, rgba(6,63,58,.54), rgba(3,43,39,.44)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow:
    0 26px 70px rgba(3,43,39,.12),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(255,255,255,.04) !important;
  backdrop-filter: blur(24px) saturate(145%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(145%) !important;
  transform: none !important;
}

/* Prevent compact visuals while still inside the hero */
body.home:not(.wg-header-past-hero) .wg-header-is-compact .wg-header-wrap,
body.home:not(.wg-header-past-hero).wg-header-is-compact .wg-header-wrap {
  padding-top: 26px !important;
  padding-bottom: 0 !important;
  background: transparent !important;
}

body.home:not(.wg-header-past-hero) .wg-header-is-compact .wg-header-bar,
body.home:not(.wg-header-past-hero).wg-header-is-compact .wg-header-bar {
  min-height: var(--wg-header-height, 76px) !important;
  transform: none !important;
}

/* After hero: header becomes fixed/floating */
body.home.wg-header-past-hero .wg-site-chrome {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: transparent !important;
  pointer-events: none;
}

body.home.admin-bar.wg-header-past-hero .wg-site-chrome {
  top: 32px !important;
}

@media (max-width: 782px) {
  body.home.admin-bar.wg-header-past-hero .wg-site-chrome {
    top: 46px !important;
  }
}

body.home.wg-header-past-hero .wg-header-wrap,
body.home.wg-header-past-hero .wg-header-bar,
body.home.wg-header-past-hero .wg-header-bar * {
  pointer-events: auto;
}

body.home.wg-header-past-hero .wg-header-wrap {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body.home.wg-header-past-hero .wg-header-bar {
  background:
    radial-gradient(circle at 16% 0%, rgba(255,255,255,.18), transparent 28%),
    linear-gradient(135deg, rgba(6,63,58,.88), rgba(3,43,39,.80)) !important;
  border-color: rgba(255,255,255,.18) !important;
  box-shadow:
    0 28px 80px rgba(3,43,39,.22),
    0 10px 28px rgba(3,43,39,.13),
    inset 0 1px 0 rgba(255,255,255,.22) !important;
  backdrop-filter: blur(28px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(160%) !important;
}

/* Homepage topbar hidden */
body.home .wg-topbar {
  transform: translateY(-110%) !important;
  opacity: 0 !important;
  max-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none !important;
}

/* Mobile */
@media (max-width: 768px) {
  body.home:not(.wg-header-past-hero) .wg-header-wrap {
    padding: 12px 10px 0 !important;
  }

  body.home.wg-header-past-hero .wg-header-wrap {
    padding: 8px 10px !important;
  }
}
