.header {
  background-color: white;
  font-size: 14px;
  box-shadow: 0px 4px 4px -2px rgba(0, 0, 0, 0.1);
}

.secondary-nav {
  font-size: 16px;
  font-weight: 500;
  position: fixed;
  top: var(--header-height);
  left: 0;
  --secondary-header-height: 80px;
  width: 100%;
  height: var(--secondary-header-height);
  background-color: white;
  box-shadow: 0px 4px 4px -2px rgba(0, 0, 0, 0.1);
  z-index: 99;
}
.secondary-nav .content {
  height: 100%;
  justify-content: center;
  align-items: center;
}
.secondary-nav a {
  text-decoration: none;
}

.secondary-nav-inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: auto;
  margin: 0;
  gap: 45px;
}
.secondary-nav-inner .menu-item {
  display: inline-block;
  position: relative;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
}
.secondary-nav-inner .menu-item:before {
  display: none;
}
.secondary-nav-inner .menu-item a {
  position: relative;
  text-decoration: var(--header-text-decoration);
  text-decoration-thickness: var(--header-nav-link-underline-height);
  text-decoration-color: var(--header-nav-link-underline-color);
  color: var(--header-nav-link-color);
  transition: all var(--transition-timing) var(--transition-ease);
  line-height: 1;
}
.secondary-nav-inner .menu-item a:hover {
  text-decoration-thickness: var(--header-nav-link-underline-height-hover);
  text-decoration-color: var(--header-nav-link-underline-color-hover);
  color: var(--header-nav-link-color-hover);
}
.secondary-nav-inner .frameworker-button {
  border: 0px solid white;
}
.secondary-nav-inner .frameworker-button a {
  text-decoration: none;
}
.secondary-nav-inner .current-menu-item > a {
  color: var(--header-nav-active-link-color);
  text-decoration-color: var(--header-nav-active-link-underline-color);
}
.secondary-nav-inner .menu-item-has-children:after {
  content: "";
  display: inline-block;
  position: relative;
  margin-left: 3px;
  top: -4px;
  width: 8px;
  height: 8px;
  border-bottom: 2px solid black;
  border-right: 2px solid black;
  transform: rotate(45deg);
  transition: all 0.2s var(--transition-ease);
}
.secondary-nav-inner .menu-item-has-children:hover:after {
  border-color: var(--color1);
  transform: rotate(-45deg);
  top: -2px;
}
.secondary-nav-inner .sub-menu {
  list-style: none;
  padding: 0;
  position: absolute;
  top: calc(100% - var(--header-nav-link-underline-height-hover));
  margin: 0;
  width: auto;
  min-width: 250px;
  overflow: hidden;
  background: var(--white);
  transition: none;
}
.secondary-nav-inner .sub-menu .menu-item {
  margin-left: 0px;
  padding: calc(var(--submenu-item-spacing) / 3) var(--submenu-item-spacing);
  width: 100%;
  transition: none;
  opacity: 0;
  font-weight: 400;
}
.secondary-nav-inner .sub-menu .menu-item:nth-of-type(1) {
  padding-top: var(--submenu-item-spacing);
}
.secondary-nav-inner .sub-menu .menu-item:nth-last-of-type(1) {
  padding-bottom: var(--submenu-item-spacing);
}

.mobile-secondary-nav {
  display: none;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  width: 100%;
  max-width: 1240px;
  padding: 0 var(--horizontal-padding) 50px var(--horizontal-padding);
  background-color: var(--mobile-menu-background-color);
  flex-grow: 0;
  flex-shrink: 0;
}

@media screen and (max-width: 1024px) {
  .main-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    align-content: flex-start;
    justify-content: flex-start;
    height: 100%;
    background-color: var(--white);
    overflow: scroll;
  }
  .main-nav-inner {
    flex-direction: row;
    height: auto;
    min-height: auto;
    padding: calc(var(--header-height) + 5px) var(--horizontal-padding) var(--header-menu-item-spacing) var(--horizontal-padding);
    justify-content: flex-start;
  }
  .secondary-nav {
    display: none;
  }
  .mobile-secondary-nav {
    display: inline-flex;
    height: auto;
  }
  .secondary-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0;
    font-size: 16px;
    font-weight: 400;
    border-top: 1px solid var(--black);
    padding-top: 30px;
    gap: 25px;
  }
  .secondary-nav-inner .sub-menu {
    position: relative;
    top: 0;
    font-size: 14px;
  }
  .secondary-nav-inner .menu-item-has-children:after {
    display: none;
  }
}