.page-banner {
  background-color: #d92121;
}

.page-main {
  padding: 40px 20px;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}

.news-content {
  min-width: 0;
}

.list-toolbar {
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

.list-content .article-card:last-child {
  margin-bottom: 0;
}

.list-pagination {
  margin-top: 40px;
}

/* 侧边栏样式 */
.news-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.sidebar-widget {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 24px;
  margin-bottom: 24px;
}

.widget-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-color);
  position: relative;
}

.widget-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 40px;
  height: 2px;
  background: var(--gold-color, #c8a96a);
}

/* 搜索框 */
.search-box {
  display: flex;
  border: 1px solid #e0e0e0;
  border-radius: 24px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.search-box:focus-within {
  border-color: var(--primary-color);
}

.search-box input {
  flex: 1;
  padding: 10px 16px;
  font-size: 14px;
  background: transparent;
}

.search-box button {
  padding: 0 18px;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}

.search-box button:hover {
  background: #b81c1c;
}

/* 热门资讯 */
.hot-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hot-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.hot-rank {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  border-radius: 4px;
  background: #e0e0e0;
  color: #666;
  font-size: 12px;
  font-weight: 600;
}

.hot-list li:nth-child(1) .hot-rank,
.hot-list li:nth-child(2) .hot-rank,
.hot-list li:nth-child(3) .hot-rank {
  background: var(--primary-color);
  color: #fff;
}

.hot-list li a {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hot-list li a:hover {
  color: var(--primary-color);
}

/* 咨询CTA */
.cta-widget {
  background: linear-gradient(135deg, #d92121 0%, #b81c1c 100%);
  color: #fff;
}

.cta-widget .widget-title {
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.2);
}

.cta-widget .widget-title::after {
  background: var(--gold-color, #c8a96a);
}

.cta-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.cta-box p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  margin-bottom: 20px;
}

.cta-box .btn-primary {
  background: #fff;
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-box .btn-primary:hover {
  background: var(--gold-color, #c8a96a);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.cta-hotline {
  font-size: 14px !important;
  color: #fff !important;
  text-align: center;
  margin-bottom: 0 !important;
}

.cta-hotline a {
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

/* 文章卡片在列表页微调 */
.article-card {
  background: #fff;
}

.article-card .card-body h3 a:hover {
  color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .news-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .page-main {
    padding: 24px 16px;
  }
  .list-toolbar {
    padding: 16px;
    margin-bottom: 16px;
  }
  .sidebar-widget {
    padding: 20px;
    margin-bottom: 16px;
  }
}