.team-section {
  padding: 6rem 0 7rem;
  background: var(--bg-primary);
}

/* Team Grid */

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

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

/* Photo / Placeholder */

.team-photo-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-secondary);
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Rajdhani', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--bg-secondary);
  user-select: none;
}

/* Card Info */

.team-info {
  padding: 1.25rem 1.5rem 1.5rem;
}

.team-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.team-title {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.75px;
}

/* Empty State */

.team-empty {
  text-align: center;
  color: var(--text-secondary);
  padding: 5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.team-empty p {
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 480px) {
  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .team-initials { font-size: 2.25rem; }
  .team-info { padding: 1rem; }
  .team-name { font-size: 1.1rem; }
}

@media (max-width: 360px) {
  .team-grid { grid-template-columns: 1fr; }
}
