/* ============ 页面 Banner ============ */
.page-banner {
  background: linear-gradient(135deg, #1a3a5c 0%, #2c5f8d 100%);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.page-banner h1 { font-size: 28px; margin-bottom: 8px; }
.page-banner p { color: #c8ddf0; font-size: 14px; }

/* ============ 面包屑 ============ */
.breadcrumb {
  background: #fff;
  border-bottom: 1px solid #eef2f7;
  padding: 12px 0;
  font-size: 13px;
  color: #7a8fa6;
}
.breadcrumb a { color: #5a6f85; }
.breadcrumb a:hover { color: #1a73e8; }
.breadcrumb span { margin: 0 8px; color: #c5d2e0; }

/* ============ 攻略聚合主体 ============ */
.articles-main {
  padding: 50px 0 60px;
  background: #f7f9fc;
}
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 26px; color: #1a3a5c; margin-bottom: 10px; }
.section-title p { color: #7a8fa6; font-size: 14px; }
.section-title h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: #ff6b35;
  margin: 14px auto 0;
  border-radius: 2px;
}

/* ============ 栏目卡片网格 ============ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
}
.category-card {
  display: block;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: all 0.3s;
  text-decoration: none;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(26,115,232,0.15);
}
.category-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef2f7;
}
.category-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.category-card:hover .category-img img { transform: scale(1.08); }
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,58,92,0) 50%, rgba(26,58,92,0.5) 100%);
  pointer-events: none;
}
.category-body {
  padding: 22px 22px 24px;
}
.category-body h3 {
  font-size: 18px;
  color: #1a3a5c;
  margin-bottom: 8px;
  font-weight: 600;
}
.category-body p {
  font-size: 13px;
  color: #7a8fa6;
  line-height: 1.6;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
}
.category-count {
  font-size: 13px;
  color: #1a73e8;
  font-weight: 500;
}

/* ============ 响应式 ============ */
@media (max-width: 768px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-body { padding: 16px; }
  .category-body h3 { font-size: 15px; }
  .category-body p { font-size: 12px; }
}
@media (max-width: 480px) {
  .category-grid { grid-template-columns: 1fr; }
}