/* Styles that were inlined on team.html only. */

/* ---- html, body ---- */
html, body { max-width: 100%; overflow-x: hidden; }
#header { background-color: #ffffff !important; box-shadow: 0 1px 0 rgba(0,0,0,0.08); }
#header, #header a, #header .header-nav-item, #header .header-title, #header .header-title-text, #header .header-actions, #header * { color: #2b2b2b !important; }
#pream-lang-toggle { border-color: #2b2b2b !important; }
.nav-roster-section { max-width: 1200px; margin: 0 auto; padding: 60px 24px; }
.nav-roster-section > h2 { text-align: center; margin-bottom: 56px; }
.nav-roster-section > h3.group-heading { text-align: center; margin: 64px 0 32px 0; }
.nav-roster-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.nav-member {
  border: 3px solid var(--accent);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}
.nav-member-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; display: block; margin: 0; border: none; border-radius: 0; }
.nav-member h3 { text-align: center; margin: 0; padding: 16px 18px 8px; border-top: 3px solid var(--accent); font-size: 1.05rem; line-height: 1.3; }
.nav-member .member-role { text-align: center; margin: 0; padding: 0 18px 10px; font-size: 0.9em; }
.nav-member p.member-bio { margin: 0; text-align: center; padding: 0 18px 22px; }
.nav-member:nth-child(4n+1) { --accent: #ECC253; }
.nav-member:nth-child(4n+2) { --accent: #4EABCC; }
.nav-member:nth-child(4n+3) { --accent: #306011; }
.nav-member:nth-child(4n) { --accent: #842C43; }
.bio-toggle { cursor: pointer; color: #9a7b1f; font-size: 0.85em; letter-spacing: 0.02em; margin-left: 4px; white-space: nowrap; text-decoration: none; }
.bio-toggle:hover { text-decoration: underline; }
@media (max-width: 1100px) {
  .nav-roster-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav-roster-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-roster-grid { grid-template-columns: 1fr; }
}
