/* ===== 内容页导航栏固定白色背景 ===== */
.wz-header {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.wz-header .logo-black {
  color: #333;
}

.wz-header .wz-menu a {
  color: #666;
}

.wz-header .wz-menu a:hover {
  color: #f56c2d;
}

/* ===== 内容页 Banner ===== */
.content-banner {
  background: linear-gradient(135deg, #f56c2d 0%, #e65100 100%);
  color: #fff;
  padding: 80px 20px 60px;
  margin-top: 70px;
}

.content-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.content-banner-title {
  font-size: 32px;
  margin: 0 0 16px 0;
  font-weight: bold;
}

.content-breadcrumb {
  font-size: 14px;
  opacity: 0.9;
}

.content-breadcrumb a {
  color: #fff;
  text-decoration: none;
}

.content-breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  margin: 0 8px;
  opacity: 0.7;
}

.breadcrumb-current {
  opacity: 0.8;
}

/* ===== 正文区域 ===== */
.content-main {
  background: #f5f6f8;
  padding: 40px 20px;
  min-height: 60vh;
}

.content-container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.content-article {
  flex: 1;
  background: #fff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.article-header {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  text-align: center;
}

.article-title {
  font-size: 26px;
  color: #333;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 13px;
  color: #999;
}

.article-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.article-cover {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden;
}

.article-cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== 富文本内容样式 ===== */
.article-body {
  font-size: 15px;
  line-height: 1.8;
  color: #444;
}

.article-body h1,
.article-body h2,
.article-body h3,
.article-body h4,
.article-body h5,
.article-body h6 {
  color: #333;
  margin: 24px 0 12px;
  font-weight: bold;
  line-height: 1.4;
}

.article-body h1 { font-size: 24px; }
.article-body h2 { font-size: 22px; }
.article-body h3 { font-size: 20px; }
.article-body h4 { font-size: 18px; }

.article-body p {
  margin: 0 0 16px 0;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 4px solid #f56c2d;
  background: #fff5f0;
  padding: 12px 20px;
  margin: 16px 0;
  color: #666;
  border-radius: 0 4px 4px 0;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}

.article-body th,
.article-body td {
  border: 1px solid #ddd;
  padding: 10px 12px;
  text-align: left;
}

.article-body th {
  background: #f5f6f8;
  font-weight: bold;
  color: #333;
}

.article-body tr:nth-child(even) {
  background: #fafafa;
}

.article-body a {
  color: #f56c2d;
  text-decoration: none;
}

.article-body a:hover {
  text-decoration: underline;
}

.article-body hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 24px 0;
}

.article-body pre {
  background: #f5f6f8;
  padding: 16px;
  border-radius: 4px;
  overflow-x: auto;
  margin: 16px 0;
}

.article-body code {
  background: #f5f6f8;
  padding: 2px 6px;
  border-radius: 3px;
  font-size: 13px;
  font-family: Consolas, Monaco, monospace;
}

.article-body pre code {
  padding: 0;
  background: none;
}

.article-body video {
  max-width: 100%;
  border-radius: 4px;
  margin: 16px 0;
}

/* ===== 右侧边栏 ===== */
.content-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.sidebar-widget {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.widget-title {
  font-size: 16px;
  color: #333;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f56c2d;
  display: inline-block;
}

.widget-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.widget-item {
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  padding: 12px;
  border-radius: 6px;
  transition: background 0.2s;
}

.widget-item:hover {
  background: #fff5f0;
}

.widget-item-img {
  width: 110px;
  height: 82px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f0f0f0;
}

.widget-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.widget-item-info {
  flex: 1;
  min-width: 0;
}

.widget-item-title {
  font-size: 15px;
  color: #333;
  margin: 0 0 6px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.widget-item-date {
  font-size: 13px;
  color: #999;
}

.widget-contact p {
  font-size: 13px;
  color: #666;
  margin: 0 0 10px 0;
  line-height: 1.6;
}

/* ===== 加载和空状态 ===== */
.wz-loading {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 14px;
}

.wz-empty {
  text-align: center;
  padding: 40px;
  color: #999;
  font-size: 14px;
}

.article-error {
  text-align: center;
  padding: 60px 20px;
  color: #999;
}

.article-error h3 {
  font-size: 18px;
  color: #666;
  margin-bottom: 12px;
}

.article-error a {
  color: #f56c2d;
  text-decoration: none;
}

/* ===== 响应式 ===== */
@media (max-width: 992px) {
  .content-container {
    flex-direction: column;
    align-items: stretch;
  }

  .content-sidebar {
    width: 100%;
  }

  .content-article {
    padding: 24px;
  }
}

@media (max-width: 600px) {
  .content-banner {
    padding: 60px 16px 40px;
    margin-top: 56px;
  }

  .content-banner-title {
    font-size: 22px;
  }

  .content-main {
    padding: 20px 12px;
  }

  .content-article {
    padding: 16px;
  }

  .article-title {
    font-size: 20px;
  }

  .article-body {
    font-size: 14px;
  }

  .sidebar-widget {
    padding: 16px;
  }

  .widget-list {
    gap: 16px;
  }

  .widget-item {
    padding: 10px;
    gap: 14px;
  }

  .widget-item-img {
    width: 96px;
    height: 72px;
    border-radius: 6px;
  }

  .widget-item-title {
    font-size: 15px;
    line-height: 1.5;
  }

  .widget-item-date {
    font-size: 13px;
  }

  .widget-contact p {
    font-size: 14px;
  }
}
