@import url('https://fonts.googleapis.com/css2?family=Fira+Sans:wght@200;300;400;600;700&display=swap');

* { box-sizing: border-box; }

body, h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  color: #111;
  background-color: #fff;
  -webkit-text-size-adjust: 100%;
}

a {
  color: #2a7ae2;
  text-decoration: none;
}
a:visited { color: #1756a9; }
a:hover {
  color: #6da4eb;
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}
.topnav a {
  color: #111;
  font-weight: 400;
}
.topnav a:hover {
  color: gray;
  text-decoration: none;
}
.topnav a[aria-current="page"] {
  color: #000;
  border-bottom: 2px solid #2a7ae2;
}

.site-title {
  font-size: 46px;
  letter-spacing: -1px;
  font-weight: 300;
}
.site-title a { color: #000; }
.site-title a:visited { color: #000; }
.site-title a:hover {
  color: gray;
  text-decoration: none;
}

.role {
  color: #828282;
  font-size: 16px;
  margin-top: 6px;
}

/* Intro */
.intro {
  text-align: center;
  margin-bottom: 40px;
}

/* About page bio text */
.bio {
  max-width: 700px;
  margin: 0 auto;
}
.bio p { margin-bottom: 15px; }

/* Section headings */
.page-heading {
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  margin-top: 2em;
  margin-bottom: 2em;
}

/* Publication rows */
.row {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 4%;
  align-items: start;
}

.row img {
  max-width: 100%;
  display: block;
  vertical-align: middle;
}

.links-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 10px;
}

.p-title {
  font-weight: 700;
}

.authors { margin-top: 8px; }

.venue { margin-top: 2px; }

.desc { margin-top: 8px; }

.tag-red { color: #cc0000; }

.publist .row + .row {
  margin-top: 1em;
  padding-top: 3em;
  border-top: 1px solid whitesmoke;
}

/* Mobile */
@media (max-width: 650px) {
  .row { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  border-top: 1px solid #e8e8e8;
  padding: 30px 0;
  font-size: 14px;
  margin-top: 60px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-right: 16px;
  color: #211F1F;
}
.social-links a:hover { text-decoration: none; opacity: 0.7; }
.social-links svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
}
.site-description a { color: #211F1F; }
