/* 全局重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* 页面容器 */
.page-container {
  width: 100%;
  max-width: 1117px;
  margin: 0 auto;
  padding: 0px 10px;
}

.container {
  width: 100%;
}

/* 内容区域样式 */
.content-area {
 margin-top: 12rem;
}

.content-wrapper {
  display: flex;
  gap: 30px;
}


/* 右侧内容 */
.right-content {
  flex: 1;
  background-color: #fff;
  border-radius: 4px;
  padding: 20px;
  /* box-shadow: 0 2px 4px rgba(0,0,0,0.1); */
}

/* 文章标题居中 */
.content-body h2 {
  text-align: center;
  font-size: 24px;
  color: #333;
  margin-bottom: 15px;
  font-weight: bold;
}

/* 文章元信息居中 */
.article-meta {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-bottom: 15px;
}

.article-meta span {
  margin: 0 10px;
}

/* 文章正文正常排版 */
.article-content {
  line-height: 1.8;
  color: #333;
  font-size: 16px;
  text-indent: 2em;
}

.article-content p {
  margin-bottom: 12px;
}

.content-header {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e0e0e0;
}

.content-header h1 {
  font-size: 20px;
  color: #333;
  margin-bottom: 10px;
}

.breadcrumb {
  font-size: 12px;
  color: #666;
}

.breadcrumb a {
  color: #1D89EB;
}


/* 响应式适配 */
@media (max-width: 768px) {
  .content-wrapper {
    flex-direction: column;
  }
  
  .left-sidebar {
    flex: none;
    width: 100%;
  }
  
  .news-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  
  .news-title {
    margin-right: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
  }
  
  .pagination {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .right-content {
    padding: 15px;
  }
  
  .pagination a {
    padding: 4px 10px;
    font-size: 12px;
  }
}