/* Equal-size supporter spaces, with the original artwork fully contained. */
.supporter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.supporter-card {
  display: block;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--navy-ink);
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(18, 38, 90, .04);
}
.supporter-card:hover { border-color: var(--navy); }
.supporter-card:focus-visible { outline: 3px solid var(--navy); outline-offset: 4px; }
.supporter-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 112px;
  padding: 20px;
  text-align: center;
}
.supporter-logo img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 64px;
  object-fit: contain;
}
/* The supplied reverse logo has white lettering; keep its original pixels. */
.supporter-card[data-supporter-id="black-belt-world"] .supporter-logo {
  background: var(--navy-ink);
  border-radius: 9px;
}
.supporter-wordmark {
  max-width: 100%;
  font: 600 clamp(15px, 1.4vw, 19px)/1.35 var(--sans);
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .supporter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .supporter-logo { padding: 16px; }
}

/* Keep the requested Chinese name inside the equal-size logo container. */
.supporter-logo.has-caption { flex-direction: column; gap: 4px; padding-block: 12px; }
.supporter-logo.has-caption img { flex-shrink: 0; }
.supporter-caption { flex: none; color: var(--navy-ink); font: 600 14px/20px var(--sans); white-space: nowrap; }
