/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAUi-qNiXg7eU0.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(https://fonts.gstatic.com/s/lato/v15/S6u8w4BMUTPHjxsAXC-qNiXg7Q.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_FQftx9897sxZ.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(https://fonts.gstatic.com/s/lato/v15/S6u_w4BMUTPHjxsI5wq_Gwftx9897g.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjxAwXiWtFCfQ7A.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(https://fonts.gstatic.com/s/lato/v15/S6uyw4BMUTPHjx4wXiWtFCc.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin-ext */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwaPGQ3q5d0N7w.woff2) format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: local('Lato Bold'), local('Lato-Bold'), url(https://fonts.gstatic.com/s/lato/v15/S6u9w4BMUTPHh6UVSwiPGQ3q5d0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a {
  color: #1772d0;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

body,
td,
th,
tr,
p,
a {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px
}

body {
  margin: 0;
}

td {
  overflow-wrap: break-word;
}

strong {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
}

heading {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

heading a {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

papertitle {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 700
}

name {
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

.intro-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.intro-name img {
  height: auto;
  vertical-align: middle;
  transform: none;
}

.contact-info {
  margin-top: 8px;
  padding-left: 18%;
  line-height: 1.35;
}

.awards-list {
  list-style: none;
  padding-left: 0;
}

.awards-list .award-row {
  display: grid;
  grid-template-columns: 7.25em minmax(0, 1fr);
  column-gap: 0.4em;
  align-items: start;
}

.awards-list .award-date {
  white-space: nowrap;
}

.activity-tag {
  display: inline-block;
  margin: 0 0.45em 0 0.3em;
  padding: 1px 5px;
  border: 1px solid #c9ced3;
  border-radius: 3px;
  background: #f4f5f6;
  color: #3f464d;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 11px;
  line-height: 1.3;
  vertical-align: baseline;
  white-space: nowrap;
}

.post-page {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 32px 24px 56px;
  box-sizing: border-box;
}

.post-nav,
.post-footer {
  color: #59636e;
  font-size: 14px;
}

.post-nav {
  display: flex;
  gap: 8px;
  margin-bottom: 36px;
}

.post-header {
  margin-bottom: 30px;
}

.post-header h1 {
  margin: 0 0 8px;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: 0;
}

.post-meta {
  margin: 0;
  color: #68737d;
}

.post-content {
  overflow-wrap: anywhere;
}

.post-content,
.post-content p,
.post-content li,
.post-content a,
.post-content td,
.post-content th {
  font-size: 16px;
  line-height: 1.65;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
  margin: 1.5em 0 0.55em;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  line-height: 1.3;
  letter-spacing: 0;
}

.post-content h1 {
  font-size: 25px;
}

.post-content h2 {
  font-size: 21px;
}

.post-content h3 {
  font-size: 18px;
}

.post-content img,
.post-content svg,
.post-content iframe,
.post-content video {
  max-width: 100%;
}

.post-content > div {
  max-width: 100%;
}

.post-content a {
  overflow-wrap: anywhere;
}

.post-content iframe {
  width: 100% !important;
  margin-left: 0 !important;
}

.post-content iframe.drive-preview {
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.post-content img,
.post-content video {
  height: auto;
}

.post-content pre {
  max-width: 100%;
  overflow-x: auto;
  box-sizing: border-box;
  padding: 14px;
  border: 1px solid #d8dde2;
  background: #f6f7f8;
  line-height: 1.45;
}

.post-content code {
  font-family: Consolas, 'Courier New', monospace;
}

.post-content pre code {
  display: block;
  width: max-content;
  min-width: 100%;
}

.post-content blockquote {
  margin: 1.25em 0;
  padding-left: 16px;
  border-left: 3px solid #c9ced3;
  color: #4f5963;
}

.post-content hr {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid #d8dde2;
}

.post-content .research-feature {
  display: grid;
  grid-template-columns: minmax(180px, 35%) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  margin: 28px 0;
}

.post-content .research-feature-media img {
  display: block;
  width: 100%;
}

.post-content .research-feature-caption {
  color: #68737d;
  font-style: italic;
}

.post-content .image-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.86);
  box-sizing: border-box;
}

.post-content .image-lightbox:target {
  display: flex;
}

.post-content .image-lightbox img {
  max-width: 95vw;
  max-height: 92vh;
}

.post-footer {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid #d8dde2;
}

.one {
  width: 160px;
  height: 160px;
  position: relative;
}

.two {
  width: 160px;
  height: 160px;
  position: absolute;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

tr:hover .two {
  opacity: 1;
}

.fade {
  transition: opacity .2s ease-in-out;
  -moz-transition: opacity .2s ease-in-out;
  -webkit-transition: opacity .2s ease-in-out;
}

span.highlight {
  background-color: #ffffd0;
}

/* Reduce vertical spacing between publications */
.publications-table tr td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.publications-table tr:first-child td {
  padding-top: 20px !important;
}

.publications-table .one {
  display: flex;
  align-items: center;
  justify-content: center;
}

.publications-table .one img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Remove spacing from empty paragraphs in publications */
.publications-table tr td p:empty {
  margin: 0;
  padding: 0;
  height: 0;
}

/* Reduce vertical spacing between research artifacts */
.artifacts-table tr td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

/* Remove spacing from empty paragraphs in artifacts */
.artifacts-table tr td p:empty {
  margin: 0;
  padding: 0;
  height: 0;
}

/* Reduce vertical spacing between publications */
.books-table tr td {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.books-table tr:first-child td {
  padding-top: 20px !important;
}

/* Remove spacing from empty paragraphs in publications */
.books-table tr td p:empty {
  margin: 0;
  padding: 0;
  height: 0;
}

.upcoming-badge {
  display: inline-block;
  background-color: #8b31b1;
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: bold;
  margin-left: 0px;
  vertical-align: middle;
}

@media (max-width: 700px) {
  body {
    padding: 0 12px;
  }

  body,
  td,
  th,
  tr,
  p,
  a,
  strong,
  papertitle {
    font-size: 15px;
    line-height: 1.35;
  }

  name {
    font-size: 30px;
  }

  heading {
    font-size: 21px;
  }

  .post-page {
    padding: 24px 16px 44px;
  }

  .post-header h1 {
    font-size: 27px;
  }

  .post-content,
  .post-content p,
  .post-content li,
  .post-content a,
  .post-content td,
  .post-content th {
    font-size: 16px;
  }

  .post-content .research-feature {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .intro-table,
  .intro-table tbody,
  .intro-table tr,
  .intro-table td {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }

  .intro-bio {
    padding: 20px 0 8px !important;
  }

  .intro-photo {
    padding: 8px 0 20px !important;
    text-align: center;
  }

  .intro-photo img {
    width: min(62vw, 240px) !important;
    max-width: 240px !important;
  }

  .intro-name {
    align-items: center;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 18px;
  }

  .intro-name img {
    width: 120px;
    transform: none;
  }

  .contact-info {
    margin-top: 10px;
    padding-left: 0;
    text-align: center;
    overflow-wrap: anywhere;
  }

  .publications-table,
  .publications-table tbody,
  .publications-table tr,
  .publications-table td,
  .books-table,
  .books-table tbody,
  .books-table tr,
  .books-table td,
  .artifacts-table,
  .artifacts-table tbody,
  .artifacts-table tr,
  .artifacts-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  .publications-table tr td:first-child,
  .books-table tr td:first-child,
  .artifacts-table tr td:first-child {
    padding-bottom: 2px !important;
    text-align: center;
  }

  .publications-table tr td:nth-child(2),
  .books-table tr td:nth-child(2),
  .artifacts-table tr td:nth-child(2) {
    padding-top: 2px !important;
  }

  .publications-table .one,
  .books-table .one,
  .artifacts-table .one {
    margin: 0 auto;
  }

  .one,
  .two {
    width: 130px;
    height: 130px;
  }

  .one img {
    max-width: 130px;
    height: auto;
  }
}
