/* 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 {
  margin: 0;
  color: #222;
  line-height: 1.45;
}

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

.profile-photo {
  box-sizing: border-box;
}

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

span.fellow {
  color: #888;
  font-size: 12px;
}

.pub-heading {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.pub-heading td {
  padding: 28px 20px 8px;
}

.paper-table {
  width: 100%;
  border: 0;
  border-spacing: 0;
  border-collapse: separate;
  margin-right: auto;
  margin-left: auto;
}

.paper-table--featured .paper-thumb {
  padding: 20px;
  width: 35%;
  vertical-align: middle;
}

.paper-table--featured .paper-body {
  padding: 20px;
  width: 65%;
  vertical-align: middle;
}

.paper-table--featured .paper-body p {
  margin: 0 0 8px;
  line-height: 1.45;
}

.paper-table--featured .paper-thumb img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #f6f8fa;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.paper-venue {
  color: #30363a;
  font-size: 13.5px;
  font-weight: 700;
}

.paper-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px 14px;
  margin-top: 2px;
  line-height: 1.5;
}

.paper-resources,
.paper-metrics {
  display: inline-flex;
  align-items: center;
}

.paper-resources {
  gap: 8px;
}

.paper-separator {
  color: #9aa3ab;
}

.paper-metrics {
  flex-wrap: wrap;
  gap: 6px;
}

.paper-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  box-sizing: border-box;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.35;
  white-space: nowrap;
}

/* CCF and JCR use separate color families, with a shade change for each level. */
.paper-badge--ccf {
  color: #1e5a96;
}

.paper-badge--jcr {
  color: #6c3a96;
}

.paper-badge--ccf-b {
  background: #e8f2ff;
  border-color: #c7def8;
}

.paper-badge--ccf-a {
  color: #8a3f25;
  background: #fff0e8;
  border-color: #f1c8b5;
}

.paper-badge--ccf-c {
  color: #28708f;
  background: #e6f7fb;
  border-color: #bfe4ee;
}

.paper-badge--jcr-q1 {
  background: #f3e9ff;
  border-color: #dfc8f5;
}

.paper-badge--jcr-q2 {
  color: #8a5a20;
  background: #fff2dc;
  border-color: #f0d5a8;
}

.paper-badge--if {
  color: #216b4a;
  background: #e8f7ef;
  border-color: #c5e8d4;
}

.paper-table--plain {
  margin-top: 12px;
}

.paper-table--plain .paper-plain-item td {
  padding: 16px 20px;
}

.paper-table--plain papertitle {
  display: block;
  line-height: 1.45;
}

.paper-table--plain .paper-meta {
  margin-top: 6px;
  line-height: 1.5;
  color: #444;
}

.paper-table--plain .paper-meta em {
  color: #666;
  font-size: 13px;
}

.paper-table--plain .paper-meta em.paper-venue {
  color: #30363a;
  font-size: 13.5px;
  font-weight: 700;
}

@media (max-width: 700px) {
  body,
  td,
  th,
  tr,
  p,
  a,
  strong {
    font-size: 14px;
  }

  .page-shell {
    width: 100% !important;
    max-width: 100% !important;
  }

  .profile-table,
  .profile-table tbody {
    display: block;
    width: 100% !important;
  }

  .profile-row {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .bio-cell,
  .photo-cell {
    display: block;
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
  }

  .bio-cell {
    padding: 14px 22px 10px !important;
  }

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

  .profile-photo {
    width: 172px !important;
    max-width: 56vw !important;
  }

  .name {
    padding-top: 0;
    font-size: 30px;
  }

  .pub-heading td {
    padding: 26px 22px 8px;
  }

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

  .paper-table--featured .paper-thumb {
    padding: 16px 22px 8px;
  }

  .paper-table--featured .paper-body {
    padding: 8px 22px 20px;
  }

  .paper-table--plain {
    margin-top: 6px;
  }

  .paper-table--plain .paper-plain-item td {
    padding: 14px 22px;
  }
}
