.stud-list {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

/* This page has many more year transitions than Publications/Talks
   (often one student per year), so the shared year-label spacing
   adds up fast; tighten it here specifically. */
.stud-list .year-label {
  margin: 0.8em 0 0.5em;
}

.stud-card {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e3e8ef;
  border-left: 3px solid #2f6f9f;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.stud-card:hover {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
  border-color: #4a86b8;
}

.stud-year {
  flex: 0 0 55px;
  font-size: 0.85rem;
  color: #5f6b7a;
  padding-top: 0.1rem;
  white-space: nowrap;
}

.stud-body {
  flex: 1;
}

.stud-name {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.35;
}

.stud-thesis {
  font-size: 0.88rem;
  color: #444;
  margin-top: 0.3rem;
  font-style: italic;
}

.stud-thesis a {
  color: #2f6f9f;
  text-decoration: none;
  font-style: italic;
}

.stud-thesis a:hover {
  text-decoration: underline;
}

.stud-links {
  margin-top: 0.35rem;
  text-align: right;
}

.stud-link-btn {
  display: inline-block;
  font-size: 0.7em;
  padding: 1px 6px;
  margin-right: 3px;
  background-color: #2f6f9f;
  border: none;
  border-radius: 3px;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  vertical-align: middle;
}

.stud-link-btn:hover {
  background-color: #24587e;
}
