/* ── Profile photo ───────────────────────────── */
.profile-photo {
  border-radius: 50%;
  width: 200px;
  height: 200px;
  object-fit: cover;
  border: 3px solid #dee2e6;
  margin-top: 1.5rem;
}

/* ── Contact button row ──────────────────────── */
.contact-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ── Publication entries ─────────────────────── */
.pub-entry {
  padding: 1rem 1.25rem;
  border-left: 3px solid #2c7be5;
  background: rgba(44, 123, 229, 0.04);
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.25rem;
}

.pub-entry p {
  margin-bottom: 0.35rem;
}

/* BibTeX block inside publication */
.cite-block {
  margin-top: 0.75rem;
  font-size: 0.78rem;
}

.cite-block pre {
  background: rgba(0,0,0,0.04);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  white-space: pre-wrap;
}

/* ── Talk entries ────────────────────────────── */
.talk-entry {
  padding: 0.9rem 1.25rem;
  border-left: 3px solid #20c997;
  background: rgba(32, 201, 151, 0.04);
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.1rem;
}

.talk-entry p {
  margin-bottom: 0.3rem;
}

/* ── Award entries ───────────────────────────── */
.award-entry {
  padding: 1rem 1.25rem;
  border-left: 3px solid #fd7e14;
  background: rgba(253, 126, 20, 0.04);
  border-radius: 0 6px 6px 0;
  margin-bottom: 1.25rem;
}

.award-entry h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

/* ── Responsive tweaks ───────────────────────── */
@media (max-width: 768px) {
  .profile-photo {
    width: 140px;
    height: 140px;
  }
}

/* ── Dark mode adjustments ───────────────────── */
[data-bs-theme="dark"] .pub-entry {
  background: rgba(44, 123, 229, 0.08);
}
[data-bs-theme="dark"] .talk-entry {
  background: rgba(32, 201, 151, 0.08);
}
[data-bs-theme="dark"] .award-entry {
  background: rgba(253, 126, 20, 0.08);
}
[data-bs-theme="dark"] .cite-block pre {
  background: rgba(255,255,255,0.07);
}
