/* Sponsor – ARCHIV (scoped) */
.sponsor-archive .hndb-card-grid{
  display:grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap:12px;
}
@media (min-width:600px){
  .sponsor-archive .hndb-card-grid{ grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (min-width:900px){
  .sponsor-archive .hndb-card-grid{ grid-template-columns: repeat(4,minmax(0,1fr)); }
}

/* Kachel */
.sponsor-archive .hndb-card--sponsor{
  display:flex; flex-direction:column; align-items:center; text-align:center;
  background:#fff; border-radius:14px; box-shadow:0 7px 20px rgba(0,0,0,.06);
  padding:16px 14px; gap:10px; transition: transform .2s, box-shadow .2s;
}
.sponsor-archive .hndb-card--sponsor:hover{ transform: translateY(-2px); box-shadow:0 10px 26px rgba(0,0,0,.1); }

/* Media-Box & Logo eingepasst (contain) */
.sponsor-archive .hndb-card--sponsor .hndb-card-media{
  width:100%; height:110px; padding:8px; border-radius:12px; /* background:#f7f7f7; */
  display:flex; align-items:center; justify-content:center; overflow:hidden;
}
.sponsor-archive .hndb-card--sponsor .hndb-card-media img,
.sponsor-archive .hndb-card--sponsor .hndb-card-media .hndb-thumb{
  max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; display:block; border-radius:0;
}

/* Safety gegen evtl. ältere Regeln, die Grid-Items auf 1/-1 ziehen */
.sponsor-archive .hndb-card-grid > * { grid-column:auto; }