/* PEF: glavni meni bez prelamanja na 922–1359px (4. 11. 2026).
   1280–1359px: kompaktniji razmaci, meni u istom redu sa logotipom.
   922–1279px: logotip u prvom redu, meni u drugom redu punom širinom.
   Ispod 922px (mobilni meni) i iznad 1359px bez promene. */

@media (min-width:922px) and (max-width:1359px){
  #ast-desktop-header .ast-primary-header-bar #mega-menu-primary > li.mega-menu-item:not(.pef-menu-webmail) > a.mega-menu-link{
    padding-left:10px!important;padding-right:10px!important;
  }
  #ast-desktop-header #mega-menu-wrap-primary #mega-menu-primary > li.pef-menu-webmail{
    margin-left:4px;padding-left:4px;
  }
}

@media (min-width:922px) and (max-width:1279px){
  #ast-desktop-header .ast-primary-header-bar .ast-builder-grid-row{
    grid-template-columns:1fr!important;
  }
  #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-left{
    padding:12px 0 4px!important;
  }
  #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right{
    justify-content:flex-start!important;
    border-top:1px solid rgba(255,255,255,.12)!important;
  }
  #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right .ast-builder-menu-1,
  #ast-desktop-header .ast-primary-header-bar .site-header-primary-section-right .ast-main-header-bar-alignment,
  #ast-desktop-header #mega-menu-wrap-primary{
    width:100%;
  }
  #ast-desktop-header #mega-menu-wrap-primary #mega-menu-primary{
    display:flex!important;justify-content:space-between;
  }
}
