/* students.css — styles for students/index.html */

/* ── Hero ── */
.students-hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 40px 0;
}

.hero-left {
  font-family: 'Raleway', sans-serif;
  font-size: 14px;
  color: #111;
  line-height: 1.7;
}

.hero-left a {
  color: #7B2535;
  text-decoration: none;
}

.hero-left a:hover {
  text-decoration: underline;
}

.hero-left p {
  margin: 0 0 12px;
}


.hero-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0 10px;
}

.hero-pill {
  font-family: 'Raleway', sans-serif;
  font-size: 12px;
  padding: 4px 14px;
  border: 0.5px solid #7B2535;
  border-radius: 99px;
  color: #7B2535;
  background: transparent;
  text-decoration: none;
  display: inline-block;
}

.hero-pill:hover {
  background: #7B2535;
  color: #fff;
}

.hero-touch {
  font-size: 13px;
  font-family: 'Raleway', sans-serif;
  margin-bottom: 14px;
}

.hero-touch a {
  color: #7B2535;
  text-decoration: none;
}

.hero-touch a:hover {
  text-decoration: underline;
}

.apply-callout {
  border-left: 2px solid #7B2535;
  background: #fdf6f7;
  border-radius: 0;
  padding: 10px 14px 8px;
  font-size: 13px;
  font-family: 'Raleway', sans-serif;
  line-height: 1.65;
  margin-top: 4px;
  color: #333;
}

.apply-callout a {
  color: #7B2535;
  text-decoration: underline;
}

.hero-right {
  padding-top: 8px;
}

.hero-right img {
  width: 100%;
  border-radius: 5px;
  display: block;
}

/* ── Section headings ── */
.st-section-heading {
  font-family: 'Raleway', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #111;
  border-bottom: 0.5px solid #ddd;
  padding-bottom: 8px;
  margin: 8px 0 8px;
}

.students-hero + .st-section-heading {
  margin-top: 0 !important;
}

.teaching-list + .st-section-heading,
.students-grid + .st-section-heading {
  margin-top: 32px;
}

/* ── Degree badges ── */
.degree-badge {
  display: inline-block;
  font-size: 10px;
  font-family: 'Raleway', sans-serif;
  border-radius: 99px;
  padding: 1px 8px;
  line-height: 1.65;
  vertical-align: middle;
  white-space: nowrap;
}

.degree-badge.phd {
  background: #f0e8ea;
  color: #7B2535;
}

.degree-badge.msc,
.degree-badge.internship {
  background: var(--color-background-secondary, #f0f0f0);
  color: var(--color-text-secondary, #888);
}

/* ── Teaching ── */
.teaching-list {
  margin-top: 8px !important;
  margin-bottom: 8px;
}

.teaching-entry {
  font-size: 13px;
  font-family: 'Raleway', sans-serif;
  line-height: 1.8;
  color: #888;
}

.teaching-course {
  font-weight: 600;
  color: #7B2535 !important;
  text-decoration: none !important;
}

.teaching-course:hover {
  text-decoration: underline !important;
}

.teaching-entry strong {
  font-weight: 600;
  color: var(--color-text-primary, #111);
}

/* ── Current students grid ── */
.students-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}

.student-entry {
  border: 0.5px solid var(--color-border-tertiary, #e0e0e0);
  border-radius: 4px;
  padding: 10px 12px;
  background: var(--color-background-primary, #fff);
}

.student-entry-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 2px;
}

.student-name {
  font-size: 13px;
  font-weight: 500;
  font-family: 'Raleway', sans-serif;
  color: #111;
}

.student-program {
  font-size: 11px;
  color: var(--color-text-secondary, #888);
  font-family: 'Raleway', sans-serif;
  margin-top: 1px;
}

.student-topic {
  font-size: 12px;
  color: var(--color-text-primary, #111) !important;
  font-family: 'Raleway', sans-serif;
  margin-top: 3px;
  line-height: 1.4;
}

/* ── Alumni timeline ── */
.alumni-timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 8px;
  margin-bottom: 32px;
}

.alumni-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 0.5px;
  background: var(--color-border-tertiary, #ddd);
}

.tl-group {
  position: relative;
  margin-bottom: 18px;
}

.tl-group::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-border-tertiary, #ccc);
}

.tl-year {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-secondary, #888);
  font-family: 'Raleway', sans-serif;
  margin-bottom: 5px;
  letter-spacing: .03em;
}

.alumni-entry {
  font-size: 12px;
  line-height: 1.6;
  font-family: 'Raleway', sans-serif;
  color: #444;
  margin-bottom: 3px;
}

.alumni-entry:last-child {
  margin-bottom: 0;
}

.alumni-name {
  font-weight: 500;
  color: #111;
}

.alumni-entry a {
  color: #7B2535;
  text-decoration: none;
}

.alumni-entry a:hover {
  text-decoration: underline;
}

/* ── Nav hamburger ── */
.nav-hamburger{display:none;background:none;border:none;font-size:20px;color:#888;cursor:pointer;padding:4px;line-height:1;}

/* ── Responsive ── */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }
  .site-nav { flex-wrap: wrap !important; padding: 14px 20px !important; }
  .nav-hamburger { display: block !important; margin-left: auto; }
  .nav-links { display: none !important; width: 100%; }
  .nav-links.open { display: flex !important; flex-direction: column !important; gap: 14px !important; padding: 8px 0 4px !important; }
  .nav-links.open li { list-style: none; }
  .students-hero { grid-template-columns: 1fr; }
  .students-grid { grid-template-columns: 1fr; }
}
