@media (min-width: 1024px) {
  .header {
    padding-top: 20px;
  }

  .header__logo {
    flex-shrink: 0;
  }

  .main-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  .main-nav__wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    min-width: 0;
    width: 100%;
  }

  .burger-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: nowrap !important;
    flex-wrap: nowrap !important;
    max-width: none !important;
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .burger-menu__item {
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .sign-up {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    margin-left: 16px;
  }

  .burger-menu__item--more[hidden] {
    display: none !important;
  }

  .burger-menu__content--more {
    position: absolute;
    top: 74px;
    right: 0;
    left: auto;
    min-width: 240px;
    max-height: none !important;
    overflow: visible;
    background-color: #ffffff;
    box-shadow: 0 7px 14px rgba(62, 62, 80, 0.25);
    padding: 12px 0;
    border-radius: 15px;
    opacity: 0;
    pointer-events: none;
  }

  .header-nav-more__items .burger-menu__item {
    display: block;
    margin: 0;
    width: 100%;
  }

  .header-nav-more__items .burger-menu__button {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 20px;
    white-space: nowrap;
  }

  .header-nav-more__items .burger-menu__content {
    position: static;
    min-width: 0;
    max-height: none !important;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    padding: 0 0 8px 12px;
    border-radius: 0;
  }

  .header-nav-more__items .burger-menu__content::before {
    display: none;
  }

  .header-nav-more__items .links-list__link {
    padding: 6px 20px 6px 8px;
    white-space: normal;
  }

  .burger-menu__item--more:hover .burger-menu__content--more,
  .burger-menu__item--more.is-open .burger-menu__content--more {
    opacity: 1;
    pointer-events: auto;
  }

  .header--grey .burger-menu__content--more {
    background-color: #eceff1;
  }
}

@media (max-width: 1023px) {
  .burger-menu__item--more {
    display: none !important;
  }
}

/* Locale-safe CTA: grow with the longest label instead of clipping at 169px */
.sign-up__button.btn.btn--bg {
  display: -webkit-inline-box !important;
  display: -ms-inline-flexbox !important;
  display: inline-flex !important;
  -webkit-box-orient: vertical !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: column !important;
  flex-direction: column !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto !important;
  min-width: 169px;
  max-width: none;
  height: auto;
  min-height: 74px;
  text-align: center;
  white-space: normal;
}

.sign-up__button.btn.btn--bg span {
  display: block;
  width: auto;
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
}

.sign-up__button.btn.btn--bg .for-free {
  margin: 2px 0 0;
}

@media (max-width: 1079px) and (min-width: 1024px) {
  .sign-up__button.btn.btn--bg {
    min-width: 155px;
  }
}

@media (max-width: 1023px) {
  .sign-up__button.btn.btn--bg {
    width: 88% !important;
    min-width: 0;
  }

  .sign-up__button.btn.btn--bg span {
    white-space: normal;
  }
}
