.course-banner {
  height: 360px;
}

.course-banner .banner-subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 16px;
}

.course-main {
  padding-top: 60px;
  padding-bottom: 80px;
}

.course-filter-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.course-grid .article-card {
  flex-direction: column;
  margin-bottom: 0;
  height: 100%;
}

.course-grid .article-card .card-thumb {
  width: 100%;
  height: 200px;
  position: relative;
}

.course-grid .article-card .card-thumb::after {
  content: '热门课程';
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--primary-color);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 1;
}

.course-grid .article-card .card-body {
  flex: 1;
  padding: 24px;
}

.course-grid .article-card .card-body h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.course-grid .article-card .card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #888;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.course-grid .article-card .card-body .date {
  display: none;
}

.course-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.course-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-color);
}

.course-price small {
  font-size: 13px;
  color: #999;
  font-weight: 400;
  text-decoration: line-through;
  margin-left: 8px;
}

.course-link-btn {
  padding: 6px 16px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-size: 13px;
  transition: all 0.3s;
}

.course-link-btn:hover {
  background: #b81c1c;
  transform: translateY(-2px);
}

.course-cta-section {
  margin-top: 60px;
}

.cta-card {
  background: linear-gradient(135deg, #d92121 0%, #a01818 100%);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-content h3 {
  font-size: 28px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-content p {
  font-size: 16px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
}

.cta-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-benefits li {
  color: #fff;
  font-size: 15px;
}

.cta-form {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  position: relative;
  z-index: 1;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.cta-form h4 {
  font-size: 18px;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.cta-form .form-group {
  margin-bottom: 14px;
}

.cta-form input,
.cta-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  font-size: 14px;
  transition: border-color 0.3s;
  background: #fff;
}

.cta-form input:focus,
.cta-form select:focus {
  border-color: var(--primary-color);
}

.cta-form .btn {
  margin-top: 8px;
  padding: 12px;
  font-size: 15px;
}

.form-tip {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 10px;
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  .course-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .cta-card {
    grid-template-columns: 1fr;
    padding: 32px;
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .course-banner {
    height: 240px;
  }
  
  .course-banner .banner-subtitle {
    font-size: 14px;
    padding: 0 20px;
  }
  
  .course-main {
    padding-top: 32px;
    padding-bottom: 48px;
  }
  
  .course-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .cta-card {
    padding: 24px;
    margin: 0 -10px;
    border-radius: 0;
  }
  
  .cta-content h3 {
    font-size: 22px;
  }
  
  .cta-benefits {
    flex-direction: column;
    gap: 10px;
  }
}