/* 背景图层 */
.post-bg {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* 单篇文章正文卡片 */
.single article {
  position: relative;
}

/* 正文容器 */
.nested-copy-line-height {
  background: rgba(255, 255, 255, 0.85); /* 半透明白色底 */
  padding: 2rem;
  border-radius: 8px;
}


.my-figure {
  display: block;
  text-align: center;
  margin: 1em 0;
}

.my-figure img {
  display: inline-block;
  margin: 0 auto;   /* 保证图片居中 */
  max-width: 100%;
  height: auto;
}

.my-figure figcaption {
  margin-top: 0.5em;
  font-size: 0.9em;
  color: #555;
  line-height: 1.4;   /* 默认行高 */
  text-align: center;  /* 图注居中 */
}

.my-figure.tight figcaption {
  line-height: 1.2;   /* 紧凑行高 */
}

.nested-copy-line-height img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 比例，可根据视频比例修改 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.video-container iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

/* Presona文章页变色 */
.page-persona5 header h1 {
  color: #b61c1c;
}

.page-persona5 header aside {
  color: #b61c1c;
}

.page-persona5 header time {
  color: #b61c1c;
}

/*frutiger-aero变色*/
.page-frutiger-aero header h1 {
  color: #dce406;
}

.page-frutiger-aero header aside {
  color: #dce406;
}

.page-frutiger-aero header time {
  color: #dce406;
}

/* Dingzhen文章页变色 */
.page-Dingzhen header h1 {
    color: #ffbb00;   /* 主标题颜色，可自行修改 */
}

.page-Dingzhen header aside {
    color: #ffbb00;   /* 作者或副标题颜色 */
}

.page-Dingzhen header time {
    color: #ffbb00;   /* 日期颜色 */
}





/* ===============================
   手机端字体适配（不影响 PC）
   =============================== */
@media (max-width: 768px) {

  body {
    font-size: 17px;      /* 手机正文略大 */
    line-height: 1.7;     /* 行距更舒适 */
  }

  article p {
    font-size: 17px;      /* 正文段落 */
    line-height: 1.75;
  }

  article h1 {
    font-size: 1.6rem;   /* 主标题不过大 */
    line-height: 1.25;
  }

  article h2 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  article h3 {
    font-size: 1.15rem;
    line-height: 1.35;
  }

  figcaption {
    font-size: 14px;     /* 图注可读 */
  }
}



