/* Single Team Member – hero + two-column layout */

/* Full-width hero similar to About page */
.af-hero {
  width: 100%;
  min-height: 280px;              /* adjust to match About page height */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.af-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.25);   /* subtle overlay for readability */
}
.af-hero.no-bg {
  background: #226fac;           /* fallback solid if image not found */
}
.af-hero-inner {
  position: relative;
  z-index: 1;
  padding: 32px 16px;
  max-width: 1100px;
}
.af-hero-title {
  margin: 0 0 10px;
  font-size: 48px;
  line-height: 1.1;
  color: #fff;
  font-weight: 700;
}
.af-hero-sub {
  margin: 0;
  font-size: 18px;
  color: #fff;
  opacity: .95;
}

/* Two-column body */
.af-team-profile-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.af-team-single-name {
  margin: 14px 0 4px;
  font-size: 24px;
  font-weight: 700;
}
.af-team-single-role {
  font-size: 16px;
  opacity: .85;
}

/* Bio content */
.af-team-bio {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(10, 10, 10, 0.6);
  text-align: left;
}
.af-team-bio p { margin: 0 0 1em; }

@media (max-width: 999px) {
  .af-hero { min-height: 420px; }
  .af-hero-title { font-size: 36px; }
}
