/* news-detail.css */

.news-detail-page {
  background-color: #ffffff;
  padding-top: 1.8rem; /* 进一步增加 PC 端顶部间距，确保大标题下方有足够留白 */
  padding-bottom: 1.2rem;
}

.article-container {
  padding: 0 2.04rem;
}

.article-header {
  text-align: center;
  margin-bottom: 0.6rem;
}

.article-title {
  font-family: "PangMenZhengDaoBiaoTiTiMianFeiBan-4", sans-serif;
  font-size: 0.48rem;
  color: #000000;
  font-weight: normal;
  margin-bottom: 0.24rem;
  line-height: 1.4;
}

.article-meta {
  font-size: 0.16rem;
  color: #999999;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.08rem;
}

.article-content {
  max-width: 12rem;
  margin: 0 auto;
}

.article-content p {
  font-size: 0.18rem;
  color: #505050;
  line-height: 2;
  text-indent: 2em;
  margin-bottom: 0.32rem;
  text-align: justify;
}

.article-content img {
  display: block;
  width: 8.72rem;
  height: 4.91rem;
  margin: 0.48rem auto;
  object-fit: cover;
  border-radius: 0;
}

/* 响应式适配 (移动端) */
@media (max-width: 768px) {
  .news-detail-page {
    padding-top: 3rem; /* 进一步增加移动端顶部间距，确保标题完全露出来 */
    padding-bottom: 0.8rem;
  }

  .article-title {
    font-family: "HarmonyOS Sans SC", sans-serif;
    font-size: .48rem;
    font-weight: bold;
    margin-bottom: 0.16rem;
    line-height: 1.6;
  }

  .article-meta {
    font-size: .28rem;
    color: rgba(0, 0, 18, 0.6);
  }

  .article-meta img {
    display: none;
  }

  .article-header {
    margin-bottom: 0.4rem;
  }

  .article-content {
    max-width: 100%;
  }

  .article-content p {
    font-size: 14px;
    margin-bottom: 0.24rem;
    line-height: 1.8;
  }

  .article-content img {
    margin: 0.24rem auto;
    width: 100%;
    height: auto;
    aspect-ratio: 343 / 193;
    object-fit: cover;
    border-radius: 0;
  }
}
@media (max-width: 768px) {
  .article-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}
