/*
  Agenz Foundation V104
  Locks the desktop header logo, primary navigation, and account actions to one
  vertical centerline after all legacy/public styles have loaded.
*/

@media (min-width: 1141px) {
  html body .site-header,
  html body .site-header.scrolled,
  html body .site-header.ref-scrolled,
  html body.umkm-page .site-header,
  html body.ecosystem-showcase .site-header,
  html body.library-page .site-header {
    display: grid !important;
    align-items: center !important;
    align-content: center !important;
  }

  html body .site-header > .brand-lockup,
  html body .site-header > .desktop-nav,
  html body .site-header > .header-actions {
    top: auto !important;
    bottom: auto !important;
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }

  html body .site-header > .brand-lockup {
    justify-self: start !important;
  }

  html body .site-header > .desktop-nav,
  html body.ecosystem-showcase .site-header > .desktop-nav,
  html body.library-page .site-header > .desktop-nav,
  html body.umkm-page .site-header > .desktop-nav {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    align-items: center !important;
    align-content: center !important;
    justify-content: center !important;
    justify-self: center !important;
    transform: none !important;
  }

  html body .desktop-nav a,
  html body.ecosystem-showcase .desktop-nav a,
  html body.library-page .desktop-nav a,
  html body.umkm-page .desktop-nav a {
    align-self: stretch !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
  }

  html body .site-header > .header-actions {
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    justify-self: end !important;
    transform: none !important;
  }

  html body .header-actions > .account-entry,
  html body .header-actions > .language-toggle,
  html body .header-actions > .language-menu,
  html body .header-actions > .header-cta {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

