/* HY E-Learning — Stage 4.7.5C */
.course-detail-page{
  background:#f5f8fd;
  min-height:calc(100vh - 80px);
  padding:42px 24px 80px;
  color:#0d1b3a;
}
.course-detail-wrap{max-width:1220px;margin:0 auto}
.back-link{
  display:inline-flex;align-items:center;gap:8px;
  color:#2563eb;text-decoration:none;font-weight:700;
  margin-bottom:28px
}
.course-hero{
  display:grid;grid-template-columns:minmax(0,1fr) 390px;
  gap:42px;align-items:stretch
}
.course-hero-copy{
  background:linear-gradient(135deg,#eef5ff 0%,#ffffff 72%);
  border:1px solid #dfe7f4;border-radius:30px;
  padding:54px 54px 48px;
  box-shadow:0 18px 55px rgba(30,70,130,.08)
}
.eyebrow{
  color:#2563eb;letter-spacing:.18em;font-size: 15px;
  font-weight:800;text-transform:uppercase;margin-bottom:16px
}
.course-hero h1{
  font-size:clamp(42px,5.2vw,72px);line-height:1.02;
  letter-spacing:-.045em;margin:0 0 25px
}
.course-description{
  color:#607493;font-size:20px;line-height:1.7;
  max-width:800px;margin:0
}
.meta-row{
  display:flex;flex-wrap:wrap;gap:10px;margin-top:30px
}
.meta-row span{
  background:#fff;border:1px solid #dbe5f3;
  border-radius:999px;padding:11px 15px;color:#49627f;font-weight:650
}
.purchase-card{
  background:#fff;border:1px solid #dfe7f4;border-radius:30px;
  overflow:hidden;box-shadow:0 18px 55px rgba(30,70,130,.1)
}
.course-thumb{
  display:block;width:100%;height:215px;object-fit:cover;
  background:#edf3ff
}
.course-thumb.placeholder{
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;background:linear-gradient(135deg,#2563eb,#6d8fff);
  color:#fff
}
.course-thumb.placeholder span{font-size:70px;font-weight:900;line-height:1}
.course-thumb.placeholder small{letter-spacing:.22em;font-weight:800}
.purchase-body{padding:28px}
.price-label{font-size:14px;color:#71839e;font-weight:700}
.price{font-size:34px;font-weight:900;letter-spacing:-.03em;margin:5px 0 20px}
.primary-btn{
  display:block;text-align:center;background:#2563eb;color:#fff;
  text-decoration:none;border-radius:15px;padding:16px 20px;
  font-weight:800;font-size:17px;box-shadow:0 12px 25px rgba(37,99,235,.22)
}
.primary-btn:hover{background:#1d4ed8}
.secure-note{text-align:center;color:#8392a8;font-size: 14px;margin:13px 0 0}
.content-grid{
  display:grid;grid-template-columns:minmax(0,1.55fr) minmax(290px,.75fr);
  gap:28px;margin-top:28px
}
.syllabus-card,.info-card{
  background:#fff;border:1px solid #dfe7f4;border-radius:28px;
  padding:36px;box-shadow:0 14px 40px rgba(30,70,130,.06)
}
.section-heading{
  display:flex;justify-content:space-between;gap:20px;align-items:end;
  padding-bottom:23px;border-bottom:1px solid #e7edf6
}
.section-heading h2,.info-card h2{font-size:31px;letter-spacing:-.03em;margin:0}
.module-count{
  background:#eef4ff;color:#2563eb;border-radius:999px;
  padding:9px 13px;font-weight:800;font-size: 15px;white-space:nowrap
}
.module-list{padding-top:8px}
.module-item{
  display:flex;align-items:center;gap:17px;
  padding:20px 4px;border-bottom:1px solid #edf1f7
}
.module-item:last-child{border-bottom:0}
.module-number{
  flex:0 0 48px;width:48px;height:48px;border-radius:15px;
  display:flex;align-items:center;justify-content:center;
  background:#edf3ff;color:#2563eb;font-size:18px;font-weight:900
}
.module-info{min-width:0;flex:1}
.module-info h3{margin:0 0 5px;font-size:18px}
.module-info span{color:#7b8da6;font-size:14px}
.module-lock{color:#9aa8bc;font-size:18px}
.empty-state{text-align:center;padding:60px 20px;color:#71839e}
.empty-icon{font-size:42px}
.empty-state h3{color:#172644;margin:12px 0 7px}
.info-card h2{margin-bottom:23px}
.info-card ul{list-style:none;padding:0;margin:0}
.info-card li{
  display:flex;gap:11px;padding:14px 0;
  color:#5f728d;line-height:1.55;border-bottom:1px solid #edf1f7
}
.info-card li span{color:#16a37a;font-weight:900}
.flow-box{
  margin-top:25px;background:#f5f8fd;border:1px solid #e3eaf4;
  border-radius:18px;padding:18px
}
.flow-box strong{display:block;margin-bottom:7px}
.flow-box p{margin:0;color:#6b7d96;font-size: 15px;line-height:1.6}

@media (max-width:900px){
  .course-hero,.content-grid{grid-template-columns:1fr}
  .course-hero-copy{padding:38px 30px}
}
@media (max-width:600px){
  .course-detail-page{padding:25px 15px 60px}
  .course-hero-copy,.syllabus-card,.info-card{padding:25px 20px;border-radius:22px}
  .course-hero h1{font-size:42px}
  .course-description{font-size:17px}
  .section-heading{align-items:start;flex-direction:column}
}
