/* page18 教学优势 页面专属样式 */

.page18-banner {
  background-image: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1920&h=600&fit=crop');
  background-color: #1a2a4a;
}

.list-header {
  text-align: center;
  padding: 50px 0 10px;
}

.list-header .section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin-bottom: 8px;
}

.list-header .section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

.list-header .section-desc {
  font-size: 15px;
  color: var(--text-light);
  margin-top: 10px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.list-toolbar {
  margin-top: 20px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--border-color);
}

.list-content {
  padding-top: 28px;
}

/* 教学优势页面卡片覆盖：竖排布局展示 */
.list-content .article-card {
  flex-direction: column;
  max-width: 380px;
}

.list-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.list-content .article-card .card-thumb {
  width: 100%;
  height: 220px;
  flex-shrink: 0;
}

.list-content .article-card .card-body {
  padding: 18px 20px;
}

.list-content .article-card .card-body h3 {
  font-size: 17px;
  min-height: 48px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-content .article-card .card-body p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.list-pagination {
  padding-bottom: 60px;
}

/* 分类筛选按钮样式增强 */
.list-toolbar .category-filter {
  justify-content: center;
  margin-bottom: 0;
}

.list-toolbar .category-btn {
  border-radius: 20px;
  font-weight: 600;
  padding: 8px 28px;
  border-color: transparent;
  background: var(--secondary-color);
}

.list-toolbar .category-btn:hover,
.list-toolbar .category-btn.active {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
}

/* 响应式 */
@media (max-width: 1024px) {
  .list-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .list-content .article-card {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .list-header {
    padding: 30px 0 6px;
  }
  .list-header .section-title {
    font-size: 24px;
  }
  .list-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .list-content .article-card .card-thumb {
    height: 200px;
  }
  .list-toolbar .category-filter {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }
  .list-toolbar .category-btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .list-pagination {
    padding-bottom: 40px;
  }
}