#about,
#publications,
#research {
  scroll-margin-top: 88px;
}

body {
  background: #fff;
  color: #3f4650;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-size: 15px;
}

.page__content {
  color: #3f4650;
  max-width: 900px;
}

.page__content p,
.page__content li {
  font-size: 1em;
  line-height: 1.65;
}

.page__content p {
  margin-bottom: 0.85em;
}

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

.page__content a:hover {
  color: #173767;
  text-decoration: underline;
}

.page__content h1 {
  margin-top: 2.15em;
  margin-bottom: 0.8em;
  padding-bottom: 0.38em;
  border-bottom: 1px solid #e5e7eb;
  color: #292f36;
  font-size: 1.55em;
  line-height: 1.3;
}

.page__content ul {
  margin-top: 0.35em;
  padding-left: 1.25em;
}

.page__content li {
  margin-bottom: 0.55em;
}

.home-anchor {
  display: block;
  position: relative;
  top: -82px;
  visibility: hidden;
}

.masthead {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  box-shadow: none;
}

.greedy-nav {
  background: #fff;
}

.masthead__inner-wrap {
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.masthead__menu-item a {
  font-weight: 400;
}

.masthead__menu-item--lg a {
  font-weight: 700;
}

.sidebar {
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.sidebar .author__name {
  color: #292f36;
  font-family: "Trebuchet MS", Helvetica, Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
}

.author__bio {
  color: #5f6670;
  line-height: 1.45;
}

.author__avatar img {
  width: min(100%, 175px);
  max-width: 175px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 16%;
  border-radius: 50%;
}

.author__urls a,
.author__urls span {
  color: #4a5058;
  font-size: 0.93rem;
}

.author__urls a:hover {
  color: #224b8d;
}

@media (min-width: 925px) {
  #main {
    margin-top: 1.35em;
  }

  .page {
    padding-left: 0.4em;
  }
}

@media (max-width: 924px) {
  body {
    font-size: 15px;
  }

  .page__content h1 {
    margin-top: 1.7em;
  }

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


.profile-icon,
.footer-icon {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.55em;
  vertical-align: -0.12em;
  fill: currentColor;
  flex: 0 0 auto;
}

.author__urls a {
  display: flex;
  align-items: center;
}


.publication-title {
  margin-bottom: 0.4rem;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.45;
}

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

.publication-title a:hover {
  color: #173767;
  text-decoration: underline;
}

.publication-authors {
  margin-bottom: 0.22rem;
  color: #454b54;
  font-size: 0.94rem;
  line-height: 1.55;
}

.publication-meta {
  margin-bottom: 0.55rem;
  color: #7b828c;
  font-size: 0.88rem;
  font-weight: 600;
}

.page__content .publication-summary {
  margin: 0 0 0.65rem;
  color: #5b626c;
  font-size: 0.94rem;
}

.publication-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.page__content .publication-links a {
  display: inline-block;
  padding: 0.18rem 0.58rem;
  border: 1px solid #cfd5dc;
  border-radius: 3px;
  background: #fafbfc;
  color: #3f4650;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
}

.page__content .publication-links a:hover {
  border-color: #aeb7c2;
  background: #f3f5f7;
  color: #224b8d;
  text-decoration: none;
}


.paper-card {
  display: grid;
  grid-template-columns: minmax(300px, 41%) minmax(0, 1fr);
  gap: 1.65rem;
  align-items: center;
  margin: 0.55rem 0 0.3rem;
  padding: 1.05rem;
  border: 1px solid #e0e5eb;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(31, 41, 55, 0.07);
}

.paper-card-visual {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #fbfcfe;
  box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
  line-height: 0;
  text-decoration: none !important;
}

.paper-card-visual img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.paper-badge {
  position: absolute;
  top: 0.75rem;
  left: 0;
  z-index: 2;
  padding: 0.35rem 0.72rem;
  border-radius: 0 4px 4px 0;
  background: #224b8d;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.paper-card-content {
  min-width: 0;
}

.paper-card .publication-title {
  margin-bottom: 0.52rem;
  font-size: 1.13rem;
  line-height: 1.4;
}

.paper-card .publication-authors {
  margin-bottom: 0.34rem;
}

.paper-card .publication-meta {
  margin-bottom: 0.7rem;
}

.paper-card .publication-summary {
  margin-bottom: 0.82rem;
}

@media (max-width: 760px) {
  .paper-card {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.85rem;
  }

  .paper-card-visual {
    width: 100%;
  }

  .paper-card .publication-title {
    font-size: 1.06rem;
  }
}
