/* Past-students list (about/students.qmd, filled by _filters/students.lua) */
.students .student {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(127, 127, 127, 0.3);
}
.students .student:last-child { border-bottom: none; }

.student-photo {
  flex: 0 0 6.5rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  overflow: hidden;
}
.student-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  margin: 0;
}
.student-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  background: rgba(127, 127, 127, 0.15);
  color: rgba(127, 127, 127, 0.9);
}

.student-body { flex: 1 1 auto; min-width: 0; }
.student-name { font-size: 1.15em; }
.student-degree,
.student-position { opacity: 0.75; font-size: 0.95em; }
.student-title { margin-top: 0.35rem; }
.student-abstract { margin-top: 0.5rem; }
.student-abstract p:last-child { margin-bottom: 0; }

@media (max-width: 576px) {
  .students .student { gap: 0.9rem; }
  .student-photo { flex-basis: 4.5rem; width: 4.5rem; height: 4.5rem; }
  .student-initials { font-size: 1.4rem; }
}
