@import url('https://fonts.googleapis.com/css2?family=CMU+Serif&display=swap');

.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.header-row h1 {
  margin-bottom: 0;
}
.header-row img {
  max-height: 140px;
  border-radius: 8px;
}


body {
  font-family: 'CMU Serif', Georgia, serif;
  font-size: 16px;
  line-height: 1.45;
  color: #111;
  background: #fff;
  margin: 0;
  padding: 0;
}

/* Top navigation bar */
.top-nav {
  position: sticky;
  top: 0;
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  z-index: 100;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 12px 16px;
  font-family: 'Computer Modern', serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.top-nav a {
  color: #1f2937;
  text-decoration: none;
  padding: 4px 8px;
  transition: all 0.25s ease;
}

.top-nav a:hover {
  text-decoration: underline;
  color: #2563eb;
}


main {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 24px;
}

h1, h2, h3 {
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  text-align: center;
}

h2 {
  font-size: 1.3rem;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.2rem;
}

p, li {
  font-size: 0.95rem;
  margin: 0.2rem 0;
}

a {
  color: #0645ad;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img.photo {
  display: block;
  margin: 0 auto 1rem;
  width: 128px;
  height: 128px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid #ccc;
}

.profile-links {
  text-align: center;
  margin: 1.5rem 0;
}
.profile-links a {
  margin: 0 8px;
  padding: 4px 12px;
  font-size: 0.9rem;
  color: #0645ad;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.profile-links a:hover {
  background-color: #eee;
}

.section-divider {
  margin: 2rem 0;
  border-top: 1px solid #ccc;
}

#pub-list {
  padding-left: 0;
  list-style: none;
  margin-top: 1rem;
}

.publication-item {
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.publication-number {
  font-weight: bold;
  margin-right: 6px;
  color: #222;
}

.venue {
  font-style: italic;
  color: #990000;
}

.note {
  font-size: 0.85rem;
  color: #555;
}
