.team-hero {
  padding: 84px 0 42px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(11, 35, 64, 0.06);
}

.team-hero-inner {
  max-width: 900px;
}

.team-hero h1 {
  margin: 12px 0 18px;
  color: #0b2340;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -1.5px;
}

.team-hero p {
  max-width: 760px;
  margin: 0;
  color: #5f6f82;
  font-size: 18px;
  line-height: 1.85;
}

.team-listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
}

.team-list-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 34px;
  align-items: center;
  padding: 34px;
  background: #ffffff;
  border: 1px solid rgba(11, 35, 64, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-list-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

.team-list-photo-wrap {
  text-decoration: none;
}

.team-list-photo {
  width: 180px;
  height: 180px;
  border-radius: 28px;
  background: linear-gradient(180deg, #eef2f6 0%, #e8edf3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b2340;
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.team-list-role {
  display: inline-block;
  margin-bottom: 12px;
  color: #b88a44;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-list-content h2 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.08;
}

.team-list-link {
  color: #0b2340;
  text-decoration: none;
  transition: color 0.25s ease;
}

.team-list-link:hover {
  color: #b88a44;
}

.team-list-content p {
  max-width: 760px;
  margin: 0 0 20px;
  color: #5f6f82;
  font-size: 17px;
  line-height: 1.85;
}

.team-list-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0b2340;
  font-weight: 600;
  text-decoration: none;
}

.team-list-cta:hover {
  color: #b88a44;
}

.team-member-hero {
  padding: 26px 0 0;
  background: #ffffff;
}

.team-member-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #7b8794;
  font-size: 14px;
}

.team-member-breadcrumb a {
  color: #0b2340;
  text-decoration: none;
}

.team-member-profile {
  padding-top: 42px;
}

.team-member-grid {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.team-member-sidebar {
  position: sticky;
  top: 120px;
}

.team-member-photo {
  margin-bottom: 22px;
}

.team-member-photo img,
.team-member-photo-fallback {
  width: 100%;
  border-radius: 28px;
}

.team-member-photo-fallback {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #eef2f6 0%, #e8edf3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b2340;
  font-size: 72px;
  font-weight: 700;
}

.team-member-meta-card {
  margin-bottom: 16px;
  padding: 20px 22px;
  border: 1px solid rgba(11, 35, 64, 0.08);
  border-radius: 20px;
  background: #f8fafc;
}

.team-member-role-label {
  display: block;
  margin-bottom: 8px;
  color: #b88a44;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.team-member-meta-card strong {
  color: #0b2340;
  font-size: 18px;
}

.team-member-meta-card p {
  margin: 0;
  color: #5f6f82;
  line-height: 1.75;
}

.team-member-main h1 {
  margin: 10px 0 10px;
  color: #0b2340;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1;
  letter-spacing: -1.5px;
}

.team-member-designation {
  margin: 0 0 28px;
  color: #b88a44;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.team-member-content {
  color: #5f6f82;
  font-size: 17px;
  line-height: 1.95;
}

.team-member-content h2,
.team-member-content h3 {
  margin-top: 34px;
  margin-bottom: 14px;
  color: #0b2340;
  line-height: 1.2;
}

.team-member-content p {
  margin-bottom: 18px;
}

.team-back-link {
  display: inline-flex;
  margin-top: 20px;
  color: #0b2340;
  font-weight: 600;
  text-decoration: none;
}

.team-back-link:hover {
  color: #b88a44;
}

@media (max-width: 991px) {
  .team-list-card {
    grid-template-columns: 160px 1fr;
  }

  .team-list-photo {
    width: 140px;
    height: 140px;
    font-size: 40px;
  }

  .team-list-content h2 {
    font-size: 32px;
  }

  .team-member-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .team-member-sidebar {
    position: static;
  }

  .team-member-photo {
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  .team-hero {
    padding: 64px 0 34px;
  }

  .team-list-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px;
  }

  .team-list-photo {
    width: 120px;
    height: 120px;
    font-size: 34px;
    border-radius: 22px;
  }

  .team-list-content h2 {
    font-size: 28px;
  }

  .team-list-content p,
  .team-member-content {
    font-size: 16px;
  }

  .team-member-main h1 {
    font-size: 36px;
  }
}