/* css styles */


/* --- Card grid layout --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.card-item {
  width: 100%;
}


/* Tablet */
@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Mobile */
@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* --- Clickable card wrapper --- */
.person-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

/* --- Card --- */
.person-card {
  height: 100%;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.person-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  cursor: pointer;
}

/* --- Photo --- */
.person-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

/* --- Text --- */
.person-card h3 {
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.person-links {
  margin-top: 0.5rem;
}

.person-links a {
  margin-right: 0.6rem;
  text-decoration: none;
  color: #444;
}

.person-links a:hover {
  color: #000;
}
.person-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
}


.alumni-list {
  list-style: none;
  padding-left: 0;
  margin-top: 1.5rem;
}

.alumni-list li {
  margin-bottom: 1rem;
}

.bio-photo {
  max-width: 400px;
  float: right;
  margin: 0 0 1rem 1.25rem;
  border-radius: 8px;
}

.about-photo {
  max-width: 400px;
  float: right;
  margin: 0 0 1rem 1.25rem;
  border-radius: 8px;
}

.hero {
  margin-bottom: 2.5rem;
}

.hero-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
}
