*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #fff;
  color: #494e52;
  font-size: 15px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: #494e52;
  background: #fff;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  line-height: 1.5;
}

::selection {
  color: #fff;
  background: #000;
}

a {
  color: #224b8d;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #1a386a;
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

p,
ul,
ol,
figure {
  margin-top: 0;
  margin-bottom: 0.5em;
}

ul {
  padding-inline-start: 2em;
}

li {
  margin-bottom: 0.5em;
}

h1,
h2,
h3 {
  margin: 1em 0 0.5em;
  color: #494e52;
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 1.4em;
}

h2 {
  padding-bottom: 0.35em;
  border-bottom: 1px solid #f2f3f3;
  font-size: 1.35em;
}

h3 {
  font-size: 1.12em;
}

.skip-link {
  position: fixed;
  top: -80px;
  left: 1em;
  z-index: 100;
  padding: 0.6em 0.9em;
  color: #fff;
  background: #494e52;
}

.skip-link:focus {
  top: 1em;
}

.masthead {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #f2f3f3;
}

.masthead__inner-wrap {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: 0.5em;
}

.greedy-nav {
  display: flex;
  align-items: center;
  min-width: 250px;
  overflow-x: auto;
  background: #fff;
  scrollbar-width: none;
  white-space: nowrap;
}

.greedy-nav::-webkit-scrollbar {
  display: none;
}

.masthead__menu-item {
  position: relative;
  display: block;
  margin: 0 1rem;
  padding: 0.5rem 0;
  color: #7a8288;
  text-decoration: none;
}

.masthead__menu-item:hover,
.masthead__menu-item.is-active {
  color: #5c6266;
  text-decoration: none;
}

.masthead__menu-item::before {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: #bdc1c4;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease-in-out;
}

.masthead__menu-item:hover::before,
.masthead__menu-item.is-active::before {
  transform: scaleX(1);
}

.masthead__menu-item--lg {
  margin-left: 0;
  padding-right: 2em;
  font-weight: 700;
}

#main {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 2em;
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
  padding: 1.65em 1em 2em;
}

.sidebar {
  min-width: 0;
}

.sticky {
  align-self: start;
}

@media (min-width: 57.8125em) {
  .sticky {
    position: sticky;
    top: 5.5em;
  }
}

.profile_box {
  color: #494e52;
}

.author__avatar {
  text-align: center;
}

.author__avatar img {
  display: block;
  width: 170px;
  height: 170px;
  margin: 1.2em auto 1em;
  object-fit: cover;
  background: #f2f3f3;
  border: 8px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #f2f3f3;
}

.author__name {
  margin: 0.35em 0 0.85em;
  font-size: 1.55em;
}

.author__bio {
  margin-bottom: 1em;
  white-space: normal;
}

.author__urls {
  margin: 0;
  padding: 0;
  list-style: none;
}

.author__urls li {
  margin-bottom: 0.55em;
  overflow-wrap: anywhere;
}

.sidebar-icon {
  display: inline-block;
  width: 1.35em;
  color: #000;
  font-size: 1em;
  font-weight: 700;
  text-align: center;
}

.page {
  min-width: 0;
}

.page__inner-wrap {
  max-width: 100%;
}

.page__content {
  font-size: 1em;
}

.page__content > p {
  margin-bottom: 0.65em;
}

h2::before {
  display: block;
  position: relative;
  width: 0;
  height: 2em;
  margin-top: -2em;
  content: "";
}

.about-heading {
  margin-top: 0.15em;
}

.research-interest-list {
  margin: 0.15em 0 0.9em;
}

.research-interest-list li {
  margin-bottom: 0.42em;
}

.news-list {
  margin-bottom: 1em;
}

.news-list em {
  color: #494e52;
}

.honors-list {
  margin: 0.15em 0 1.15em;
  padding-inline-start: 2em;
  list-style: disc;
}

.honors-list li {
  margin-bottom: 0.55em;
}

.publication-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin: 0.25em 0 1em;
}

.filter-button {
  display: inline-block;
  padding: 0.35em 0.75em;
  color: #7a8288;
  font: inherit;
  font-size: 0.9em;
  font-weight: 700;
  line-height: 1.3;
  background: #fff;
  border: 1px solid #bdc1c4;
  border-radius: 4px;
  cursor: pointer;
}

.filter-button:hover,
.filter-button.is-active {
  color: #fff;
  background: #7a8288;
}

.paper-box {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.55em 0;
  border-bottom: 1px solid #efefef;
}

.paper-box[hidden] {
  display: none;
}

.paper-box-image {
  display: flex;
  flex: 0 0 36%;
  align-items: center;
  justify-content: center;
  max-width: 36%;
}

.paper-visual {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.paper-box-image img {
  display: block;
  width: 100%;
  aspect-ratio: 1.55;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
  box-shadow: 3px 3px 6px #888;
}

.paper-badge {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 0.28em 0.52em;
  color: #fff;
  font-size: 0.76em;
  font-weight: 700;
  line-height: 1.2;
  background: #626a70;
  border-radius: 3px 0 3px 0;
}

.paper-box-text {
  flex: 1 1 auto;
  max-width: 64%;
  padding-left: 2em;
}

.paper-box-text p {
  margin-bottom: 0.35em;
}

.paper-title {
  font-size: 1.03em;
  line-height: 1.35;
}

.paper-title strong {
  font-weight: 700;
}

.paper-authors {
  color: #494e52;
}

.paper-summary {
  color: #5c6266;
}

.paper-venue {
  color: #5c6266;
}

.paper-venue em {
  font-style: italic;
}

.paper-links {
  margin-top: 0.45em;
}

.page__footer {
  border-top: 1px solid #f2f3f3;
  color: #7a8288;
  font-size: 0.88em;
}

.page__footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1em;
}

@media (max-width: 57.8125em) {
  #main {
    grid-template-columns: 1fr;
  }

  .profile_box {
    text-align: center;
  }

  .author__avatar img {
    width: 145px;
    height: 145px;
  }

  .author__urls {
    display: grid;
    max-width: 520px;
    margin: 0 auto;
    text-align: left;
  }

  .paper-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .paper-box-image {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1em;
  }

  .paper-box-image img {
    max-width: 420px;
  }

  .paper-visual {
    max-width: 420px;
  }

  .paper-box-text {
    max-width: 100%;
    padding-left: 0;
  }
}

@media (max-width: 40em) {
  html {
    font-size: 14px;
  }

  .masthead__inner-wrap {
    padding: 0.35em 0.75em;
  }

  .masthead__menu-item {
    margin: 0 0.75rem;
  }

  .masthead__menu-item--lg {
    padding-right: 0.75em;
  }

  #main {
    padding-right: 1em;
    padding-left: 1em;
  }

  .page__footer-inner {
    flex-direction: column;
  }
}
