/* Center only the desktop top-level navigation, including the compact header. */
@media (min-width: 992px) and (orientation: landscape) {
  #header .ps-mainmenu--desktop .ag-desktop-navigation {
    width: 100%;
    margin-inline: 0;
  }
  #header .ag-desktop-navigation > #top-menu {
    display: flex;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    margin-inline: 0 !important;
    padding-inline: 12px;
  }
  #header .ag-desktop-navigation > #top-menu > .ps-mainmenu__tree-item {
    flex: 0 0 auto;
    margin-inline: 0;
  }
}
