/* ----- Our Team page ----- */

.section-team {
  padding: 2rem 0;
}

.team-intro {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 2.5rem;
  color: var(--color-text-muted);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}

.team-card {
  text-align: center;
  background: var(--color-surface);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
  max-width: 240px;
}

.team-card:hover {
  box-shadow: var(--shadow-hover);
}

.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
}

.team-name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.section-title--sub {
  margin-top: 3rem;
  margin-bottom: 0.5rem;
}

.advisory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  justify-items: center;
  margin-top: 1rem;
}

.advisory-card {
  text-align: center;
  background: var(--color-surface);
  padding: 1.25rem 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
  min-width: 0;
}

.advisory-card:hover {
  box-shadow: var(--shadow);
}

.advisory-name {
  font-weight: 500;
  color: var(--color-primary-dark);
}

.team-role {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .section-team {
    padding: 2rem 0;
  }
}
