/* ===== TEAM SECTION (embedded in home) ===== */

/* The section itself inherits the shared white card from `.about-page section`;
   these rules only lay out the members inside it. */

.team-grid {
  display: flex;
  justify-content: center;
  gap: 24px 64px;
  flex-wrap: wrap;
}

.team-card {
  width: 240px;
  padding: 8px 0;
  text-align: center;
}

.team-photo {
  display: block;
  width: 96px;
  height: 96px;
  margin: 0 auto 14px auto;
  border-radius: 50%;
  object-fit: cover;
  background: var(--border-subtle);
}

.team-card h3 {
  margin: 0 0 6px 0;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
}

.team-role {
  margin: 0 0 14px 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.about-page a.team-linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: #555;
  text-decoration: none;
  transition: color 150ms ease, transform 150ms ease;
}

.about-page a.team-linkedin:hover {
  color: var(--accent, #000);
  transform: translateY(-2px);
}

.team-linkedin svg {
  width: 1.375rem;
  height: 1.375rem;
  fill: currentColor;
}

@media (max-width: 768px) {
  .team-grid {
    gap: 20px;
  }
}
