/* ============================================================
   TunaGrow CBO — Team Page Styles
   File: css/team.css
   ============================================================ */

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}

.team-card {
  background: var(--white); border-radius: 20px; padding: 28px 20px;
  text-align: center; box-shadow: 0 4px 20px rgba(59,42,26,0.07);
  transition: transform 0.3s;
}
.team-card:hover { transform: translateY(-4px); }

.team-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; font-weight: 700; color: var(--white);
  overflow: hidden;
  position: relative;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.team-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; color: var(--earth); margin-bottom: 4px;
}
.read-more-btn, .read-less-btn {
  background: none;
  border: none;
  color: var(--harvest);
  font-size: 0.85rem;
  cursor: pointer;
  margin-top: 6px;
  text-decoration: underline;
  padding: 0;
}
.read-more-btn:focus, .read-less-btn:focus {
  outline: 1px dashed var(--harvest);
}
.team-card .role {
  font-size: 0.8rem; color: var(--harvest);
  font-weight: 500; margin-bottom: 10px;
}
.team-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.6; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .team-avatar { width: 64px; height: 64px; }
}
@media (max-width: 768px) {
  .team-grid { grid-template-columns: 1fr; }
  .team-avatar { width: 56px; height: 56px; }
}

@media (min-width: 1440px) {
  .team-grid { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}

@media (min-width: 2560px) {
  .team-grid { grid-template-columns: repeat(5, 1fr); gap: 40px; }
}
@media (min-width: 3840px) {
  .team-grid { grid-template-columns: repeat(6, 1fr); gap: 48px; }
}
