/* 全局样式重置和优化 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Newsreader', 'Charter', 'Sitka Text', 'Georgia', serif;
  line-height: 1.5;
  color: #333;
  font-size: 17px;
  word-spacing: 0;
}

/* 链接样式 */
a {
  color: #b15a27;
  text-decoration: none;
  font-size: inherit;
  transition: color 0.2s ease;
  word-spacing: 0;
}

a:focus,
a:hover {
  color: #943f14;
}

/* 文本元素统一样式 */
body,
td,
th,
tr,
p,
a {
  font-family: inherit;
  font-size: 17px;
  line-height: 1.4;
}

strong {
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
}

/* 标题样式 */
heading {
  font-family: 'DM Serif Display', 'Georgia', serif;
  font-size: 22px;
  font-weight: 400;
  display: block;
  margin-bottom: 8px;
  color: #1a1612;
}

/* 论文标题样式 */
papertitle {
  font-family: 'DM Serif Display', 'Georgia', serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  display: inline-block;
  color: #1a1612;
}

/* 姓名样式 */
name {
  font-family: 'DM Serif Display', 'Georgia', serif;
  font-size: 28px;
  font-weight: 400;
}

/* 主要容器样式 */
.main-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 15px;
}

/* 个人信息区域 */
.profile-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
  padding: 15px;
}

.profile-text {
  flex: 2;
}

.profile-image {
  flex: 1;
  text-align: center;
}

.profile-image img {
  width: 80%;
  max-width: 300px;
  border-radius: 8px;
}

/* 论文列表样式 */
.paper-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 25px;
  padding: 18px;
  border-bottom: 1px solid #eee;
}

.paper-image {
  flex: 0 0 130px;
}

.paper-image img {
  width: 100%;
}

.paper-content {
  flex: 1;
  line-height: 1.5;
}

.paper-content>* {
  margin-bottom: 6px;
}

.paper-content:last-child {
  margin-bottom: 0;
}

/* 教育和经历部分 */
.education-item,
.experience-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
  padding: 15px;
}

.education-logo,
.experience-logo {
  flex: 0 0 80px;
  text-align: center;
}

.education-logo img,
.experience-logo img {
  max-width: 60px;
  max-height: 60px;
}

.education-content,
.experience-content {
  flex: 1;
  line-height: 1.5;
}

/* 段落间距优化 */
p {
  margin-bottom: 12px;
  line-height: 1.5;
}

p:last-child {
  margin-bottom: 0;
}

/* 列表样式 */
ul {
  margin: 0;
  padding-left: 20px;
}

li {
  margin-bottom: 5px;
  line-height: 1.5;
}

/* 表格样式优化 */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

td {
  padding: 12px;
  vertical-align: top;
}

/* 图片悬浮效果 */
.one {
  width: 130px;
  height: 130px;
  position: relative;
}

.two {
  width: 130px;
  height: 130px;
  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;
  padding: 1px 2px;
  border-radius: 2px;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .profile-section {
    flex-direction: column;
    text-align: center;
  }

  .paper-item {
    flex-direction: column;
  }

  .paper-image {
    flex: none;
    align-self: center;
  }

  .education-item,
  .experience-item {
    flex-direction: column;
    text-align: center;
  }
}