/* A plain, traditional academic homepage. */
* { box-sizing: border-box; }
body { margin: 0; background: white; color: #222; font: 17px/1.55 Georgia, "Times New Roman", serif; }
.homepage { font-family: "Times New Roman", Georgia, serif; }
a { color: #164a93; text-decoration: underline; text-underline-offset: 2px; }
a:visited { color: #624687; }
a:hover { color: #092d64; }
a:focus-visible, summary:focus-visible { outline: 2px solid #164a93; outline-offset: 4px; }
main, .site-footer { width: min(760px, calc(100% - 48px)); margin-inline: auto; }
main { padding-top: 32px; }
h1, h2, h3, p { margin: 0; }
h1 { font-size: 30px; line-height: 1.3; }
h2 { font-size: 22px; }
h2, .section-title { line-height: 1.35; margin-bottom: 14px; }
h3 { font-size: 17px; line-height: 1.5; }
.profile-stage { display: grid; grid-template-columns: minmax(0, 1fr) 104px; align-items: start; gap: 28px; }
.role { margin-top: 5px; font-size: 16px; }
.contact-email { margin-top: 5px; font-size: 15px; overflow-wrap: anywhere; }
.intro { margin-top: 8px; }
.portrait { display: block; width: 104px; height: 104px; object-fit: cover; border: 1px solid #aaa; padding: 3px; }
.profile-links, .section-nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 15px; }
.profile-links { margin-top: 5px; }
.section-nav { margin-top: 16px; }
.home-section { margin-top: 20px; padding-top: 16px; border-top: 1px solid #ccc; scroll-margin-top: 12px; }
.publication { display: grid; grid-template-columns: 65px minmax(0,1fr); gap: 14px; }
.publication + .publication { margin-top: 22px; }
.venue { font-size: 14px; padding-top: 2px; }
.venue::before { content: '['; }
.venue::after { content: ']'; }
.publication h3 { font-size: 17px; }
.authors { font-size: 15px; margin-top: 4px; }
.author { white-space: nowrap; }
.author sup { font-size: .65em; line-height: 0; margin-left: 1px; }
.affiliations { color: #555; font-size: 13px; margin-top: 5px; }
.publication-links { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 8px; font-size: 14px; }
.publication-links summary { cursor: pointer; color: #164a93; }
.publication-links pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 13px; }
.news-item { display: grid; grid-template-columns: 125px 1fr; gap: 18px; }
.news-item time { font-size: 14px; padding-top: 2px; }
.news-item p { font-size: 16px; }
.news-item + .news-item { margin-top: 14px; }
.education-item { position: relative; padding-right: 125px; }
.education-item + .education-item { margin-top: 16px; }
.education-date { position: absolute; top: 2px; right: 0; font-size: 14px; }
.education-item p { font-size: 15px; }
.education-item .location { color: #555; font-size: 13px; }
.site-footer { border-top: 1px solid #aaa; padding: 15px 0 28px; margin-top: 32px; font-size: 13px; color: #555; }
.skip-link { position: absolute; top: 8px; left: 8px; transform: translateY(-180%); padding: 8px 12px; background: white; z-index: 2; }
.skip-link:focus { transform: translateY(0); }
main:focus { outline: none; }
img { max-width: 100%; }
pre { overflow: auto; }
@media (max-width: 600px) {
  main, .site-footer { width: calc(100% - 36px); }
  main { padding-top: 22px; }
  body { font-size: 16px; }
  .profile-stage { grid-template-columns: minmax(0, 1fr) 76px; gap: 16px; }
  .role { font-size: 14px; }
  .portrait { width: 76px; height: 76px; }
  .profile-links { column-gap: 8px; }
  .section-nav { column-gap: 10px; }
  h2 { font-size: 21px; }
  .publication { grid-template-columns: 1fr; gap: 5px; }
  .news-item { grid-template-columns: 1fr; gap: 5px; }
  .education-item { padding-right: 0; }
  .education-date { position: static; display: block; margin-bottom: 3px; }
}
