/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-active);
  box-shadow: var(--shadow-glow);
}

.team-photo {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto var(--space-lg);
  border: 3px solid rgba(56, 189, 248, 0.4);
  box-shadow: var(--shadow-sm);
}

.team-name {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2xs);
}

.team-role {
  color: var(--text-accent);
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: var(--space-md);
}

.team-bio {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: var(--text-sm);
  min-height: 44px;
  padding: 0 var(--space-xs);
  margin-top: auto;
  align-self: center;
}

.social-link:hover {
  color: var(--text-accent);
}
