/* Single Course Page Styles */

div#header {
  display: none;
}

.cb-single-course-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* 강좌 헤더 */
.cb-course-header {
  margin-bottom: 3rem;
}

.cb-course-hero-image {
  width: 100%;
  height: 400px;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.cb-course-hero-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
}

.cb-course-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cb-course-header-content {
  text-align: center;
}

.cb-course-category-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.cb-course-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin: 1rem 0;
  line-height: 1.2;
}

.cb-course-shortname {
  font-size: 1.125rem;
  color: #718096;
  margin-top: 0.5rem;
}

/* 강좌 정보 그리드 */
.cb-course-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding: 2rem;
  background: #f7fafc;
  border-radius: 12px;
}

.cb-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cb-info-item svg {
  flex-shrink: 0;
  color: #667eea;
}

.cb-info-label {
  font-size: 0.875rem;
  color: #718096;
  margin-bottom: 0.25rem;
}

.cb-info-value {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2d3748;
}

/* 강좌 설명 */
.cb-course-description {
  margin-bottom: 3rem;
}

.cb-course-description h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid #667eea;
}

.cb-course-content {
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
}

.cb-course-content p {
  margin-bottom: 1rem;
}

.cb-course-content ul,
.cb-course-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* 강좌 액션 버튼 */
.cb-course-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 2px solid #e2e8f0;
}

.cb-btn-primary,
.cb-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.cb-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.cb-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.cb-btn-secondary {
  background: white;
  color: #667eea;
  border: 2px solid #667eea;
}

.cb-btn-secondary:hover {
  background: #f7fafc;
  transform: translateY(-2px);
}

/* 반응형 */
@media (max-width: 768px) {
  .cb-course-title {
    font-size: 1.875rem;
  }

  .cb-course-hero-image {
    height: 250px;
  }

  .cb-course-info-grid {
    grid-template-columns: 1fr;
  }

  .cb-course-actions {
    flex-direction: column;
  }

  .cb-btn-primary,
  .cb-btn-secondary {
    width: 100%;
    justify-content: center;
  }
}
