.team-page {
  min-height: 100vh;
  padding: 75px 7% 110px;

  background:
    radial-gradient(
      circle at top,
      #fff9fb,
      #f8d6e3
    );
}
.team-page a{
 color: black;
}
.team-intro {
  max-width: 760px;
  margin: 0 auto 60px;
  text-align: center;
}

.team-kicker {
  margin: 0 0 10px;

  color: #c95682;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.team-intro h1 {
  margin: 0;

  color: #a54268;
  font-family: Georgia, serif;
  font-size: clamp(40px, 5vw, 68px);
}

.team-intro > p:last-child {
  margin: 18px auto 0;

  color: #80636e;
  font-size: 17px;
  line-height: 1.7;
}

.team-grid {
  display: grid;
  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 30px;

  width: min(100%, 1400px);
  margin: 0 auto;
}

.team-card {
  display: flex;
  flex-direction: column;

  height: auto;
  min-height: 0;

  overflow: hidden;

  border: 1px solid rgba(201, 86, 130, 0.18);
  border-radius: 26px;

  background: rgba(255, 255, 255, 0.88);

  box-shadow:
    0 18px 42px rgba(135, 52, 85, 0.13);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-7px);

  box-shadow:
    0 25px 50px rgba(135, 52, 85, 0.19);
}
.team-photo-wrapper {
  width: 100%;
  height: 300px;

  flex-shrink: 0;

  overflow: hidden;

  background: #efd3df;
}

.team-photo {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;
}

.team-info {
  display: flex;
  flex-direction: column;

  flex: 1;

  padding: 28px 30px 32px;

  background: rgba(255,255,255,.95);
}
.team-info h2 {
  margin: 0;

  color: #9f3f64;

  font-family: Georgia, serif;
  font-size: 29px;

  line-height: 1.15;
}
.team-role {
  align-self: flex-start;

  margin: 10px 0 18px;
  padding: 6px 12px;

  border-radius: 999px;

  background: #f9dce7;

  color: #b64f77;

  font-size: 13px;
  font-weight: 700;
}

.team-bio {
  margin: 0;

  color: #705a63;
  font-size: 15px;
  line-height: 1.75;
}
.team-info > span {
  display: block;
  margin-top: 5px;
}

.team-info > span a {
  color: #b7547c;

  font-size: 14px;
  font-weight: 600;

  text-decoration: none;
}

.team-info > span a:hover {
  text-decoration: underline;
}



@media (max-width: 650px) {
    .team-page {
    padding: 50px 16px 75px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .team-photo-wrapper {
    height: 340px;
  }

  .team-info {
    padding: 24px 20px 30px;
  }

  .team-info h2 {
    font-size: 26px;
  }
  
}
