/* NMRON 49.10.6 | Jeden nieduzy baner przy jednej ofercie, uklad rozbudowywany wraz z oferta.
   Dotyczy WYLACZNIE strony glownej. Bez zmian kart sklepu oraz stron /promocje/ i /wydarzenia/. */
@media(min-width:721px){
  body:has(section.live-events-promos.nmp-49106-ready) section.live-events-promos.nmp-49106-ready{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:start!important;
    gap:clamp(14px,1.8vw,24px)!important;
  }
  section.live-events-promos.nmp-49106-ready>.event-zone,
  section.live-events-promos.nmp-49106-ready>.promo-zone{
    grid-column:1/-1!important;width:100%!important;max-width:none!important;
    min-width:0!important;min-height:0!important;height:auto!important;
    align-self:start!important;margin:0!important;
  }
  /* Zyskana przestrzen: pelny kalendarz zajmuje szerokosc strony. */
  section.live-events-promos.nmp-49106-ready>.event-zone{order:2!important;}
  section.live-events-promos.nmp-49106-ready>.promo-zone{order:1!important;}
  /* Jedna promocja: elegancki, niski pas z tytulem obok karty. */
  section.live-events-promos[data-nmp-layout="one"]>.promo-zone{
    display:grid!important;
    grid-template-columns:minmax(220px,.65fr) minmax(0,1.6fr)!important;
    align-items:center!important;column-gap:clamp(12px,2.4vw,28px)!important;
    row-gap:10px!important;padding:clamp(14px,2.2vw,24px)!important;
  }
  section.live-events-promos[data-nmp-layout="one"]>.promo-zone>.live-section-head{
    align-self:center!important;margin:0!important;min-width:0!important;
    display:flex!important;flex-direction:column!important;align-items:start!important;gap:8px!important;
  }
  section.live-events-promos[data-nmp-layout="one"]>.promo-zone>.promo-live-grid{
    min-width:0!important;min-height:0!important;display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;align-items:start!important;gap:12px!important;
  }
  section.live-events-promos[data-nmp-layout="one"] .promo-live-grid>:not(.nm1921-slot){
    min-width:0!important;min-height:0!important;height:auto!important;max-height:none!important;
  }
  /* Dwie promocje obok siebie; przy wiekszej liczbie siatka automatycznie dostawia karty. */
  section.live-events-promos[data-nmp-layout="two"] .promo-live-grid{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:clamp(12px,1.3vw,20px)!important;align-items:start!important;
  }
  section.live-events-promos[data-nmp-layout="several"] .promo-live-grid,
  section.live-events-promos[data-nmp-layout="many"] .promo-live-grid{
    display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr))!important;
    gap:clamp(12px,1.3vw,20px)!important;align-items:stretch!important;
  }
  section.live-events-promos.nmp-49106-ready>.promo-zone>.promo-live-grid{height:auto!important;min-height:0!important;max-height:none!important;}
  section.live-events-promos.nmp-49106-ready .promo-live-grid img{max-height:185px;object-fit:cover;}
  section.live-events-promos.nmp-49106-ready .promo-live-grid>*{min-width:0!important;}
  /* Nawet przy wielu wydarzeniach panel promocji nie rozciaga sie do ich wysokosci. */
  section.live-events-promos.nmp-49106-ready>.promo-zone{align-content:start!important;}
}
@media(max-width:1000px){
  section.live-events-promos[data-nmp-layout="one"]>.promo-zone{
    grid-template-columns:minmax(0,1fr)!important;
  }
  section.live-events-promos[data-nmp-layout="two"] .promo-live-grid{
    grid-template-columns:repeat(auto-fit,minmax(min(100%,265px),1fr))!important;
  }
}
@media(max-width:720px){
  section.live-events-promos.nmp-49106-ready{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:18px!important;}
  section.live-events-promos.nmp-49106-ready>.promo-zone{order:1!important;min-height:0!important;height:auto!important;width:100%!important;align-self:start!important;}
  section.live-events-promos.nmp-49106-ready>.event-zone{order:2!important;min-height:0!important;width:100%!important;}
  section.live-events-promos.nmp-49106-ready .promo-live-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
}
