.ihss-sponsor-wrap {
  display: block;
  width: 100%;
  text-align: center;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

/* The creative box: sized by aspect ratio, capped at maxWidth via inline style */
.ihss-sponsor-box {
  width: 100%;
  overflow: hidden;
  margin: 0 auto;
  /* aspect-ratio and max-width come from inline style set by PHP */
}


.ihss-sponsor-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.ihss-sponsor-link:hover {
  opacity: 0.9;
}

/* Banner fit: contain (no crop) — matches FE object-contain */
.ihss-sponsor-fit-banner .ihss-sponsor-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Card fit: cover (fills box, may crop) — matches FE object-cover */
.ihss-sponsor-fit-card .ihss-sponsor-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Caption below image — mirrors AdBanner.tsx mt-1.5 text-center */
.ihss-sponsor-caption {
  margin: 6px auto 0;
  text-align: center;
}

.ihss-sponsor-caption p {
  margin: 0 !important;
  padding: 0 !important;
}

.ihss-sponsor-headline {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.ihss-sponsor-body {
  font-size: 11px;
  line-height: 1.3;
  color: #888;
}

