/* Participants Grid - 4 columns */
.participants-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.participant-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.participant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.participant-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.8rem;
  border: 3px solid #e0e0e0;
}

.participant-name {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.3rem;
}

.participant-affiliation {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.8rem;
  line-height: 1.3;
}

.participant-links {
  display: flex;
  gap: 0.8rem;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.participant-links li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.participant-links li::before {
  content: none !important;
}

.participant-links a {
  color: #666;
  font-size: 1.3rem;
  transition: color 0.2s;
  text-decoration: none;
  display: inline-block;
}

.participant-links a:hover {
  color: #0077b5;
}

.participant-links a.github:hover {
  color: #333;
}

.participant-links a.website:hover {
  color: #4CAF50;
}

/* Responsive design for participants grid */
@media (max-width: 1200px) {
  .participants-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .participants-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .participants-grid {
    grid-template-columns: 1fr;
  }
}