/* ═══════════════════════════════════════════════════════════════
   Beeps Academy — Course Detail Page
   Design: premium, wide, modern, student-friendly
   Layout: 1440px max content, clean pill nav at top
═══════════════════════════════════════════════════════════════ */

/* ─── Design tokens (scoped to page) ──────────────────────────── */
:root {
  --cdp: #6d28d9;        /* purple */
  --cdp2: #7c3aed;
  --cdp-pale: #f5f3ff;
  --cdp-faint: #faf8ff;
  --cdborder: #e8e4f3;
  --cdtext: #111827;
  --cdmuted: #6b7280;
  --cdbody: #374151;
  --cdgreen: #059669;
  --cdgreen-pale: #dcfce7;
  --cd-nav-h: 136px;        /* fixed main nav (65px) + fixed breadcrumbs bar (71px) */
  --cd-subnav-h: 52px;      /* sticky section nav height */
  --cd-offset: 204px;       /* total scroll offset = nav + breadcrumbs + subnav + 16px */
  --cd-content-w: 1440px;   /* max content width across all sections */
}

/* ─── Page top padding ─────────────────────────────────────────── */
/* 80px = fixed main nav height. Set via inline style on #courseDetailRoot in HTML. */
#courseDetailRoot {
  padding-top: var(--cd-nav-h);
  background: var(--cdp-faint);
}

/* Match the academy homepage nav treatment so the course pages feel like
   the same product surface. */
nav {
  border-bottom: 1px solid rgba(109,40,217,.1) !important;
  box-shadow: 0 2px 20px rgba(109,40,217,.08) !important;
}

/* style.css sets position:fixed; top:65px; left:0; right:0 — here we add content constraints */
.cd-breadcrumbs {
  max-width: var(--cd-content-w);
  margin: 0 auto;
  padding: 10px 32px 4px;
}

.cd-breadcrumbs-inner {
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(109,40,217,.08);
  border-radius: 16px;
  padding: 12px 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.cd-breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cd-breadcrumbs-item,
.cd-breadcrumbs-sep {
  font-size: 13px;
  line-height: 1.5;
}

.cd-breadcrumbs-item {
  color: #6b7280;
}

.cd-breadcrumbs-item a {
  color: #6d28d9;
  font-weight: 600;
  text-decoration: none;
}

.cd-breadcrumbs-item a:hover {
  text-decoration: underline;
}

.cd-breadcrumbs-item[aria-current="page"] {
  color: #111827;
  font-weight: 700;
}

.cd-breadcrumbs-sep {
  color: #a78bfa;
}

/* ─── Back-link breadcrumb row ─────────────────────────────────── */
/* Use class="cd-breadcrumb-wrap" on the back-link container div    */
.cd-breadcrumb-wrap {
  max-width: var(--cd-content-w);
  margin: 0 auto;
  padding: 20px 32px 0;
}

/* ─── Back link (hidden — removed from layout, kept in CSS for safety) ── */
.cd-breadcrumb-wrap { display: none; }

/* ─── Sticky Section Nav ───────────────────────────────────────── */
/*
  Two-level structure:

  #courseStickyNav  — transparent sticky wrapper, full viewport width.
    Padding (14px top, 32px sides, 24px bottom) mirrors .cd-layout's
    side padding so the inner wrapper aligns edge-to-edge with the hero.

  .csn-inner  — transparent width-matching container.
    max-width: calc(--cd-content-w - 64px) makes its edges align exactly
    with the hero card at every viewport size (layout minus 2 × 32px padding).
    No background — the page bg shows through cleanly.

  .csn-list  — the visual capsule pill.
    display: inline-flex shrinks it to content width.
    text-align: center on .csn-inner centres it on desktop.
    All the visual styling (bg, border-radius, shadow) lives here only.
*/
#courseStickyNav {
  position: sticky;
  top: var(--cd-nav-h);
  z-index: 100;
  padding: 16px 32px 20px;
  pointer-events: none;
}

/* The wrapper stays visually clean while the pill itself becomes the
   floating object once the page scrolls. */
#courseStickyNav.csn--stuck {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
}

#courseStickyNav .csn-inner {
  pointer-events: auto;
}

/* Floating state for the sub menu */
#courseStickyNav.csn--stuck .csn-list {
  transform: translateY(4px);
  box-shadow: 0 14px 34px rgba(109,40,217,.14);
}

/* ── Width-matching transparent wrapper ────────────────────────── */
.csn-inner {
  max-width: calc(var(--cd-content-w) - 64px); /* aligns with hero card edges */
  width: 100%;
  margin: 0 auto;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  text-align: center;          /* centres the inline-flex pill */
}

.csn-inner::-webkit-scrollbar { display: none; }

/* ── Visual capsule pill ────────────────────────────────────────── */
.csn-list {
  list-style: none;
  padding: 5px 8px;
  margin: 0;
  display: inline-flex;
  gap: 2px;
  white-space: nowrap;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(109,40,217,.09);
  border-radius: 50px;
  box-shadow: 0 4px 18px rgba(109,40,217,.07);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.csn-item {
  display: block;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
  line-height: 1.4;
  letter-spacing: -.01em;
}

.csn-item:hover {
  background: #f5f3ff;
  color: var(--cdp);
}

.csn-item--active {
  background: var(--cdp);
  color: #fff;
  font-weight: 600;
  letter-spacing: -.01em;
}

/* ─── Page Layout ──────────────────────────────────────────────── */
.cd-layout {
  max-width: var(--cd-content-w);
  margin: 0 auto;
  padding: 0 32px 100px;     /* top=0 — gap already from #courseStickyNav padding-bottom */
}

.cd-main { min-width: 0; }

/* ─── Sections — shared ─────────────────────────────────────────── */
.cd-main > section {
  padding: 64px 0;
  border-bottom: 1px solid #f0eef6;
}

.cd-main > section:first-child { padding-top: 0; }
.cd-main > section:last-child  { border-bottom: none; }

.cd-section-eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cdp);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cd-section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--cdp);
  border-radius: 2px;
  flex-shrink: 0;
}

.cd-section-title {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--cdtext);
  margin: 0 0 28px;
}

.cd-section-title em {
  font-style: normal;
  color: var(--cdp);
}

/* ─── SECTION 1: Hero — two-column layout ──────────────────────── */
.cd-hero {
  background: var(--course-pale, #f5f3ff);
  border-radius: 24px;
  border: 1px solid transparent;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(109,40,217,.04);
}

.cd-hero-inner { padding: 44px 48px 40px; }

/* Two-column split: content left, pricing right */
.cd-hero-split {
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 56px;
  align-items: start;
}

.cd-hero-top {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.cd-course-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #9ca3af;
}

.cd-cat-label {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(109,40,217,.1);
  color: var(--cdp);
}

.cd-special-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: .05em;
}
.cd-special-badge--flagship { background: #fef3c7; color: #92400e; }
.cd-special-badge--unique   { background: #dcfce7; color: #166534; }
.cd-special-badge--new      { background: #dbeafe; color: #1e40af; }
.cd-special-badge--prestige { background: #fce7f3; color: #9d174d; }

.cd-hero-icon {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 12px;
}

.cd-hero-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--cdtext);
  margin: 0 0 12px;
}

.cd-hero-tagline {
  font-size: .97rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 18px;
}

.cd-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}

.cd-pill {
  font-size: 12px;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 100px;
  background: rgba(255,255,255,.8);
  color: #374151;
  border: 1px solid #e5e7eb;
}

.cd-pill--mode {
  background: var(--course-color, #6d28d9);
  color: #fff;
  border-color: transparent;
}

.cd-outcome-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cd-outcome-tags li {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cdbody);
  padding-left: 22px;
  position: relative;
  line-height: 1.4;
}

.cd-outcome-tags li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cdp);
  font-weight: 800;
  font-size: 12px;
}

.cd-hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cd-cta-btn {
  padding: 13px 28px !important;
  font-size: .92rem !important;
}

.cd-cta-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cdp);
  text-decoration: none;
  border-bottom: 1.5px solid rgba(109,40,217,.25);
  padding-bottom: 1px;
  transition: border-color .15s;
}
.cd-cta-link:hover { border-bottom-color: var(--cdp); }

/* Right: pricing card */
.cd-hero-price-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(109,40,217,.15);
  box-shadow: 0 4px 24px rgba(109,40,217,.08);
  position: sticky;
  top: calc(var(--cd-nav-h) + var(--cd-subnav-h) + 16px);
}

.cd-price-card-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #9ca3af;
  margin-bottom: 4px;
}

.cd-price-anchor {
  font-size: .9rem;
  color: #9ca3af;
  text-decoration: line-through;
  display: block;
}

.cd-price-main {
  font-size: 2rem;
  font-weight: 900;
  color: var(--cdp);
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}

.cd-price-note {
  font-size: .8rem;
  color: var(--cdmuted);
  display: block;
  margin-bottom: 14px;
}

.cd-installment-note {
  font-size: .82rem;
  font-weight: 700;
  color: var(--cdgreen);
  background: var(--cdgreen-pale);
  padding: 6px 12px;
  border-radius: 8px;
  display: block;
  margin-bottom: 16px;
}

.cd-price-separator {
  border: none;
  border-top: 1px solid #f0eef6;
  margin: 16px 0;
}

.cd-price-online-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cd-price-online-label {
  font-size: 12px;
  color: var(--cdmuted);
  font-weight: 500;
}

.cd-price-online-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--cdgreen);
}

.cd-price-cta-full {
  display: block;
  width: 100%;
  text-align: center;
}

/* Legacy price block (used in pricing section, not hero) */
.cd-price-block { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

/* ─── SECTION 2: For Whom ─────────────────────────────────────── */
.cd-forwhom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cd-persona-card {
  background: #fff;
  border: 1px solid var(--cdborder);
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}

.cd-persona-card:hover {
  box-shadow: 0 6px 24px rgba(109,40,217,.09);
  border-color: rgba(109,40,217,.22);
  transform: translateY(-2px);
}

.cd-persona-icon { font-size: 26px; margin-bottom: 10px; }

.cd-persona-title {
  font-size: .95rem;
  font-weight: 700;
  color: var(--cdtext);
  margin: 0 0 5px;
}

.cd-persona-goal {
  font-size: 11px;
  font-weight: 700;
  color: var(--cdp);
  margin-bottom: 9px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.cd-persona-body {
  font-size: 13.5px;
  line-height: 1.65;
  color: #4b5563;
  margin: 0;
}

/* ─── SECTION 3: Curriculum ───────────────────────────────────── */
.cd-phases { display: flex; flex-direction: column; gap: 12px; }

.cd-phase {
  border-radius: 12px;
  border: 1px solid var(--cdborder);
  overflow: hidden;
  border-left: 3px solid var(--phase-color, #6d28d9);
}

.cd-phase-header {
  width: 100%;
  background: var(--phase-pale, #f5f3ff);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  text-align: left;
  transition: background .15s;
}

.cd-phase-header:hover { background: rgba(109,40,217,.05); }

.cd-phase-left {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  min-width: 80px;
}

.cd-phase-num {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--phase-color, #6d28d9);
}

.cd-phase-weeks {
  font-size: 12px;
  color: var(--cdmuted);
  font-weight: 500;
}

.cd-phase-title-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cd-phase-name {
  font-size: .93rem;
  font-weight: 700;
  color: var(--cdtext);
  margin: 0;
  line-height: 1.35;
}

.cd-phase-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 100px;
  background: var(--phase-color, #6d28d9);
  color: #fff;
  letter-spacing: .04em;
}

.cd-phase-chevron {
  font-size: 11px;
  color: #9ca3af;
  flex-shrink: 0;
  margin-left: auto;
  transition: color .15s;
}

.cd-phase-header:hover .cd-phase-chevron { color: var(--cdp); }

.cd-phase-body {
  padding: 0 20px 16px;
  background: #fff;
}

.cd-phase-body--collapsed { display: none; }

.cd-week-detail {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid #f4f2f9;
}

.cd-week-label {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--phase-color, #6d28d9);
  padding-top: 2px;
  line-height: 1.4;
}

.cd-week-topics {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--cdbody);
  margin: 0 0 10px;
}

.cd-week-build {
  font-size: 12.5px;
  font-weight: 600;
  color: #5b21b6;
  background: var(--cdp-pale);
  padding: 8px 14px;
  border-radius: 8px;
  border-left: 3px solid var(--cdp);
  line-height: 1.5;
}

.cd-build-label {
  font-weight: 900;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--cdp);
  display: block;
  margin-bottom: 2px;
}

/* ─── SECTION 4: Tools ────────────────────────────────────────── */
.cd-tool-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.cd-tool-group-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #9ca3af;
  margin-bottom: 10px;
}

.cd-tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Branded tool chip */
.cd-tool-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  padding: 5px 13px 5px 5px;
  border-radius: 100px;
  background: #fff;
  color: var(--cdbody);
  border: 1px solid var(--cdborder);
  transition: box-shadow .2s, border-color .2s, transform .15s;
  cursor: default;
}

.cd-tool-chip:hover {
  border-color: rgba(109,40,217,.3);
  box-shadow: 0 2px 10px rgba(109,40,217,.08);
  transform: translateY(-1px);
}

.cd-tool-label {
  display: inline-block;
  line-height: 1.35;
}

/* Brand badge inside chip */
.cd-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  font-style: normal;
  line-height: 1;
}

.cd-tool-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: currentColor;
  stroke: none;
}

.cd-tool-icon svg [stroke] {
  stroke: currentColor;
}

.cd-tool-icon--large {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.14);
}

.cd-tool-icon--large svg {
  width: 22px;
  height: 22px;
}

/* Flat tools (courses with .tools array) */
.cd-tools-flat {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Platform chips (Course 02) */
.cd-platforms-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 36px;
}

.cd-platform-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  border-radius: 12px;
  text-align: center;
  gap: 5px;
  transition: transform .15s, box-shadow .15s;
}

.cd-platform-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}

.cd-platform-icon {
  margin-bottom: 3px;
  line-height: 0;
}

.cd-platform-chip strong {
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
}

.cd-platform-chip span {
  font-size: 9.5px;
  font-weight: 500;
  opacity: .82;
  line-height: 1.3;
}

/* ─── SECTION 5: Portfolio ────────────────────────────────────── */
.cd-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cd-portfolio-card {
  background: #fff;
  border: 1px solid var(--cdborder);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow .2s, border-color .2s, transform .2s;
}

.cd-portfolio-card:hover {
  border-color: rgba(109,40,217,.25);
  box-shadow: 0 6px 20px rgba(109,40,217,.08);
  transform: translateY(-2px);
}

.cd-portfolio-week {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--cdp);
}

.cd-portfolio-title {
  font-size: .93rem;
  font-weight: 700;
  color: var(--cdtext);
  margin: 0;
  line-height: 1.35;
}

.cd-portfolio-desc {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--cdmuted);
  margin: 0;
  flex: 1;
}

.cd-portfolio-where {
  font-size: 11px;
  font-weight: 600;
  color: #5b21b6;
  background: var(--cdp-pale);
  padding: 5px 10px;
  border-radius: 6px;
  margin-top: 4px;
}

.cd-where-label {
  font-weight: 800;
  margin-right: 4px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── SECTION 6: Internship ───────────────────────────────────── */
.cd-internship-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cd-internship-single { max-width: 520px; }
.cd-internship-voucher { max-width: 480px; }

.cd-intern-card {
  border-radius: 14px;
  padding: 26px;
  border: 1px solid;
}

.cd-intern-card--inhouse  { background: #f0fdf4; border-color: #bbf7d0; }
.cd-intern-card--external { background: #eff6ff; border-color: #bfdbfe; }

.cd-intern-card-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--cdtext);
  margin-bottom: 8px;
}

.cd-intern-condition {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: 100px;
  background: #fef9c3;
  color: #92400e;
  display: inline-block;
  margin-bottom: 12px;
}

.cd-intern-desc {
  font-size: 13.5px;
  color: var(--cdbody);
  line-height: 1.65;
  margin: 0 0 14px;
}

.cd-intern-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cd-intern-list li {
  font-size: 13px;
  color: var(--cdbody);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.cd-intern-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #059669;
  font-weight: 800;
  font-size: 12px;
}

.cd-intern-card--external .cd-intern-list li::before { color: #2563eb; }

/* Voucher */
.cd-voucher-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 16px;
  padding: 28px;
}

.cd-voucher-icon { font-size: 40px; margin-bottom: 12px; }
.cd-voucher-title { font-size: 1.1rem; font-weight: 800; color: var(--cdtext); margin: 0 0 10px; }

.cd-voucher-desc {
  font-size: 13.5px;
  line-height: 1.7;
  color: #4b5563;
  margin: 0 0 18px;
}

.cd-voucher-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cd-voucher-list li {
  font-size: 13.5px;
  color: var(--cdbody);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.cd-voucher-list li::before {
  content: '★';
  position: absolute;
  left: 0;
  color: #d97706;
  font-size: 11px;
}

/* ─── SECTION 7: Pricing ──────────────────────────────────────── */
.cd-price-card {
  background: var(--cdp-pale);
  border: 1.5px solid rgba(109,40,217,.18);
  border-radius: 18px;
  padding: 28px 32px;
  margin-bottom: 28px;
}

.cd-price-card-main {
  display: flex;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.cd-price-col { display: flex; flex-direction: column; gap: 3px; }

.cd-price-col-label {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: #9ca3af;
}

.cd-price-anchor-lg {
  font-size: .95rem;
  color: #9ca3af;
  text-decoration: line-through;
}

.cd-price-main-lg {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--cdp);
  line-height: 1;
}

.cd-price-online { color: var(--cdgreen); }

.cd-price-divider {
  width: 1px;
  height: 56px;
  background: rgba(109,40,217,.15);
  flex-shrink: 0;
}

.cd-price-cta { display: inline-block; }

/* Installment tables */
.cd-installment-tables {
  border: 1px solid var(--cdborder);
  border-radius: 14px;
  padding: 24px;
  background: #fff;
  margin-bottom: 24px;
}

.cd-install-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cdtext);
  margin: 0 0 16px;
}

.cd-install-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cd-install-col-label {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--cdmuted);
  margin-bottom: 10px;
}

.cd-install-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cd-install-table th {
  text-align: left;
  padding: 7px 10px;
  background: #f9fafb;
  color: var(--cdbody);
  font-weight: 700;
  border-bottom: 2px solid #e5e7eb;
  font-size: 11.5px;
}

.cd-install-table td {
  padding: 9px 10px;
  border-bottom: 1px solid #f3f4f6;
  color: var(--cdbody);
  line-height: 1.4;
}

.cd-install-table td:nth-child(2) {
  font-weight: 800;
  color: var(--cdp);
}

/* Includes */
.cd-includes {
  border: 1px solid var(--cdborder);
  border-radius: 14px;
  padding: 24px 28px;
  background: #fff;
  margin-bottom: 24px;
}

.cd-includes-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cdtext);
  margin: 0 0 16px;
}

.cd-includes-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
}

.cd-includes-grid li {
  font-size: 13px;
  color: var(--cdbody);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}

.cd-includes-grid li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cdgreen);
  font-weight: 800;
  font-size: 12px;
}

/* Discounts */
.cd-discounts { margin-bottom: 24px; }

.cd-discounts-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cdtext);
  margin: 0 0 14px;
}

.cd-discounts-grid { display: flex; flex-wrap: wrap; gap: 12px; }

.cd-discount-card {
  background: #fff;
  border: 1px solid var(--cdborder);
  border-radius: 12px;
  padding: 16px 20px;
  min-width: 160px;
}

.cd-discount-amount { font-size: 1.3rem; font-weight: 900; color: var(--cdgreen); margin-bottom: 2px; }
.cd-discount-label  { font-size: 12.5px; font-weight: 700; color: var(--cdtext); margin-bottom: 3px; }
.cd-discount-cond   { font-size: 11.5px; color: var(--cdmuted); line-height: 1.4; }

/* Batches */
.cd-batches { margin-bottom: 24px; }

.cd-batches-heading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cdtext);
  margin: 0 0 14px;
}

.cd-batches-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cd-batch-card {
  background: #fff;
  border: 1px solid var(--cdborder);
  border-radius: 12px;
  padding: 16px;
}

.cd-batch-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--cdp);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cd-batch-time {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cdtext);
  margin-bottom: 2px;
}

.cd-batch-days { font-size: 12px; color: var(--cdmuted); }

/* Enrol CTA */
.cd-enroll-box {
  background: linear-gradient(135deg, #5b21b6 0%, #7c3aed 100%);
  border-radius: 16px;
  padding: 36px 40px;
  text-align: center;
  margin-top: 16px;
}

.cd-enroll-box p {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  margin: 0 0 18px;
}

/* ─── SECTION 8: FAQ ──────────────────────────────────────────── */
.cd-faq-list { display: flex; flex-direction: column; max-width: 780px; }

.cd-faq-item { border-bottom: 1px solid #f0eef6; }

.cd-faq-q {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  text-align: left;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cdtext);
  font-family: inherit;
  transition: color .2s;
  line-height: 1.45;
}

.cd-faq-q:hover { color: var(--cdp); }

.cd-faq-chevron {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cdp-pale);
  color: var(--cdp);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 300;
  flex-shrink: 0;
  line-height: 1;
  transition: background .2s;
}

.cd-faq-q:hover .cd-faq-chevron { background: #ede9fe; }

.cd-faq-a {
  padding: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.75;
  color: #4b5563;
}

/* ─── Course page footer ──────────────────────────────────────── */
.cd-page-footer {
  background: #1a0a3d;
  padding: 32px 24px;
}

.cd-page-footer-inner {
  max-width: var(--cd-content-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cd-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cd-footer-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.cd-footer-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,.18);
}

.cd-footer-text {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  font-weight: 500;
  line-height: 1.4;
}

.cd-footer-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cd-footer-links a {
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color .15s;
}

.cd-footer-links a:hover { color: #fff; }

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */

/* Large tablet — still wide, 2-col hero */
@media (max-width: 1060px) {
  .cd-layout { padding: 0 32px 80px; }
  .cd-page-footer-inner { padding: 0 32px; }
  .cd-hero-inner { padding: 40px 40px 36px; }
  .cd-hero-split {
    grid-template-columns: 1fr 260px;
    gap: 36px;
  }
  .cd-tool-groups { grid-template-columns: 1fr 1fr; }
  .cd-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-includes-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-batches-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-platforms-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet — single column hero */
@media (max-width: 760px) {
  .cd-breadcrumbs { padding: 18px 16px 2px; }
  .cd-breadcrumbs-inner { padding: 11px 14px; }
  #courseStickyNav { padding: 10px 16px 16px; }
  .csn-inner { text-align: left; }  /* left-align so overflow scrolls from the start */
  .cd-layout { padding: 0 20px 60px; }
  .cd-page-footer-inner { padding: 0 20px; }
  .cd-hero-inner { padding: 28px 24px 24px; }
  .cd-hero-split { grid-template-columns: 1fr; }

  /* Price card goes inline below content */
  .cd-hero-price-card {
    position: static;
    margin-top: 8px;
  }

  .cd-tool-groups { grid-template-columns: 1fr; }
  .cd-forwhom-grid { grid-template-columns: 1fr; }
  .cd-portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-internship-split { grid-template-columns: 1fr; }
  .cd-install-split { grid-template-columns: 1fr; }
  .cd-includes-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-platforms-grid { grid-template-columns: repeat(3, 1fr); }
  .cd-batches-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-faq-list { max-width: 100%; }
}

/* Mobile */
@media (max-width: 520px) {
  #courseStickyNav { padding: 8px 12px 12px; }
  .csn-item { padding: 7px 14px; font-size: 12px; }
  .cd-layout { padding: 0 16px 48px; }
  .cd-hero-inner { padding: 22px 18px 20px; }
  .cd-hero-title { font-size: 1.5rem; }
  .cd-main > section { padding: 48px 0; }
  .cd-portfolio-grid { grid-template-columns: 1fr; }
  .cd-includes-grid { grid-template-columns: 1fr; }
  .cd-platforms-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-batches-grid { grid-template-columns: repeat(2, 1fr); }
  .cd-price-card-main { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cd-price-divider { width: 60px; height: 1px; }
  .cd-price-main-lg { font-size: 2rem; }
  .cd-week-detail { grid-template-columns: 1fr; gap: 4px; }
  .cd-enroll-box { padding: 24px 18px; }
  .csn-item { padding: 5px 11px; font-size: 12px; }
  .cd-page-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cd-footer-links { gap: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   COURSE HERO WIDGETS — animated visual per course
══════════════════════════════════════════════════════════════ */

/* ── Keyframes ── */
@keyframes cdPkt {
  0%   { left:0;                  opacity:0; }
  8%   { left:0;                  opacity:1; }
  88%  { left:calc(100% - 8px);   opacity:1; }
  100% { left:calc(100% - 8px);   opacity:0; }
}
@keyframes cdBarGrow {
  from { height:0; opacity:0; }
  to   { height:var(--h); opacity:1; }
}
@keyframes cdFadeUp {
  from { opacity:0; transform:translateY(10px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes cdRankIn {
  from { opacity:0; transform:translateX(-14px); }
  to   { opacity:1; transform:translateX(0); }
}
@keyframes cdBlink {
  0%,100% { opacity:1; }
  50%     { opacity:0; }
}
@keyframes cdNodIn {
  from { opacity:0; transform:scale(.5); }
  to   { opacity:1; transform:scale(1); }
}
@keyframes cdEdgeIn {
  from { stroke-dashoffset:120; opacity:0; }
  to   { stroke-dashoffset:0;   opacity:1; }
}
@keyframes cdMetricIn {
  from { opacity:0; transform:scale(.8) translateY(6px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}
@keyframes cdLineIn {
  from { opacity:0; transform:translateX(-10px); }
  to   { opacity:1; transform:translateX(0); }
}

/* ── Base card ── */
.cd-hero-widget {
  margin-top: 28px;
  border-radius: 14px;
  padding: 16px 18px 18px;
  background: rgba(109,40,217,.04);
  border: 1px solid rgba(109,40,217,.14);
  position: relative;
  overflow: hidden;
}
.cd-hero-widget::before {
  content: '';
  position: absolute; top:0; left:0; right:0; height:2px;
  background: linear-gradient(90deg, var(--course-color, #7c3aed), transparent);
}
.cd-wgt-title {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 12px;
}

/* ── WORKFLOW widget (agentic-ai-automation) ── */
.cd-widget--workflow .cd-wgt-flow {
  display: flex;
  align-items: center;
  gap: 0;
}
.cd-widget--workflow .cd-wgt-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  background: #fff;
  border: 1.5px solid rgba(109,40,217,.2);
  border-radius: 10px;
  padding: 8px 10px;
  box-shadow: 0 2px 8px rgba(109,40,217,.1);
}
.cd-widget--workflow .cd-wgt-icon { font-size: 1.3rem; line-height:1; }
.cd-widget--workflow .cd-wgt-nlabel {
  font-family: "DM Mono", monospace;
  font-size: .5rem;
  color: #475569;
  letter-spacing: .04em;
}
.cd-widget--workflow .cd-wgt-conn {
  flex: 1;
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(109,40,217,.2), rgba(109,40,217,.1));
}
.cd-widget--workflow .cd-wgt-pkt {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--violet, #7c3aed);
  box-shadow: 0 0 6px rgba(109,40,217,.6);
  animation: cdPkt 1.8s ease-in-out infinite;
}

/* ── FUNNEL widget (ai-digital-marketing) ── */
.cd-widget--funnel .cd-wgt-funnel {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cd-widget--funnel .cd-wgt-stage {
  height: 26px;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(0,180,240,.15), rgba(0,180,240,.05));
  border-left: 3px solid rgba(0,180,240,.5);
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: .68rem;
  font-weight: 600;
  color: #1e3a5f;
  width: var(--w, 100%);
  opacity: 0;
  animation: cdFadeUp .5s ease both;
  animation-delay: var(--d, 0s);
}

/* ── METRICS widget (advanced-performance-marketing) ── */
.cd-widget--metrics .cd-wgt-metrics {
  display: flex;
  justify-content: space-between;
  gap: 6px;
}
.cd-widget--metrics .cd-wgt-metric {
  flex: 1;
  background: #fff;
  border: 1px solid rgba(234,88,12,.15);
  border-radius: 8px;
  padding: 8px 4px;
  text-align: center;
  opacity: 0;
  animation: cdMetricIn .45s ease both;
  animation-delay: var(--d, 0s);
}
.cd-wgt-num {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--course-color, #ea580c);
  letter-spacing: -.02em;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.cd-wgt-mkey {
  display: block;
  font-family: "DM Mono", monospace;
  font-size: .48rem;
  color: #94a3b8;
  letter-spacing: .08em;
  margin-top: 2px;
}

/* ── RANKINGS widget (advanced-seo-ai) ── */
.cd-widget--rankings .cd-wgt-ranks {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.cd-wgt-rank {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 10px;
  border-radius: 7px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  opacity: 0;
  animation: cdRankIn .5s ease both;
  animation-delay: var(--d, 0s);
}
.cd-rank-gold {
  background: linear-gradient(90deg, rgba(250,204,21,.12), rgba(250,204,21,.04));
  border-color: rgba(250,204,21,.4);
}
.cd-wgt-pos {
  font-size: .9rem;
  font-weight: 800;
  color: var(--course-color, #0f766e);
  min-width: 24px;
  font-family: "Plus Jakarta Sans", sans-serif;
}
.cd-rank-gold .cd-wgt-pos { color: #b45309; }
.cd-wgt-kw {
  flex: 1;
  font-size: .6rem;
  color: #475569;
  font-family: "DM Mono", monospace;
}
.cd-wgt-trend {
  font-size: .6rem;
  font-weight: 700;
  color: #16a34a;
  font-family: "DM Mono", monospace;
}
.cd-trend-top { color: #b45309; }

/* ── CANVAS widget (ai-graphics-design-web) ── */
.cd-widget--canvas .cd-wgt-layers {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  padding-left: 8px;
}
.cd-wgt-layer {
  padding: 7px 12px;
  border-radius: 7px;
  font-size: .72rem;
  font-weight: 600;
  color: #1e293b;
  background: #fff;
  border: 1px solid rgba(109,40,217,.15);
  box-shadow: 0 1px 4px rgba(109,40,217,.07);
  opacity: 0;
  animation: cdFadeUp .5s ease both;
  animation-delay: var(--d, 0s);
}
.cd-wgt-layer:nth-child(1) { margin-left: 0; }
.cd-wgt-layer:nth-child(2) { margin-left: 10px; }
.cd-wgt-layer:nth-child(3) { margin-left: 20px; }

/* ── CHAT widget (ai-kickstarter) ── */
.cd-widget--chat .cd-wgt-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cd-wgt-bubble {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: .72rem;
  line-height: 1.45;
  opacity: 0;
  animation: cdFadeUp .5s ease both;
  animation-delay: var(--d, 0s);
}
.cd-wgt-user {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #334155;
  align-self: flex-start;
  border-bottom-left-radius: 3px;
}
.cd-wgt-ai {
  background: linear-gradient(135deg, rgba(109,40,217,.12), rgba(168,85,247,.08));
  border: 1px solid rgba(109,40,217,.2);
  color: #4c1d95;
  align-self: flex-end;
  border-bottom-right-radius: 3px;
}

/* ── CHART widget (data-analytics-ai) ── */
.cd-widget--chart .cd-wgt-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 8px;
  height: 80px;
  padding-bottom: 20px;
  position: relative;
}
.cd-widget--chart .cd-wgt-chart::after {
  content: '';
  position: absolute; bottom:20px; left:0; right:0; height:1px;
  background: rgba(0,0,0,.08);
}
.cd-wgt-bwrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.cd-wgt-bwrap span {
  font-family: "DM Mono", monospace;
  font-size: .48rem;
  color: #94a3b8;
  letter-spacing: .06em;
}
.cd-wgt-bar {
  width: 100%;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--course-color, #0891b2), rgba(8,145,178,.4));
  height: 0;
  opacity: 0;
  animation: cdBarGrow .6s ease both;
  animation-delay: var(--d, 0s);
}

/* ── NEURAL widget (ml-deep-learning) ── */
.cd-widget--neural .cd-wgt-nsvg {
  width: 100%;
  height: 80px;
  overflow: visible;
}
.cd-ne {
  stroke: rgba(109,40,217,.25);
  stroke-width: 1.5;
  fill: none;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  opacity: 0;
  animation: cdEdgeIn .5s ease both;
  animation-delay: var(--nd, 0s);
}
.cd-nn {
  fill: #fff;
  stroke: rgba(109,40,217,.4);
  stroke-width: 1.5;
  opacity: 0;
  animation: cdNodIn .4s ease both;
  animation-delay: var(--nd, 0s);
}
.cd-nn-h { stroke: rgba(109,40,217,.6); fill: rgba(109,40,217,.08); }
.cd-nn-o { stroke: var(--violet, #7c3aed); fill: rgba(109,40,217,.15); }
.cd-nl {
  font-family: "DM Mono", monospace;
  font-size: 7px;
  fill: #94a3b8;
  text-anchor: middle;
}

/* ── TERMINAL widget (vibe-coding-build-apps-ai) ── */
.cd-widget--terminal {
  padding: 0;
  background: #0f172a;
  border-color: rgba(0,180,240,.2);
}
.cd-widget--terminal::before {
  background: linear-gradient(90deg, var(--cyan,#00b4f0), transparent);
}
.cd-wgt-term-bar {
  background: #1e293b;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.cd-wgt-tdot {
  width: 8px; height: 8px; border-radius: 50%; display: inline-block;
}
.cd-wgt-ttitle {
  font-family: "DM Mono", monospace;
  font-size: .58rem;
  color: #64748b;
  margin-left: 6px;
}
.cd-wgt-term-body {
  padding: 10px 14px 12px;
  font-family: "DM Mono", monospace;
  font-size: .65rem;
  line-height: 1.9;
  color: #7dd3fc;
}
.cd-tl {
  opacity: 0;
  animation: cdLineIn .35s ease both;
  animation-delay: var(--d, 0s);
}
.cd-tl:nth-child(2) { color: #86efac; }
.cd-tl:nth-child(3) { color: #86efac; }
.cd-tl:nth-child(4) { color: #e2e8f0; }
.cd-wgt-cur {
  display: inline-block;
  animation: cdBlink 1s step-end infinite;
  color: var(--cyan, #00b4f0);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .cd-hero-widget,
  .cd-hero-widget * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    height: var(--h) !important;
    stroke-dashoffset: 0 !important;
  }
}

/* ════════════════════════════════════════════════════════════
   Location Section
════════════════════════════════════════════════════════════ */
.cd-price-card-loc {
  margin-top: 4px;
  margin-bottom: 4px;
  font-size: .78rem;
  color: var(--cyan, #00b4f0);
  font-weight: 500;
}
.cd-price-location-note {
  font-size: .75rem;
  color: #7c3aed;
  font-weight: 600;
  margin-top: 4px;
}

/* Hero card — 3-mode pricing */
.cd-price-modes-wrap {
  margin: 6px 0 8px;
}
.cd-price-mode-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}
.cd-price-mode-badge {
  font-size: .65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #ede9fe;
  color: #6d28d9;
  padding: 3px 9px;
  border-radius: 100px;
  white-space: nowrap;
}
.cd-price-mode-badge--online {
  background: #dbeafe;
  color: #1d4ed8;
}
.cd-price-mode-price {
  font-size: .95rem;
  font-weight: 700;
  color: #1e1b4b;
}

/* Full pricing section — 3 column extras */
.cd-price-col-sub {
  font-size: .75rem;
  color: #64748b;
  margin-bottom: 6px;
  line-height: 1.3;
}
.cd-price-same-note {
  font-size: .75rem;
  color: #059669;
  font-weight: 600;
  margin-top: 4px;
}

/* Location layout */
.cd-location-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}
@media (max-width: 768px) {
  .cd-location-wrap {
    grid-template-columns: 1fr;
  }
}

.cd-location-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cd-location-address {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f5f0ff;
  border: 1px solid #ede9fe;
  border-radius: 12px;
  padding: 16px 20px;
  line-height: 1.6;
  font-size: .95rem;
}
.cd-loc-icon {
  font-size: 1.3rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Nearby cities */
.cd-location-reach { }
.cd-reach-heading {
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #6d28d9;
  margin: 0 0 10px;
}
.cd-location-nearby {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cd-location-nearby li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 14px;
  background: #faf5ff;
  border-radius: 8px;
  border: 1px solid #ede9fe;
}
.cd-nearby-city {
  font-size: .9rem;
  font-weight: 600;
  color: #1e1b4b;
}
.cd-nearby-time {
  font-size: .8rem;
  color: #6d28d9;
  font-weight: 700;
  background: #ede9fe;
  padding: 2px 10px;
  border-radius: 100px;
}

.cd-location-note {
  font-size: .88rem;
  color: #4b5563;
  line-height: 1.7;
  margin: 0;
}
.cd-location-cta {
  display: inline-block;
  margin-top: 4px;
}

/* Map */
.cd-location-map {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(109,40,217,.12);
}
.cd-location-map iframe {
  display: block;
}
@media (max-width: 768px) {
  .cd-location-map iframe {
    height: 260px;
  }
}
