.team-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background-color: var(--background-light);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.team-text-container {
  margin-bottom: 3rem;
  text-align: center;
}

.team-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.team-subtitle {
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgba(var(--text-light-rgb), 0.8);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 2rem;
}

.team-member-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-radius: 1rem;
  border: 1px solid;
  border-color: var(--border-light);
  background-color: var(--card-light);
  padding: 1.5rem;
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  transition: box-shadow 0.15s ease-in-out;
}

.team-member-card:hover {
  box-shadow:
    0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.team-member-image-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 9999px;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-light-rgb), 0.3),
    rgba(var(--secondary-rgb), 0.3)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  border: 3px solid var(--border-light);
}

.team-member-image {
  width: 108px;
  height: 108px;
  border-radius: 9999px;
  object-fit: cover;
  margin: 0 auto;
  border: none;
  overflow: hidden;
}

.team-member-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.team-member-name {
  font-size: 1.5rem;
  line-height: 2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-light);
}

.team-member-role {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-member-description {
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(var(--text-light-rgb), 0.8);
  margin-bottom: 1rem;
  text-align: justify;
}

.team-member-credentials {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.credential-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background-color: rgba(var(--primary-light-rgb), 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(var(--primary-light-rgb), 0.3);
}
