.team-page {
  position: relative;
  flex: 1 1 auto;
  background: #ffffff;
}

.team-section {
  position: relative;
  width: 100%;
  background: #f8f9fa;
  padding: 3rem 1rem;
}

.team-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.team-header {
  margin-bottom: 2rem;
  text-align: center;
}

.team-title {
  margin: 0;
  color: #18181b;
  font-size: 1.5rem;
  font-weight: 700;
}

.team-description {
  max-width: 48rem;
  margin: 0.5rem auto 0;
  padding: 0 1rem;
  color: #52525b;
  font-size: 0.875rem;
  line-height: 1.6;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-photo-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e4e4e7;
  cursor: pointer;
}

.team-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(to bottom right, #f4f4f5, #e4e4e7);
}

.team-photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 0 0 1px #d4d4d8;
  color: #3f3f46;
  font-size: 1.25rem;
  font-weight: 700;
}

.team-photo-note {
  color: #71717a;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.team-member-info {
  margin-top: 1rem;
  text-align: center;
}

.team-member-name {
  margin: 0;
  color: #1a202c;
  font-size: 1.125rem;
  font-weight: 700;
}

.team-member-role {
  margin: 0.25rem 0 0;
  color: #3A66B7;
  font-size: 0.875rem;
  font-weight: 500;
}

@media (min-width: 640px) {
  .team-section {
    padding: 4rem 1.5rem;
  }

  .team-header {
    margin-bottom: 3rem;
  }

  .team-title {
    font-size: 1.875rem;
  }

  .team-description {
    margin-top: 0.75rem;
    font-size: 1rem;
  }

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

  .team-member-info {
    margin-top: 1.25rem;
  }

  .team-member-name {
    font-size: 1.25rem;
  }

  .team-member-role {
    font-size: 0.9375rem;
  }
}

@media (min-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 3rem;
  }
}