/* 新闻资讯页专属样式 */
.news-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92), rgba(37, 99, 235, 0.88)), 
              url('https://images.unsplash.com/photo-1504711434969-e33886168f5c?w=1920&h=600&fit=crop') center/cover no-repeat;
  position: relative;
  overflow: hidden;
}

.news-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.6;
}

.news-banner .container {
  position: relative;
  z-index: 2;
}

.news-main {
  background: var(--secondary-color);
  padding: 60px 0 80px;
  margin-top: 0;
}

.news-list-wrapper {
  max-width: 960px;
  margin: 0 auto;
}

.list-toolbar {
  background: #fff;
  padding: 20px 24px;
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 24px;
}

.list-content {
  background: transparent;
}

/* 调整新闻卡片为竖排移动端优化样式 */
@media (max-width: 768px) {
  .news-main {
    padding: 32px 0 48px;
  }
  
  .list-toolbar {
    padding: 16px;
  }
  
  .category-btn {
    padding: 6px 16px;
    font-size: 13px;
  }
}

/* 卡片渐入动画 */
.article-card {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.5s ease forwards;
}

.article-card:nth-child(1) { animation-delay: 0.05s; }
.article-card:nth-child(2) { animation-delay: 0.1s; }
.article-card:nth-child(3) { animation-delay: 0.15s; }
.article-card:nth-child(4) { animation-delay: 0.2s; }
.article-card:nth-child(5) { animation-delay: 0.25s; }
.article-card:nth-child(6) { animation-delay: 0.3s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}