/* Community Portal Supporters - external CSS (CSP-safe) */
.supporters-grid {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 40rem) {
  .supporters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.supporter-card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.supporter-link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.supporter-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 5.5rem;
  padding: 0.85rem 1rem;
  border-radius: calc(var(--radius) - 0.35rem);
  background: var(--pine-deep);
  overflow: hidden;
}

.supporter-logo {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.supporter-name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.25;
  font-weight: 700;
  color: var(--pine);
}

.supporter-link:hover .supporter-name,
.supporter-link:focus-visible .supporter-name {
  color: var(--clay-ink);
  text-decoration: underline;
}

.supporter-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  word-break: break-word;
}
