.spx-header,
.spx-header * {
  box-sizing: border-box;
}

.spx-header {
  position: relative;
  z-index: 9999;
}

.spx-container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.spx-topbar {
  background: #222222;
  padding: 22px 0 18px;
  line-height: 0;
  border: 0 !important;
  box-shadow: none !important;
}

.spx-logo {
  display: inline-block;
  text-decoration: none;
}

.spx-logo img {
  display: block;
  max-height: 54px;
  width: auto;
}

.spx-strip {
  height: 0px;
  background: #2ca946;
  margin: 0;
  padding: 0;
  border: 0 !important;
}

.spx-navbar {
  background: #2ca946;
  margin: 0;
  padding: 0;
  border: 0 !important;
  box-shadow: none !important;
  position: relative;
}

.spx-navwrap {
  position: relative;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.spx-nav {
  display: block;
}

.spx-menu {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  height: 52px;
}

.spx-item {
  position: static;
  margin: 0;
  padding: 0;
  height: 52px;
}

.spx-item > a {
  display: flex;
  align-items: center;
  height: 52px;
  padding: 0 18px;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
  white-space: nowrap;
}

.spx-item > a:hover {
  background: rgba(255, 255, 255, 0.10);
  color: #ffffff;
}

.spx-mega {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  min-height: 350px;
  background: #2b2b2b;
  padding: 28px 32px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  border: 0 !important;
}

.spx-has-mega:hover > .spx-mega {
  display: block;
}

/* DESKTOP DROPDOWN LAYOUT */
.spx-mega-columns {
  display: flex;
  align-items: flex-start;
  gap: 32px;
}

.spx-mega-text {
  flex: 0 0 420px;
  max-width: 420px;
  min-width: 420px;
  text-align: left;
}

.spx-mega-links {
  flex: 0 0 250px;
  width: 250px;
  min-width: 250px;
}

.spx-mega-text h4,
.spx-mega-links h4 {
  margin: 0 0 14px 0;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  background: linear-gradient(to right, #7ed321, #f8e71c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.spx-mega-text p {
  margin: 0;
  color: #ffffff;
  line-height: 1.6;
}

.spx-mega-links a {
  display: block;
  width: 250px;
  margin: 0 0 10px 0;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.45;
  white-space: normal;
  word-break: normal;
}

.spx-mega-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.spx-placeholder-link {
  visibility: hidden;
  pointer-events: none;
  user-select: none;
}

/* hamburger */
.spx-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  margin: 0 14px 0 0;
  flex: 0 0 44px;
}

.spx-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  margin: 4px auto;
  background: #ffffff;
}

/* mobile drawer hidden by default */
.spx-mobile-overlay {
  display: none;
}

.spx-mobile-drawer {
  display: none;
}

/* MOBILE */
@media (max-width: 991px) {
  .spx-strip {
    height: 0px;
  }

  .spx-nav {
    display: none;
  }

  .spx-toggle {
    display: block;
  }

  .spx-mega {
    display: none !important;
  }

  .spx-mobile-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
    z-index: 10000;
  }

  .spx-mobile-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .spx-mobile-drawer {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 86vw);
    height: 100vh;
    background: #111111;
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 10001;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
    overflow-y: auto;
  }

  .spx-mobile-drawer.is-open {
    transform: translateX(0);
  }

  .spx-mobile-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 56px;
    padding: 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .spx-mobile-close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }

  .spx-mobile-links {
    padding: 8px 0 20px;
  }

  .spx-mobile-group {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .spx-mobile-parent {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #ffffff;
    padding: 14px 20px;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    cursor: pointer;
    position: relative;
  }

  .spx-mobile-parent::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    line-height: 1;
  }

  .spx-mobile-group.is-open .spx-mobile-parent::after {
    content: '−';
  }

  .spx-mobile-submenu {
    display: none;
    padding: 0 0 10px;
  }

  .spx-mobile-group.is-open .spx-mobile-submenu {
    display: block;
  }

  .spx-mobile-submenu a,
  .spx-mobile-group-single a {
    display: block;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px 12px 34px;
    font-weight: 500;
    line-height: 1.3;
    white-space: normal;
  }

  .spx-mobile-group-single a {
    padding-left: 20px;
    font-weight: 700;
  }

  .spx-mobile-submenu a:hover,
  .spx-mobile-group-single a:hover {
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
  }

  body.spx-mobile-open {
    overflow: hidden;
  }
}