/* ============================================================
   IGM — Gems & Diamond Specialist Program (course page)
   Page-specific rules. Site chrome (fonts, tokens, reset, navbar,
   footer, .reveal) comes from /assets/css/academy-courses.css. Course tokens, pills,
   buttons and the FAQ accordion live here.

   Built to match the Figma design system used across all three
   BPMI × IIG course pages (reference: Jewellery Design Executive
   Program Figma export). Sections without copy are rendered as
   .course-section--stub.
   ============================================================ */

/* The export leans on Neutral / IGM-Gold shades that aren't in the
   global :root token set. Declared once here, scoped to the page,
   so nothing downstream hardcodes a raw hex. Values are lifted verbatim from the Figma export. */
.course-page {
  --neutral-50:  #ffffff;
  --neutral-100: #f9f9fb;
  --neutral-200: #eeeef1;
  --neutral-300: #c8c8d2;
  --neutral-400: #aeaeba;
  --neutral-500: #77777f;
  --neutral-600: #606070;
  --neutral-700: #3d3d4d;
  --neutral-800: #232330;
  --neutral-900: #0d0f1a;
  --gold-50:  #f9f5ec;
  --gold-300: #d6ba81;
  --gold-600: #a07f36;
  --gold-700: #7e642a;
  --gold-800: #5c491f;
  --success-500: #439c39;
  --warning-300: #f2c357;

  --course-maxw: 1240px;   /* content column + sticky card, gutters aside */
  --course-card-w: 400px;  /* sticky enrol card track */
  --course-gap: 48px;      /* column gap in .course-layout */
  --course-nav-h: var(--nav-h);
  background: #fff;
}
.course-page main em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
}

/* Course buttons, pills and utilities. Navbar, footer, reset and
   .reveal come from /assets/css/academy-courses.css. */
.course-page .btn.btn-dark,
.course-page .btn.btn-light {
  isolation: auto;
  height: 48px;
  padding: 0 24px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .02em;
  text-transform: uppercase;
  overflow: visible;
}
.course-page .btn.btn-dark:before,
.course-page .btn.btn-light:before { display: none; }
.course-page .btn.btn-light { background: #fff; color: var(--neutral-900); }
.course-page .btn.btn-dark { background: #000; color: #fff; }
.course-page .btn.btn-dark:hover,
.course-page .btn.btn-light:hover { opacity: .85; transform: translateY(-1px); }
.course-page button.btn { border: none; cursor: pointer; font-family: inherit; }

.course-page .pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  background: #eeeef1;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-900);
}
.course-page .pill--outline {
  background: transparent;
  color: var(--gold-50);
  border: 1px solid rgba(255, 255, 255, .12);
}

.course-page .about-faq {
  position: relative;
  overflow: hidden;
  background: #060708;
  padding: 96px 80px 60px;
}
.course-page .about-faq__inner { max-width: 1000px; margin: 0 auto; }
.course-page .about-faq__head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}
.course-page .about-faq__title {
  color: var(--gold-50);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(34px, 4vw, 44px);
  line-height: 1.27;
  letter-spacing: .01em;
}
.course-page .faq {
  text-align: left;
  border-bottom: 1px solid #26262e;
}
.course-page .faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  color: #fff;
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
}
.course-page .faq summary::-webkit-details-marker { display: none; }
.course-page .faq summary::after {
  content: "";
  width: 16px;
  height: 16px;
  flex: none;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.course-page .faq[open] summary::after { transform: rotate(180deg); }
.course-page .faq summary em { font-style: italic; font-size: inherit; line-height: inherit; }
.course-page .faq p {
  color: #b9b9c2;
  font-size: 14px;
  line-height: 1.65;
  padding: 0 0 22px;
}

@media (max-width: 640px) {
  .course-page .about-faq { padding: 80px 16px 24px; }
  .course-page .about-faq__title { font-size: 24px; line-height: 30px; }
  .course-page .faq summary { font-size: 16px; }
}

/* ---------- hero ---------- */
.course-hero {
  background: #000;
  color: var(--neutral-50);
  padding: clamp(120px, 12vw, 150px) 40px 36px;
  position: relative;
  overflow: hidden;
}
.course-hero::before,
.course-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(227, 209, 168, .12);
  pointer-events: none;
}
.course-hero::before { width: 412px; height: 412px; right: 300px; top: -140px; }
.course-hero::after  { width: 412px; height: 412px; right: 90px;  top: 30px;  }
.course-hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--course-maxw);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
/* keep the hero copy in a left column so it never runs under the enrol card */
.course-breadcrumb,
.course-hero__head,
.course-hero__meta { max-width: 620px; }
.course-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  line-height: 16px;
  color: var(--neutral-500);
}
.course-breadcrumb a:hover { color: var(--neutral-300); }
.course-breadcrumb [aria-current] { color: var(--neutral-50); }

.course-hero__head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.course-hero__title { margin: 0; }
.course-hero__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 44px);
  line-height: 1.27;
  letter-spacing: .01em;
  color: var(--neutral-50);
}
.course-hero__lead {
  max-width: 640px;
  margin: 0;
  color: var(--neutral-400);
  font-size: 16px;
  line-height: 22px;
}
.course-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
}
.course-hero__meta li {
  padding: 6px 8px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  color: var(--neutral-300);
  font-size: 14px;
  line-height: 20px;
}

/* ---------- shared course pill ---------- */
.course-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 32px;
  font-size: 12px;
  line-height: 18px;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.course-pill--ondark   { background: rgba(255, 255, 255, .14); color: var(--neutral-50); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.course-pill--onimage  { padding: 5px 8px; background: rgba(255, 255, 255, .14); color: var(--neutral-50); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.course-pill--gold     { background: var(--gold-50); color: var(--gold-800); text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 20px; }

/* ---------- body layout: content + sticky enrol card ---------- */
.course-layout {
  max-width: var(--course-maxw);
  margin: 0 auto;
  padding: 56px 40px 120px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--course-card-w);
  gap: var(--course-gap);
  align-items: start;
}
.course-main { display: flex; flex-direction: column; gap: 48px; min-width: 0; }

/* ---------- author + brochure strip ---------- */
.course-author {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 16px 20px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
}
.course-author__by { margin: 0; display: flex; align-items: center; gap: 4px; color: var(--neutral-800); font-size: 14px; font-style: italic; }
.course-author__by em { font-family: var(--sans); font-size: 14px; line-height: 21px; font-weight: 500; text-decoration: underline; }
.course-author__brochure { height: 36px; padding: 0 8px; font-family: var(--serif); font-style: italic; text-transform: none; letter-spacing: 0; }

/* ---------- at-a-glance stats ---------- */
.course-author + .course-stats { margin-top: -48px; }
.course-stats {
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
  box-shadow: 4px 0 14px rgba(0, 0, 0, .06);
}
.course-stats li {
  flex: 1 1 120px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding-left: 24px;
  border-left: 1px solid var(--neutral-200);
}
.course-stats li:first-child { padding-left: 0; border-left: 0; }
.course-stats__value { color: var(--neutral-800); font-size: 16px; font-weight: 500; line-height: 24px; }
.course-stats__label { color: var(--neutral-600); font-size: 14px; line-height: 20px; }

/* ---------- section nav ---------- */
.course-tabs-slot { align-self: stretch; }
.course-tabs-bar {
  position: sticky;
  top: var(--course-nav-h);
  z-index: 40;
  background: var(--neutral-50);
  border-bottom: 1px solid var(--neutral-200);
  transition: box-shadow .25s ease;
}
.course-tabs-bar.is-stuck {
  position: fixed;
  top: var(--course-nav-h);
  left: 0;
  right: 0;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
  transition: top .8s var(--ease), box-shadow .25s ease;
}
.course-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.course-tabs::-webkit-scrollbar { display: none; }
.course-tabs-bar.is-stuck .course-tabs {
  max-width: var(--course-maxw);
  margin: 0 auto;
  padding: 0 40px;
}
.course-tabs__link {
  flex: 0 0 auto;
  padding: 13px 10px;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .01em;
  color: var(--neutral-900);
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
}
.course-tabs__link:hover { color: var(--gold-600); }
.course-tabs__link.is-active { color: var(--gold-600); font-weight: 500; border-bottom-color: var(--gold-600); }

/* ---------- content sections ---------- */
.course-sections { display: flex; flex-direction: column; gap: 48px; }
.course-section { scroll-margin-top: calc(var(--course-nav-h) + 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.course-section__title { margin: 0; color: var(--neutral-900); font-size: 24px; font-weight: 500; line-height: 34px; }

.course-prose { display: flex; flex-direction: column; gap: 16px; }
.course-prose p { margin: 0; color: var(--neutral-600); font-size: 18px; line-height: 28px; text-align: justify; }
.course-prose strong { color: var(--neutral-800); font-weight: 500; }
.course-subhead { margin: 8px 0 0; color: var(--gold-600); font-size: 18px; font-weight: 500; line-height: 26px; }

/* ---------- About BPMI & IIG — two columns ---------- */
.course-about2 { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 40px; }
.course-about2__col { display: flex; flex-direction: column; gap: 16px; }
.course-about2__col p { margin: 0; color: var(--neutral-600); font-size: 15px; line-height: 24px; text-align: justify; }
.course-about2__col strong { color: var(--neutral-800); font-weight: 500; }
.course-about2__photo { width: 100%; height: 190px; object-fit: cover; border-radius: 6px; }
.course-about2__logo {
  float: left;
  width: 116px;
  height: 60px;
  margin: 2px 14px 8px 0;
  padding: 6px;
  object-fit: contain;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 4px;
}

/* pull-figure */
.course-figure {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px;
  background: rgba(238, 238, 241, .45);
  border-radius: 4px;
  text-align: center;
}
.course-figure__num em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  line-height: 38px;
  color: var(--gold-700);
}
.course-figure__label { color: var(--neutral-600); font-size: 14px; line-height: 20px; }

/* ---------- What is Gemology? — text + figures ---------- */
/* Reuses .course-prose and .course-figure; no additional overrides needed.
   Section subheadings use .course-subhead (gold). */

/* ---------- Skillset list ---------- */
.course-skills { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.course-skills li { color: var(--neutral-600); font-size: 16px; line-height: 24px; }
.course-skills strong { color: var(--gold-800); font-weight: 500; }

/* ---------- Industry Skills scroll-snap row ---------- */
.course-skillcards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.course-skillcards::-webkit-scrollbar { display: none; }
.course-skillcard {
  flex: 0 0 288px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
}
.course-skillcard__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 62px; }
.course-skillcard__top h4 {
  margin: 0;
  color: var(--gold-600);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 18px;
}
.course-skillcard__top img { flex: 0 0 auto; width: 92px; height: 62px; object-fit: cover; border-radius: 4px; background: var(--neutral-100); }
.course-skillcard > p { margin: 0; color: var(--neutral-600); font-size: 14px; line-height: 20px; }

/* ---------- curriculum ---------- */
.course-curriculum__meta { margin: 0; color: var(--neutral-600); font-size: 14px; line-height: 20px; }
.course-curriculum { align-self: stretch; display: flex; flex-direction: column; gap: 12px; }
.course-module {
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 6px;
}
.course-module > summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
  padding: 16px 20px;
  cursor: pointer;
  list-style: none;
}
.course-module > summary::-webkit-details-marker { display: none; }
.course-module > summary::after {
  content: "";
  width: 16px; height: 16px;
  margin-left: auto;
  flex: none;
  align-self: center;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230d0f1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  transition: transform .2s;
}
.course-module[open] > summary::after { transform: rotate(180deg); }
.course-module__name { color: var(--neutral-900); font-size: 16px; font-weight: 500; line-height: 24px; }
.course-module__tag { color: var(--neutral-600); font-size: 13px; line-height: 20px; }
.course-module__lessons {
  margin: 0;
  padding: 0 20px 8px;
  list-style: none;
  display: flex;
  flex-direction: column;
}
.course-module__lessons li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  padding: 12px 0;
  border-top: 1px solid var(--neutral-200);
  color: var(--neutral-700);
  font-size: 14px;
  line-height: 20px;
}
.course-module__ch { color: var(--neutral-900); font-weight: 500; }
.course-module__dur { margin-left: auto; color: var(--neutral-500); }

/* ---------- stub sections ---------- */
.course-section--stub { gap: 8px; opacity: .55; }
.course-section--stub::after { content: "Content coming soon."; color: var(--neutral-500); font-size: 14px; }

/* ---------- sticky enrol card ---------- */
.course-enrol { position: sticky; top: calc(var(--course-nav-h) + 58px); margin-top: -200px; z-index: 20; }
.course-enrol__card {
  padding: 2px;
  background: var(--neutral-50);
  border-radius: 8px;
  box-shadow: 0 4px 17px rgba(0, 0, 0, .08);
  display: flex;
  flex-direction: column;
}
.course-enrol__media {
  position: relative;
  align-self: stretch;
  height: 320px;
  padding: 16px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  border-radius: 6px;
  overflow: hidden;
  background: var(--neutral-800);
}
.course-enrol__cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-enrol__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(214deg, rgba(0, 0, 0, .54) 0%, rgba(0, 0, 0, .12) 100%);
}
.course-enrol__media > .course-pill { position: relative; z-index: 1; }
.course-enrol__body { padding: 20px 20px 16px; display: flex; flex-direction: column; gap: 16px; }
.course-enrol__pricing { align-self: stretch; display: flex; align-items: flex-start; gap: 8px; }
.course-enrol__price { flex: 1 1 0; display: flex; flex-direction: column; gap: 6px; }
.course-enrol__amount em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 40px;
  line-height: 40px;
  letter-spacing: .01em;
  color: var(--gold-800);
}
.course-enrol__note { color: var(--neutral-600); font-size: 14px; line-height: 20px; }
.course-enrol__reviews {
  flex: 0 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 6px;
  padding: 8px;
  background: var(--neutral-50);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 0, 0, .06);
}
.course-enrol__reviews .fa-star { color: var(--warning-300); font-size: 14px; }
.course-enrol__reviews-value { color: var(--neutral-800); font-weight: 500; font-size: 14px; }
.course-enrol__reviews-label { flex-basis: 100%; text-align: center; color: var(--neutral-600); font-size: 12px; line-height: 16px; }
.course-enrol__emi {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  background: var(--gold-50);
  border-radius: 4px;
  color: var(--neutral-600);
  font-size: 14px;
  line-height: 20px;
}
.course-enrol__emi i { color: var(--gold-800); }
.course-enrol__emi strong { color: var(--gold-800); font-weight: 500; }
.course-enrol__actions { align-self: stretch; display: flex; align-items: flex-end; gap: 8px; }
.course-enrol__save {
  flex: 0 0 auto;
  width: 48px;
  padding: 0;
  border: 1px solid #000;
  box-shadow: 0 0 20px rgba(0, 0, 0, .12);
}
.course-enrol__buy { flex: 1 1 auto; justify-content: center; }
.course-enrol__advisor {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 4px 2px 2px;
  padding: 14px 12px;
  border-radius: 0 0 6px 6px;
  background: rgba(67, 156, 57, .08);
  color: var(--neutral-700);
  font-size: 15px;
  line-height: 22px;
}
.course-enrol__advisor-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--success-500);
  color: #fff;
  font-size: 11px;
}
.course-enrol__advisor em { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 24px; color: var(--neutral-900); text-decoration: underline; }
.course-enrol__advisor-arr { font-size: 11px; color: var(--neutral-800); }

/* ---------- author avatar ---------- */
.course-author__avatar {
  width: 30px; height: 30px;
  border-radius: 80px;
  border: .8px solid var(--neutral-50);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
}

/* ---------- curriculum: modules with nested sub-topics ---------- */
.course-module__lessons--topics li { display: block; }
.course-module__topics { margin: 6px 0 2px; padding-left: 18px; list-style: disc; }
.course-module__topics li { padding: 3px 0; border: 0; color: var(--neutral-600); font-size: 13px; line-height: 19px; }

/* ---------- Tools & Technologies table ---------- */
.course-table-wrap { align-self: stretch; overflow-x: auto; border: 1px solid var(--neutral-200); border-radius: 6px; }
.course-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 20px; }
.course-table th, .course-table td { padding: 12px 16px; text-align: left; vertical-align: top; }
.course-table thead th { background: var(--gold-700); color: var(--neutral-50); font-weight: 500; white-space: nowrap; }
.course-table tbody th { color: var(--neutral-900); font-weight: 500; }
.course-table tbody td { color: var(--neutral-600); }
.course-table tbody tr + tr th, .course-table tbody tr + tr td { border-top: 1px solid var(--neutral-200); }
.course-table tbody tr:nth-child(even) { background: var(--neutral-100); }

/* ---------- Career Opportunities ---------- */
.course-roles { align-self: stretch; display: flex; flex-direction: column; gap: 12px; }
.course-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.course-chips li {
  padding: 8px 14px;
  border: 1px solid var(--neutral-300);
  border-radius: 999px;
  color: var(--neutral-800);
  font-size: 14px;
  line-height: 20px;
}

/* ---------- Who Should Enrol: image + checklist ---------- */
.course-split { align-self: stretch; display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 32px; align-items: start; }
.course-split__media { width: 100%; border-radius: 6px; }
.course-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.course-checklist li {
  position: relative;
  padding-left: 28px;
  color: var(--neutral-600);
  font-size: 15px;
  line-height: 22px;
}
/* gold tick */
.course-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 2px;
  width: 18px; height: 18px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23a07f36' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}
.course-checklist strong { color: var(--neutral-800); font-weight: 500; }

/* ---------- Key Learning Outcomes: card floating over an image ---------- */
.course-outcomes { align-self: stretch; position: relative; border-radius: 8px; overflow: hidden; }
.course-outcomes__media { width: 100%; height: 340px; object-fit: cover; display: block; }
.course-checklist--oncard {
  position: absolute;
  left: 24px; bottom: 24px;
  max-width: 560px;
  padding: 24px;
  background: rgba(255, 255, 255, .94);
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .14);
  gap: 12px;
}
.course-checklist--oncard li { color: var(--neutral-800); }
.course-checklist--oncard li::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23439c39' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

/* ---------- Why Learn With Us: 3-up divided grid ---------- */
.course-why {
  align-self: stretch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--neutral-200);
}
.course-why__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 30px 24px;
  background: var(--neutral-50);
}
.course-why__card img { height: 64px; width: auto; max-width: 120px; object-fit: contain; }
.course-why__card p { margin: 0; color: var(--neutral-600); font-size: 14px; line-height: 20px; text-align: center; }

/* ---------- Placement: partner logo marquee ---------- */
.course-logos {
  align-self: stretch;
  overflow: hidden;
  padding: 24px 0;
  background: var(--neutral-100);
  border-radius: 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.course-logos__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: course-logos-scroll 40s linear infinite;
}
.course-logos:hover .course-logos__track { animation-play-state: paused; }
.course-logos__track img {
  height: 34px;
  width: auto;
  flex: 0 0 auto;
  object-fit: contain;
  opacity: .7;
  filter: grayscale(1);
  transition: opacity .2s ease, filter .2s ease;
}
.course-logos__track img:hover { opacity: 1; filter: none; }
@keyframes course-logos-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .course-logos__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 24px; }
}

/* ---------- Instructor ---------- */
.course-instructor { align-self: stretch; display: flex; flex-direction: column; gap: 16px; }
.course-instructor__head { display: flex; align-items: center; gap: 14px; }
.course-instructor__avatar { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; border: .8px solid var(--neutral-200); }
.course-instructor__id { display: flex; flex-direction: column; gap: 4px; }
.course-instructor__name em { font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 28px; color: var(--neutral-900); }
.course-instructor__meta { color: var(--neutral-500); font-size: 13px; line-height: 18px; }

/* ---------- Related Programs: comparison columns ---------- */
.course-compare-wrap { align-self: stretch; overflow-x: auto; }
.course-compare { display: grid; grid-template-columns: repeat(3, minmax(240px, 1fr)); gap: 16px; }
.course-compare__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 20px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  overflow: hidden;
}
.course-compare__col--current { border-color: var(--gold-300); }
.course-compare__media { position: relative; height: 140px; display: flex; align-items: flex-end; padding: 14px; }
.course-compare__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-compare__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.62) 100%); }
.course-compare__name { position: relative; z-index: 1; }
.course-compare__name em { font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 22px; color: var(--neutral-50); }
.course-compare__price { margin: 0 16px; color: var(--gold-800); font-size: 18px; font-weight: 500; }
.course-compare__price span { display: block; color: var(--neutral-500); font-size: 12px; font-weight: 400; }
.course-compare__rows { margin: 0 16px; display: flex; flex-direction: column; }
.course-compare__rows dt {
  color: var(--neutral-500);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-top: 12px;
}
.course-compare__rows dd { margin: 4px 0 0; padding-bottom: 12px; border-bottom: 1px solid var(--neutral-200); color: var(--neutral-700); font-size: 13px; line-height: 19px; }
.course-compare__rows dd:last-child { border-bottom: 0; }
.course-compare__cta { margin: 0 16px; justify-content: center; }
.course-compare__current { margin: 0 16px; color: var(--neutral-500); font-size: 13px; font-style: italic; }

/* ---------- Testimonials slider ---------- */
.course-slider { align-self: stretch; position: relative; }
.course-slider__nav { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.course-slider__btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-300);
  border-radius: 999px;
  color: var(--neutral-800);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.course-slider__btn:hover { background: var(--neutral-900); color: var(--neutral-50); border-color: var(--neutral-900); }
.course-testimonials {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.course-testimonials::-webkit-scrollbar { display: none; }
.course-testimonial {
  flex: 0 0 320px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 20px;
  background: var(--neutral-50);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
}
.course-testimonial blockquote { margin: 0; color: var(--neutral-700); font-size: 15px; line-height: 23px; }
.course-testimonial__more { color: var(--gold-600); font-size: 14px; font-weight: 500; }
.course-testimonial__by { display: flex; flex-direction: column; gap: 2px; margin-top: auto; padding-top: 8px; border-top: 1px solid var(--neutral-200); }
.course-testimonial__name { color: var(--neutral-900); font-size: 14px; font-weight: 500; }
.course-testimonial__loc { color: var(--neutral-500); font-size: 12px; }

/* ---------- FAQ ---------- */
.course-faq { padding-top: 96px; }

/* ---------- page-specific overrides: Gems & Diamond Specialist ---------- */
/* Hero ring decorations — slightly different position for gems page variant */
.course-hero::before { width: 440px; height: 440px; right: 280px; top: -160px; }
.course-hero::after  { width: 440px; height: 440px; right: 60px;  top: 10px;  }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .course-layout { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px 80px; }
  .course-enrol { position: static; order: -1; margin-top: 0; }
  .course-enrol__card { max-width: 420px; }
  .course-hero { padding-left: 24px; padding-right: 24px; padding-bottom: 48px; }
  .course-breadcrumb, .course-hero__head, .course-hero__meta { max-width: none; }
  .course-hero::before, .course-hero::after { display: none; }
  .course-tabs-bar.is-stuck .course-tabs { padding: 0 24px; }
  .course-about2 { grid-template-columns: 1fr; }
  .course-why { grid-template-columns: repeat(2, 1fr); }
  .course-split { grid-template-columns: 1fr; gap: 20px; }
  .course-split__media { max-width: 420px; }
  .course-compare { grid-template-columns: repeat(3, 260px); }
}

@media (max-width: 640px) {
  .course-hero { padding: calc(var(--nav-h) + 16px) 16px 56px; }
  .course-hero__inner { gap: 28px; }
  .course-layout { padding: 32px 16px 64px; }
  .course-main { gap: 40px; }
  .course-stats { gap: 16px; }
  .course-stats li { flex-basis: 100px; padding-left: 16px; }
  .course-section__title { font-size: 20px; line-height: 28px; }
  .course-prose p { font-size: 15px; line-height: 24px; text-align: left; }
  .course-tabs-bar.is-stuck .course-tabs { padding: 0 16px; }
  .course-skillcard { flex-basis: 250px; }
  .course-enrol__amount em { font-size: 32px; line-height: 34px; }
  .course-why { grid-template-columns: 1fr; }
  .course-table th, .course-table td { padding: 10px 12px; }
  .course-outcomes { overflow: visible; }
  .course-outcomes__media { height: 220px; border-radius: 8px; }
  .course-checklist--oncard { position: static; max-width: none; margin-top: -32px; }
}
