/* Sponsor logo styling */
.sponsor-logo {
  background: transparent;
  border: 1px solid #d1d5db;
  padding: 1rem;
  border-radius: 0.5rem;
  width: 100%;
  max-width: 320px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 280px;
}

.dark .sponsor-logo {
  background: white;
  border: none;
}

.sponsor-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1rem;
}

.sponsor-logo.bronze {
  margin: 0;
}

.sponsor-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sponsor-logo img {
  width: auto;
  height: 60px;
  max-width: 100%;
  object-fit: contain;
  cursor: pointer;
}

/* Size modifiers for logos with different aspect ratios */
.sponsor-logo.gold img {
  height: 75px;
}

.sponsor-logo.large img {
  height: 75px;
}

/* In-kind sponsor styling */
.in-kind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.in-kind-sponsor {
  background: transparent;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dark .in-kind-sponsor {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.in-kind-sponsor .sponsor-logo-container {
  background: white;
  border: 1px solid #d1d5db;
  padding: 0.5rem;
  border-radius: 0.375rem;
  max-width: 120px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark .in-kind-sponsor .sponsor-logo-container {
  background: white;
  border: none;
}

.in-kind-sponsor .sponsor-logo-container a {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.in-kind-sponsor .sponsor-logo-container img {
  width: auto;
  height: 25px;
  max-width: 100%;
  object-fit: contain;
  cursor: pointer;
}

.in-kind-sponsor .sponsor-info {
  flex: 1;
}

.in-kind-sponsor .sponsor-info h4 {
  margin: 0 0 0.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.in-kind-sponsor .sponsor-info h4 a {
  color: inherit;
  text-decoration: none;
}

.in-kind-sponsor .sponsor-info h4 a:hover {
  color: var(--color-primary-600);
  text-decoration: underline;
}

.dark .in-kind-sponsor .sponsor-info h4 a:hover {
  color: var(--color-primary-400);
}

.in-kind-sponsor .sponsor-info p.sponsor-description {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #6b7280;
}

.dark .in-kind-sponsor .sponsor-info p.sponsor-description {
  color: rgba(255, 255, 255, 0.7);
}
