/* Team Page Specific Styles */
.team-header {
  text-align: center;
  margin: 5rem auto 4rem;
  max-width: 800px;
}

.team-header .subtitle {
  margin: 2rem auto;
  font-size: 1.15rem;
  line-height: 1.8;
  max-width: 700px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 6rem;
}

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

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  background-color: var(--light-bg);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  text-align: center;
}

.team-role {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--primary-green);
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: 'Courier New', Courier, monospace;
}

.team-bio {
  font-size: 0.85rem;
  color: var(--gray-text);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.team-socials {
  display: flex;
  gap: 0.5rem;
}

.team-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--primary-green);
  transition: all 0.3s ease;
}

.team-socials a svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.team-socials a:hover {
  background-color: var(--primary-green);
  color: white;
  border-color: var(--primary-green);
}

@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-header h1 {
    font-size: 3rem !important;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-photo {
    height: 350px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .team-name {
    font-size: 1.25rem;
  }
  .team-role {
    font-size: 0.65rem;
  }
  .team-bio {
    font-size: 0.8rem;
  }
}
