/* ========== 整体背景 ========== */
body {
  /* background-color: #f5f5f5; 删掉原来纯色 */
  background-image: url("/images/background.jpg");  /* 你的图片路径 */
  background-size: cover;         /* 铺满整个屏幕，图片会裁剪 */
  background-position: center;    /* 图片居中 */
  background-attachment: fixed;   /* 滚动页面背景图不动（视差效果） */
  /* filter: saturate(0.65) brightness(0.88); */
  background-repeat: no-repeat;   /* 禁止图片重复平铺 */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
}

/* ========== 导航栏 ========== */
/* .masthead {
  background: #ffffff !important;
  border-bottom: 1px solid #e8e8e8 !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: sticky !important;
 
} */

.masthead__inner-wrap {
  padding: 0.6rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.site-title {
  font-weight: 700;
  font-size: 1.3rem;
  color: #2d3748;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: -0.3px;
}

.site-title::before {
  content: "JZ";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #4c6ef5 0%, #7950f2 100%);
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  border-radius: 8px;
  letter-spacing: 0.5px;
}

.greedy-nav a {
  color: #555;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin: 0 0.1rem;
}

.greedy-nav a:hover {
  background: #f0f0f0;
  color: #000;
}

.greedy-nav .visible-links a.active {
  color: #4c6ef5;
  background: #eef2ff;
  font-weight: 600;
}
/* ========== 固定顶部导航栏，滚动时保持悬浮在顶部 ========== */


/* 给页面主体增加顶部padding，防止内容被固定导航遮挡 */
/* .initial-content {
  padding-top: 4.2rem !important;
} */

/* 移动端适配 */
@media (max-width: 768px) {
  .initial-content {
    padding-top: 3.6rem !important;
  }
}

/* ========== 减少留白 ========== */
.initial-content {
  padding-top: 0.5rem !important;
}

.page {
  margin-top: 0.8rem;
}

.page__content {
  /* background: #ffffff; */
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  box-shadow: 0 1px 19px rgba(0,0,0,0.06);
  padding: 1rem;
  border: 1px solid #eee;
} 

/* ========== 侧边栏 ========== */
/* .sidebar {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  padding: 3rem 1rem;
  border: 1px solid #eee;
  text-align: center;
} */
/* /* ========== 侧边栏头像容器（方块）========== */
.author__avatar {
  width: 100%;           /* 容器占满侧边栏宽度 */
  text-align: center;    /* 文字/图片水平居中 */
  margin: 0 auto 1rem;   /* 上下边距，左右自动居中 */
  display: block;
} */

.author__avatar img {
  display: block;        /* 块级元素才能用 margin 居中 */
  margin: 0 auto;        /* 左右自动 = 居中 */
  border-radius: 8px;
  width: 150px;
  height: auto;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* .author__avatar img {
  border-radius: 8px;
  width: 150px;
  height: auto;
  border: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
} */

.author__name {
  font-size: 1.5rem;
  font-weight: 700;
  /* color: #2d3748; */
  color: #ffffff !important;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 0 5px rgba(0, 0, 0, 0.35);
  margin-top: 0.5rem;
}

.author__bio {
  font-size: 0.88rem;
  color: #ffffff !important;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 0 5px rgba(0, 0, 0, 0.35);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* 侧边栏链接恢复为文字 */
.author__urls-wrapper .author__urls {
  padding: 0;
  list-style: none;
  text-align: left;
}

.author__urls-wrapper .author__urls li {
  margin: 0.5rem 0;
  display: block;
}

.author__urls-wrapper .author__urls a {
  display: inline-flex !important;
  align-items: center;
  gap: 0.6rem;
  /* color: #4a5568 !important; */
  color: #ffffff !important;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.55),
    0 0 5px rgba(0, 0, 0, 0.35);
  font-size: 0.9rem !important;
  text-decoration: none;
  background: none !important;
  width: auto !important;
  height: auto !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

.author__urls-wrapper .author__urls a:hover {
  /* color: #4c6ef5 !important; */
  color: #ffffff !important;
  background: none !important;
  transform: none !important;
}

.author__urls-wrapper .author__urls a i {
  /* color: #4c6ef5; */
  color: #ffffff !important;
  font-size: 1rem;
  width: 1.2em;
  text-align: center;
}

/* ========== 内容区标题 ========== */
.page__content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2d3748;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.page__content h2:first-of-type {
  margin-top: 0;
}

/* ========== Education 卡片 ========== */
.page__content h2 + p {
  background: #fafbfc;
  border-radius: 10px;
  padding: 1.2rem;
  border: 1px solid #f0f0f0;
  margin-top: 0.5rem;
}

.page__content h2 + p strong {
  font-size: 1.1rem;
  color: #2d3748;
  display: block;
  margin-bottom: 0.3rem;
}

.page__content h2 + p em {
  color: #a0aec0;
  font-size: 0.9rem;
  display: block;
  margin-top: 0.5rem;
}

/* ========== News 样式 ========== */
.page__content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2d3748;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  padding-left: 0.6rem;
  border-left: 3px solid #4c6ef5;
}

.page__content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.page__content ul li {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4a5568;
}

.page__content ul li strong {
  color: #a0aec0;
  font-weight: 600;
  margin-right: 0.5rem;
  display: inline-block;
  min-width: 40px;
}

.page__content ul li em {
  color: #4c6ef5;
  font-style: normal;
  font-weight: 500;
}

/* ========== Publications 字体缩小 ========== */
/* /* 论文条目外层大卡片 */

/* 条目本身透明，不要白色块 */
.list__item {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 1.4rem 0 !important;
} */

/* 方框按钮样式，复刻截图 */
.paper-buttons {
  margin-top:0.4rem;
}
.btn-paper {
  display: inline-block;
  border: 2px solid #222;
  padding:4px 14px;
  margin:4px 8px 4px 0;
  border-radius:3px;
  color:#222;
  text-decoration:none !important;
  background-color:#fff;
}
.btn-paper:hover {
  background:#f0f0f0;
}

/* 左侧teaser图片，左图右文字布局 */
.archive__item-teaser {
  width: 220px;
  float: left;
  margin-right: 1.5rem;
  border-radius:8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.archive__item-teaser img {
  width:100%;
}

.page__content .list__item p {
  font-size: 0.88rem !important;
  line-height: 1.5;
  color: #454F5E;
}

.page__title {
  font-size: 1.5rem !important;
}

.page__content > p:first-of-type {
  font-size: 0.95rem;
  color: #454F5E;
}

.list__item {
  margin-bottom: 1.5rem;
}
/* 其他你之前写的css....... */

.paper-buttons {
  margin: 8px 0 16px 0;
}
.btn-paper {
  display: inline-block;
  border: 2px solid #222;
  padding:4px 14px;
  margin:4px 8px 4px 0;
  border-radius:3px;
  color:#ffffff !important;      /*文字白色*/
  text-decoration:none !important;
  background-color:#222222;      /*按钮深色背景*/
}
.btn-paper:hover {
  background:#444444;
  color:#fff !important;
}

/* ========== 页脚 ========== */
.page__footer {
  background: transparent !important;
  border-top: 1px solid #e8e8e8;
  margin-top: 2rem;
  padding: 1.5rem 0;
  color: #a0aec0;
  font-size: 0.85rem;
}

/* ========== 响应式 ========== */
@media (max-width: 768px) {
  .page__content {
    padding: 1.5rem;
  }
}
#main .archive__item-title {
  font-size: 1em;
  line-height: 1.3em;
}

#main .archive__item-excerpt,
#main .page__meta,
#main p {
  font-size: 0.78em;
  line-height: 1.4em;
}

#main .btn-paper {
  font-size: 0.75em;
  padding: 2px 10px;
}
/* publications页面citation、venue、摘要文字颜色 */
.page__content .archive__item p {
  color: #ffffff !important;
}
.page__content .archive__item-excerpt {
  color: #ffffff !important;
}

