/* Section */
.team-section {
  padding: 4rem 2rem;
  background: #fff7ed;            /* matches About page tone */
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
}

/* Row */
.team-member {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Alternate left/right automatically */
.team-member:nth-child(even) { 
  flex-direction: row-reverse;
}

/* Photo */
.member-photo {
  flex: 1 1 360px;
  max-width: 420px;
}
.member-photo img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 6px solid var(--finn, #67306C);  /* magenta border */
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
  display: block;
}

/* Text */
.member-text {
  flex: 1 1 460px;
}
.member-text h3 {
  font-size: 1.65rem;
  margin: 0 0 .25rem 0;
  color: var(--finn, #67306C);
}
.member-text p {
  margin: 0;
  font-size: 1.05rem;
  color: #333;
}

/* Mobile */
@media (max-width: 900px) {
  .team-member { flex-direction: column; text-align: center; }
  .team-member:nth-child(even) { flex-direction: column; }
  .member-photo { max-width: 540px; margin: 0 auto; }
  .member-text { text-align: left; }
}

/* Tiny screens */
@media (max-width: 520px) {
  .team-section { padding: 2.5rem 1rem; }
  .member-text h3 { font-size: 1.35rem; }
}
