/* GIFTEd — team page styles. Shared tokens/components live in design-system.css. */

/* Board + youth officer cards */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.board-card {
  background: #FDFAF6;
  border-radius: 14px;
  border-top: 4px solid #1A5C6B;
  padding: 32px 28px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.07);
}
.board-card-photo {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  object-fit: cover;
  display: block;
  margin: 0 0 16px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.14);
}
.board-card-role {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4AADBB;
  margin: 0 0 10px;
}
.board-card-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #0D0D0D;
  line-height: 1.3;
  margin: 0;
}
.board-card-bio {
  font-family: var(--font-body);
  font-size: 0.87rem;
  color: #6B6B6B;
  line-height: 1.7;
  margin: 12px 0 0;
}

/* Flex instead of grid: with 5 officers a fixed 4-column grid strands the
   5th card alone on its own row, flush left. Flex-wrap lets an
   incomplete last row center itself instead. */
#team .board-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1180px;
}
#team .board-card {
  flex: 1 1 260px;
  max-width: 272px;
}
@media (max-width: 560px) {
  #team .board-card { max-width: 380px; }
}

/* Advisor sub-block under the officers (about.html #team) */
.team-subhead { text-align: center; margin-top: 88px; }
.team-subhead .inner-divider { margin-left: auto; margin-right: auto; }
.team-subhead .inner-sub { margin-left: auto; margin-right: auto; }
