/* Force the fixed-height box even if theme classes override */
.icon .sponsorpage,
.sponsorpage {
  height: 100px !important;
  width: 100% !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;           /* hides anything that overflows */
  background-color: #fff;     /* optional for visibility */
  }

/* Ensure the <a> doesn't collapse or impose its own size */
.sponsorpage > a {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: center;
}

/* Image scales down within the 160px box */
.sponsorpage img {
  height: auto !important;
  max-height: 100% !important;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
