/* 往期开班回顾页面专属样式 */

/* Banner 专属样式 */
.page7-banner {
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #3b82f6 100%);
  position: relative;
}
.page7-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1524178232363-1fb2b075b655?w=1920&h=400&fit=crop') center/cover no-repeat;
  opacity: 0.15;
}
.page7-banner .container {
  position: relative;
  z-index: 2;
}

/* 主内容两栏布局 */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 30px;
  padding: 40px 0;
}

/* 内容区样式调整 */
.content-area {
  min-width: 0;
}

/* 文章卡片改为左右两栏布局适配回顾内容 */
.list-content .article-card {
  flex-direction: row;
}
.list-content .article-card .card-thumb {
  width: 300px;
  height: 220px;
}

/* 学员上课实景展示区 */
.scene-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #e5e7eb;
}
.scene-section .section-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  text-align: left;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 12px;
}
.scene-section .section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}
.scene-section .section-subtitle {
  color: #666;
  font-size: 15px;
  margin-bottom: 28px;
}
.scene-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.scene-item {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  background: #fff;
}
.scene-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}
.scene-item img {
  transition: transform 0.4s ease;
}
.scene-item:hover img {
  transform: scale(1.05);
}
.scene-caption {
  padding: 14px 16px;
  text-align: center;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  background: #fff;
}

/* 侧边栏样式 */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.sidebar-form-widget,
.sidebar-widget {
  background: #fff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e5e7eb;
}
.widget-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  text-align: center;
  position: relative;
  padding-bottom: 12px;
}
.widget-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--primary-color);
  border-radius: 1px;
}
.widget-desc {
  text-align: center;
  color: #666;
  font-size: 13px;
  margin-bottom: 20px;
}
.consult-form .form-group input {
  height: 44px;
  border-radius: 6px;
}
.btn-fullwidth {
  width: 100%;
  height: 46px;
  font-size: 16px;
}
.form-tip {
  text-align: center;
  margin-top: 16px;
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
}

/* 热门班型列表 */
.hot-class-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hot-class-list li a {
  display: block;
  padding: 10px 14px;
  background: #f5f7fa;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
  transition: all 0.2s ease;
}
.hot-class-list li a:hover {
  background: var(--primary-color);
  color: #fff;
  padding-left: 20px;
}

/* 团报优惠模块 */
.sidebar-promo {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: #fed7aa;
}
.sidebar-promo .widget-title::after {
  background: var(--accent-color);
}
.sidebar-promo p {
  font-size: 14px;
  color: #666;
  line-height: 2;
  text-align: center;
}

/* 分类筛选按钮微调 */
.list-toolbar .category-filter {
  padding-bottom: 20px;
  border-bottom: 1px solid #f0f0f0;
  margin-bottom: 24px;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    order: -1;
  }
  .list-content .article-card .card-thumb {
    width: 260px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .main-layout {
    padding: 24px 0;
    gap: 20px;
  }
  .list-content .article-card {
    flex-direction: column;
  }
  .list-content .article-card .card-thumb {
    width: 100%;
    height: 200px;
  }
  .scene-gallery {
    grid-template-columns: 1fr;
  }
  .scene-section {
    margin-top: 30px;
    padding-top: 30px;
  }
  .scene-section .section-title {
    font-size: 20px;
  }
  .sidebar-form-widget,
  .sidebar-widget {
    padding: 20px;
  }
}