.team-page {
  /* banner/header */
  --banner-height: 150px;
}

.team-page .banner {
  position: relative;
  height: var(--banner-height);
  background-color: #000;
  clip-path: polygon(
    0   0,      /* top-left */
    100% 0,     /* top-right */
    100% 70%,   /* right, 90% down */
    50% 100%,   /* bottom-center */
    0   70%     /* left, 90% down */
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0em;
}

.team-page .banner h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: normal;
  margin: 0;
}

/* Main content wrapper */
.team-page .team-content {
  max-width: 1200px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
  text-align: center;
}

/* Individual member card */
.team-page .team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Headshot */
.team-page .member-photo {
  max-width: 600px;   /* max width */
  width: 100%;        /* fill container width but never exceed max-width */
  max-height: 500px;  /* limit height */
  height: auto;       /* maintain aspect ratio */
  display: block;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

/* Name */
.team-page .member-name {
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #111;
}

/* Title/link */
.team-page .member-title {
  display: inline-block;
  font-size: 1rem;
  color: #000;
  text-decoration: none;
  margin-bottom: 1.5rem;
  text-decoration: underline;
}

/* Bio text */
.team-page .member-bio {
  max-width: 1200px;
  width: 100%;         /* allow it to shrink below 1200px */
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin: 0 auto;      /* center when smaller than 1200px */
  flex: none;
}
