/* Courses page: quiet chrome, one accent, priced offerings first. Spacing on a 4px grid. */
.cx { --cx-ink: #15243d; --cx-2: #4b5566; --cx-3: #6b7482; --cx-line: rgba(21,36,61,.1); --cx-tint: #f6f6f3; --cx-ease: cubic-bezier(.2,.8,.2,1); }
.cx h1, .cx h2, .cx h3 { font-weight: 500; color: var(--cx-ink); margin: 0; }

/* Intro */
.cx-intro { padding-top: 32px; padding-bottom: 64px; }
.cx-kicker { display: flex; align-items: center; gap: 10px; margin: 56px 0 16px; font-size: 14px; color: var(--cx-2); }
.cx-kicker span { width: 6px; height: 6px; background: var(--gold); flex-shrink: 0; }
.cx-intro h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1.04; letter-spacing: -.035em; font-weight: 400; }
.cx-lede { max-width: 560px; margin: 20px 0 0; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--cx-2); }

/* Section heads */
.cx-section { padding-bottom: 96px; }
.cx-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--cx-line); }
.cx-head h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; line-height: 1.2; }
.cx-head p { margin: 0; font-size: 14px; color: var(--cx-3); }

/* Bookable cards */
.cx-cards { display: grid; grid-template-columns: 1fr 1fr 1.25fr; gap: 16px; }
.cx-card { display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--cx-line); border-radius: 16px; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.cx-card:hover { border-color: rgba(21,36,61,.2); box-shadow: 0 12px 32px -20px rgba(21,36,61,.35); }
.cx-meta { margin: 0 0 12px; font-size: 13px; color: var(--cx-3); }
.cx-card h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.015em; }
.cx-card h3 a { color: inherit; text-decoration: none; }
.cx-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cx-desc { margin: 12px 0 32px; font-size: 15px; line-height: 1.6; color: var(--cx-2); }
.cx-buy { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--cx-line); }
.cx-price { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.02em; color: var(--cx-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cx-price small { font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--cx-3); }

.cx-card-feature { background: var(--navy); border-color: var(--navy); }
.cx-card-feature:hover { border-color: var(--navy); }
.cx-card-feature .cx-meta { color: var(--gold); }
.cx-card-feature h3, .cx-card-feature .cx-price { color: #fff; }
.cx-card-feature .cx-desc, .cx-card-feature .cx-price small { color: #b7c0d1; }
.cx-card-feature .cx-buy { border-top-color: rgba(255,255,255,.12); }

/* Buttons: feedback on press */
.cx-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 20px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .2s ease, transform .1s ease-out; }
.cx-btn:hover { background: #1c3260; }
.cx-btn:active { transform: scale(.97); }
.cx-btn-gold { background: var(--gold); color: var(--navy); }
.cx-btn-gold:hover { background: #e5a40f; }
.cx-btn:focus-visible, .cx-row:focus-visible, .cx-paths a:focus-visible, .cx-card h3 a:focus-visible, .cx-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Program lists */
.cx-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.cx-group-title { font-size: 14px !important; color: var(--cx-3) !important; font-weight: 400 !important; margin-bottom: 8px !important; }
.cx-list { border-top: 1px solid var(--cx-line); }
.cx-row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--cx-line); text-decoration: none; color: inherit; }
.cx-row .cx-row-title { transition: color .2s ease; }
.cx-row:hover .cx-row-title { color: var(--blue); }
.cx-row-text { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 0; }
.cx-row-title { font-size: 17px; font-weight: 500; color: var(--cx-ink); }
.cx-row-desc { font-size: 14px; line-height: 1.5; color: var(--cx-2); }
.cx-chev { font-size: 22px; line-height: 1; color: var(--cx-3); transition: transform .2s var(--cx-ease), color .2s ease; }
.cx-row:hover .cx-chev, .cx-paths a:hover .cx-chev { transform: translateX(3px); color: var(--cx-ink); }

/* Pathways */
.cx-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cx-paths a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; padding: 20px 24px; border-radius: 12px; background: var(--cx-tint); color: var(--cx-ink); text-decoration: none; font-size: 17px; font-weight: 500; transition: background-color .2s ease, transform .1s ease-out; }
.cx-paths a:hover { background: #eeeee9; }
.cx-paths a:active { transform: scale(.99); }

/* Closing */
.cx-close { display: flex; justify-content: space-between; align-items: center; gap: 32px; margin-bottom: 96px; padding: 40px; border-radius: 16px; background: var(--cx-tint); }
.cx-close h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; }
.cx-close p { margin: 8px 0 0; max-width: 480px; color: var(--cx-2); font-size: 15px; line-height: 1.6; }
.cx-close-actions { display: flex; align-items: center; gap: 24px; flex-shrink: 0; }
.cx-link { color: var(--cx-ink); text-decoration: none; font-size: 15px; font-variant-numeric: tabular-nums; border-bottom: 1px solid rgba(21,36,61,.3); padding-bottom: 2px; }
.cx-link:hover { border-color: var(--gold); }

@media (max-width: 1000px) {
  .cx-cards { grid-template-columns: 1fr 1fr; }
  .cx-card-feature { grid-column: 1 / -1; }
  .cx-groups { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 700px) {
  .cx-intro { padding-bottom: 48px; }
  .cx-kicker { margin-top: 40px; }
  .cx-section { padding-bottom: 72px; }
  .cx-head { flex-direction: column; gap: 4px; }
  .cx-cards, .cx-paths { grid-template-columns: 1fr; }
  .cx-card { padding: 24px; }
  .cx-close { flex-direction: column; align-items: flex-start; padding: 28px 24px; margin-bottom: 72px; }
}
@media (prefers-reduced-motion: reduce) { .cx *, .cx *::before { transition: none !important; } }
.cx-btn { border: 0; font-family: inherit; cursor: pointer; }

/* Compact top */
.cx-intro { padding-top: 20px; padding-bottom: 48px; }
.cx-intro .v2-breadcrumb { margin-bottom: 0; }
.cx-intro .cx-kicker { margin-top: 24px; margin-bottom: 12px; }
.cx-intro h1 { font-size: clamp(36px, 4.4vw, 56px); }
.cx-lede { margin-top: 12px; }

/* Program rows with an inline enquiry button */
.cx-row-enq { gap: 16px; }
.cx-row-link { flex: 1; min-width: 0; display: flex; text-decoration: none; color: inherit; }
.cx-row-enq:hover .cx-row-title { color: inherit; }
.cx-row-link:hover .cx-row-title { color: var(--blue); }
.cx-enq { flex-shrink: 0; min-height: 36px; padding: 6px 14px; border: 1px solid var(--cx-line); border-radius: 8px; background: #fff; color: var(--cx-ink); font: 500 13px/1 inherit; font-family: inherit; cursor: pointer; transition: border-color .15s ease, background-color .15s ease, transform .1s ease-out; }
.cx-enq:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.cx-enq:active { transform: scale(.96); }
.cx-enq:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.cx-enq { font-size: 13px; font-weight: 500; line-height: 1; }
