/* ===========================
   Course Detail Page CSS
   =========================== */

.course-hero {
  padding: 32px 24px 28px;
  color: #fff;
  text-align: center;
}
.back-link {
  display: inline-block;
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  margin-bottom: 16px;
  text-decoration: none;
}
.back-link:hover { color: #fff; }
.course-hero h1 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  margin-bottom: 8px;
}
.course-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 14px;
  font-weight: 300;
}
.course-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.course-meta span {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.15);
  padding: 5px 12px;
  border-radius: 20px;
}

.course-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  max-width: 1000px;
  margin: 36px auto;
  padding: 0 24px;
  align-items: start;
}

.syllabus-section h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 20px;
}
.module {
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 18px 20px;
  margin-bottom: 14px;
}
.module h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.module ul { list-style: none; }
.module ul li {
  font-size: 13px;
  color: #555;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}
.module ul li::before {
  content: '✓';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}

.sidebar-form { position: sticky; top: 20px; }

@media (max-width: 768px) {
  .course-body {
    grid-template-columns: 1fr;
  }
  .sidebar-form { position: static; }
  .course-hero h1 { font-size: 20px; }
  .course-meta { gap: 8px; }
}
