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

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

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

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

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

.one {
  width: 300px;
  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;
}

li {
  margin-top: 10px;
  margin-bottom: 10px;
}


/* adjust for portable device */
/* 响应式调整 */
@media (max-width: 768px) {
  /* 整体布局 */
  body {
    padding: 10px;
  }

  /* 个人信息区域 */
  table > tbody > tr > td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
  }

  /* 头像 */
  td[style*="width:40%"], td[style*="max-width:40%"] {
    padding-top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
  }

  /* 新闻和出版物 */
  .papertitle {
    font-size: 14px;
    line-height: 1.3;
  }

  /* 工作经历和项目 */
  table[width="100%"] td {
    display: block;
    width: 100% !important;
    text-align: center;
  }

  /* 杂项列表 */
  ul {
    padding-left: 20px;
  }

  /* publication图片和内容上下排列 */
  table[style*="width:100%"] tr {
    display: block;
    margin-bottom: 20px;
  }

  table[style*="width:100%"] tr td {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center;
    padding: 5px !important;
  }

  .one img, .one {
    width: 100% !important;
    height: auto !important;
    max-width: 300px;
    margin: 0 auto;
  }
}
/* Add this to reduce space between publication items */
table[style*="width:100%"] tr {
  margin: 0;
  padding: 0;
}

table[style*="width:100%"] tr td {
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}

/* For the right column content */
table[style*="width:100%"] tr td[style*="width:75%"] {
  padding: 10px !important;
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  table[style*="width:100%"] tr td {
    padding: 5px !important;
  }
}

@media (max-width: 480px) {
  /* 更小的设备 */
  .name {
    font-size: 20px;
  }

  /* 链接栏垂直排列 */
  p[style*="text-align:center"] a {
    display: block;
    margin: 8px 0;
  }

  /* 缩小出版物图片 */
  .one img {
    width: 100% !important;
    max-width: 150px !important;
  }
}

/* 新增响应式样式 */
@media (max-width: 768px) {
  .pub-item {
    display: flex;
    flex-direction: column;
  }
  .pub-image {
    width: 100% !important;
    text-align: center;
    margin-bottom: 15px;
  }
  .pub-content {
    width: 100% !important;
    padding: 10px !important;
  }
  .pub-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .pub-links a {
    margin-right: 0 !important;
  }
}

/* 新增样式 */
.pub-title {
  font-size: 16px;
  font-weight: 700;
  color: #1772d0;
  margin-bottom: 8px;
  display: block;
}

.pub-authors {
  font-size: 14px;
  margin-bottom: 10px;
  color: #555;
}

.pub-links {
  margin: 12px 0;
}

.pub-link {
  display: inline-block;
  padding: 4px 8px;
  background: #f5f5f5;
  border-radius: 4px;
  margin-right: 8px;
  font-size: 13px;
}

.pub-link:hover {
  background: #e0e0e0;
}

.pub-abstract {
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.pub-badges {
  margin-top: 8px;
}

.pub-conference {
  display: inline-block;
  padding: 2px 6px;
  background: #e7f3fe;
  color: #1772d0;
  border-radius: 4px;
  font-size: 12px;
  margin-right: 8px;
}
