/* ========== 文章内容页样式 ========== */
.wnzp-layout {
  display: flex;
  min-height: 600px;
}

/* 左侧导航 */
.left-sidebar {
width: 280px;
  flex-shrink: 0;
  margin-right: 30px;
}

.sidebar-nav ul {
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  overflow: hidden;
}

.sidebar-nav li {
  border-bottom: 1px solid #E0E0E0;
}

.sidebar-nav li:last-child {
  border-bottom: none;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  font-size: 15px;
  color: #2D2D2D;
  transition: all 0.3s;
}

.sidebar-nav li.active a,
.sidebar-nav li a:hover {
  background: #1B3F6B;
  color: #FFFFFF;
}

.sidebar-nav li a .arrow {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #C4982F;
  margin-right: 10px;
  transition: all 0.3s;
}

.sidebar-nav li.active a .arrow,
.sidebar-nav li a:hover .arrow {
  border-left-color: #E5C76B;
}

/* 右侧文章内容 */
.main-content {
  flex: 1;
  min-width: 0;
}

.article-content {
  background: #FFFFFF;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  padding: 30px;
}

.article-title {
  font-size: 24px;
  color: #1B3F6B;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid #E0E0E0;
}

.article-meta {
  font-size: 14px;
  color: #888888;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px dashed #E0E0E0;
}

.article-meta span {
  margin-right: 20px;
}

.article-body {
  font-size: 15px;
  color: #000;
  line-height: 2;
}

.article-body p {
  margin-bottom: 16px;
  text-indent: 2em;
    word-wrap: break-word;
}

.article-img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
}

.article-body .article-img + p {
  margin-top: 16px;
}

.article-list {
  margin: 16px 0 16px 2em;
  padding: 0;
}

.article-list li {
  margin-bottom: 8px;
  line-height: 2;
}

.article-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 2px solid #E0E0E0;
}

.article-tags {
  display: flex;
  flex-wrap: wrap;
  
}

.tag {
  display: inline-block;
  padding: 4px 14px;
  background: #F5F6FA;
  color: #1B3F6B;
  border-radius: 3px;
  font-size: 14px;
  margin-right: 8px;
  border: 1px solid #E0E0E0;
  transition: all 0.3s;
}

.tag:hover {
  background: #1B3F6B;
  color: #fff;
  border-color: #1B3F6B;
}

/* 上一篇/下一篇 */
.article-nav {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
}
.article-nav .nav-item + .nav-item {
  margin-top: 12px;
}

.nav-item {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 15px;
  color: #555555;
  line-height: 1.8;
}

.nav-label {
  color: #888888;
  margin-right: 6px;
}

.nav-item a {
  color: #1B3F6B;
  transition: color 0.3s;
}

.nav-item a:hover {
  color: #C4982F;
}

/* 响应式 */
@media (max-width: 1024px) {
  .left-sidebar {
    display: none;
  }
  .main-content {
    width: 100%;
  }
  .article-content {
    padding: 20px;
  }
  .article-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .article-content {
    padding: 16px;
  }
  .article-title {
    font-size: 18px;
  }
  .article-meta>span {
    display: block;
    margin-bottom: 4px;
  }
}