/*
 * Team
 * Team member cards with photo, name, role, social links
 * Layout: grid (default)
 */

.team {
  padding: var(--space-12) var(--space-6);
}

.team-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-10);
}

.team-header h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.team-header p {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: 1080px;
  margin: 0 auto;
}

.team-card {
  text-align: center;
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition-base), border-color var(--transition-base);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-hover);
}

.team-photo {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-full);
  object-fit: cover;
  margin: 0 auto var(--space-4);
  background: var(--color-surface);
  border: 2px solid var(--color-border);
}

.team-name {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.team-role {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: var(--leading-relaxed);
  margin-bottom: var(--space-4);
}

.team-social {
  display: flex;
  gap: var(--space-3);
  justify-content: center;
}

.team-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast);
}

.team-social a:hover {
  color: var(--color-primary);
  background: var(--color-bg);
  border-color: var(--color-primary);
  text-decoration: none;
}

/* Responsive */
@media (min-width: 640px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1280px) {
  .team-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
