/* People Page Styles */

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.person-card {
  background-color: var(--white);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.person-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--green), var(--light-green));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.person-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.person-card:hover::before {
  opacity: 1;
}

.person-image {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #f1f5f9;
}

.person-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.person-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 1rem;
}

.person-campus {
  display: inline-block;
  background-color: #f1f5f9;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  color: #475569;
  margin-bottom: 1.5rem;
}

.person-contact {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.person-contact a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #475569;
  transition: color 0.2s ease;
  text-decoration: none;
}

.person-contact a:hover {
  color: var(--blue);
}

.person-contact a svg {
  width: 16px;
  height: 16px;
  opacity: 0.7;
}

/* Header enhancements */
.page-header {
  margin-bottom: 4rem;
  max-width: 800px;
}

.page-lead {
  font-size: 1.5rem;
  line-height: 1.4;
  color: #334155;
  margin-top: 1.5rem;
  font-weight: 300;
}

.group-section {
  margin-bottom: 5rem;
}

.group-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.group-title::after {
  content: '';
  flex: 1;
  height: 2px;
  background-color: #e2e8f0;
  max-width: 200px;
}
