/* 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: 14px;
}

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

h2 {
  margin: 0;
  font-weight: normal;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 22px;
}

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

.name {
  padding-top: 20px;
  margin: 0;
  font-family: 'Lato', Verdana, Helvetica, sans-serif;
  font-size: 32px;
}

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

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

.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;
}

.colored-box {
    color: black;
    padding: 20px;
    display: inline-block;
    border-radius: 10px;
}
/* Personal-site layout; base typography and colors above come from Jon Barron. */
body { margin: 0; background: #fff; color: #111; line-height: 1.55; }
main { max-width: 800px; margin: 24px auto; padding: 0 20px; }
.intro { display: flex; align-items: center; gap: 32px; padding: 20px 0 32px; }
.bio { flex: 1; }
h1.name { text-align: center; font-weight: 400; }
section { padding: 16px 0; }
.placeholder { color: #666; }
footer { margin-top: 48px; padding: 16px 0; text-align: right; font-size: 12px; }
footer a { font-size: inherit; }
@media (max-width: 600px) {
  .intro { flex-direction: column-reverse; gap: 12px; }
  main { margin-top: 12px; }
  footer { text-align: center; }
}

.contact { text-align: center; }
.research-entry { padding: 18px 16px; margin: 10px -16px; }
.research-entry h3 { margin: 0 0 5px; color: #1772d0; font-size: 15px; font-weight: 700; line-height: 1.45; }
.research-entry p { margin: 9px 0; }
.research-entry .authors, .research-entry .venue { margin: 3px 0; }
.featured { background: #ffffd0; }
.meta { color: #666; font-size: 13px; }
.education-entry { margin: 20px 0; }
.education-entry > .meta { float: right; }
.education-entry p { margin: 4px 0; }
.details-list { padding-left: 20px; }
.details-list li { margin: 9px 0; }
@media (max-width: 600px) {
  .education-entry > .meta { float: none; display: block; }
  .research-entry { margin-left: -8px; margin-right: -8px; padding: 16px 8px; }
}

/* Compact academic profile inspired by tangjingfan.github.io. */
body { line-height: 1.4; }
main { max-width: 800px; }
.intro { gap: 28px; padding-bottom: 26px; }
.bio { flex: 0 1 63%; }
section { padding: 18px 0; }
h2 { margin-bottom: 14px; }
.project-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 24px; margin: 8px 0; padding: 20px 0; }
.project-media { min-height: 120px; }
.project-content h3 { font-size: 14px; }
.project-details { margin-top: 8px; }
.project-details summary { color: #1772d0; cursor: pointer; font-size: 13px; width: fit-content; }
.project-details summary:hover { color: #f09228; }
.project-details summary:focus-visible { outline: 2px solid #1772d0; outline-offset: 4px; }
.project-details[open] { margin-bottom: 12px; }
@media (max-width: 600px) {
  .bio { flex-basis: auto; }
  .project-row { display: block; padding: 16px 0; }
  .project-media { display: none; }
}

.portrait { flex: 1 1 30%; min-width: 0; max-width: 260px; }
.portrait img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; border-radius: 4px; }
@media (max-width: 600px) {
  .portrait { flex: 0 0 auto; width: 180px; }
}

/* Consistent publication video thumbnails. */
.project-media.has-media { min-height: 0; align-self: center; }
.project-media.has-media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 4px; }
@media (max-width: 600px) {
  .project-media.has-media { display: block; width: 100%; max-width: 360px; margin-bottom: 14px; }
}

.release-note { color: #1772d0; }
