/* Academic site: white background, black text, simple layout. */
* { box-sizing: border-box; }
body {
  margin: 0; background: #fff; color: #111;
  font-family: "Lato", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px; line-height: 1.6;
}
a { color: #1a5fb4; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, p { margin: 0; }
p + p { margin-top: 12px; }

/* top menu */
.topbar { border-bottom: 1px solid #e5e5e5; }
.topbar-in {
  max-width: 900px; margin: 0 auto; padding: 14px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.site-name { color: #111; font-weight: 700; font-size: 18px; }
.site-name:hover { text-decoration: none; }
.topbar nav a { color: #333; margin-left: 22px; }
.topbar nav a.current { color: #111; font-weight: 700; }

.page { max-width: 900px; margin: 0 auto; padding: 40px 24px 24px; }
section { margin-top: 40px; }
section:first-child { margin-top: 0; }

/* home intro */
.intro { display: flex; gap: 40px; align-items: flex-start; }
.intro-text { flex: 1; }
.intro h1 { font-size: 34px; font-weight: 700; margin-bottom: 2px; }
.role { color: #444; margin-bottom: 18px; }
.photo { width: 220px; height: 220px; object-fit: cover; border-radius: 50%; flex-shrink: 0; }
.links { margin-top: 18px; }

h2 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.page-title { font-size: 30px; font-weight: 700; margin-bottom: 8px; }
.lead { color: #333; margin-bottom: 24px; }
.page h2 { margin-top: 32px; }
.page section h2 { margin-top: 0; }
.year { font-size: 20px; border-bottom: 1px solid #e5e5e5; padding-bottom: 4px; }
.muted, .refs { color: #555; }
.refs { font-size: 15px; margin-top: 6px; }
.more { margin-top: 10px; }

/* news / tables */
.news { border-collapse: collapse; width: 100%; }
.news th {
  text-align: left; vertical-align: top; font-weight: 700;
  padding: 6px 20px 6px 0; width: 170px; color: #111;
}
.news td { padding: 6px 0; vertical-align: top; }
.details { margin: 4px 0 0; padding-left: 20px; }

/* publications */
.pubs { list-style: none; padding: 0; margin: 0; }
.pubs > li { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 10px 0; }
.venue-tag {
  align-self: start; justify-self: start;
  border: 1px solid #111; border-radius: 3px;
  font-size: 13px; font-weight: 700; padding: 1px 8px; white-space: nowrap;
}
.pub-title { font-weight: 700; }
.pub-title a { color: #111; }

.footer { max-width: 900px; margin: 40px auto 0; padding: 16px 24px 40px; border-top: 1px solid #e5e5e5; color: #666; font-size: 14px; }

@media (max-width: 680px) {
  .topbar nav a { margin: 0 16px 0 0; }
  .intro { flex-direction: column-reverse; gap: 20px; }
  .photo { width: 140px; height: 140px; }
  .news th { width: 96px; padding-right: 12px; }
  .pubs > li { grid-template-columns: 1fr; gap: 4px; }
}
