.fa-location-dot:before {
  content: "\f3c5";
}

.fa-building-columns:before {
  content: "\f19c";
}

.fa-graduation-cap:before {
  content: "\f19d";
}

.fa-envelope:before {
  content: "\f0e0";
}

.fa-link:before {
  content: "\f0c1";
}

.fa-github:before {
  content: "\f09b";
}

h1 {
  font-size: 1.5em;
  margin-bottom: 0.4em;
  line-height: 1.2;
}
h2 {
  font-size: 1.15em;
  margin-bottom: 0.35em;
  line-height: 1.25;
}
h3 {
  font-size: 1.0em;
  margin-bottom: 0.3em;
  line-height: 1.3;
}
h4, h5, h6 {
  font-size: 1.1em;
  margin-bottom: 0.25em;
  line-height: 1.35;
}
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: 0.01em;
}

ul, ol {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
}
p {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  text-align: justify;
}

/* 正文样式优化 */
body {
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.3;
}

a {
  font-weight: 400;
  transition: color 0.3s ease;
}

.page__inner-wrap {
  font-size: 0.9em;
  font-weight: 200;
}
.page__inner-wrap strong,
.page__inner-wrap b {
  font-weight: 700;
}

.sidebar .author__name {
  font-weight: 500;
}

.sidebar .author__bio {
  font-weight: 400;
  font-style: italic;
}

.masthead__menu-item {
  font-weight: 400;
  letter-spacing: 0.05em;
}

.btn {
  font-weight: 500;
  letter-spacing: 0.05em;
}

.nav-font-custom {
  font-family: "Trebuchet MS", "Source Sans Pro", -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", Arial, sans-serif;
  font-weight: 300;
  font-size: 0.85em;
  letter-spacing: 0.5px;
}

.pub-panel {
  margin-top: 0.45rem;
  border: 1px solid #eaedf1;
  border-radius: 14px;
  background: linear-gradient(180deg, #fcfcfd 0%, #ffffff 100%);
  overflow: hidden;
}

.pub-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
  padding: 0.8rem 0.95rem 0.75rem;
  border-bottom: 1px solid #eef1f4;
  background: rgba(250, 250, 251, 0.92);
}

.pub-toolbar__intro {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  min-width: 0;
}

.pub-toolbar__title {
  color: #374151;
  font-size: 0.82em;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.pub-toolbar__meta {
  color: #6b7280;
  font-size: 0.78em;
  white-space: nowrap;
}

.pub-search {
  flex: 1;
  max-width: 24rem;
}

.pub-search__input {
  width: 100%;
  height: 2.25rem;
  padding: 0 0.82rem;
  border: 1px solid #e4e7ec;
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  font-size: 0.82em;
  line-height: 1.2;
}

.pub-search__input:focus {
  outline: none;
  border-color: rgba(204, 31, 3, 0.28);
  box-shadow: 0 0 0 2px rgba(204, 31, 3, 0.07);
}

.pub-list {
  max-height: 24rem;
  overflow-y: auto;
  padding: 0 0.95rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #d4dae2 transparent;
}

.pub-list::-webkit-scrollbar {
  width: 7px;
}

.pub-list::-webkit-scrollbar-thumb {
  background: #d4dae2;
  border-radius: 999px;
}

.pub-list::-webkit-scrollbar-track {
  background: transparent;
}

.pub-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.45rem;
  padding: 0.72rem 0 0.76rem;
  border-bottom: 1px solid #edf1f4;
}

.pub-card:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pub-card__main {
  min-width: 0;
}

.pub-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.pub-card__title {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.38;
  font-weight: 600;
}

.pub-card__title a {
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.pub-card__title a:hover {
  color: #cc1f03;
  text-decoration: none;
}

.pub-card__authors,
.pub-card__meta {
  margin-top: 0.2rem;
  color: #6b7280;
  font-size: 0.78em;
  line-height: 1.45;
}

.pub-card__authors sup,
.pub-note sup {
  color: inherit;
  font-size: 0.78em;
  font-weight: 700;
}

.pub-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  justify-content: flex-start;
}

.pub-tag {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #5f6875;
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1.2;
}

.pub-tag--highlight {
  background: transparent;
  border-color: transparent;
  color: #cc1f03;
}

.pub-empty {
  padding: 1rem 0 1.1rem;
  color: #6b7280;
  font-size: 0.82em;
  text-align: center;
}

.pub-note {
  padding: 0.15rem 0 0.45rem;
  color: #6b7280;
  font-size: 0.76em;
  line-height: 1.4;
}

@media (max-width: 600px) {
  .pub-toolbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0.8rem 0.7rem;
  }

  .pub-toolbar__intro {
    justify-content: space-between;
  }

  .pub-search {
    max-width: none;
  }

  .pub-list {
    max-height: 28rem;
    padding: 0 0.8rem;
  }

  .pub-card {
    grid-template-columns: 1fr;
    gap: 0.35rem;
    padding: 0.55rem 0 0.7rem;
  }

  .pub-card__side {
    align-items: flex-start;
  }

  .pub-card__tags {
    justify-content: flex-start;
  }
}

#patents + ul {
  font-family:
    "PingFang SC","Hiragino Sans GB","Noto Sans CJK SC","Noto Sans SC",
    "Microsoft YaHei","Source Han Sans SC","Source Han Sans","Heiti SC",
    -apple-system,BlinkMacSystemFont,"Segoe UI","Helvetica Neue",Arial,sans-serif;
  font-weight: 400;
  letter-spacing: 0.1px;
}

li a > img { vertical-align: top}
