/* M5 GROUPS 1.0.28a — kwadratowe logo 1:1 na listach grup.
   Wymaga M5 GROUPS 1.0.28: IMAGE_URL prowadzi do osobnego logo (gdy istnieje).
   Nie zmienia naglowka/zdjecia tla ani innych modulow. */
html body .m5g-wrap.m5g-light-v2 .m5g-card-img {
  display: flex !important;
  width: 144px !important;
  height: 144px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: 144px !important;
  aspect-ratio: 1 / 1;
  align-self: center !important;
  justify-self: center !important;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid #c9dced;
  border-radius: 12px;
  background: #edf5ff !important;
}
html body .m5g-wrap.m5g-light-v2 .m5g-card-img img {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  object-position: center center !important;
  background: #edf5ff !important;
}
@media (max-width: 700px) {
  html body .m5g-wrap.m5g-light-v2 .m5g-card-img {
    width: 98px !important;
    height: 98px !important;
    max-height: 98px !important;
  }
}
@media (max-width: 390px) {
  html body .m5g-wrap.m5g-light-v2 .m5g-card-img {
    width: 78px !important;
    height: 78px !important;
    max-height: 78px !important;
  }
}
