.team-page-hero {
  padding-top: 4.9rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(242, 247, 247, 0.9)),
    url("../img/4853336.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.team-page-hero .navbar-brand,
.team-page-hero .navbar .nav-link {
  color: rgba(17, 17, 17, 0.88);
}

.team-page-hero .navbar .nav-link:hover,
.team-page-hero .navbar-brand:hover,
.team-page-hero .navbar .nav-link.active {
  color: #000;
}

.team-page-intro {
  padding: 2.5rem 0 3rem;
}

.team-page-intro-copy {
  max-width: 760px;
  padding: 2rem 2.2rem;
  border-radius: 1.45rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(8, 39, 42, 0.08);
}

.team-page-intro-copy p {
  color: #3f4b4a;
  font-size: 1.02rem;
  line-height: 1.7;
}

.team-page-main {
  background: linear-gradient(180deg, #f6f8f8 0%, #eef4f4 100%);
}

.team-profile-list {
  display: grid;
  gap: 1.5rem;
}

.team-profile-card {
  padding: 1.75rem;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 38px rgba(8, 39, 42, 0.08);
  scroll-margin-top: 6.5rem;
}

.team-profile-card:target {
  box-shadow: 0 18px 38px rgba(8, 39, 42, 0.08), 0 0 0 0.3rem rgba(32, 199, 190, 0.14);
}

.team-profile-media {
  display: flex;
  justify-content: center;
}

.team-profile-photo {
  width: 168px;
  height: 168px;
  margin-bottom: 0;
}

.team-bio {
  color: #3f4b4a;
  font-size: 1rem;
  line-height: 1.72;
  margin-bottom: 1rem;
}

@media (max-width: 991.98px) {
  .team-page-hero {
    padding-top: 4.6rem;
  }

  .team-page-intro {
    padding: 2rem 0 2.4rem;
  }

  .team-page-intro-copy {
    padding: 1.7rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .team-page-intro-copy {
    padding: 1.4rem 1.1rem;
  }

  .team-page-intro-copy p,
  .team-bio {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .team-profile-card {
    padding: 1.2rem;
  }

  .team-profile-photo {
    width: 126px;
    height: 126px;
  }
}
