@media (min-width:1025px){
  /* Keep every custom mega menu on the same desktop width as the Koberce menu. */
  .elementskit-megamenu-panel .kobercium-mega{
    width:90% !important;
    max-width:none !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
  }

  /* Services was the only menu forced to 100%; bring it back to the shared width. */
  .elementskit-megamenu-panel .kobercium-mega-sluzby{
    width:90% !important;
    max-width:none !important;
    --width:90% !important;
    --content-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
  }

  .elementskit-megamenu-panel .kobercium-mega-sluzby > .e-con-inner{
    width:100% !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
    box-sizing:border-box !important;
  }

  .elementskit-megamenu-panel .kobercium-mega-sluzby .kobercium-card-grid{
    display:grid !important;
    grid-template-columns:repeat(5,minmax(0,1fr)) !important;
    gap:22px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    --width:100% !important;
    --content-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
    justify-content:stretch !important;
  }

  .elementskit-megamenu-panel .kobercium-mega-sluzby .kobercium-card-grid > .e-con-inner{
    display:contents !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
  }

  .elementskit-megamenu-panel .kobercium-mega-sluzby .kobercium-service-card{
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
  }
}

@media (min-width:1025px) and (max-width:1400px){
  .elementskit-megamenu-panel .kobercium-mega-sluzby .kobercium-card-grid{
    gap:16px !important;
  }
}
