/* module: header with mega menu */
.header {
  position: relative;
  z-index: 10;
  background: #fff;
  border-bottom: 1px solid #eaf0f6;
}
.header__container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 76px;
}
.header__logo img {
  display: block;
}
.header__menu {
  flex: 1;
}
.menu__wrapper {
  display: flex;
  gap: 0.25rem;
}
.menu__item {
  position: relative;
}
.menu__link {
  display: inline-block;
  padding: 0.85rem 0.9rem;
  color: #1b2a4e;
  font-family: "Poppins", Helvetica, Arial, sans-serif;
  font-weight: 500;
  text-decoration: none;
}
.menu__link--toggle::after {
  content: "";
  display: inline-block;
  margin-left: 0.4rem;
  border: 5px solid transparent;
  border-top-color: currentColor;
  vertical-align: -2px;
}
.menu__submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 360px;
  padding: 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(27, 42, 78, 0.16);
}
.menu__item--open > .menu__submenu,
.menu__item--has-submenu:hover > .menu__submenu {
  display: block;
}
.mega-menu .menu__link {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 6px;
}
.mega-menu .menu__link:hover {
  background: #f5f8fa;
}
.mega-menu strong {
  display: block;
}
.mega-menu span {
  display: block;
  font-family: "Lato", Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: #516f90;
}
.header__search input {
  width: 10rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  border: 1px solid #cbd6e2;
  border-radius: 20px;
}
.header__toggle {
  display: none;
  margin-left: auto;
  padding: 0.6rem 1rem;
  font: inherit;
  font-weight: 700;
  background: #fff;
  border: 1px solid #cbd6e2;
  border-radius: 6px;
}
@media (max-width: 1000px) {
  .header__container {
    flex-wrap: wrap;
  }
  .header__toggle {
    display: block;
  }
  .header__menu,
  .header__search,
  .header__cta {
    display: none;
    width: 100%;
  }
  .header--open .header__menu,
  .header--open .header__search,
  .header--open .header__cta {
    display: block;
  }
  .menu__wrapper {
    flex-direction: column;
  }
  .menu__submenu {
    position: static;
    box-shadow: none;
    min-width: 0;
  }
}
