
.article-nav {
    background-color: #fff;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
}

.article-nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    align-items: center;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}
/* 在媒体查询中，调整菜单栏在小屏幕上的布局 */
@media only screen and (max-width: 768px) {
  .article-nav ul {
    display: flex;
  }

  .article-nav li {
    flex: 1;
    text-align: center;
    white-space: nowrap; /* 关键：不允许换行 */
  }
}

.article-nav ul li {
    margin-right: 50px;
}

.article-nav ul li:last-child {
    margin-right: 0;
}

.article-nav ul li a {
    color: #333;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-nav ul li a:hover {
    color: #007bff;
    font-weight: bold;
}

.MY_pages ul{
	float:left;
	padding:12px 0px 12px 16px;
}
.MY_pages ul li{
	float:left;
	font-family:Tahoma;
	line-height:17px;
	margin-right:6px;
	border:1px solid #E9E9E9;
}
.MY_pages ul li a{
	float:left;
	padding:2px 4px 2px;
	color:#333;
	display:block;
}
.MY_pages ul li a:hover{
	color:#007bff;
	text-decoration:none;
	padding:2px 4px 2px;
}
.MY_pages ul li.thisclass,
.MY_pages ul li.thisclass a,.pagebox ul li.thisclass a:hover{
	background-color:#F8F8F8;
	padding:2px 4px 2px;
	color:#333;
	font-weight:bold;
}
.MY_pages .pageinfo{
	line-height:21px;
	padding:12px 10px 12px 16px;
	color:#333;
}
.MY_pages .pageinfo strong{
	color:#333;
	font-weight:normal;
	margin:0px 2px;
}

.MY_pages{
	max-width:800px;
	height: 50px;
	float:none;
	overflow:hidden;
	text-align:center;
	background-color:#fff;
	font-size: 14px;
	margin-bottom:50px;
}
.MY_pages ul{
	margin:0px auto;
	float:none;
	clear:both;
	overflow:hidden;
	text-align:center;
	white-space:nowrap;
}
.MY_pages ul li,.MY_pages ul li a{
	float:none;
	display:inline;
}
/* ========================= */
/* 文章正文区样式 */
/* ========================= */
.article-detail {
  width: 100%;
  background: #fff;
}

.article-detail-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* 标题 */
.detail-title {
  font-size: 28px;
  font-weight: bold;
  color: #333;
  line-height: 1.4;
  margin-bottom: 16px;
}

/* 文章信息 */
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: #999;
  margin-bottom: 30px;
}

/* 正文内容 */
.detail-content {
  font-size: 16px;
  line-height: 1.9;
  color: #333;
}

.detail-content p {
  margin-bottom: 20px;
}

/* 上一篇 / 下一篇 */
.detail-pagination {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
}

.detail-pagination div {
  margin-bottom: 10px;
}

.detail-pagination a {
  color: #333;
  text-decoration: none;
}

.detail-pagination a:hover {
  color: #007bff;
}
.detail-path a {
  text-decoration: none;
  color: #999;
}
.detail-path a:hover {
  color: #007bff;
}
/* ========================= */
/* 移动端自适应 */
/* ========================= */
@media (max-width: 768px) {
  .article-detail-container {
    padding: 30px 15px;
  }

  .detail-title {
    font-size: 22px;
  }

  .detail-content {
    font-size: 15px;
  }
}
