/* --- 全局字体放大：基准字号从14px提升至16px --- */
body,
td,
th,
tr,
p,
a {
  font-family: Helvetica, "Noto Sans SC", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a,
a:visited {
  color: #1772d0;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:focus,
a:hover {
  color: #f09228;
  text-decoration: none;
}

strong {
  font-family: 'Lato', Helvetica, "Noto Sans SC", sans-serif;
  font-size: 16px;
  font-weight: 700;
}

strongless {
  font-family: 'Lato', Helvetica, "Noto Sans SC", sans-serif;
  font-size: 15px;
  font-weight: 500;
}

li {
  margin: 6px 0;
  font-size: 16px;
}

span.highlight {
  background-color: #ffffd0;
  padding: 1px 4px;
}
span.me {
  color: #000000;
  font-weight: 600;
  font-size: 16px;
}

div.title {
  color: #000000;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
  font-family: 'Lato', Helvetica, "Noto Sans SC", sans-serif;
}
div.conf {
  font-size: 16px;
  color: #000000;
  margin-bottom: 5px;
}
div.author {
  font-size: 15px;
  color: #777777;
  margin-bottom: 5px;
}
div.author a:link,
div.author a:visited {
  color: #777777;
  text-decoration: None;
  transition: color 0.2s ease;
}
div.author a:hover {
  color: #f09228;
  text-decoration: None;
}
div.material {
  color: #000000;
  font-size: 16px;
  font-weight: 400;
}

ul.news-list {
  list-style-type: disc;
  padding-left: 28px;
  margin: 14pt 0px;
  line-height: 1.7;
}
ul.news-list li {
  margin: 6px 0;
}
span.news-date {
  color: #777777;
  font-style: italic;
  margin-right: 10px;
  font-size: 16px;
}

/* --- 1. 工作经历：缩小单位间空白（核心修改）--- */
td.company-icon {
  width: 200px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  padding: 2px 0; /* 上下内边距从8px缩至2px，减少空白，与出版物间距对齐 */
}
td.company-icon img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* --- 2. 头像：缩小尺寸+强制右对齐（核心修改）--- */
td.avatar-cell {
  width: 30%; /* 保持列宽，给右对齐足够空间 */
  display: flex;
  justify-content: flex-end; /* 强制头像右对齐（关键属性，必须保留） */
  align-items: flex-start; /* 与左侧个人信息顶部对齐，避免垂直错位 */
  padding-left: 25px; /* 增加与左侧文字的间距，避免挤压 */

  text-align: right;     
  float: right;
}
td.avatar-cell img {
  max-width: 150px; /* 显著缩小头像 */
  width: auto;       /* 避免被放大 */
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}


/* --- 3. 论文图片样式（保持不变）--- */
td.paper-img-cell {
  width: 32%;
}
td.paper-img-cell img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

span.tag {
  display: inline-block;
  padding: 3px 8px;
  background-color: #f0f0f0;
  border-radius: 4px;
  margin-right: 6px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #555;
  transition: background-color 0.2s ease;
}
span.tag:hover {
  background-color: #e0e0e0;
}

name {
  font-size: 28pt;
  font-weight: 700;
  color: #222;
}

.avatar-fixed {
  position: absolute;
  top: 70px;     /* 根据需要调整 */
  right: 390px;   /* 让头像贴到浏览器右边 */
}

.avatar-fixed img {
  width: 100px !important;
  max-width: 100px !important;
  height: auto;
}
