/* Minimal, site-consistent styles for the Team page */
/* Let the team page grow naturally so the footer doesn't overlap */
.team-page {
  min-height: auto;
  height: auto;
}
/* Rows for custom layout */
.team-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.team-row.top .team-card {
  max-width: 300px;
  width: 100%;
}

.team-row.two-cols .team-card {
  flex: 1 1 220px;
  max-width: 300px;
}

.team-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  text-align: center;
}

.member-photo {
  width: 160px;
  height: 160px;
  object-fit: cover; /* crop from the sides for portrait images */
  object-position: center; /* keep head centered */
  border-radius: 6px; /* square with slightly rounded corners */
  display: block;
  margin: 0 auto 10px auto; /* center image in card */
}

@media (max-width: 480px) {
  .member-photo {
    width: 120px;
    height: 120px;
  }
}

.member-name {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 10px;
  color: #000;
}

.member-links .btn {
  margin: 4px 6px;
}
