/* Meet the Team section — rendered server-side by functions/index.js
   (homepage) and functions/team-section.js (standalone QA route).
   Reuses :root tokens from style.css. */

.demo-banner {
  background: #b23b3b;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.team-section .lede {
  text-align: center;
  font-style: italic;
  color: var(--gold-dark);
  margin-top: -0.5rem;
}

.team-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 1.5rem;
}

.team-card {
  background: #fff;
  border: 1px solid #d8d2c6;
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.team-avatar {
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.team-name { margin: 0 0 1rem; font-size: 1.1rem; }

.team-card .btn-sm {
  margin-top: auto;
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

@media (max-width: 44rem) {
  .team-grid { grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
}
