/* VIPC6 header alignment: keep navigation within the available width. */
@media (min-width: 721px) {
  .header, .topbar-off .header { padding: 20px 0; }
  .header > .container {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    column-gap: 16px;
  }
  .header > .container::before, .header > .container::after { display: none; }
  .header .logo { float: none; flex: 0 0 auto; margin: 0; }
  .header .logo a { height: 50px; }
  .header .logo img { max-height: 50px; width: auto; margin: 0; }
  .header .brand {
    float: none; flex: 0 0 auto; top: 0; margin: 0;
    padding-left: 10px; height: 50px; line-height: 25px;
  }
  .header .site-navbar {
    display: flex; flex: 0 0 auto; align-items: center;
    flex-wrap: nowrap; float: none; margin: 0 0 0 auto;
    font-size: 18px;
  }
  .header .site-navbar > li { float: none; flex: 0 0 auto; }
  .header .site-navbar > li > a { padding: 0 12px; line-height: 40px; white-space: nowrap; }
  body:not(.search).search-on .site-search { top: 91px; }
}
@media (min-width: 981px) and (max-width: 1199px) {
  .header .brand { display: none; }
  .header .site-navbar { font-size: 16px; }
  .header .site-navbar > li > a { padding-right: 10px; padding-left: 10px; }
}
@media (min-width: 721px) and (max-width: 980px) {
  .header, .topbar-off .header { padding: 12px 0; }
  .header > .container { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
  .header .brand { display: none; }
  .header .site-navbar {
    flex: 0 0 100%; justify-content: space-between;
    margin: 0; font-size: 14px;
  }
  .header .site-navbar > li > a { padding: 0 6px; line-height: 36px; }
  body:not(.search).search-on .site-search { top: 119px; }
}

