.team-section {
  background: #e7f2ff; /* match How it Works light blue */
  padding: 64px 0 48px 0;
}
.team-section .section-header h2 {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: 0.01em;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 40px;
  margin-top: 12px;
  justify-items: center;
}

@media (max-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 8px;
  }
}
@media (max-width: 600px) {
  .team-section {
    padding: 38px 0 24px 0;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 14px 0;
  }
  .team-tile {
    padding: 18px 6px 10px 6px;
    width: 98vw;
    max-width: 340px;
  }
}
.team-tile {
  background: #ffffff; /* white sub-section cards */
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 28px 20px 20px 20px;
  width: 95%;
  max-width: 340px;
  min-width: 240px;
  text-align: center;
  transition: box-shadow 0.2s;
}
.team-tile:hover {
  box-shadow: 0 4px 32px rgba(0,0,0,0.13);
}
.team-photo {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 18px;
  background: #b9e4cb;
}
.team-tile h3 {
  margin: 0 0 8px 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-color);
}
.team-tile p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-color);
  line-height: 1.4;
}
/* Ensure LinkedIn links in headings inherit the dark grey */
.team-tile h3 a {
  color: inherit;
}
@media (max-width: 900px) {
  .team-grid {
    gap: 18px 8px;
  }
  .team-tile {
    width: 47vw;
    min-width: 160px;
    max-width: 260px;
  }
}
@media (max-width: 600px) {
  .team-section {
    padding: 38px 0 24px 0;
  }
  .team-tile {
    padding: 18px 6px 10px 6px;
    width: 98vw;
    max-width: 340px;
  }
}
