﻿/* ===== TEAM SECTION STYLES ===== */

.team-section {
  margin-top: 4rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.team-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 61, 122, 0.55);
  transition: all 0.3s ease;
  max-width: 320px;
  box-shadow: 0 4px 8px #003d7a;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 86, 179, 0.2);
  border-color: #0056b3;
}

.team-card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.team-card-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #0056b3, #003d7a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2.5rem;
}

.team-card-content {
  padding: 1.2rem;
}

.team-card-name {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: #0056b3;
  font-weight: 600;
}

.team-card-title {
  color: #0056b3;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.team-card-category {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  background: rgba(0, 86, 179, 0.15);
  color: #0056b3;
  border-radius: 5px;
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
}

.team-card-description {
  color: #bbb;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

.team-card-empty {
  text-align: center;
  padding: 3rem;
  grid-column: 1 / -1;
  color: #999;
}

.team-card-empty-icon {
  font-size: 2.5rem;
  opacity: 0.5;
  margin-bottom: 1rem;
}

.team-card-empty-error {
  color: #ff0000;
  font-size: 2rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .team-card {
    max-width: 100%;
  }

  .team-card-name {
    font-size: 0.95rem;
  }

  .team-card-title {
    font-size: 0.85rem;
  }

  .team-card-description {
    font-size: 0.8rem;
  }
}
