.course-template-page {
  background:
    radial-gradient(circle at 88% 14%, rgba(255, 106, 0, .11), transparent 22rem),
    radial-gradient(circle at 0 30%, rgba(12, 54, 91, .34), transparent 25rem),
    var(--bg);
}

.course-detail-hero {
  position: relative;
  overflow: hidden;
  padding-bottom: 38px;
}

.dot-field-right {
  position: absolute;
  right: -80px;
  top: 40px;
  width: 360px;
  height: 360px;
  background-image: radial-gradient(rgba(255, 106, 0, .52) 1px, transparent 1px);
  background-size: 12px 12px;
  opacity: .18;
  pointer-events: none;
}

.course-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 54px;
  align-items: end;
}

.course-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.course-breadcrumb a {
  color: var(--orange-2);
}

.course-hero-copy h1 {
  max-width: 700px;
  margin: 0 0 18px;
  font-size: clamp(44px, 5vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

.course-hero-lead {
  max-width: 760px;
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 19px;
}

.course-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.course-pill-row span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 9px 16px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  background: rgba(8, 18, 31, .74);
  color: var(--text);
  font-weight: 800;
}

.course-hero-panel {
  display: grid;
  gap: 0;
  padding: 18px 22px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(9, 18, 30, .94), rgba(7, 13, 22, .92));
  box-shadow: var(--shadow);
}

.course-hero-panel article {
  display: grid;
  gap: 3px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.course-hero-panel article:last-child {
  border-bottom: 0;
}

.course-hero-panel span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.course-hero-panel strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.22;
}

.course-template-layout {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
  padding: 10px 0 56px;
}

.course-navigator {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(8, 17, 28, .88);
}

.course-template-page .btn[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
}

.course-navigator h2 {
  margin: 0 0 14px;
  font-size: 21px;
}

.navigator-section-links,
.navigator-programs div {
  display: grid;
  gap: 8px;
}

.navigator-programs h3 {
  margin: 0 0 10px;
  color: var(--orange-2);
  font-size: 14px;
  text-transform: uppercase;
}

.course-navigator a {
  padding: 13px 14px;
  border-radius: var(--radius);
  color: var(--muted);
  font-weight: 800;
}

.course-navigator a:hover,
.course-navigator a.active {
  background: rgba(255, 106, 0, .16);
  color: var(--text);
}

.navigator-programs a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 2px 10px;
  border: 1px solid transparent;
}

.navigator-programs a.active {
  border-color: rgba(255, 106, 0, .42);
}

.navigator-programs a span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 106, 0, .12);
  color: var(--orange-2);
  font-size: 12px;
}

.navigator-programs a strong {
  font-size: 14px;
  line-height: 1.2;
}

.navigator-programs a small {
  color: var(--soft);
  font-size: 12px;
}

.course-detail-card {
  padding: 34px;
  border: 1px solid var(--line-bright);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(8, 17, 29, .96), rgba(5, 12, 21, .98));
  box-shadow: var(--shadow);
}

.course-section {
  padding: 0 0 42px;
  margin-bottom: 42px;
  border-bottom: 1px solid var(--line);
}

.course-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.course-section h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.course-section p {
  max-width: 840px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 18px;
}

.section-title-row span {
  flex: none;
  padding: 8px 12px;
  border: 1px solid rgba(255, 106, 0, .36);
  border-radius: 999px;
  color: var(--orange-2);
  font-size: 13px;
  font-weight: 900;
}

.syllabus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.syllabus-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 11px 14px;
  border: 1px solid rgba(45, 63, 85, .8);
  border-radius: var(--radius);
  background: rgba(13, 26, 42, .78);
}

.syllabus-item span,
.course-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 106, 0, .13);
  border: 1px solid rgba(255, 106, 0, .34);
  color: var(--orange-2);
  font-size: 12px;
  font-weight: 900;
}

.syllabus-item strong {
  font-size: 15px;
  line-height: 1.28;
}

.module-grid,
.outcome-grid,
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.module-card,
.outcome-card,
.support-grid article {
  min-height: 155px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(11, 23, 38, .82);
}

.module-card h3,
.outcome-card h3,
.support-grid h3 {
  margin: 12px 0 8px;
  font-size: 19px;
  line-height: 1.2;
}

.module-card p,
.outcome-card p,
.support-grid p {
  font-size: 15px;
}

.module-card::before,
.outcome-card::before {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
}

.course-next-step {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 34px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 106, 0, .32);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(13, 26, 42, .94), rgba(7, 14, 24, .94));
}

.course-next-step h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 36px);
}

.course-next-step p {
  margin: 0;
  color: var(--muted);
}

.cta-price {
  display: block;
  margin-top: 10px;
  color: var(--orange-2);
  font-size: 17px;
}

.course-faq-list {
  display: grid;
  gap: 12px;
}

.course-faq-list details {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 23, 38, .82);
}

.course-faq-list summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 900;
}

.course-faq-list p {
  margin-top: 10px;
  font-size: 15px;
}

@media (max-width: 1180px) {
  .course-hero-grid,
  .course-template-layout,
  .course-next-step {
    grid-template-columns: 1fr;
  }

  .course-navigator {
    position: static;
  }

  .module-grid,
  .outcome-grid,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 820px) {
  .course-detail-hero {
    padding-top: 24px;
  }

  .course-hero-copy h1 {
    font-size: 38px;
  }

  .course-hero-lead {
    font-size: 16px;
  }

  .course-hero-copy .button-row,
  .course-next-step .button-row {
    display: grid;
    width: 100%;
  }

  .course-hero-copy .btn,
  .course-next-step .btn {
    width: 100%;
    min-height: 52px;
  }

  .course-detail-card,
  .course-navigator,
  .course-next-step {
    padding: 20px;
  }

  .course-navigator,
  .syllabus-grid,
  .module-grid,
  .outcome-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .section-title-row {
    display: grid;
    align-items: start;
  }

  .course-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }
}
