/* ==========================================================================
   CourseCloud public site, premium layer
   Loaded by assets/r/coursesscanner_menu.php, so it reaches every public page
   (homepage, provider storefronts, course search and pages, hubs, checkout,
   booking, 404). Page <style> blocks print after this file, so rules here are
   prefixed with "html body" to win at the same selector.

   Brand colour: --pub-brand. Marketplace pages use CourseCloud violet;
   provider storefronts set it to the provider's own colour (index.php and
   courses/index.php write it into :root), so white-label pages stay theirs.
   ========================================================================== */

:root {
  --pub-brand: #5a32e6;
  --pub-brand-hover: #4a25cf;
  --pub-ink: #16141f;
  --pub-muted: #5d5a6b;
  --pub-subtle: #716d84;
  --pub-canvas: #f7f5f1;
  --pub-surface: #ffffff;
  --pub-sunken: #f2f0ec;
  --pub-line: #e7e3dc;
  --pub-line-strong: #cfc9bf;
  --pub-footer: #15132a;
  --pub-footer-ink: #b9b5d0;
  --pub-success: #1d7a4c;
  --pub-success-soft: #e5f4ec;
  --pub-warning: #8f5400;
  --pub-warning-soft: #fcf1dd;
  --pub-display: Geist, "Helvetica Neue", Arial, sans-serif; /* was Instrument Serif; display type is now the bold sans (homepage option E) */
  --pub-sans: Geist, "Helvetica Neue", Arial, sans-serif;
  --pub-mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --pub-radius: 12px;
  --pub-radius-lg: 18px;
  --pub-shadow: 0 1px 2px rgba(22,20,31,0.04), 0 0 0 1px rgba(22,20,31,0.03);
  --pub-shadow-raised: 0 18px 40px -18px rgba(22,20,31,0.22), 0 2px 6px rgba(22,20,31,0.05);
}

/* ---------- Base ---------- */
html body { background: var(--pub-canvas); color: var(--pub-ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html body, html body * { font-family: var(--pub-sans); }
html body code, html body kbd, html body .monospacetext { font-family: var(--pub-mono); }
html body a { text-underline-offset: 3px; }
html body :focus-visible { outline: 2px solid var(--pub-brand); outline-offset: 2px; }
html body ::placeholder { color: var(--pub-subtle) !important; opacity: 1; }
html body ::selection { background: rgba(90,50,230,0.16); }

/* Display type for page-level headings */
html body .hero-title,
html body .section-heading h2,
html body .events-header h2,
html body .faq-section h2,
html body .results-hero h1,
html body .results-hero h2.results-hero-title,
html body .error-page h1,
html body .error-page h2,
html body .providers-cta-text h3 {
  font-family: var(--pub-display);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--pub-ink);
}

/* Children of display headings keep the display face (the base rule above would reset them) */
html body :is(.hero-title, .section-heading h2, .events-header h2, .faq-section h2, .results-hero h1, .error-page h1, .error-page h2, .providers-cta-text h3, .event-name, .event-price) *:not(i):not(small) { font-family: inherit; }

/* ---------- Top navigation ---------- */
html body .navbar.sticky-top-menu {
  background: rgba(255,255,255,0.94) !important;
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--pub-line) !important;
  box-shadow: none;
  min-height: 68px;
}
html body .navbar.sticky-top-menu .nav-link {
  color: var(--pub-muted) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .15s, background .15s;
}
html body .navbar.sticky-top-menu .nav-link:hover { color: var(--pub-ink) !important; background: var(--pub-sunken); }
html body .navbar .nav-pills .nav-link.active,
html body .navbar .nav-pills .show > .nav-link { background: var(--pub-sunken) !important; color: var(--pub-ink) !important; }
html body .navbar .nav-link.active::after { display: none; }
html body .navbar .dropdown-menu {
  border: 1px solid var(--pub-line);
  border-radius: 14px;
  box-shadow: var(--pub-shadow-raised);
  padding: 6px;
}
html body .navbar .dropdown-item { border-radius: 8px; padding: 8px 12px; font-size: 14px; color: var(--pub-ink); }
html body .navbar .dropdown-item:hover { background: var(--pub-sunken); }
html body .btn-find-course {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--pub-ink) !important;
  border: 0;
  color: #fff !important;
  font-size: 14px;
  font-weight: 550;
  text-decoration: none;
  box-shadow: none;
  transition: background .15s, transform .15s;
}
html body .btn-find-course:hover { background: #2b2840 !important; transform: none; }
html body .btn-navy.modal_auth {
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: transparent !important;
  border: 1px solid var(--pub-line-strong) !important;
  color: var(--pub-ink) !important;
  font-size: 14px;
  font-weight: 550;
  box-shadow: none;
}
html body .btn-navy.modal_auth:hover { background: var(--pub-sunken) !important; }
html body .user-avatar-btn { background: var(--pub-brand) !important; }
html body .navbar-toggler { border: 1px solid var(--pub-line-strong); border-radius: 10px; padding: 6px 8px; }

/* The page starts below the fixed top bar, never under it: its measured height (--cc-nav-h, set by
   coursesscanner_menu.php, as its menu can wrap), else 68px (60px on phones). The menu file's own 55px
   is the old, shorter bar. */
html body:has(.navbar.sticky-top-menu) { padding-top: var(--cc-nav-h, 68px); }

/* Phones: logo, a search icon, sign in and the menu stay on one row */
@media (max-width: 575.98px) {
  html body:has(.navbar.sticky-top-menu) { padding-top: var(--cc-nav-h, 60px); }
  html body .navbar.sticky-top-menu { min-height: 60px; }
  html body .navbar.sticky-top-menu > .container-fluid { flex-wrap: nowrap; gap: 8px; }
  html body .navbar.sticky-top-menu img { height: 30px !important; width: auto; }
  html body .navbar .d-sm-none.gap-3 { gap: 8px !important; flex-shrink: 0; }
  html body .navbar .d-sm-none .btn-find-course { width: 40px; padding: 0 !important; justify-content: center; font-size: 0 !important; gap: 0; }
  html body .navbar .d-sm-none .btn-find-course svg { width: 17px; height: 17px; }
  html body .navbar .d-sm-none .btn-navy.modal_auth { height: 40px; padding: 0 12px; font-size: 13px !important; }
}

/* ---------- Hero (homepage and storefronts) ---------- */
html body .hero {
  background:
    radial-gradient(ellipse 900px 380px at 50% -10%, color-mix(in srgb, var(--pub-brand) 9%, transparent), transparent 70%),
    var(--pub-canvas) !important;
  padding: 104px 0 88px;
}
html body .hero::before, html body .hero::after { display: none !important; }
html body .hero-pill {
  background: var(--pub-surface);
  border: 1px solid var(--pub-line);
  box-shadow: none;
  color: var(--pub-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
}
html body .hero-pill .dot { background: var(--pub-success); animation: none; box-shadow: 0 0 0 3px var(--pub-success-soft); }
html body .hero-title {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 0.98;
  margin: 22px auto 18px;
  max-width: 12.5em;
}
html body .hero-title .highlight {
  background: none !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: currentColor !important;
  color: var(--pub-brand) !important;
  font-style: italic;
}
html body .hero-subtitle {
  color: var(--pub-muted);
  font-size: 18px;
  line-height: 28px;
  max-width: 36em;
  margin: 0 auto 36px;
}

/* Search card */
html body .search-box {
  background: var(--pub-surface);
  border: 1px solid var(--pub-line);
  border-radius: 20px;
  box-shadow: var(--pub-shadow-raised);
  padding: 22px 22px 16px;
  max-width: 720px;
}
html body .search-box:focus-within { border-color: var(--pub-line-strong); box-shadow: 0 24px 56px -20px rgba(22,20,31,0.28), 0 0 0 4px color-mix(in srgb, var(--pub-brand) 10%, transparent); }
html body .search-label { color: var(--pub-subtle); font-size: 11px; font-weight: 600; letter-spacing: .08em; }
html body .search-input {
  height: 56px;
  border: 1px solid var(--pub-line) !important;
  border-radius: 14px !important;
  background: var(--pub-canvas) !important;
  font-size: 17px !important;
  color: var(--pub-ink) !important;
  padding: 0 18px !important;
}
html body .search-input:focus { border-color: var(--pub-brand) !important; background: var(--pub-surface) !important; box-shadow: none !important; }
html body .btn-search {
  height: 56px;
  padding: 0 26px;
  border-radius: 14px;
  background: var(--pub-brand) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none !important;
}
html body .btn-search:hover { background: var(--pub-brand-hover) !important; transform: none; }
html body .search-hint { color: var(--pub-subtle); font-size: 14px; margin-top: 14px; }
html body .search-hint a { color: var(--pub-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--pub-line-strong); }
html body .search-hint a:hover { text-decoration-color: var(--pub-ink); }
html body #CourseList {
  border: 1px solid var(--pub-line);
  border-radius: 14px;
  box-shadow: var(--pub-shadow-raised);
  overflow: hidden;
}
html body .CourseItem { padding: 12px 16px; font-size: 15px; color: var(--pub-ink); }
html body .CourseItem:hover, html body .CourseItem.selected { background: var(--pub-sunken); }

html body .trust-badges { gap: 24px; margin-top: 28px; }
html body .trust-badge { color: var(--pub-muted); font-size: 14px; font-weight: 500; }
html body .trust-badge i { color: var(--pub-ink); opacity: .7; }

/* ---------- Sections ---------- */
html body .section-heading h2 { font-size: clamp(34px, 4.4vw, 52px); line-height: 1.04; margin-bottom: 12px; }
html body .section-heading p { color: var(--pub-muted); font-size: 17px; }
html body .browse-section { background: transparent; border: 0; padding: 56px 0 24px; }
html body .browse-title { color: var(--pub-subtle); font-size: 11px; font-weight: 600; letter-spacing: .1em; }
html body .browse-chip {
  background: var(--pub-surface);
  border: 1px solid var(--pub-line);
  border-radius: 999px;
  color: var(--pub-ink);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  box-shadow: none;
  transition: border-color .15s, background .15s;
}
html body .browse-chip:hover { border-color: var(--pub-ink); background: var(--pub-surface); color: var(--pub-ink); transform: none; box-shadow: none; }

/* Course cards (storefront "Upcoming courses" and the marketplace "Starting soon") */
html body .events-section { background: transparent; padding: 56px 0; }
html body .events-header { align-items: flex-end; margin-bottom: 24px; }
html body .events-header h2 { font-size: clamp(32px, 4vw, 44px); line-height: 1.05; margin: 0; }
html body .events-header p { margin: 6px 0 0; color: var(--pub-muted); font-size: 16px; }
html body .view-all-link { color: var(--pub-ink); font-weight: 600; font-size: 14px; }
html body .event-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--pub-surface);
  border: 1px solid var(--pub-line);
  border-radius: var(--pub-radius-lg);
  box-shadow: var(--pub-shadow);
  padding: 22px;
  color: var(--pub-ink);
  text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
html body .event-card:hover { border-color: var(--pub-line-strong); box-shadow: var(--pub-shadow-raised); transform: translateY(-2px); }
html body .event-date { color: var(--pub-brand); font-size: 13px; font-weight: 600; letter-spacing: .01em; background: none; padding: 0; }
html body .event-name { font-family: var(--pub-display); font-weight: 400; font-size: 24px; line-height: 1.12; color: var(--pub-ink); }
html body .event-meta { color: var(--pub-muted); font-size: 13px; gap: 6px 14px; }
html body .event-provider { color: var(--pub-muted); font-size: 13px; font-weight: 500; }
html body .event-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--pub-line); }
html body .event-price { font-family: var(--pub-display); font-size: 26px; line-height: 1; color: var(--pub-ink); font-weight: 400; margin: 0; }
html body .event-price small { font-family: var(--pub-sans); font-size: 12px; color: var(--pub-subtle); margin-left: 4px; }
html body .event-places { font-size: 12px; font-weight: 600; color: var(--pub-success); background: var(--pub-success-soft); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
html body .event-places.is-low { color: var(--pub-warning); background: var(--pub-warning-soft); }

/* How it works: three steps on one line */
html body .steps-section { background: transparent; padding: 72px 0; }
html body .step-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--pub-ink);
  border-radius: 0;
  box-shadow: none;
  padding: 22px 0 0;
  text-align: left;
}
html body .step-card:hover { transform: none; box-shadow: none; }
html body .step-number {
  position: static;
  width: auto;
  height: auto;
  background: none !important;
  color: var(--pub-brand) !important;
  font-family: var(--pub-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  margin: 0 0 14px;
  box-shadow: none;
}
html body .step-icon { display: none; }
html body .step-card h3 { font-size: 19px; font-weight: 600; color: var(--pub-ink); margin-bottom: 8px; }
html body .step-card p { color: var(--pub-muted); font-size: 15px; line-height: 23px; }

/* After you book */
html body .ecosystem-section { background: transparent; padding: 24px 0 88px; }
html body .ecosystem-card {
  background: var(--pub-surface);
  border: 1px solid var(--pub-line);
  border-radius: var(--pub-radius-lg);
  box-shadow: var(--pub-shadow);
  padding: 28px;
}
html body a.ecosystem-card:hover { border-color: var(--pub-line-strong); box-shadow: var(--pub-shadow-raised); transform: translateY(-2px); }
html body .ecosystem-card h3 { font-size: 19px; font-weight: 600; color: var(--pub-ink); }
html body .ecosystem-card h3 i { color: var(--pub-brand); }
html body .ecosystem-card p { color: var(--pub-muted); font-size: 15px; line-height: 23px; }
html body .ecosystem-card-link { color: var(--pub-ink); font-weight: 600; }
html body .providers-cta {
  background: var(--pub-footer);
  border: 0;
  border-radius: 22px;
  padding: 40px 44px;
  margin-top: 40px;
  box-shadow: none;
}
html body .providers-cta-text h3 { color: #fff; font-size: 34px; line-height: 1.1; margin-bottom: 8px; }
html body .providers-cta-text p { color: var(--pub-footer-ink); font-size: 16px; margin: 0; }
html body .btn-pill { background: #fff !important; color: var(--pub-ink) !important; border-radius: 999px; font-weight: 600; box-shadow: none; }
html body .btn-pill:hover { background: var(--pub-sunken) !important; }
html body .bottom-cta { background: transparent; }

/* FAQ */
html body .faq-section { background: transparent; }
html body .faq-section h2 { font-size: clamp(32px, 4vw, 44px); }
html body .faq-section .accordion { max-width: 820px; margin: 0 auto; --bs-accordion-bg: transparent; --bs-accordion-border-color: var(--pub-line); --bs-accordion-active-bg: transparent; --bs-accordion-active-color: var(--pub-ink); --bs-accordion-btn-focus-box-shadow: none; }
html body .faq-section .accordion-item { background: transparent; border-left: 0; border-right: 0; border-radius: 0 !important; }
html body .faq-section .accordion-button { background: transparent; font-size: 17px; font-weight: 600; color: var(--pub-ink); padding: 20px 0; box-shadow: none; }
html body .faq-section .accordion-body { padding: 0 0 20px; color: var(--pub-muted); font-size: 15px; line-height: 24px; }

/* ---------- Course search and course pages ---------- */
html body .results-hero {
  background: transparent !important;
  border: 0 !important;
  padding: 28px 0 8px !important;
  margin-bottom: 12px !important;
}
html body .results-hero h1,
html body .results-hero h2.results-hero-title { font-size: clamp(34px, 4.4vw, 52px) !important; line-height: 1.04; }
html body .results-hero p { color: var(--pub-muted); font-size: 16px; }
html body .status-badge.provisional { background: transparent !important; color: var(--pub-subtle) !important; border: 1px solid var(--pub-line); font-weight: 500; }

/* Cards and accordions shared by search, course and checkout pages */
html body main .card { border: 1px solid var(--pub-line); border-radius: var(--pub-radius-lg); box-shadow: var(--pub-shadow); }
html body main .accordion { --bs-accordion-border-color: var(--pub-line); --bs-accordion-active-bg: var(--pub-sunken); --bs-accordion-active-color: var(--pub-ink); --bs-accordion-btn-focus-box-shadow: none; }

/* ---------- 404 ---------- */
html body .error-page { padding: 112px 20px 120px; max-width: 640px; }
html body .error-page h1 { font-size: clamp(88px, 14vw, 160px); line-height: .9; color: var(--pub-brand); margin-bottom: 12px; }
html body .error-page h2 { font-size: 36px; line-height: 1.1; margin-bottom: 12px; }
html body .error-page p { color: var(--pub-muted); font-size: 17px; }
html body .error-page .error-links a { height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; }
html body .error-page .btn-primary-404 { background: var(--pub-ink); color: #fff; }
html body .error-page .btn-primary-404:hover { background: #2b2840; color: #fff; }
html body .error-page .btn-outline-404 { background: var(--pub-surface); border: 1px solid var(--pub-line-strong); color: var(--pub-ink); }

/* ---------- Footer ---------- */
html body .site-footer { background: var(--pub-footer); color: var(--pub-footer-ink); }
html body .site-footer .footer-main { padding: 64px 0 40px; }
html body .site-footer h4 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
html body .site-footer .footer-links a { color: var(--pub-footer-ink); font-size: 14px; }
html body .site-footer .footer-links a:hover { color: #fff; }
html body .site-footer .footer-tagline { color: var(--pub-footer-ink); }
html body .site-footer .footer-tagline-link { color: #fff; }
html body .site-footer .footer-badge { background: #fff; border-radius: 10px; }
html body .site-footer .footer-badge-chip { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); color: #fff; border-radius: 999px; }
html body .site-footer .footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); color: var(--pub-footer-ink); }
html body .site-footer .footer-legal a { color: var(--pub-footer-ink); }
html body .site-footer .footer-legal a:hover { color: #fff; }
html body .site-footer .footer-made-with { color: rgba(185,181,208,0.7); }

@media (max-width: 767.98px) {
  html body .hero { padding: 64px 0 56px; }
  html body .hero-subtitle { font-size: 16px; line-height: 24px; }
  html body .search-box { padding: 16px; border-radius: 18px; }
  html body .providers-cta { padding: 28px 24px; }
  html body .providers-cta-text h3 { font-size: 28px; }
  html body .step-card { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html body .event-card, html body .ecosystem-card { transition: none; }
}

/* ==========================================================================
   Marketplace homepage, premium v2 (index.php default mode, .mk-*)
   New class names, so nothing in the page's own <style> block competes.
   ========================================================================== */
html body .mk {
  --mk-ink: #0f0d1a;
  --mk-ink-2: #1b1830;
  --mk-violet: var(--pub-brand);
  --mk-lilac: #b9a8ff;
  --mk-wrap: 1240px;
  overflow-x: clip;
}
html body .mk em { font-style: italic; }
/* main.css sets * { font-size: 14px }, so nested elements inherit their parent's size here */
html body .mk { font-size: 16px; }
html body .mk :where(*:not(#CourseList, #CourseList *)) { font-size: inherit; }
html body .mk-wrap { max-width: var(--mk-wrap); margin: 0 auto; padding: 0 28px; }
html body .mk-section { padding: 112px 0; }

html body .mk-h1,
html body .mk-h2 { font-family: var(--pub-display); font-weight: 400; letter-spacing: -0.022em; margin: 0; }
html body .mk-h1 *, html body .mk-h2 * { font-family: inherit; }
html body .mk-h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; color: var(--pub-ink); }
html body .mk-h2 em { color: var(--mk-violet); }
html body .mk-kicker {
  display: inline-block;
  margin-bottom: 14px;
  font-family: var(--pub-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mk-violet);
}
html body .mk-kicker--light { color: var(--mk-lilac); }
html body .mk-sub { margin: 16px auto 0; max-width: 520px; color: var(--pub-muted); font-size: 17px; line-height: 1.55; }

html body .mk-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
html body .mk-head--center { justify-content: center; text-align: center; }

html body .mk-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 550; color: var(--pub-ink); text-decoration: none;
}
html body .mk-link i { transition: transform .25s cubic-bezier(.2,.7,.2,1); }
html body a:hover > .mk-link i, html body .mk-link:hover i { transform: translateX(4px); }

html body .mk-btn {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  background: var(--pub-ink); color: #fff !important;
  font-size: 15px; font-weight: 550; text-decoration: none;
  box-shadow: 0 10px 24px -12px rgba(15,13,26,.55);
  transition: transform .2s, box-shadow .2s, background .2s;
}
html body .mk-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -14px rgba(15,13,26,.6); background: #26223d; }
html body .mk-btn--light { background: #fff; color: var(--pub-ink) !important; }
html body .mk-btn--light:hover { background: #f1eeff; }

/* Live pulse */
html body .mk-pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%;
  background: #3ddc97; display: inline-block; flex: none;
}
html body .mk-pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid #3ddc97; opacity: 0; animation: mkPulse 2.4s ease-out infinite;
}
@keyframes mkPulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Hero ---------- */
html body .mk-hero { padding: 12px 12px 0; position: relative; z-index: 3; }
html body .mk-hero-panel {
  position: relative;
  border-radius: 28px;
  background: var(--mk-ink);
  color: #fff;
  isolation: isolate;
}
html body .mk-hero-fx { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: -1; pointer-events: none; }
html body .mk-glow { position: absolute; border-radius: 50%; filter: blur(80px); }
html body .mk-glow-a { width: 720px; height: 520px; left: -160px; top: -220px; background: radial-gradient(closest-side, rgba(90,50,230,.75), transparent); }
html body .mk-glow-b { width: 760px; height: 560px; right: -220px; bottom: -300px; background: radial-gradient(closest-side, rgba(124,92,240,.55), rgba(255,140,90,.10) 70%, transparent); }
html body .mk-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
html body .mk-hero-inner {
  max-width: var(--mk-wrap); margin: 0 auto;
  padding: 104px 28px 112px;
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 64px; align-items: center;
}
html body .mk-hero--solo .mk-hero-inner { grid-template-columns: minmax(0, 820px); justify-content: center; text-align: center; }
html body .mk-hero--solo .mk-popular, html body .mk-hero--solo .mk-assure { justify-content: center; }

html body .mk-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  font-size: 13px; color: rgba(255,255,255,.82); font-weight: 500;
}
html body .mk-h1 {
  margin: 28px 0 22px;
  font-size: clamp(48px, 6.6vw, 92px);
  line-height: .96;
  color: #fff;
}
html body .mk-h1 em {
  background: linear-gradient(100deg, #cbbcff 0%, #9b82ff 45%, #ffb59a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
html body .mk-lede { max-width: 540px; margin: 0 0 36px; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.68); }
html body .mk-hero--solo .mk-lede { margin-left: auto; margin-right: auto; }

/* Search */
html body .mk-search { max-width: 620px; }
html body .mk-hero--solo .mk-search { margin: 0 auto; }
html body .mk-search-bar {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 8px 22px;
  background: #fff; border-radius: 999px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.2), 0 0 0 8px rgba(255,255,255,.06);
  transition: box-shadow .25s;
}
html body .mk-search-bar:focus-within { box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.4), 0 0 0 8px rgba(155,130,255,.35); }
html body .mk-search-icon { color: var(--pub-subtle); font-size: 18px; }
html body .mk-search-field { position: relative; flex: 1; min-width: 0; text-align: left; }
html body .mk-search .search-input {
  width: 100%; height: 52px; border: 0 !important; outline: 0; box-shadow: none !important;
  background: transparent !important; padding: 0 4px !important;
  font-size: 17px; color: var(--pub-ink); text-overflow: ellipsis;
}
html body .mk-search #CourseList { top: calc(100% + 18px); left: -48px; right: -160px; color: var(--pub-ink); border-radius: 18px; z-index: 50; }
html body .mk-search-btn {
  flex: none; display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border: 0; border-radius: 999px;
  background: var(--mk-violet); color: #fff; font-size: 15px; font-weight: 600;
  transition: background .2s, transform .2s;
}
html body .mk-search-btn:hover { background: var(--pub-brand-hover); }
html body .mk-search-btn i { transition: transform .25s; }
html body .mk-search-btn:hover i { transform: translateX(3px); }

html body .mk-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; font-size: 13px; }
html body .mk-popular span { color: rgba(255,255,255,.45); margin-right: 4px; }
html body .mk-popular a {
  color: rgba(255,255,255,.82); text-decoration: none;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14);
  transition: background .2s, border-color .2s, color .2s;
}
html body .mk-popular a:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); color: #fff; }

html body .mk-assure { list-style: none; display: flex; flex-wrap: wrap; gap: 26px; margin: 40px 0 0; padding: 0; font-size: 14px; color: rgba(255,255,255,.6); }
html body .mk-assure li { display: inline-flex; align-items: center; gap: 8px; }
html body .mk-assure i { color: var(--mk-lilac); }

/* Live board */
html body .mk-board {
  position: relative;
  padding: 10px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.08);
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
html body .mk-board:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
html body .mk-board-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px 14px; }
html body .mk-board-title { font-family: var(--pub-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
html body .mk-board-live { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: #9ff0c9; font-weight: 500; }
html body .mk-board-row {
  display: grid; grid-template-columns: auto minmax(0,1fr) auto; gap: 16px; align-items: center;
  padding: 14px; margin-bottom: 6px;
  background: #fff; color: var(--pub-ink); text-decoration: none;
  border-radius: 16px;
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
  opacity: 0; animation: mkRise .7s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(.25s + var(--i) * .12s);
  transition: transform .25s, box-shadow .25s;
}
html body .mk-board-row:hover { transform: translateX(-4px); box-shadow: 0 14px 30px -16px rgba(0,0,0,.6); color: var(--pub-ink); }
@keyframes mkRise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
html body .mk-board-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
html body .mk-board-name { font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .mk-board-meta { font-size: 13px; color: var(--pub-subtle); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .mk-board-side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
html body .mk-board-price { font-size: 17px; font-weight: 650; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
html body .mk-board-foot {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  padding: 14px 12px 8px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.78); text-decoration: none;
}
html body .mk-board-foot:hover { color: #fff; }

/* Date tile and places pill, shared by board and cards */
html body .mk-date {
  flex: none; width: 52px; height: 56px; border-radius: 12px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #f3f0ff; color: var(--mk-violet); line-height: 1;
}
html body .mk-date b { font-size: 22px; font-weight: 650; letter-spacing: -0.03em; }
html body .mk-date small { margin-top: 4px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
html body .mk-left {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 550; color: var(--pub-success); white-space: nowrap;
}
html body .mk-left::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html body .mk-left.is-low { color: #b45309; }

/* ---------- Awarding bodies marquee ---------- */
html body .mk-bodies { padding: 56px 0 8px; text-align: center; }
html body .mk-bodies-label { font-family: var(--pub-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--pub-subtle); margin-bottom: 22px; }
html body .mk-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
html body .mk-marquee-track { display: flex; width: max-content; animation: mkMarquee 60s linear infinite; }
html body .mk-marquee:hover .mk-marquee-track { animation-play-state: paused; }
html body .mk-marquee ul { display: flex; list-style: none; margin: 0; padding: 0; }
html body .mk-marquee li {
  padding: 0 34px; white-space: nowrap;
  font-family: var(--pub-display); font-size: 26px; color: #8e899c; letter-spacing: -0.01em;
}
@keyframes mkMarquee { to { transform: translateX(-50%); } }

/* ---------- Course cards ---------- */
html body .mk-soon { padding-top: 96px; }
html body .mk-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
html body .mk-card {
  position: relative; display: flex; flex-direction: column;
  padding: 24px; min-height: 260px;
  background: #fff; border-radius: 22px; text-decoration: none; color: var(--pub-ink);
  border: 1px solid var(--pub-line);
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s;
}
html body .mk-card:hover { transform: translateY(-4px); border-color: transparent; color: var(--pub-ink); box-shadow: 0 30px 50px -28px rgba(22,20,31,.35), 0 0 0 1px rgba(90,50,230,.18); }
html body .mk-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
html body .mk-card-name { font-family: var(--pub-sans); font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin: 0 0 14px; color: var(--pub-ink); }
html body .mk-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; color: var(--pub-muted); }
html body .mk-card-meta i { margin-right: 6px; color: var(--pub-subtle); }
html body .mk-card-foot {
  margin-top: auto; padding-top: 20px; border-top: 1px solid var(--pub-line);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 12px;
}
html body .mk-card-org { font-size: 13px; color: var(--pub-subtle); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body .mk-card-foot { margin-top: auto; }
html body .mk-card-meta { margin-bottom: 22px; }
html body .mk-card-price { font-size: 24px; font-weight: 650; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; white-space: nowrap; }
html body .mk-card-price small { font-size: 13px; font-weight: 500; color: var(--pub-subtle); margin-left: 3px; letter-spacing: 0; }

html body .mk-card-more { background: var(--mk-ink); border-color: var(--mk-ink); color: #fff; justify-content: space-between; overflow: hidden; isolation: isolate; }
html body .mk-card-more::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(90,50,230,.55), transparent 70%); }
html body .mk-card-more .mk-card-name { color: #fff; font-family: var(--pub-display); font-weight: 400; font-size: 32px; line-height: 1.08; letter-spacing: -0.02em; max-width: 420px; }
html body .mk-card-more .mk-link { color: #fff; }
html body .mk-card-more:hover { color: #fff; box-shadow: 0 30px 50px -28px rgba(22,20,31,.6); }
@media (min-width: 1101px) { html body .mk-span-2 { grid-column: span 2; } }

/* ---------- Explore directory ---------- */
html body .mk-explore { background: #fff; border-top: 1px solid var(--pub-line); border-bottom: 1px solid var(--pub-line); }
html body .mk-explore-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0,1fr); gap: 80px; }
html body .mk-explore-intro p { margin: 18px 0 30px; color: var(--pub-muted); font-size: 17px; line-height: 1.6; }
html body .mk-explore-intro { position: sticky; top: 110px; align-self: start; }
html body .mk-directory { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 48px 40px; }
html body .mk-dir-col h3 {
  margin: 0 0 8px; padding-bottom: 12px; border-bottom: 1px solid var(--pub-ink);
  font-family: var(--pub-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--pub-ink);
}
html body .mk-dir-col ul { list-style: none; margin: 0; padding: 0; }
html body .mk-dir-col li { border-bottom: 1px solid var(--pub-line); }
html body .mk-dir-col a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 13px 0; font-size: 16px; color: var(--pub-ink); text-decoration: none;
  transition: color .2s, padding .25s;
}
html body .mk-dir-col a::after { content: "\2192"; color: var(--mk-violet); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s; }
html body .mk-dir-col a:hover { color: var(--mk-violet); padding-left: 6px; }
html body .mk-dir-col a:hover::after { opacity: 1; transform: none; }

/* ---------- Steps ---------- */
html body .mk-step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; counter-reset: none; }
html body .mk-step-list li {
  position: relative; padding: 36px 32px 34px; border-radius: 22px;
  background: linear-gradient(180deg, #fff, #fbfaf7); border: 1px solid var(--pub-line);
}
html body .mk-step-num {
  display: block; margin-bottom: 56px;
  font-family: var(--pub-display); font-size: 64px; line-height: 1; color: var(--mk-violet); letter-spacing: -0.03em;
}
html body .mk-step-list h3 { margin: 0 0 10px; font-size: 21px; font-weight: 600; letter-spacing: -0.02em; color: var(--pub-ink); }
html body .mk-step-list p { margin: 0; color: var(--pub-muted); font-size: 15px; line-height: 1.6; }

/* ---------- After you book ---------- */
html body .mk-after { padding-top: 0; }
html body .mk-after-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
html body .mk-feature {
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 26px; text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
html body .mk-feature:hover { transform: translateY(-4px); box-shadow: 0 40px 60px -36px rgba(22,20,31,.45); }
html body .mk-feature--light { background: linear-gradient(160deg, #efeaff, #f8f5ff 55%, #fff4ee); color: var(--pub-ink); border: 1px solid #e4dcff; }
html body .mk-feature--dark { background: var(--mk-ink); color: #fff; }
html body .mk-feature-art { height: 260px; display: flex; align-items: center; justify-content: center; position: relative; }
html body .mk-feature--dark .mk-feature-art { background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(90,50,230,.45), transparent 70%); }
html body .mk-feature-copy { padding: 0 36px 36px; }
html body .mk-feature h3 { margin: 0 0 10px; font-size: 24px; font-weight: 600; letter-spacing: -0.02em; color: inherit; }
html body .mk-feature p { margin: 0 0 22px; font-size: 15px; line-height: 1.6; color: var(--pub-muted); max-width: 460px; }
html body .mk-feature--dark p { color: rgba(255,255,255,.62); }
html body .mk-feature--dark .mk-link { color: #fff; }

/* Workpass credential illustration */
html body .mk-cred {
  width: 300px; padding: 20px 22px; border-radius: 18px; background: #fff;
  box-shadow: 0 30px 50px -24px rgba(60,30,160,.45), 0 0 0 1px rgba(90,50,230,.08);
  transform: rotate(-4deg); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
html body .mk-feature:hover .mk-cred { transform: rotate(0) scale(1.03); }
html body .mk-cred-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
html body .mk-cred-brand { font-weight: 700; font-size: 13px; letter-spacing: -0.01em; color: var(--mk-violet); }
html body .mk-cred-ok { font-size: 11px; font-weight: 600; color: var(--pub-success); background: var(--pub-success-soft); padding: 4px 8px; border-radius: 999px; }
html body .mk-cred-ok i { margin-right: 5px; }
html body .mk-cred-name { font-family: var(--pub-display); font-size: 28px; line-height: 1.05; margin-bottom: 16px; color: var(--pub-ink); }
html body .mk-cred-rows { display: flex; gap: 24px; font-size: 11px; color: var(--pub-subtle); text-transform: uppercase; letter-spacing: .06em; }
html body .mk-cred-rows b { display: block; margin-top: 4px; font-size: 14px; color: var(--pub-ink); text-transform: none; letter-spacing: 0; font-weight: 600; }
html body .mk-cred-code {
  margin-top: 18px; height: 22px; border-radius: 4px; opacity: .85;
  background: repeating-linear-gradient(90deg, var(--pub-ink) 0 2px, transparent 2px 4px, var(--pub-ink) 4px 5px, transparent 5px 9px, var(--pub-ink) 9px 12px, transparent 12px 14px);
}

/* Workprove matrix illustration */
html body .mk-matrix {
  width: 340px; padding: 10px; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transform: translateY(6px); transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
html body .mk-feature:hover .mk-matrix { transform: translateY(-2px); }
html body .mk-matrix-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px; border-radius: 12px; font-size: 14px; color: rgba(255,255,255,.88);
}
html body .mk-matrix-row + .mk-matrix-row { border-top: 1px solid rgba(255,255,255,.07); }
html body .mk-matrix-row em { font-style: normal; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
html body .mk-matrix-row em.ok { color: #9ff0c9; background: rgba(61,220,151,.12); }
html body .mk-matrix-row em.due { color: #ffd38a; background: rgba(255,180,60,.13); }
html body .mk-matrix-row em.book { color: #cbbcff; background: rgba(155,130,255,.16); }

/* ---------- Provider CTA ---------- */
html body .mk-provider { padding-top: 0; }
html body .mk-provider-panel {
  position: relative; isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  padding: 72px 64px; border-radius: 28px; background: var(--mk-ink); color: #fff;
}
html body .mk-provider-panel .mk-h2 { color: #fff; font-size: clamp(34px, 4vw, 52px); }
html body .mk-provider-panel .mk-h2 em { color: var(--mk-lilac); }
html body .mk-provider-copy p { margin: 18px 0 0; max-width: 560px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.65); }
html body .mk-provider-actions { flex: none; }

/* Shared course cards elsewhere (storefront list, course pages): titles in the sans */
html body .event-name { font-family: var(--pub-sans) !important; font-weight: 600 !important; letter-spacing: -0.015em; }
html body .event-price { font-family: var(--pub-sans) !important; font-weight: 650 !important; letter-spacing: -0.02em; }

/* FAQ under the new homepage sits on the same canvas */
html body .mk ~ .faq-section, html body .mk + * .faq-section { background: transparent; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  html body .mk-hero-inner { grid-template-columns: minmax(0,1fr); gap: 48px; padding: 80px 28px 72px; }
  html body .mk-board { transform: none; max-width: 620px; }
  html body .mk-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  html body .mk-explore-grid { grid-template-columns: minmax(0,1fr); gap: 48px; }
  html body .mk-explore-intro { position: static; }
}
@media (max-width: 767px) {
  html body .mk-wrap { padding: 0 16px; }
  html body .mk-section { padding: 72px 0; }
  html body .mk-hero { padding: 8px 8px 0; }
  html body .mk-hero-panel { border-radius: 22px; }
  html body .mk-hero-inner { padding: 56px 18px 40px; gap: 36px; }
  html body .mk-h1 { font-size: 46px; margin: 22px 0 16px; }
  html body .mk-lede { font-size: 16px; margin-bottom: 26px; }
  html body .mk-search-bar { padding: 6px 6px 6px 16px; }
  html body .mk-search .search-input { height: 46px; font-size: 16px; }
  html body .mk-search-btn { height: 46px; padding: 0 16px; }
  html body .mk-search-btn i { display: none; }
  html body .mk-search #CourseList { left: -38px; right: -90px; }
  html body .mk-assure { gap: 10px 18px; font-size: 13px; margin-top: 28px; }
  html body .mk-board { padding: 8px; border-radius: 20px; }
  html body .mk-board-row { gap: 12px; padding: 12px; }
  html body .mk-date { width: 46px; height: 50px; }
  html body .mk-board-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  html body .mk-marquee li { font-size: 21px; padding: 0 22px; }
  html body .mk-head { flex-direction: column; align-items: flex-start; margin-bottom: 32px; }
  html body .mk-head--center { align-items: center; }
  html body .mk-cards, html body .mk-step-list, html body .mk-after-grid, html body .mk-directory { grid-template-columns: minmax(0,1fr); }
  html body .mk-step-num { margin-bottom: 28px; font-size: 52px; }
  html body .mk-cards .mk-card:nth-child(n+4):not(.mk-card-more) { display: none; }
  html body .mk-feature-art { height: 220px; }
  html body .mk-cred { width: 260px; }
  html body .mk-matrix { width: 290px; }
  html body .mk-feature-copy { padding: 0 24px 28px; }
  html body .mk-provider-panel { flex-direction: column; align-items: flex-start; padding: 44px 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html body .mk-marquee-track, html body .mk-pulse::after { animation: none; }
  html body .mk-board-row { animation: none; opacity: 1; }
  html body .mk-board { transform: none; }
}

/* ---------- Provider storefront (index.php provider mode, .mk--store) ----------
   Same system as the marketplace homepage, tinted with the provider's colour. */
html body .mk--store { --mk-violet: var(--pub-brand); --mk-lilac: color-mix(in srgb, var(--pub-brand) 35%, #fff); }
/* Their "About us" (only when they have written one): name left, their words right */
html body .mk--store .mk-about { padding: 88px 0 0; }
html body .mk--store .mk-about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
html body .mk--store .mk-about .mk-h2 { font-size: clamp(30px, 3.4vw, 44px); }
html body .mk--store .mk-about-text { font-size: 19px; line-height: 1.65; color: var(--pub-muted); padding-top: 34px; border-top: 1px solid color-mix(in srgb, var(--pub-ink) 10%, transparent); }
@media (max-width: 860px) {
  html body .mk--store .mk-about { padding-top: 64px; }
  html body .mk--store .mk-about-grid { grid-template-columns: 1fr; gap: 20px; }
  html body .mk--store .mk-about-text { font-size: 17px; padding-top: 20px; }
}
html body .mk--store .mk-glow-a { background: radial-gradient(closest-side, rgba(var(--primary-rgb), .8), transparent); }
html body .mk--store .mk-glow-b { background: radial-gradient(closest-side, rgba(var(--primary-rgb), .55), transparent); }
html body .mk--store .mk-h1--store { font-size: clamp(44px, 5.6vw, 80px); }
html body .mk--store .mk-h1 em { background: linear-gradient(100deg, color-mix(in srgb, var(--pub-brand) 30%, #fff), color-mix(in srgb, var(--pub-brand) 55%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
html body .mk--store .mk-search-bar:focus-within { box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.4), 0 0 0 8px rgba(var(--primary-rgb), .35); }
html body .mk--store .mk-feature, html body .mk--store .mk-dir-col a:hover { color: var(--pub-brand); }
html body .mk-date { background: color-mix(in srgb, var(--mk-violet) 9%, #fff); }
html body .mk-date--any { gap: 6px; }
html body .mk-date--any i { font-size: 18px; }
html body .mk-date--any small { font-size: 9px; letter-spacing: .04em; }
html body .mk-reviews { padding-top: 0; }
html body .mk-reviews .card, html body .mk-reviews [class*="review-card"] { border-radius: 20px; border: 1px solid var(--pub-line); box-shadow: none; }

/* ==========================================================================
   Course search, premium v2 (courses/index.php screen 1)
   Row cards (.event-card.rc) are rendered by getEventCard() in courses/index.php.
   ========================================================================== */
html body #screen1 .results-hero { padding: 40px 0 20px !important; }
html body #screen1 .results-hero h1,
html body #screen1 .results-hero h2.results-hero-title { font-size: clamp(40px, 5vw, 64px) !important; letter-spacing: -0.025em; margin-bottom: 10px; }
html body #screen1 .results-hero p { font-size: 17px; max-width: 620px; }

/* main.css sets * { font-size: 14px }; inside row cards, children inherit instead */
html body :where(.event-card.rc) :where(*) { font-size: inherit; }
html body .event-card.rc { font-size: 15px; }

/* Search bar: one big pill */
html body .cc-search-bar.card {
  border: 1px solid var(--pub-line) !important;
  border-radius: 999px !important;
  background: #fff;
  box-shadow: 0 18px 40px -26px rgba(22,20,31,.35), 0 1px 2px rgba(22,20,31,.04) !important;
  margin-bottom: 18px;
  transition: box-shadow .25s, border-color .25s;
}
html body .cc-search-bar.card:focus-within { border-color: rgba(90,50,230,.45) !important; box-shadow: 0 18px 40px -26px rgba(22,20,31,.35), 0 0 0 6px rgba(90,50,230,.10) !important; }
html body .cc-search-bar .card-body { padding: 8px 8px 8px 18px !important; }
html body .cc-search-bar #intelligentSearchInput { height: 48px; font-size: 16px !important; background: transparent; color: var(--pub-ink); }
html body .cc-search-bar #intelligentSearchBtn {
  height: 48px; padding: 0 26px !important; border-radius: 999px; border: 0;
  background: var(--pub-brand); font-size: 15px; font-weight: 600;
}
html body .cc-search-bar #intelligentSearchBtn:hover { background: var(--pub-brand-hover); }
html body .cc-search-bar #voiceSearchBtn { width: 44px; height: 44px; border-radius: 50%; color: var(--pub-subtle) !important; }
html body .cc-search-bar #voiceSearchBtn:hover { background: var(--pub-sunken); color: var(--pub-ink) !important; }
html body .cc-search-bar #ccTopSearchList { top: calc(100% + 14px) !important; border-radius: 16px !important; border-color: var(--pub-line) !important; box-shadow: var(--pub-shadow-raised); }

/* Filters: a quiet panel, not a stack of boxes */
html body .desktop-filters .sticky-filters.card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
html body .desktop-filters .sticky-filters > .card-body > .d-flex:first-child { padding: 6px 2px 14px !important; border-bottom: 1px solid var(--pub-ink); }
html body .desktop-filters .sticky-filters h5 {
  font-family: var(--pub-mono); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--pub-ink);
}
html body #clearBtn, html body #clearBtnMobile {
  border: 0 !important; background: transparent !important; padding: 0 !important;
  font-size: 13px; font-weight: 500; color: var(--pub-brand) !important; text-decoration: underline; text-underline-offset: 3px;
}
html body :is(#filterContent, #filterContentMobile) .accordion { --bs-accordion-bg: transparent; --bs-accordion-border-width: 0; }
html body :is(#filterContent, #filterContentMobile) .accordion-item { background: transparent; border: 0; border-bottom: 1px solid var(--pub-line); border-radius: 0 !important; }
html body :is(#filterContent, #filterContentMobile) .accordion-button {
  background: transparent !important; box-shadow: none !important;
  padding: 16px 2px; font-size: 15px; font-weight: 550; color: var(--pub-ink) !important;
}
html body :is(#filterContent, #filterContentMobile) .accordion-button i:first-child { width: 18px; color: var(--pub-subtle); font-size: 13px; }
html body :is(#filterContent, #filterContentMobile) .accordion-button::after { background-size: 12px; opacity: .55; }
html body :is(#filterContent, #filterContentMobile) .accordion-body { padding: 2px 2px 18px; }
html body :is(#filterContent, #filterContentMobile) .form-control,
html body :is(#filterContent, #filterContentMobile) .form-select { border-radius: 10px; border-color: var(--pub-line); font-size: 14px; min-height: 42px; }
html body :is(#filterContent, #filterContentMobile) .form-check-input:checked { background-color: var(--pub-ink); border-color: var(--pub-ink); }
html body :is(#filterContent, #filterContentMobile) .form-range::-webkit-slider-thumb { background: var(--pub-ink); }
html body :is(#filterContent, #filterContentMobile) .badge.bg-primary { background: var(--pub-ink) !important; border-radius: 999px; font-weight: 500; }

/* Toolbar: flatten the card into a single quiet row */
html body #Results-container > .card.mb-2 { background: transparent !important; border: 0 !important; box-shadow: none !important; margin-bottom: 4px !important; }
html body #Results-container > .card.mb-2 > .card-body { padding: 0 0 6px !important; }
html body #Results-container > .card.mb-2 .row { align-items: center; }
html body .view-toggle-container { display: flex; align-items: center; gap: 10px; }
html body .view-toggle-container .nav-pills,
html body .card-view-toggle {
  display: inline-flex; gap: 2px; padding: 4px; margin: 0;
  background: #fff; border: 1px solid var(--pub-line); border-radius: 999px;
}
html body .view-toggle-container .nav-pills .nav-link,
html body .card-view-toggle button {
  display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px !important; border: 0; border-radius: 999px !important;
  background: transparent !important; color: var(--pub-muted) !important;
  font-size: 13px; font-weight: 550; box-shadow: none !important;
}
html body .view-toggle-container .nav-pills .nav-link.active,
html body .card-view-toggle button.active { background: var(--pub-ink) !important; color: #fff !important; }
html body #count { font-variant-numeric: tabular-nums; }
html body #sortByWrapper { display: flex; align-items: center; gap: 10px; }
html body #sortByWrapper .form-label { margin: 0; white-space: nowrap; color: var(--pub-subtle); font-size: 13px; }
html body #searchSort { border-radius: 999px; border-color: var(--pub-line); height: 42px; font-size: 14px; max-width: 260px; }

/* Active filter chips */
html body .cc-chips .cc-chip, html body .cc-chips > * { border-radius: 999px; }

/* ---------- Row card ---------- */
html body .event-card.rc {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 22px 24px;
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid var(--pub-line);
  border-radius: 20px;
  box-shadow: none;
  overflow: visible;
  transform: none;
  transition: border-color .25s, box-shadow .3s, transform .3s cubic-bezier(.2,.7,.2,1);
}
html body .event-card.rc:hover {
  transform: translateY(-2px);
  border-color: transparent;
  box-shadow: 0 24px 44px -28px rgba(22,20,31,.35), 0 0 0 1px rgba(90,50,230,.2);
}
html body .event-card.rc:has(.rc-thumb) { grid-template-columns: auto auto minmax(0, 1fr) auto; }
html body .rc-thumb { width: 88px; height: 88px; border-radius: 14px; overflow: hidden; background: var(--pub-sunken); }
html body .rc-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

html body .rc-date {
  width: 64px; height: 76px; border-radius: 14px; flex: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: #f3f0ff; color: var(--pub-brand); line-height: 1;
}
html body .rc-date em { font-style: normal; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
html body .rc-date b { font-size: 26px; font-weight: 650; letter-spacing: -0.03em; }
html body .rc-date small { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
html body .rc-date--any { gap: 8px; text-align: center; }
html body .rc-date--any i { font-size: 20px; }
html body .rc-date--any small { font-size: 10px; letter-spacing: .04em; }

html body .rc-main { min-width: 0; }
html body .rc-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-bottom: 8px; font-size: 13px; color: var(--pub-subtle); }
html body .rc-type { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--pub-ink); padding: 3px 8px; border-radius: 6px; background: var(--pub-sunken); }
html body .rc-type--elearning { background: #e9f6ff; color: #0b5c8f; }
html body .rc-confirmed { display: inline-flex; align-items: center; gap: 5px; color: var(--pub-success); font-weight: 550; }
html body .rc-provisional { color: var(--pub-subtle); border-bottom: 1px dotted var(--pub-line-strong); cursor: help; }
html body .rc-title { margin: 0 0 10px; font-family: var(--pub-sans) !important; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
html body .rc-title a { color: var(--pub-ink); text-decoration: none; }
html body .rc-title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
html body .event-card.rc:hover .rc-title a { color: var(--pub-brand); }
html body .rc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--pub-muted); }
html body .rc-meta i { margin-right: 7px; color: var(--pub-subtle); }
html body .rc-dist { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--pub-brand); }
html body .rc-facilities { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
html body .rc-facilities span { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--pub-sunken); font-size: 12px; color: var(--pub-muted); }

html body .rc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; text-align: right; min-width: 190px; }
html body .rc-price { font-size: 28px; font-weight: 650; letter-spacing: -0.03em; line-height: 1; color: var(--pub-ink); font-variant-numeric: tabular-nums; }
html body .rc-price small { display: block; margin-top: 6px; font-size: 12px; font-weight: 500; letter-spacing: 0; color: var(--pub-subtle); }
html body .rc-left { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--pub-success); background: none !important; padding: 0 !important; }
html body .rc-left::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
html body .rc-left.availability-low, html body .rc-left.availability-medium { color: #b45309; }
html body .rc-left.availability-full { color: var(--pub-subtle); }
html body .rc-actions { position: relative; z-index: 2; display: flex; gap: 8px; margin-top: 6px; }
html body .rc-cta {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px !important; border: 0;
  background: var(--pub-ink) !important; color: #fff !important; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .2s;
}
html body .rc-cta:hover { background: var(--pub-brand) !important; }
html body .rc-cta i { transition: transform .25s; }
html body .rc-cta:hover i { transform: translateX(3px); }
html body .rc-share {
  width: 44px; height: 44px; padding: 0; border-radius: 50% !important;
  border: 1px solid var(--pub-line) !important; background: #fff !important; color: var(--pub-ink) !important;
}
html body .rc-share:hover { border-color: var(--pub-ink) !important; }
html body .rc--full { opacity: .72; }
html body .rc-side .discount, html body .rc-side small.text-success { font-size: 12px; }

/* Condensed view and other legacy cards: same surface */
html body .event-card.condensed { border: 1px solid var(--pub-line); border-radius: 16px; box-shadow: none; }
html body .event-card.condensed:hover { transform: none; box-shadow: 0 16px 30px -24px rgba(22,20,31,.35); }

/* Pagination */
html body #pagination { gap: 6px; margin-top: 28px; }
html body #pagination .page-link {
  min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--pub-line); border-radius: 999px !important; background: #fff; color: var(--pub-ink);
  font-size: 14px; font-weight: 550; padding: 0 14px;
}
html body #pagination .page-item.active .page-link { background: var(--pub-ink); border-color: var(--pub-ink); color: #fff; }
html body #pagination .page-item.disabled .page-link { opacity: .45; }

/* Sponsored rail: the house card in the brand ink */
html body .cc-ad-rail-head { font-family: var(--pub-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--pub-subtle); }
html body .cc-ad-house { background: var(--pub-ink) !important; border-radius: 18px !important; border: 0 !important; padding: 22px !important; }
html body .cc-ad-house-title { font-family: var(--pub-display) !important; font-size: 24px !important; font-weight: 400 !important; line-height: 1.1; color: #fff !important; }
html body .cc-ad-house-cta { border-radius: 999px !important; font-weight: 600; }

/* Skeletons match the new card */
html body .cc-skel-card { border-radius: 20px !important; border: 1px solid var(--pub-line) !important; box-shadow: none !important; }

@media (max-width: 991px) {
  html body .event-card.rc { grid-template-columns: auto minmax(0,1fr); gap: 16px 18px; padding: 18px; }
  html body .event-card.rc:has(.rc-thumb) { grid-template-columns: auto minmax(0,1fr); }
  html body .rc-thumb { display: none; }
  html body .rc-side { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; text-align: left; min-width: 0; padding-top: 14px; border-top: 1px solid var(--pub-line); }
  html body .rc-price { font-size: 24px; }
  html body .rc-price small { display: inline; margin: 0 0 0 6px; }
  html body .rc-left { order: -1; width: 100%; }
  html body .rc-actions { margin-top: 0; }
}
@media (max-width: 575px) {
  html body #screen1 .results-hero { padding-top: 20px !important; }
  html body #screen1 .results-hero h1 { font-size: 38px !important; }
  html body .rc-date { width: 54px; height: 64px; }
  html body .rc-date b { font-size: 22px; }
  html body .rc-title { font-size: 17px; }
  html body .rc-meta { font-size: 13px; flex-direction: column; gap: 4px; }
  html body .rc-cta { height: 42px; padding: 0 16px; }
  html body .rc-share { width: 42px; height: 42px; }
  html body .cc-search-bar .card-body { padding-left: 14px !important; }
  html body .cc-search-bar #intelligentSearchBtn { padding: 0 16px !important; }
  html body #sortByWrapper .form-label { display: none; }
}
/* ==========================================================================
   Course page, premium v2 (courses/index.php screen 2)
   ========================================================================== */
html body #screen2 { padding-top: 28px !important; }
html body :where(#screen2) :where(.card-body, .accordion-body) :where(p, li, div, span, td, th, small, strong, a) { font-size: inherit; }
html body #screen2 .card-body, html body #screen2 .accordion-body { font-size: 15px; line-height: 1.65; color: var(--pub-muted); }

html body .cd-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 550; color: var(--pub-muted) !important; text-decoration: none;
}
html body .cd-back:hover { color: var(--pub-ink) !important; }
html body .cd-back i { transition: transform .25s; }
html body .cd-back:hover i { transform: translateX(-3px); }

html body #screen2_details > .row { --bs-gutter-x: 40px; --bs-gutter-y: 0; }

/* Every content card: white sheet, generous padding, mono kicker title */
html body #screen2_details .card {
  border: 1px solid var(--pub-line) !important;
  border-radius: 22px !important;
  box-shadow: none !important;
  margin-bottom: 14px !important;
  background: #fff;
}
html body #screen2_details .card > .card-body { padding: 30px 32px; }
html body #screen2_details .card-title {
  display: flex; align-items: center; gap: 0;
  margin-bottom: 18px !important;
  font-family: var(--pub-mono) !important; font-size: 12px !important; font-weight: 500 !important;
  letter-spacing: .12em; text-transform: uppercase; color: var(--pub-ink);
}
html body #screen2_details .card-title > i { display: none; }

/* Header: no card, display type */
html body #screen2_details .cd-head { background: transparent !important; border: 0 !important; margin-bottom: 8px !important; }
html body #screen2_details .card.cd-head > .card-body { padding: 0 0 8px; }
html body #EventDetailsCourseName {
  font-family: var(--pub-display) !important; font-weight: 400 !important;
  font-size: clamp(40px, 4.8vw, 64px) !important; line-height: 1.02; letter-spacing: -0.025em;
  color: var(--pub-ink); margin-bottom: 14px !important;
}
html body .cd-head .text-muted { font-size: 15px; color: var(--pub-muted) !important; }
html body .cd-head #Provider { color: var(--pub-ink); font-weight: 550; }
html body .cd-chip {
  display: inline-flex; align-items: center; gap: 8px;
  height: 34px; padding: 0 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--pub-line);
  font-size: 13px !important; font-weight: 550; color: var(--pub-ink);
}
html body .cd-chip * { font-size: inherit; }
html body .cd-chip i { color: var(--pub-brand); }
html body #sharebtn .btn {
  height: 40px; padding: 0 16px; border-radius: 999px !important;
  border: 1px solid var(--pub-line) !important; background: #fff !important; color: var(--pub-ink) !important;
  font-size: 14px; font-weight: 550;
}
html body #sharebtn .btn:hover { border-color: var(--pub-ink) !important; }

/* Overview: three big facts */
html body #screen2_details .cd-overview > .card-body { padding: 0; }
html body #screen2_details .cd-overview .card-title { display: none; }
html body #screen2_details .cd-overview .row { --bs-gutter-x: 0; --bs-gutter-y: 0; margin: 0; }
html body #screen2_details .cd-overview .row > div { padding: 24px 28px; }
html body #screen2_details .cd-overview .row > div + div { border-left: 1px solid var(--pub-line); }
html body #screen2_details .cd-overview .row > div > .d-flex > i { display: none; }
html body #screen2_details .cd-overview small {
  font-family: var(--pub-mono); font-size: 11px !important; letter-spacing: .12em; text-transform: uppercase;
  color: var(--pub-subtle) !important; margin-bottom: 8px;
}
html body #screen2_details .cd-overview strong { font-size: 18px !important; font-weight: 600; color: var(--pub-ink); letter-spacing: -0.01em; }
html body .cd-avail { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--pub-success); }
html body .cd-avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
html body .cd-avail.is-mid, html body .cd-avail.is-low { color: #b45309; }
html body .cd-avail.is-full { color: #b42318; }

/* About */
html body #DescriptionLong { font-size: 16px; line-height: 1.75; color: #3d3a4b; }
html body #DescriptionLong p:last-child { margin-bottom: 0; }

/* Schedule table */
html body #scheduleCard .table { margin: 0; --bs-table-hover-bg: var(--pub-sunken); }
html body #scheduleCard thead th {
  background: transparent !important; border-bottom: 1px solid var(--pub-ink) !important;
  font-family: var(--pub-mono); font-size: 11px !important; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--pub-subtle);
  padding: 0 12px 12px 0;
}
html body #scheduleCard tbody td { padding: 16px 12px 16px 0; border-color: var(--pub-line); font-size: 15px !important; color: var(--pub-ink); }

/* Location */
html body #locationCard h6 { font-family: var(--pub-mono); font-size: 11px !important; font-weight: 500 !important; letter-spacing: .12em; text-transform: uppercase; color: var(--pub-subtle); margin-bottom: 12px !important; }
html body #EventAddress { font-size: 16px !important; color: var(--pub-ink); line-height: 1.6; }
html body #event_details_map { border-radius: 16px !important; overflow: hidden; border: 1px solid var(--pub-line); }
html body #event_details_map:empty { display: none; }
html body #locationCard .bg-light { background: var(--pub-sunken) !important; border-radius: 14px !important; padding: 14px 16px !important; }
html body #locationCard .bg-light .fa-2x { font-size: 20px; color: var(--pub-success) !important; width: 24px; }
html body #locationCard .bg-light strong { color: var(--pub-ink); }

/* Details accordion: ruled rows */
html body #courseDetailsAccordion { background: #fff; border: 1px solid var(--pub-line); border-radius: 22px; padding: 6px 32px; margin-bottom: 14px !important; }
html body #courseDetailsAccordion .accordion-item { border: 0; border-bottom: 1px solid var(--pub-line); background: transparent; border-radius: 0 !important; }
html body #courseDetailsAccordion .accordion-item:last-child { border-bottom: 0; }
html body #courseDetailsAccordion .accordion-button {
  padding: 20px 0; background: transparent !important; box-shadow: none !important;
  font-size: 17px; font-weight: 600; color: var(--pub-ink) !important; letter-spacing: -0.01em;
}
html body #courseDetailsAccordion .accordion-button > i { display: none; }
html body #courseDetailsAccordion .accordion-body { padding: 0 0 22px; }

/* Booking panel */
html body .sticky-booking-panel { top: 92px !important; max-height: none !important; overflow: visible !important; }
html body #screen2_details .cd-book {
  border: 0 !important; overflow: hidden;
  box-shadow: 0 40px 70px -40px rgba(22,20,31,.45), 0 0 0 1px var(--pub-line) !important;
}
html body .cd-book .pricing-card-header {
  background: var(--pub-ink) !important; border: 0; padding: 16px 26px;
}
html body .cd-book .pricing-card-header h5 {
  font-family: var(--pub-mono); font-size: 12px !important; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75);
}
html body .cd-book .pricing-card-header h5 i { display: none; }
html body .cd-book > .card-body { padding: 26px !important; }
html body .cd-book .text-center.mb-3 { text-align: left !important; }
html body #priceUnitLabel { font-size: 13px !important; color: var(--pub-subtle) !important; margin-bottom: 6px !important; }
html body #EventPrice {
  font-family: var(--pub-sans) !important; font-size: 52px !important; font-weight: 650 !important;
  letter-spacing: -0.035em; line-height: 1; color: var(--pub-ink) !important; margin-bottom: 14px;
}
html body #EventPrice * { font-size: inherit; }
html body #pricingAvailability { font-size: 14px !important; }
html body #pricingAvailability * { font-size: inherit; }
html body .cd-book .btn-booknow-hero {
  height: 56px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px !important; border: 0 !important;
  background: var(--pub-brand) !important; color: #fff !important;
  font-size: 16px !important; font-weight: 600; box-shadow: 0 16px 30px -16px rgba(90,50,230,.7) !important;
  transition: transform .2s, background .2s;
}
html body .cd-book .btn-booknow-hero:hover { background: var(--pub-brand-hover) !important; transform: translateY(-1px); }
html body .cd-book .btn-booknow-hero::after { display: none !important; }
html body .cd-book .btn-booknow-hero i { transition: transform .25s; }
html body .cd-book .btn-booknow-hero:hover i { transform: translateX(3px); }
html body .cd-book .text-center.text-muted.small { font-size: 13px !important; margin-top: 12px !important; }
html body .cd-book .border-top { border-color: var(--pub-line) !important; }
html body .cd-book .border-top span { font-size: 13px; }

html body #quickContactCard h6, html body #screen2_details .card.bg-light h6 {
  font-family: var(--pub-mono); font-size: 12px !important; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--pub-ink);
}
html body #quickContactCard h6 i, html body #screen2_details .card.bg-light h6 i { display: none; }
html body #quickContactCard > .card-body, html body #screen2_details .card.bg-light > .card-body { padding: 24px 26px; }
html body #contactButtons .btn {
  height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px !important; border: 1px solid var(--pub-line) !important; background: #fff !important; color: var(--pub-ink) !important; font-weight: 550;
}
html body #contactButtons .btn:hover { border-color: var(--pub-ink) !important; }
html body #screen2_details .card.bg-light { background: transparent !important; border-style: dashed !important; }
html body #screen2_details .card.bg-light .fa-check-circle { color: var(--pub-success) !important; }

@media (max-width: 991px) {
  html body #screen2_details > .row { --bs-gutter-x: 0; }
  html body .sticky-booking-panel { position: static !important; }
}
@media (max-width: 575px) {
  html body #screen2_details .card > .card-body { padding: 22px 20px; }
  html body #screen2_details .cd-overview .row > div { padding: 18px 20px; }
  html body #screen2_details .cd-overview .row > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--pub-line); }
  html body #courseDetailsAccordion { padding: 4px 20px; }
  html body #EventDetailsCourseName { font-size: 38px !important; }
}

/* Phone booking bar */
html body .cd-mbar { display: none; }
@media (max-width: 991px) {
  html body .cd-mbar {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 1030;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 10px 10px 20px; border-radius: 999px;
    background: rgba(15,13,26,.94); color: #fff;
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
  }
  html body .cd-mbar-price { display: flex; flex-direction: column; line-height: 1.1; }
  html body #cdBarPrice { font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
  html body #cdBarPrice * { font-size: inherit; }
  html body #cdBarUnit { font-size: 12px; color: rgba(255,255,255,.6); }
  html body .cd-mbar-btn {
    display: inline-flex; align-items: center; height: 46px; padding: 0 22px; border-radius: 999px;
    background: var(--pub-brand); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap;
  }
  html body .cd-mbar-btn * { font-size: inherit; }
  html body #screen2 { padding-bottom: 84px; }
}

/* Search page on phones: quieter filter button, no detailed/compact switch */
@media (max-width: 991px) {
  html body .mobile-filter-btn {
    height: 46px; border-radius: 999px !important; border: 1px solid var(--pub-line) !important;
    background: #fff !important; color: var(--pub-ink) !important; font-weight: 600; box-shadow: none !important;
  }
  html body .mobile-filter-btn .filter-count-badge { background: var(--pub-brand); color: #fff; border-radius: 999px; padding: 1px 8px; margin-left: 6px; font-size: 12px; }
  html body .card-view-toggle { display: none !important; }
}
html body .cd-avail { white-space: nowrap; }

/* Phones: search bar first, then the filter button */
@media (max-width: 991px) { html body #searchResults-container > .row > .col-12:has(> .cc-search-bar) { order: -1; } }
/* ---------- Footer, premium v2 ---------- */
html body .site-footer { background: #0f0d1a; color: rgba(255,255,255,.62); position: relative; overflow: hidden; }
html body .site-footer::before {
  content: ""; position: absolute; left: 50%; top: -260px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(90,50,230,.35), transparent); pointer-events: none;
}
html body .site-footer > .container { position: relative; max-width: 1240px; }
html body .site-footer .footer-main { padding: 88px 0 48px; }
html body .footer-statement {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.1);
}
html body .footer-statement-title {
  margin: 0; font-family: var(--pub-display) !important; font-size: clamp(44px, 6vw, 88px) !important;
  line-height: .98; letter-spacing: -0.025em; color: #fff;
}
html body .footer-statement-title * { font-family: inherit !important; font-size: inherit !important; }
html body .footer-statement-title em { color: #b9a8ff; }
html body .footer-statement-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 26px; border-radius: 999px;
  background: #fff; color: #0f0d1a !important; font-size: 15px !important; font-weight: 600; text-decoration: none;
  transition: transform .2s, background .2s;
}
html body .footer-statement-btn * { font-size: inherit !important; }
html body .footer-statement-btn:hover { background: #ece7ff; transform: translateY(-1px); }
html body .site-footer .footer-cc-logo-wrap { background: transparent !important; padding: 0 !important; margin-bottom: 18px; }
html body .site-footer .footer-cc-logo { height: 30px; filter: brightness(0) invert(1); opacity: .95; }
html body .site-footer .footer-tagline { font-size: 15px !important; line-height: 1.6; color: rgba(255,255,255,.62); max-width: 320px; }
html body .site-footer .footer-tagline * { font-size: inherit !important; }
html body .site-footer .footer-column h4 {
  font-family: var(--pub-mono) !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .14em;
  color: rgba(255,255,255,.45) !important; opacity: 1; margin-bottom: 20px;
}
html body .site-footer .footer-links li { margin-bottom: 12px; }
html body .site-footer .footer-links a { font-size: 15px !important; color: rgba(255,255,255,.78) !important; }
html body .site-footer .footer-links a:hover { color: #fff !important; }
html body .site-footer .footer-links a i { font-size: 14px !important; }
html body .site-footer .footer-badge { width: 52px; height: 52px; border-radius: 12px; }
html body .site-footer .footer-badge-chip { height: 52px; font-size: 12px !important; }
html body .site-footer .footer-bottom { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; }
html body .site-footer .footer-bottom * { font-size: 13px !important; }
html body .site-footer .footer-copyright, html body .site-footer .footer-legal a { color: rgba(255,255,255,.5) !important; }
html body .site-footer .footer-made-with { font-family: var(--pub-mono); font-size: 11px !important; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.35) !important; padding-bottom: 28px; }
html body .site-footer .footer-made-with i { color: #b9a8ff; font-size: 11px !important; }
/* White-label storefront footer */
html body .site-footer .footer-provider-name { font-family: var(--pub-display) !important; font-weight: 400 !important; font-size: 36px !important; letter-spacing: -0.02em; }
html body .site-footer .footer-provider-contact, html body .site-footer .footer-provider-links a { font-size: 14px !important; }
@media (max-width: 575px) {
  html body .site-footer .footer-main { padding-top: 64px; }
  html body .footer-statement { padding-bottom: 40px; margin-bottom: 40px; }
  html body .site-footer .footer-brand-section, html body .site-footer .footer-column { text-align: left !important; }
  html body .site-footer .footer-links a { justify-content: flex-start !important; }
  html body .site-footer .footer-badges { justify-content: flex-start !important; }
}
/* ==========================================================================
   Marketing pages, premium v2: /individual/, /employer/, /provider/
   The three pages share one class vocabulary (hero-*, feature-*, section-*,
   ecosystem-*, cta-*), so one layer lifts all three.
   ========================================================================== */

/* Hero: the dark inset panel used on the homepage */
html body :is(.hero-individual, .hero-employer, .hero-provider) {
  margin: 12px 12px 0;
  padding: 120px 0 112px !important;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 700px 480px at 12% -10%, rgba(90,50,230,.7), transparent 65%),
    radial-gradient(ellipse 760px 520px at 100% 120%, rgba(124,92,240,.45), rgba(255,140,90,.08) 70%, transparent 80%),
    #0f0d1a !important;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
html body :is(.hero-individual, .hero-employer, .hero-provider)::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}
html body :is(.hero-individual, .hero-employer, .hero-provider)::after { display: none !important; }
html body :is(.hero-content-individual, .hero-content-employer, .hero-content-provider) { max-width: 900px !important; }
html body .hero-tagline {
  background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.14) !important; box-shadow: none !important;
  color: rgba(255,255,255,.85) !important; font-weight: 500 !important; padding: 8px 16px !important;
}
html body .hero-tagline .dot { background: #3ddc97 !important; }
html body :is(.hero-title-individual, .hero-title-employer, .hero-title-provider) {
  font-family: var(--pub-display) !important; font-weight: 400 !important;
  font-size: clamp(52px, 7.4vw, 104px) !important; line-height: .96 !important; letter-spacing: -0.03em !important;
  color: #fff !important; margin-bottom: 28px !important;
}
html body :is(.hero-title-individual, .hero-title-employer, .hero-title-provider) * { font-family: inherit !important; }
html body :is(.hero-title-individual, .hero-title-employer, .hero-title-provider) .highlight {
  font-size: 1em !important; font-style: italic;
  background: linear-gradient(100deg, #cbbcff 0%, #9b82ff 45%, #ffb59a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important; padding-right: .06em;
}
html body :is(.hero-subtitle-individual, .hero-subtitle-employer, .hero-subtitle-provider) {
  color: rgba(255,255,255,.68) !important; font-weight: 400 !important; font-size: 19px !important; line-height: 1.6 !important; max-width: 620px !important;
}
html body :is(.hero-individual, .hero-employer, .hero-provider) .trust-badge { color: rgba(255,255,255,.62) !important; font-size: 14px !important; }
html body :is(.hero-individual, .hero-employer, .hero-provider) .trust-badge i { color: #b9a8ff !important; }
html body :is(.hero-individual, .hero-employer, .hero-provider) a:not([class]) { color: rgba(255,255,255,.8); }

/* Buttons */
html body :is(.btn-primary-lg, .btn-cta) {
  height: 54px; padding: 0 28px !important; border-radius: 999px !important; border: 0 !important;
  display: inline-flex !important; align-items: center; gap: 10px;
  font-size: 15px !important; font-weight: 600 !important; box-shadow: none !important;
  transition: transform .2s, background .2s !important;
}
html body .btn-outline-lg, html body .btn-cta-secondary {
  height: 54px; padding: 0 26px !important; border-radius: 999px !important;
  display: inline-flex !important; align-items: center; gap: 10px; font-size: 15px !important; font-weight: 600 !important;
}
html body :is(.hero-individual, .hero-employer, .hero-provider) :is(.btn-primary-lg, .btn-cta) { background: #fff !important; color: #0f0d1a !important; }
html body :is(.hero-individual, .hero-employer, .hero-provider) :is(.btn-primary-lg, .btn-cta):hover { background: #ece7ff !important; transform: translateY(-1px); }
html body :is(.hero-individual, .hero-employer, .hero-provider) :is(.btn-outline-lg, .btn-cta-secondary, a.btn-secondary) {
  background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.22) !important; color: #fff !important;
}
html body :is(.hero-individual, .hero-employer, .hero-provider) :is(.btn-outline-lg, .btn-cta-secondary):hover { background: rgba(255,255,255,.12) !important; }
html body main :is(.feature-section, .feature-section-alt, .ecosystem-section, .pricing-section, .collab-section) :is(.btn-primary-lg, .btn-cta) { background: #0f0d1a !important; color: #fff !important; }
html body main :is(.feature-section, .feature-section-alt, .ecosystem-section, .pricing-section, .collab-section) .btn-outline-lg { background: #fff !important; border: 1px solid var(--pub-line-strong) !important; color: var(--pub-ink) !important; }

/* Sections: one canvas, rhythm from spacing and hairlines rather than coloured bands */
html body :is(.feature-section, .feature-section-alt, .workpass-section, .global-section, .vp-section, .vs-section, .early-adopter-section, .pricing-section, .collab-section, .ecosystem-section) {
  background: transparent !important; padding: 112px 0 !important;
}
html body :is(.feature-section-alt, .global-section, .vs-section, .pricing-section) {
  background: #fff !important; border-top: 1px solid var(--pub-line); border-bottom: 1px solid var(--pub-line);
}
html body .section-header { margin-bottom: 56px !important; }
html body .section-label {
  font-family: var(--pub-mono) !important; font-size: 12px !important; font-weight: 500 !important;
  letter-spacing: .14em !important; color: var(--pub-brand) !important; background: none !important; padding: 0 !important; margin-bottom: 16px !important;
}
html body :is(.section-title, .ecosystem-header h2, .cta-card h2) {
  font-family: var(--pub-display) !important; font-weight: 400 !important;
  font-size: clamp(38px, 4.6vw, 60px) !important; line-height: 1.02 !important; letter-spacing: -0.025em !important;
  color: var(--pub-ink) !important;
}
html body :is(.section-title, .ecosystem-header h2, .cta-card h2) * { font-family: inherit !important; }
html body :is(.section-description, .ecosystem-header p) { font-size: 18px !important; line-height: 1.6 !important; color: var(--pub-muted) !important; max-width: 640px; margin-left: auto; margin-right: auto; }

/* Feature cards: white sheets, left aligned, hairline border */
html body :is(.feature-card, .vp-card, .collab-card, .ecosystem-card, .benefit-item) {
  background: #fff !important; border: 1px solid var(--pub-line) !important; border-radius: 22px !important;
  box-shadow: none !important; padding: 32px !important;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s !important;
}
html body :is(.feature-card, .vp-card, .collab-card, a.ecosystem-card):hover {
  transform: translateY(-3px) !important; border-color: transparent !important;
  box-shadow: 0 30px 50px -30px rgba(22,20,31,.35), 0 0 0 1px rgba(90,50,230,.16) !important;
}
html body :is(.feature-section-alt, .global-section, .pricing-section) :is(.feature-card, .vp-card, .collab-card) { background: var(--pub-canvas) !important; }
html body :is(.feature-icon, .vp-card-icon, .benefit-item-icon) {
  width: 48px !important; height: 48px !important; border-radius: 14px !important;
  background: color-mix(in srgb, var(--pub-brand) 9%, #fff) !important; color: var(--pub-brand) !important;
  border: 0 !important; box-shadow: none !important;
}
html body :is(.feature-icon, .vp-card-icon, .benefit-item-icon) :is(i, svg) { color: var(--pub-brand) !important; stroke: currentColor; }
html body :is(.feature-title, .vp-card h3, .collab-card h3, .ecosystem-card h3) {
  font-family: var(--pub-sans) !important; font-size: 19px !important; font-weight: 600 !important; letter-spacing: -0.015em !important; color: var(--pub-ink) !important;
}
html body :is(.feature-description, .vp-card p, .collab-card p, .ecosystem-card p) { font-size: 15px !important; line-height: 1.6 !important; color: var(--pub-muted) !important; }
html body .feature-list li { font-size: 16px !important; color: var(--pub-ink) !important; }
html body .feature-list li::before { background-color: var(--pub-ink) !important; }
html body .step-number {
  width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important;
  font-family: var(--pub-display) !important; font-weight: 400 !important; font-size: 64px !important; line-height: 1 !important;
  color: var(--pub-brand) !important; justify-content: flex-start !important; margin-bottom: 28px !important;
}

/* Product imagery: framed like a device screen */
html body :is(.workpass-card img, .screenshot-card img, .screenshot-card) { border-radius: 22px !important; }
html body .screenshot-card { background: #fff; border: 1px solid var(--pub-line) !important; box-shadow: 0 40px 70px -40px rgba(22,20,31,.45) !important; overflow: hidden; }

/* Free-forever / early adopter callouts */
html body :is(.free-forever-card, .early-adopter-section .card, .pricing-note) {
  background: #fff !important; border: 1px solid var(--pub-line) !important; border-radius: 26px !important; box-shadow: none !important;
}

/* Before/after comparison on the provider page */
html body .vs-col { border-radius: 24px !important; border: 1px solid var(--pub-line) !important; box-shadow: none !important; }
html body .vs-before { background: var(--pub-canvas) !important; }
html body .vs-after { background: #0f0d1a !important; color: rgba(255,255,255,.8) !important; border-color: #0f0d1a !important; }
html body .vs-after * { color: inherit; }
html body .vs-after :is(h3, h4, strong) { color: #fff !important; }
html body .vs-after i { color: #9ff0c9 !important; }

/* Pricing tiers */
html body :is(.tier-card, .pricing-block, .commit-card) { border-radius: 22px !important; border: 1px solid var(--pub-line) !important; box-shadow: none !important; background: #fff !important; }
html body :is(.tier-card, .pricing-block) :is(.price, .commit-price, [class*="price"]) { letter-spacing: -0.03em; }

/* Ecosystem trio */
html body .ecosystem-card[aria-current], html body .ecosystem-card.current, html body .ecosystem-card:not(a) { background: #0f0d1a !important; border-color: #0f0d1a !important; }
html body .ecosystem-card:not(a) :is(h3) { color: #fff !important; }
html body .ecosystem-card:not(a) p { color: rgba(255,255,255,.65) !important; }

/* Closing CTA: dark panel */
html body .cta-section { background: transparent !important; padding: 40px 0 112px !important; }
html body .cta-card {
  position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(ellipse 60% 90% at 100% 100%, rgba(90,50,230,.55), transparent 70%), #0f0d1a !important;
  border-radius: 28px !important; padding: 88px 64px !important; box-shadow: none !important;
}
html body .cta-card h2 { color: #fff !important; }
html body .cta-card > p { color: rgba(255,255,255,.66) !important; font-size: 18px !important; }
html body .cta-card :is(.btn-cta, .btn-primary-lg) { background: #fff !important; color: #0f0d1a !important; }
html body .cta-card :is(.btn-cta-secondary, .btn-outline-lg) { background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.22) !important; color: #fff !important; }

@media (max-width: 767px) {
  html body :is(.hero-individual, .hero-employer, .hero-provider) { margin: 8px 8px 0; border-radius: 22px; padding: 72px 0 64px !important; }
  html body :is(.hero-title-individual, .hero-title-employer, .hero-title-provider) { font-size: 48px !important; }
  html body :is(.hero-subtitle-individual, .hero-subtitle-employer, .hero-subtitle-provider) { font-size: 16px !important; }
  html body :is(.feature-section, .feature-section-alt, .workpass-section, .global-section, .vp-section, .vs-section, .early-adopter-section, .pricing-section, .collab-section, .ecosystem-section) { padding: 72px 0 !important; }
  html body .section-header { margin-bottom: 36px !important; }
  html body :is(.feature-card, .vp-card, .collab-card, .ecosystem-card) { padding: 24px !important; }
  html body .cta-card { padding: 56px 26px !important; }
}
/* ==========================================================================
   Hubs (/courses/topic/, /awarding-body/, city hubs), providers directory,
   product updates and the small utility pages, premium v2
   ========================================================================== */

/* ---------- Hubs ---------- */
html body .hub-wrap, html body .hub-section { max-width: 1240px !important; padding-left: 28px !important; padding-right: 28px !important; }
html body .hub-wrap { padding-top: 56px !important; }
html body .hub-kicker { display: inline-block; margin-bottom: 14px; font-family: var(--pub-mono); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--pub-brand); }
html body .hub-hero h1 {
  font-family: var(--pub-display) !important; font-weight: 400 !important;
  font-size: clamp(44px, 6vw, 80px) !important; line-height: .98 !important; letter-spacing: -0.028em !important;
  color: var(--pub-ink) !important; margin-bottom: 20px !important; max-width: 900px;
}
html body .hub-intro { font-size: 18px !important; line-height: 1.65 !important; color: var(--pub-muted) !important; max-width: 720px !important; }
html body .hub-intro * { font-size: inherit; }
html body .hub-summary {
  background: #fff !important; border: 1px solid var(--pub-line) !important; border-radius: 18px !important; box-shadow: none !important;
  padding: 18px 22px !important; font-size: 15px !important; color: var(--pub-muted) !important; margin-top: 24px !important;
}
html body .hub-summary strong { color: var(--pub-ink); }
html body .hub-section { padding-top: 40px !important; padding-bottom: 8px !important; }
html body .hub-section > h2, html body .hub-section .section-heading h2 {
  font-family: var(--pub-display) !important; font-weight: 400 !important;
  font-size: clamp(32px, 3.6vw, 46px) !important; letter-spacing: -0.02em !important; color: var(--pub-ink) !important; margin-bottom: 22px !important;
}
html body .hub-compare { border: 1px solid var(--pub-line) !important; border-radius: 18px !important; font-size: 15px !important; }
html body .hub-compare * { font-size: inherit; }
html body .hub-compare thead th {
  background: transparent !important; border-bottom: 1px solid var(--pub-ink) !important;
  font-family: var(--pub-mono); font-size: 11px !important; font-weight: 500; letter-spacing: .12em; color: var(--pub-subtle) !important; padding: 16px 18px !important;
}
html body .hub-compare td { padding: 16px 18px !important; border-color: var(--pub-line) !important; color: var(--pub-ink); }
html body .hub-compare td a { color: var(--pub-ink) !important; font-weight: 600; text-decoration: underline; text-decoration-color: var(--pub-line-strong); }
html body .hub-compare .price { color: var(--pub-ink) !important; font-weight: 650 !important; font-variant-numeric: tabular-nums; }
html body .hub-howto { list-style: none; padding: 0 !important; counter-reset: howto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
html body .hub-howto li {
  counter-increment: howto; position: relative; margin: 0 !important;
  background: #fff; border: 1px solid var(--pub-line); border-radius: 18px; padding: 56px 20px 20px;
  font-size: 14px !important; line-height: 1.55; color: var(--pub-muted) !important;
}
html body .hub-howto li * { font-size: inherit; }
html body .hub-howto li::before { content: counter(howto, decimal-leading-zero); position: absolute; left: 20px; top: 14px; font-family: var(--pub-display); font-size: 32px; line-height: 1; color: var(--pub-brand); }
html body .hub-howto li strong { display: block; color: var(--pub-ink); font-size: 15px; margin-bottom: 4px; }
html body .hub-empty { background: #fff !important; border: 1px dashed var(--pub-line-strong) !important; border-radius: 22px !important; padding: 48px !important; }
html body .hub-empty .btn { background: var(--pub-ink) !important; border-radius: 999px !important; padding: 12px 22px !important; color: #fff !important; }
html body .rc-ghost {
  display: inline-flex; align-items: center; height: 44px; padding: 0 16px; border-radius: 999px !important;
  border: 1px solid var(--pub-line) !important; background: #fff !important; color: var(--pub-ink) !important; font-size: 14px; font-weight: 550;
}
html body .rc-ghost:hover { border-color: var(--pub-ink) !important; }
html body .rc-price--poa { font-size: 16px !important; }
html body .hub-section .browse-title { font-family: var(--pub-mono); font-size: 11px !important; letter-spacing: .14em; color: var(--pub-subtle) !important; }
html body .hub-section .browse-chip { background: #fff !important; border: 1px solid var(--pub-line) !important; border-radius: 999px !important; color: var(--pub-ink) !important; font-size: 14px !important; padding: 8px 16px !important; }
html body .hub-section .browse-chip:hover { border-color: var(--pub-ink) !important; }

/* ---------- Providers directory ---------- */
html body .providers-hero { background: transparent !important; padding: 72px 0 24px !important; text-align: left !important; }
html body .providers-hero .container, html body .providers-hero + .container { max-width: 1240px; }
html body .providers-hero h1 {
  font-family: var(--pub-display) !important; font-weight: 400 !important; font-size: clamp(48px, 6.4vw, 88px) !important;
  line-height: .96 !important; letter-spacing: -0.03em !important; color: var(--pub-ink) !important; margin-bottom: 18px !important;
}
html body .providers-hero p { font-size: 18px !important; color: var(--pub-muted) !important; max-width: 620px; margin: 0 !important; }
html body .provider-count { text-align: left !important; font-family: var(--pub-mono); font-size: 12px !important; letter-spacing: .12em; text-transform: uppercase; color: var(--pub-subtle) !important; padding: 16px 0 !important; border-bottom: 1px solid var(--pub-ink); margin-bottom: 28px !important; }
html body .provider-grid { gap: 16px !important; padding-bottom: 112px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important; }
html body .provider-card {
  position: relative; display: flex !important; flex-direction: column; align-items: flex-start !important; text-align: left !important;
  background: #fff !important; border: 1px solid var(--pub-line) !important; border-radius: 22px !important; box-shadow: none !important;
  padding: 26px !important; min-height: 220px; text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s !important;
}
html body .provider-card:hover { transform: translateY(-3px) !important; border-color: transparent !important; box-shadow: 0 30px 50px -30px rgba(22,20,31,.35), 0 0 0 1px rgba(90,50,230,.16) !important; }
html body .provider-card::after { content: "\2192"; position: absolute; right: 24px; top: 24px; color: var(--pub-brand); opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .25s; }
html body .provider-card:hover::after { opacity: 1; transform: none; }
html body .provider-card-logo { width: 64px !important; height: 64px !important; border-radius: 16px !important; object-fit: contain; background: #fff; border: 1px solid var(--pub-line); padding: 6px; margin: 0 0 22px !important; }
html body .provider-card-logo.d-flex { background: #0f0d1a !important; color: #fff !important; border: 0; font-family: var(--pub-display) !important; font-weight: 400 !important; font-size: 30px !important; }
html body .provider-card-name { font-size: 18px !important; font-weight: 600 !important; letter-spacing: -0.015em; color: var(--pub-ink) !important; margin-bottom: 6px !important; }
html body .provider-card-location { font-size: 14px !important; color: var(--pub-muted) !important; }
html body .provider-card-location * { font-size: inherit; }
html body .provider-card-courses {
  margin-top: auto !important; padding-top: 18px; display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px !important; font-weight: 600 !important; color: var(--pub-success) !important;
}
html body .provider-card-courses::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Product updates ---------- */
html body .rn-hero { background: transparent !important; border-bottom: 0 !important; padding: 72px 0 32px !important; }
html body .rn-hero .rn-eyebrow { background: none !important; border: 0 !important; padding: 0 !important; font-family: var(--pub-mono); font-weight: 500 !important; letter-spacing: .14em !important; color: var(--pub-brand) !important; }
html body :is(.rn-hero h1, .rn-article-head h1) {
  font-family: var(--pub-display) !important; font-weight: 400 !important; font-size: clamp(48px, 6.4vw, 88px) !important;
  line-height: .96 !important; letter-spacing: -0.03em !important; color: var(--pub-ink) !important;
}
html body .rn-hero p.rn-lead, html body .rn-article-head .rn-lead { font-size: 18px !important; color: var(--pub-muted) !important; }
html body .rn-btn { border-radius: 999px !important; height: 42px; padding: 0 18px !important; border-color: var(--pub-line) !important; color: var(--pub-ink) !important; }
html body .rn-btn-primary { background: var(--pub-ink) !important; border-color: var(--pub-ink) !important; color: #fff !important; }
html body .rn-chip { border-radius: 999px !important; border: 1px solid var(--pub-line) !important; background: #fff !important; color: var(--pub-muted) !important; }
html body .rn-chip.is-active { background: var(--pub-ink) !important; border-color: var(--pub-ink) !important; color: #fff !important; }
html body .rn-empty { background: #fff !important; border: 1px dashed var(--pub-line-strong) !important; border-radius: 22px !important; padding: 48px !important; color: var(--pub-muted); }
html body .rn-list > *, html body [class*="rn-item"], html body [class*="rn-card"] { border-radius: 22px !important; border-color: var(--pub-line) !important; box-shadow: none !important; }
html body .rn-body { font-size: 17px; line-height: 1.75; }
html body .rn-body :is(h2, h3) { font-family: var(--pub-display) !important; font-weight: 400 !important; letter-spacing: -0.02em; color: var(--pub-ink); }
html body .rn-body h2 { font-size: 36px !important; }
html body .rn-body h3 { font-size: 26px !important; }

/* ---------- Small utility pages: claim, review, booking confirmation, 404 ---------- */
html body :is(.claim-card, .rv-card) {
  background: #fff !important; border: 1px solid var(--pub-line) !important; border-radius: 26px !important;
  box-shadow: 0 40px 70px -46px rgba(22,20,31,.4) !important; padding: 40px !important;
}
html body :is(.claim-card, .rv-card) h1, html body :is(.claim-wrap, .rv-wrap) > h1 {
  font-family: var(--pub-display) !important; font-weight: 400 !important; font-size: clamp(34px, 4vw, 48px) !important; letter-spacing: -0.02em !important; line-height: 1.04; color: var(--pub-ink) !important;
}
html body :is(.claim-btn, .rv-btn) {
  height: 52px; border-radius: 999px !important; border: 0 !important; background: var(--pub-ink) !important; color: #fff !important;
  font-size: 15px !important; font-weight: 600 !important; padding: 0 26px !important;
}
html body :is(.claim-btn, .rv-btn):hover { background: var(--pub-brand) !important; }
html body :is(.claim-form, .rv-card) :is(input[type=text], input[type=email], input[type=tel], textarea, select) { border-radius: 12px !important; border-color: var(--pub-line) !important; min-height: 46px; }
html body .claim-badge { background: color-mix(in srgb, var(--pub-brand) 9%, #fff) !important; color: var(--pub-brand) !important; border-radius: 999px !important; }
html body .booking-step, html body .promo-card { border-radius: 22px !important; border: 1px solid var(--pub-line) !important; box-shadow: none !important; }
html body .btn-action.primary { background: var(--pub-ink) !important; border-color: var(--pub-ink) !important; color: #fff !important; border-radius: 999px !important; }
html body .btn-action.secondary { border-radius: 999px !important; }

@media (max-width: 767px) {
  html body .hub-wrap, html body .hub-section { padding-left: 16px !important; padding-right: 16px !important; }
  html body .hub-wrap { padding-top: 32px !important; }
  html body .hub-compare { display: block; overflow-x: auto; white-space: nowrap; }
  html body .providers-hero { padding-top: 40px !important; }
  html body :is(.claim-card, .rv-card) { padding: 26px !important; }
}
/* ---------- Course search v2.1: dark header panel with the search bar floating on its edge ---------- */
html body #screen1 .results-hero {
  position: relative; isolation: isolate; overflow: hidden !important;
  margin: 12px 0 0 !important; padding: 72px 56px 104px !important; border-radius: 28px !important;
  background:
    radial-gradient(ellipse 620px 420px at 8% -20%, rgba(var(--cc-primary-rgb), .75), transparent 65%),
    radial-gradient(ellipse 700px 460px at 100% 130%, rgba(var(--cc-primary-rgb), .45), rgba(255,140,90,.08) 70%, transparent 80%),
    #0f0d1a !important;
  border: 0 !important;
}
html body #screen1 .results-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 30% 30%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 80% at 30% 30%, #000 30%, transparent 75%);
}
html body #screen1 .results-hero h1,
html body #screen1 .results-hero h2.results-hero-title { color: #fff !important; font-size: clamp(44px, 5.6vw, 76px) !important; line-height: .98; max-width: 900px; }
html body #screen1 .results-hero p { color: rgba(255,255,255,.66) !important; font-size: 18px !important; }
html body #screen1 #CourseSearchContainer { position: relative; z-index: 5; margin-top: -40px; }
html body #screen1 .cc-search-bar.card { max-width: calc(100% - 112px); margin-left: 56px; box-shadow: 0 30px 60px -24px rgba(15,13,26,.55), 0 0 0 1px rgba(255,255,255,.4) !important; border: 0 !important; margin-bottom: 36px; }
html body #screen1 .cc-search-bar .card-body { padding: 10px 10px 10px 22px !important; }
html body #screen1 .cc-search-bar #intelligentSearchInput { height: 56px; font-size: 17px !important; }
html body #screen1 .cc-search-bar #intelligentSearchBtn { height: 56px; padding: 0 30px !important; }
html body #screen1 .cc-ad-rail { margin-top: 40px; }

/* Result count as a headline figure: "21 courses" */
html body #Results-container > .card.mb-2 .d-flex.align-items-center > .me-2 { display: none; }
html body #count { font-family: var(--pub-display) !important; font-weight: 400 !important; font-size: 34px !important; line-height: 1; letter-spacing: -0.02em; color: var(--pub-ink); }
html body #count::after { content: " courses"; font-family: var(--pub-sans); font-size: 14px; color: var(--pub-subtle); letter-spacing: 0; margin-left: 4px; }

/* Filters: sticky, with a little more air */
html body .desktop-filters .sticky-filters { top: 96px !important; }
html body :is(#filterContent) .accordion-button { padding: 18px 2px !important; }

@media (max-width: 991px) {
  html body #screen1 .results-hero { padding: 48px 24px 84px !important; border-radius: 22px !important; }
  html body #screen1 .cc-search-bar.card { max-width: calc(100% - 32px); margin-left: 16px; }
}
@media (max-width: 575px) {
  html body #screen1 .results-hero { margin-left: -4px !important; margin-right: -4px !important; padding: 40px 20px 76px !important; }
  html body #screen1 .results-hero h1 { font-size: 40px !important; }
  html body #screen1 .results-hero p { font-size: 15px !important; }
  html body #screen1 .cc-search-bar.card { max-width: calc(100% - 16px); margin-left: 8px; }
  html body #screen1 .cc-search-bar #intelligentSearchInput { height: 46px; font-size: 16px !important; }
  html body #screen1 .cc-search-bar #intelligentSearchBtn { height: 46px; padding: 0 18px !important; }
  html body #count { font-size: 26px !important; }
}
/* ---------- Course search v2.2: compact header so results start higher ---------- */
html body #screen1 .results-hero { padding: 30px 40px 58px !important; margin-top: 8px !important; border-radius: 22px !important; }
html body #screen1 .results-hero h1,
html body #screen1 .results-hero h2.results-hero-title { font-size: clamp(30px, 3vw, 42px) !important; margin-bottom: 6px !important; }
html body #screen1 .results-hero p { font-size: 15px !important; }
html body #screen1 #CourseSearchContainer { margin-top: -30px; }
html body #screen1 .cc-search-bar.card { max-width: calc(100% - 80px); margin-left: 40px; margin-bottom: 22px; }
html body #screen1 .cc-search-bar #intelligentSearchInput, html body #screen1 .cc-search-bar #intelligentSearchBtn { height: 48px; }
html body #screen1 .cc-ad-rail { margin-top: 30px; }
@media (max-width: 991px) {
  html body #screen1 .results-hero { padding: 24px 20px 52px !important; }
  html body #screen1 .cc-search-bar.card { max-width: calc(100% - 24px); margin-left: 12px; }
}
@media (max-width: 575px) {
  html body #screen1 .results-hero { padding: 20px 18px 48px !important; }
  html body #screen1 .results-hero h1 { font-size: 28px !important; }
  html body #screen1 .results-hero p { display: none; }
  html body #screen1 .cc-search-bar #intelligentSearchInput, html body #screen1 .cc-search-bar #intelligentSearchBtn { height: 44px; }
}
/* Toolbar on one line at desktop: views and count, then sort */
@media (min-width: 992px) {
  html body #Results-container > .card.mb-2 .row { flex-wrap: nowrap; }
  html body #Results-container > .card.mb-2 .row > .col-12:first-child { flex: 1 1 auto; width: auto; }
  html body #Results-container > .card.mb-2 #sortByWrapper { flex: 0 0 auto; width: auto; }
  html body #Results-container > .card.mb-2 .row > .col-12:first-child > .d-flex { align-items: center; }
}
/* ==========================================================================
   Course search v3: filter panel, toolbar extras, sponsored rail, compact view
   ========================================================================== */

/* Filter panel: one white sheet */
html body .desktop-filters .sticky-filters.card {
  background: #fff !important; border: 1px solid var(--pub-line) !important; border-radius: 22px !important;
  box-shadow: 0 24px 48px -36px rgba(22,20,31,.3) !important; overflow: hidden;
}
html body .desktop-filters .sticky-filters > .card-body > .d-flex:first-child { padding: 20px 22px 16px !important; border-bottom: 1px solid var(--pub-line) !important; }
html body .desktop-filters .sticky-filters h5 { font-family: var(--pub-display) !important; font-size: 26px !important; font-weight: 400 !important; letter-spacing: -0.02em !important; text-transform: none !important; }
html body :is(#filterContent, #filterContentMobile) .accordion-item { border-bottom: 1px solid var(--pub-line) !important; }
html body #filterContent .accordion-item { padding: 0 22px; }
html body :is(#filterContent, #filterContentMobile) .accordion-button { padding: 16px 0 !important; gap: 0; font-size: 15px !important; font-weight: 600 !important; letter-spacing: -0.01em; }
html body :is(#filterContent, #filterContentMobile) .accordion-button > i:first-child {
  width: 30px !important; height: 30px; border-radius: 9px; margin-right: 12px !important;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--pub-sunken); color: var(--pub-muted) !important; font-size: 12px !important;
  transition: background .2s, color .2s;
}
html body :is(#filterContent, #filterContentMobile) .accordion-button:not(.collapsed) > i:first-child { background: var(--pub-ink); color: #fff !important; }
html body :is(#filterContent, #filterContentMobile) .accordion-button::after {
  width: 26px; height: 26px; border-radius: 50%; background-color: transparent; background-position: center; background-size: 11px !important;
  opacity: .5; transition: transform .25s, background-color .2s, opacity .2s;
}
html body :is(#filterContent, #filterContentMobile) .accordion-button:hover::after { background-color: var(--pub-sunken); opacity: .8; }
html body :is(#filterContent, #filterContentMobile) .accordion-button .badge {
  background: color-mix(in srgb, var(--pub-brand) 10%, #fff) !important; color: var(--pub-brand) !important;
  font-size: 11px !important; font-weight: 600 !important; padding: 4px 9px !important; border-radius: 999px !important;
}
html body :is(#filterContent, #filterContentMobile) .accordion-body { padding: 0 0 20px !important; }

/* Field labels sit above the field instead of cutting through its border */
html body :is(#filterContent, #filterContentMobile) .position-relative:has(> .inputTopLabel) { padding-top: 22px; }
html body :is(#filterContent, #filterContentMobile) .inputTopLabel {
  top: 0 !important; left: 0 !important; background: none !important; padding: 0 !important;
  font-family: var(--pub-mono); font-size: 11px !important; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--pub-subtle) !important;
}
html body :is(#filterContent, #filterContentMobile) #clearLocation { top: calc(50% + 11px) !important; }
html body :is(#filterContent, #filterContentMobile) :is(.form-control, .form-select) {
  height: 46px; border-radius: 12px !important; border: 1px solid var(--pub-line) !important; background-color: var(--pub-canvas) !important;
  font-size: 14px !important; color: var(--pub-ink); box-shadow: none !important; transition: border-color .2s, background-color .2s, box-shadow .2s;
}
html body :is(#filterContent, #filterContentMobile) :is(.form-control, .form-select):focus { background-color: #fff !important; border-color: var(--pub-ink) !important; box-shadow: 0 0 0 4px rgba(22,20,31,.06) !important; }
html body :is(#filterContent, #filterContentMobile) :is(.form-control, .form-select):disabled { opacity: .55; }
html body :is(#filterContent, #filterContentMobile) .form-label { font-family: var(--pub-mono); font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--pub-subtle) !important; }
html body :is(#filterContent, #filterContentMobile) .border-top { border-color: var(--pub-line) !important; }
html body :is(#filterContent, #filterContentMobile) .small.text-muted, html body :is(#filterContent, #filterContentMobile) small.text-muted { font-size: 12px !important; color: var(--pub-subtle) !important; }

/* Quick date and secondary buttons inside filters */
html body :is(#filterContent, #filterContentMobile) .quick-date-btn,
html body :is(#filterContent, #filterContentMobile) .quick-date-btn:focus {
  height: 32px; padding: 0 12px !important; border-radius: 999px !important;
  background: #fff !important; border: 1px solid var(--pub-line) !important; color: var(--pub-ink) !important;
  font-size: 12px !important; font-weight: 550 !important; box-shadow: none !important;
}
html body :is(#filterContent, #filterContentMobile) .quick-date-btn:hover { border-color: var(--pub-ink) !important; background: #fff !important; color: var(--pub-ink) !important; }
html body :is(#filterContent, #filterContentMobile) .quick-date-btn.active { background: var(--pub-ink) !important; border-color: var(--pub-ink) !important; color: #fff !important; }
html body :is(#filterContent, #filterContentMobile) .btn-outline-primary:not(.quick-date-btn) {
  height: 44px; border-radius: 999px !important; background: #fff !important; border: 1px solid var(--pub-line) !important; color: var(--pub-ink) !important; font-size: 14px !important; font-weight: 550 !important;
}
html body :is(#filterContent, #filterContentMobile) .btn-outline-primary:not(.quick-date-btn):hover { border-color: var(--pub-ink) !important; background: #fff !important; color: var(--pub-ink) !important; }
html body :is(#filterContent, #filterContentMobile) .form-range { accent-color: var(--pub-ink); }
html body :is(#filterContent, #filterContentMobile) .form-range::-webkit-slider-thumb { background: var(--pub-ink) !important; box-shadow: 0 0 0 4px #fff, 0 2px 8px rgba(0,0,0,.25); }
html body :is(#filterContent, #filterContentMobile) .form-range::-webkit-slider-runnable-track { background: var(--pub-line); height: 4px; }
html body :is(#filterContent, #filterContentMobile) .form-range::-webkit-slider-thumb { margin-top: -6px; }
html body :is(#filterContent, #filterContentMobile) .form-check-input { border-color: var(--pub-line-strong); }
html body :is(#filterContent, #filterContentMobile) .form-check-input:checked { background-color: var(--pub-ink) !important; border-color: var(--pub-ink) !important; }
html body :is(#filterContent, #filterContentMobile) .form-check-input:focus { box-shadow: 0 0 0 4px rgba(22,20,31,.08); }

/* Auto-search footer of the panel */
html body #filterContent > .mt-3.p-3 { margin: 0 !important; padding: 18px 22px 20px !important; background: var(--pub-canvas); }
html body :is(#filterContent, #filterContentMobile) .form-switch .form-check-label { font-size: 14px !important; color: var(--pub-ink); }
html body :is(#filterContent, #filterContentMobile) .form-switch .form-check-label * { font-size: inherit; }
html body :is(#filterContent, #filterContentMobile) .form-switch .form-check-label i { display: none; }
html body :is(#filterContent, #filterContentMobile) .form-switch small, html body :is(#filterContent, #filterContentMobile) .form-switch .text-muted { display: block; font-size: 12px !important; color: var(--pub-subtle) !important; margin-top: 2px; }

/* Active filter chips and notices */
html body .cc-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 14px !important; }
html body .cc-chip-label { font-family: var(--pub-mono); font-size: 11px !important; letter-spacing: .1em; text-transform: uppercase; color: var(--pub-subtle) !important; font-weight: 500 !important; }
html body .cc-chip {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 6px 0 14px !important; border-radius: 999px !important;
  background: var(--pub-ink) !important; color: #fff !important; border: 0 !important; font-size: 13px !important; font-weight: 550;
}
html body .cc-chip * { font-size: inherit; }
html body .cc-chip-x { width: 22px; height: 22px; border-radius: 50% !important; background: rgba(255,255,255,.14) !important; color: #fff !important; display: inline-flex; align-items: center; justify-content: center; }
html body .cc-chip-x:hover { background: rgba(255,255,255,.3) !important; }
html body .cc-chip-clear { font-size: 13px !important; color: var(--pub-muted) !important; text-decoration: underline; text-underline-offset: 3px; }
html body .cc-broaden-notice { background: #fff !important; border: 1px solid var(--pub-line) !important; border-left: 3px solid var(--pub-brand) !important; border-radius: 14px !important; padding: 12px 16px !important; font-size: 14px !important; color: var(--pub-muted) !important; }
html body .cc-broaden-notice * { font-size: inherit; }

/* Sponsored rail cards */
html body .cc-ad-card {
  background: #fff !important; border: 1px solid var(--pub-line) !important; border-radius: 18px !important; padding: 16px !important; margin-bottom: 12px !important; box-shadow: none !important;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s, border-color .3s !important;
}
html body .cc-ad-card:hover { transform: translateY(-2px) !important; border-color: transparent !important; box-shadow: 0 24px 40px -26px rgba(22,20,31,.35), 0 0 0 1px rgba(90,50,230,.18) !important; }
html body .cc-ad-card-img { border-radius: 12px !important; }
html body .cc-ad-offer { background: color-mix(in srgb, var(--pub-success) 10%, #fff) !important; color: var(--pub-success) !important; font-size: 11px !important; padding: 3px 10px !important; }
html body .cc-ad-title { font-size: 15px !important; font-weight: 600 !important; letter-spacing: -0.01em; color: var(--pub-ink); margin: 4px 0 4px !important; }
html body .cc-ad-org { font-size: 12px !important; color: var(--pub-subtle) !important; }
html body .cc-ad-meta { font-size: 13px !important; color: var(--pub-muted); }
html body .cc-ad-meta * { font-size: inherit; }
html body .cc-ad-meta strong { color: var(--pub-ink); font-size: 16px; }
html body .cc-ad-cta {
  display: inline-flex !important; align-items: center; justify-content: center; height: 38px; margin-top: 4px;
  border-radius: 999px !important; border: 0 !important; background: var(--pub-ink) !important; color: #fff !important; font-size: 13px !important; font-weight: 600 !important;
}
html body .cc-ad-card:hover .cc-ad-cta { background: var(--pub-brand) !important; }
html body .cc-ad-house-copy { font-size: 13px !important; color: rgba(255,255,255,.65) !important; opacity: 1 !important; line-height: 1.5; }
html body .cc-ad-house-cta { height: 40px; display: inline-flex !important; align-items: center; justify-content: center; color: var(--pub-ink) !important; }
html body .cc-ad-house-alt { color: rgba(255,255,255,.6) !important; font-size: 12px !important; }

/* Compact view */
html body .event-card.condensed { padding: 14px 18px !important; margin-bottom: 8px !important; background: #fff !important; }
html body .event-card.condensed :is(.event-card-title, .condensed-title) { font-size: 16px !important; font-weight: 600 !important; letter-spacing: -0.01em; color: var(--pub-ink) !important; }
html body .condensed-info-item { font-size: 13px !important; color: var(--pub-muted) !important; }
html body .condensed-info-item * { font-size: inherit; }
html body .condensed-info-item i, html body .condensed-location-tag { color: var(--pub-subtle) !important; }
html body .condensed-price { font-size: 20px !important; font-weight: 650 !important; letter-spacing: -0.02em; color: var(--pub-ink) !important; }
html body .condensed-actions .btn, html body .condensed-actions .btn-primary { border-radius: 999px !important; box-shadow: none !important; }
html body .condensed-actions .btn-primary { background: var(--pub-ink) !important; border-color: var(--pub-ink) !important; }
html body .condensed-actions .btn-outline-primary { border-color: var(--pub-line) !important; color: var(--pub-ink) !important; background: #fff !important; }
html body .condensed-thumb { border-radius: 12px !important; }

/* Map view */
html body #mapView-container .card { border-radius: 22px !important; overflow: hidden; border: 1px solid var(--pub-line) !important; box-shadow: none !important; }

/* Phone filter sheet */
html body #filterOffcanvas { border-radius: 0 22px 22px 0; border: 0; box-shadow: 0 0 80px rgba(0,0,0,.25); }
html body #filterOffcanvas .offcanvas-header { padding: 20px 22px; border-color: var(--pub-line) !important; }
html body #filterOffcanvas .offcanvas-title { font-family: var(--pub-display) !important; font-weight: 400 !important; font-size: 28px !important; }
html body #filterOffcanvas .offcanvas-title i { display: none; }
html body #filterOffcanvas .offcanvas-body > .p-3 { padding: 6px 22px 22px !important; }
html body #filterOffcanvas .offcanvas-footer { border-color: var(--pub-line) !important; padding: 14px 22px !important; }
html body #filterOffcanvas .offcanvas-footer .btn { height: 50px; border-radius: 999px !important; border: 0; background: var(--pub-ink) !important; font-weight: 600; }
html body #filterOffcanvas .offcanvas-footer .btn i { display: none; }

/* Results column breathing room next to the panel */
@media (min-width: 992px) {
  html body #searchResults-container > .row > .desktop-filters { padding-right: 14px; }
}
/* Quieter facility tags on result cards */
html body .rc-facilities { margin-top: 8px !important; gap: 14px !important; }
html body .rc-facilities span { background: none !important; padding: 0 !important; font-size: 12px !important; color: var(--pub-subtle) !important; }
html body .rc-facilities span i { color: var(--pub-success); }
/* ---------- Course search v3.1: no background band, slim title row; calmer card hover ---------- */
html body #screen1 .results-hero {
  background: none !important; padding: 22px 0 14px !important; margin: 0 !important; border-radius: 0 !important;
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; overflow: visible !important;
}
html body #screen1 .results-hero::before { display: none !important; }
html body #screen1 .results-hero h1,
html body #screen1 .results-hero h2.results-hero-title { color: var(--pub-ink) !important; font-size: clamp(28px, 2.6vw, 36px) !important; margin: 0 !important; }
html body #screen1 .results-hero p { color: var(--pub-subtle) !important; font-size: 14px !important; margin: 0 !important; }
html body #screen1 #CourseSearchContainer { margin-top: 0; }
html body #screen1 .cc-search-bar.card { max-width: none; margin-left: 0; margin-bottom: 18px; box-shadow: 0 14px 30px -24px rgba(22,20,31,.35), 0 0 0 1px var(--pub-line) !important; }
html body #screen1 .cc-ad-rail { margin-top: 0; }
html body .event-card.rc:hover { box-shadow: 0 22px 40px -30px rgba(22,20,31,.4) !important; border-color: var(--pub-line) !important; }
html body .rc-title a, html body .rc-title a:hover, html body .rc-title a:focus { text-decoration: none !important; }
html body .event-card.rc:hover .rc-title a { color: var(--pub-ink); }
@media (max-width: 991px) {
  html body #screen1 .results-hero { padding: 16px 0 10px !important; }
  html body #screen1 .cc-search-bar.card { max-width: none; margin-left: 0; }
}
@media (max-width: 575px) {
  html body #screen1 .results-hero { padding: 12px 0 8px !important; }
  html body #screen1 .results-hero h1 { font-size: 26px !important; }
  html body #screen1 .cc-search-bar.card { max-width: none; margin-left: 0; }
}
/* Homepage headline, option E: bold sans with a gradient accent */
html body .mk-h1--sans {
  font-family: var(--pub-sans) !important; font-weight: 650 !important;
  font-size: clamp(46px, 5.8vw, 84px) !important; line-height: 1 !important; letter-spacing: -0.05em !important;
  max-width: 11ch;
}
html body .mk-h1--sans * { font-family: inherit !important; }
html body .mk-h1-accent {
  background: linear-gradient(100deg, #cbbcff 0%, #9b82ff 45%, #ffb59a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .04em;
}
@media (max-width: 767px) { html body .mk-h1--sans { font-size: 44px !important; letter-spacing: -0.045em !important; } }
/* ==========================================================================
   Display type v2: bold tight sans everywhere (matches the homepage headline)
   ========================================================================== */
html body :is(.mk-h1, .mk-h2, .footer-statement-title, #EventDetailsCourseName, .results-hero h1, .results-hero h2.results-hero-title,
  .hub-hero h1, .hub-section > h2, .hub-section .section-heading h2, .providers-hero h1, .rn-hero h1, .rn-article-head h1,
  .hero-title, .hero-title-individual, .hero-title-employer, .hero-title-provider, .section-title, .ecosystem-header h2, .cta-card h2,
  .section-heading h2, .events-header h2, .faq-section h2, .error-page h1, .error-page h2, .providers-cta-text h3,
  .claim-card h1, .rv-card h1, .claim-wrap > h1, .rv-wrap > h1, .rn-body h2, .rn-body h3, .site-footer .footer-provider-name,
  .mk-card-more .mk-card-name, .cc-ad-house-title, .desktop-filters .sticky-filters h5, #filterOffcanvas .offcanvas-title) {
  font-weight: 650 !important; letter-spacing: -0.045em !important; line-height: 1.02 !important;
}
/* Big hero headings a touch smaller: bold sans reads larger than the serif did */
html body :is(.hero-title-individual, .hero-title-employer, .hero-title-provider) { font-size: clamp(46px, 6vw, 84px) !important; line-height: 1 !important; }
html body .mk-h1--store { font-size: clamp(40px, 4.8vw, 68px) !important; line-height: 1 !important; }
html body .footer-statement-title { font-size: clamp(40px, 5vw, 72px) !important; }
html body .mk-h2 { font-size: clamp(32px, 3.6vw, 48px) !important; }
html body :is(.section-title, .ecosystem-header h2, .cta-card h2) { font-size: clamp(32px, 3.8vw, 50px) !important; }
html body :is(.providers-hero h1, .rn-hero h1, .rn-article-head h1, .hub-hero h1) { font-size: clamp(40px, 5vw, 68px) !important; }
html body #EventDetailsCourseName { font-size: clamp(34px, 4vw, 54px) !important; }
html body .faq-section h2 { font-size: clamp(30px, 3.2vw, 42px) !important; }
html body :is(.desktop-filters .sticky-filters h5, #filterOffcanvas .offcanvas-title) { font-size: 20px !important; letter-spacing: -0.03em !important; }
html body .mk-card-more .mk-card-name { font-size: 26px !important; }
html body .cc-ad-house-title { font-size: 19px !important; letter-spacing: -0.03em !important; }

/* Accent words: no more serif italics; same gradient as the homepage headline */
html body :is(.mk-h1, .mk-h2, .footer-statement-title, .hero-title-individual, .hero-title-employer, .hero-title-provider, .section-title, .cta-card h2) :is(em, .highlight) {
  font-style: normal !important;
  background: linear-gradient(100deg, #9b82ff 0%, #7c5cf0 45%, #ff9a76 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent !important; -webkit-text-fill-color: transparent;
}
/* On dark panels the gradient runs lighter */
html body :is(.mk-hero, .mk-provider-panel, .site-footer, .hero-individual, .hero-employer, .hero-provider, .cta-card) :is(em, .highlight) {
  background: linear-gradient(100deg, #cbbcff 0%, #9b82ff 45%, #ffb59a 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important;
}
html body .mk--store :is(.mk-h1, .mk-h2) em { background: linear-gradient(100deg, color-mix(in srgb, var(--pub-brand) 35%, #fff), color-mix(in srgb, var(--pub-brand) 60%, #fff)) !important; -webkit-background-clip: text !important; background-clip: text !important; }
html body .mk--store .mk-section :is(.mk-h2) em { background: none !important; color: var(--pub-brand) !important; -webkit-text-fill-color: var(--pub-brand); }

/* Numerals and names that used the serif */
html body :is(.mk-step-num, .step-number, .hub-howto li::before) { font-weight: 600 !important; letter-spacing: -0.05em !important; }
html body .mk-step-num, html body .step-number { font-size: 48px !important; }
html body .mk-marquee li { font-weight: 600 !important; letter-spacing: -0.03em !important; font-size: 22px !important; }
html body .mk-cred-name { font-weight: 650 !important; letter-spacing: -0.035em !important; font-size: 24px !important; }
html body #count { font-weight: 650 !important; letter-spacing: -0.04em !important; font-size: 28px !important; }
html body .provider-card-logo.d-flex { font-weight: 650 !important; font-size: 26px !important; }
/* ==========================================================================
   Course search v4: lighter, faster-to-scan results (Oct 2026)
   ========================================================================== */

/* Quick filter chips under the search bar */
html body .cc-quick { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: -6px 0 22px; }
html body .cc-quick-chip {
  display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--pub-line); background: #fff; color: var(--pub-ink); font-size: 13.5px; font-weight: 550; white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s, transform .15s;
}
html body .cc-quick-chip i { font-size: 13px; color: var(--pub-subtle); transition: color .2s; }
html body .cc-quick-chip:hover { border-color: var(--pub-ink); }
html body .cc-quick-chip:active { transform: scale(.97); }
html body .cc-quick-chip.is-on { background: var(--pub-ink); border-color: var(--pub-ink); color: #fff; }
html body .cc-quick-chip.is-on i { color: #fff; }
html body .cc-quick-sep { width: 1px; height: 20px; background: var(--pub-line); margin: 0 4px; }

/* Leaner filter panel */
html body .desktop-filters .sticky-filters > .card-body > .d-flex:first-child { padding: 16px 20px 14px !important; }
html body .desktop-filters .sticky-filters h5 { font-size: 17px !important; }
html body #filterContent .accordion-item { padding: 0 20px; }
html body :is(#filterContent, #filterContentMobile) .accordion-button { padding: 13px 0 !important; font-size: 14px !important; font-weight: 550 !important; }
html body :is(#filterContent, #filterContentMobile) .accordion-button > i:first-child {
  width: 18px !important; height: auto; background: none !important; border-radius: 0; margin-right: 10px !important;
  color: var(--pub-subtle) !important; font-size: 13px !important;
}
html body :is(#filterContent, #filterContentMobile) .accordion-button:not(.collapsed) > i:first-child { background: none !important; color: var(--pub-ink) !important; }
html body :is(#filterContent, #filterContentMobile) .accordion-button::after { width: 20px; height: 20px; background-size: 10px !important; }
html body #filterContent > .mt-3.p-3 { padding: 14px 20px 16px !important; }

/* Toolbar: a touch smaller */
html body .view-toggle-container .nav-pills .nav-link, html body .card-view-toggle button { height: 30px; padding: 0 12px !important; font-size: 13px !important; }
html body #searchSort { height: 38px; }

/* Month headings between date-sorted results */
html body .rc-month {
  position: sticky; top: 68px; z-index: 4;
  display: flex; align-items: center; gap: 14px; margin: 18px 0 10px; padding: 8px 0;
  background: color-mix(in srgb, var(--pub-canvas) 92%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--pub-mono); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--pub-ink);
}
html body .rc-month:first-child { margin-top: 0; }
html body .rc-month::after { content: ""; flex: 1; height: 1px; background: var(--pub-line); }

/* Result card v4 */
html body .event-card.rc {
  grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px;
  padding: 18px 22px 18px 18px; margin-bottom: 10px; border-radius: 18px;
  border: 1px solid var(--pub-line); box-shadow: none;
}
html body .event-card.rc:hover { transform: none !important; border-color: #d9d3ca !important; box-shadow: 0 18px 34px -28px rgba(22,20,31,.45) !important; }
html body .rc-date {
  width: 62px; height: 70px; border-radius: 14px; gap: 1px;
  background: #fff; border: 1px solid var(--pub-line); color: var(--pub-ink);
}
html body .rc-date em { color: var(--pub-brand); opacity: 1; font-size: 10.5px; }
html body .rc-date b { font-size: 25px; color: var(--pub-ink); }
html body .rc-date small { color: var(--pub-subtle); font-size: 10.5px; }
html body .event-card.rc:hover .rc-date { border-color: var(--pub-ink); }
html body .rc-date--any { color: var(--pub-brand); }
html body .rc-date--any small { color: var(--pub-subtle); }

html body .rc-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-bottom: 4px; font-size: 13px; color: var(--pub-subtle); }
html body .rc-eyebrow .rc-org { color: var(--pub-muted); font-weight: 550; }
html body .rc-sep { display: inline-block; width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: .5; margin: 0 9px; }
html body .rc-title { font-size: 18.5px !important; margin: 0 0 8px !important; letter-spacing: -0.02em !important; }
html body .rc-meta { gap: 4px 16px !important; font-size: 13.5px !important; align-items: center; }
html body .rc-meta i { margin-right: 6px !important; font-size: 12.5px; }
html body .rc-meta .rc-type { padding: 2px 7px; font-size: 10.5px; border-radius: 6px; }
html body .rc-fac { color: var(--pub-success) !important; }
html body .rc-fac i { margin: 0 !important; color: var(--pub-success) !important; }
html body .rc-meta .rc-fac + .rc-fac { margin-left: -6px; }

html body .rc-side { gap: 6px; min-width: 168px; }
html body .rc-price { font-size: 25px; }
html body .rc-price small { margin-top: 4px; font-size: 11.5px; }
html body .rc-status { display: flex; align-items: center; gap: 10px; }
html body .rc-status .rc-provisional { border: 0; font-size: 11.5px; color: var(--pub-subtle); cursor: help; }
html body .rc-status .rc-confirmed { font-size: 11.5px; font-weight: 600; color: var(--pub-success); }
html body .rc-actions { margin-top: 4px; gap: 6px; align-items: center; }
html body .rc-cta {
  height: 38px !important; padding: 0 16px !important; font-size: 13.5px !important;
  background: #fff !important; color: var(--pub-ink) !important; border: 1px solid var(--pub-line) !important;
  transition: background .2s, color .2s, border-color .2s !important;
}
html body .event-card.rc:hover .rc-cta, html body .rc-cta:hover { background: var(--pub-ink) !important; border-color: var(--pub-ink) !important; color: #fff !important; }
html body .rc-share { width: 38px !important; height: 38px !important; font-size: 13px; }
@media (hover: hover) and (min-width: 992px) {
  html body .rc-share { opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .25s; }
  html body .event-card.rc:hover .rc-share, html body .rc-share:focus-visible { opacity: 1; transform: none; }
}

@media (max-width: 991px) {
  html body .event-card.rc { grid-template-columns: auto minmax(0,1fr); padding: 16px; gap: 14px 16px; }
  html body .rc-side { flex-direction: row; align-items: center; justify-content: space-between; }
  html body .rc-status { order: -1; width: 100%; }
  html body .rc-cta { background: var(--pub-ink) !important; color: #fff !important; border-color: var(--pub-ink) !important; }
  html body .rc-month { top: 64px; }
}
@media (max-width: 767px) {
  html body .cc-quick { flex-wrap: nowrap; overflow-x: auto; margin-right: -16px; padding-right: 16px; scrollbar-width: none; }
  html body .cc-quick::-webkit-scrollbar { display: none; }
}
@media (max-width: 575px) {
  html body .rc-date { width: 52px; height: 60px; }
  html body .rc-date b { font-size: 21px; }
  html body .rc-title { font-size: 16.5px !important; }
  html body .rc-meta { flex-direction: row !important; flex-wrap: wrap; font-size: 12.5px !important; }
}
/* Course type sits in the eyebrow as plain text, not a pill */
html body .rc-eyebrow .rc-type { background: none !important; padding: 0 !important; border-radius: 0; font-size: 13px !important; font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--pub-subtle) !important; }
/* No purple accent bar across the top of course cards on hover (legacy .event-card::before) */
html body .event-card::before, html body .event-card:hover::before { display: none !important; content: none !important; }
/* ==========================================================================
   Sign in / sign up (m_signin.php: .auth-fullscreen), premium v2
   Dark inset brand panel like the homepage hero, quiet form on the right.
   ========================================================================== */
html body .auth-fullscreen { background: var(--pub-canvas) !important; padding: 12px; gap: 12px; font-family: var(--pub-sans); }
html body .auth-fullscreen.standalone { padding: 12px; }

/* Brand panel */
html body .auth-branding-panel {
  flex: 0 0 44% !important; border-radius: 24px; padding: 64px 56px !important;
  align-items: flex-start !important; justify-content: center !important; isolation: isolate;
  background:
    radial-gradient(ellipse 620px 460px at 10% -10%, rgba(90,50,230,.75), transparent 65%),
    radial-gradient(ellipse 680px 520px at 100% 120%, rgba(124,92,240,.45), rgba(255,140,90,.08) 70%, transparent 80%),
    #0f0d1a !important;
}
html body .auth-branding-panel::before {
  top: 0 !important; left: 0 !important; width: 100% !important; height: 100% !important; animation: none !important; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) !important;
  background-size: 64px 64px !important;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 30% 40%, #000 30%, transparent 75%);
}
html body .auth-branding-panel::after {
  content: "Verified providers \00B7  Instant confirmation \00B7  No booking fees"; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  position: absolute; left: 56px; right: 56px; bottom: 36px;
  font-family: var(--pub-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4);
}
html body .auth-branding-content { text-align: left !important; color: #fff !important; max-width: 440px; }
html body .auth-brand-logo { height: 34px !important; margin: 0 0 48px !important; filter: brightness(0) invert(1); }
html body .auth-branding-title {
  font-family: var(--pub-sans) !important; font-size: clamp(36px, 3.6vw, 52px) !important; font-weight: 650 !important;
  line-height: 1 !important; letter-spacing: -0.045em !important; color: #fff !important; margin-bottom: 18px !important;
}
html body .auth-branding-subtitle { color: rgba(255,255,255,.66) !important; font-size: 17px !important; max-width: 380px !important; }
html body .auth-branding-painpoint { font-family: var(--pub-mono) !important; font-size: 11px !important; font-weight: 500 !important; letter-spacing: .14em !important; color: #b9a8ff !important; }
html body .auth-features { margin-top: 44px !important; }
html body .provider-variant .auth-features { border-top-color: rgba(255,255,255,.1) !important; }
html body .auth-feature { gap: 14px !important; margin-bottom: 16px !important; opacity: 1 !important; }
html body .auth-feature-icon {
  width: 38px !important; height: 38px !important; border-radius: 11px !important;
  background: rgba(255,255,255,.07) !important; border: 1px solid rgba(255,255,255,.12); box-shadow: none !important;
}
html body .auth-feature-icon i { color: #cbbcff !important; font-size: 15px !important; }
html body .auth-feature-text { color: rgba(255,255,255,.82) !important; font-size: 15px !important; }
html body .auth-feature-title { color: #fff !important; }
html body .auth-feature-desc { color: rgba(255,255,255,.6) !important; }

/* Form panel */
html body .auth-form-panel { background: #fff; border-radius: 24px; border: 1px solid var(--pub-line); padding: 64px !important; }
html body .auth-form-container { max-width: 420px !important; }
html body .auth-close-btn {
  width: 42px !important; height: 42px !important; border-radius: 50% !important;
  background: #fff !important; border: 1px solid var(--pub-line) !important;
}
html body .auth-close-btn:hover { border-color: var(--pub-ink) !important; transform: none !important; }
html body .auth-close-btn i { color: var(--pub-ink) !important; font-size: 15px !important; }
html body .auth-form-header { margin-bottom: 30px !important; }
html body .auth-form-header h2 {
  font-family: var(--pub-sans) !important; font-size: 36px !important; font-weight: 650 !important; letter-spacing: -0.045em !important;
  line-height: 1.05 !important; color: var(--pub-ink) !important; margin-bottom: 10px !important;
}
html body .auth-form-header p { color: var(--pub-muted) !important; font-size: 15px !important; }
html body .auth-form label { font-size: 13px !important; font-weight: 550 !important; color: var(--pub-ink) !important; margin-bottom: 8px !important; }
html body .auth-form label .required { color: var(--pub-brand) !important; }
html body .auth-form :is(input:not([type=checkbox]):not([type=radio]), textarea, select) {
  height: 52px; padding: 0 16px !important; border: 1px solid var(--pub-line) !important; border-radius: 14px !important;
  background: #fbfaf8 !important; font-size: 15px !important; color: var(--pub-ink);
  transition: border-color .2s, background .2s, box-shadow .2s !important;
}
html body .auth-form textarea { height: auto; padding: 14px 16px !important; }
html body .auth-form :is(input, textarea, select):hover { border-color: var(--pub-line-strong) !important; }
html body .auth-form :is(input, textarea, select):focus { background: #fff !important; border-color: var(--pub-ink) !important; box-shadow: 0 0 0 4px rgba(22,20,31,.07) !important; }
html body .auth-form :is(input, select).is-invalid { border-color: #b42318 !important; box-shadow: 0 0 0 4px rgba(180,35,24,.08) !important; }
html body .password-toggle { color: var(--pub-subtle) !important; }
html body .auth-form .select2-container .select2-selection--single { height: 52px !important; border: 1px solid var(--pub-line) !important; border-radius: 14px !important; background: #fbfaf8 !important; }
html body .auth-form .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 34px !important; }
html body .auth-form .select2-container--default .select2-selection--single .select2-selection__arrow { height: 50px !important; }
html body .auth-form .select2-container--default.select2-container--focus .select2-selection--single { border-color: var(--pub-ink) !important; box-shadow: 0 0 0 4px rgba(22,20,31,.07) !important; }
html body .select2-dropdown { border: 1px solid var(--pub-line) !important; border-radius: 14px !important; box-shadow: 0 24px 50px -24px rgba(22,20,31,.35) !important; }
html body .select2-results__option--highlighted { background: var(--pub-sunken) !important; color: var(--pub-ink) !important; }

html body .btn-auth-primary {
  height: 54px; padding: 0 24px !important; border-radius: 14px !important;
  background: var(--pub-ink) !important; color: #fff !important; font-size: 15px !important; font-weight: 600 !important; letter-spacing: -0.01em;
  box-shadow: 0 14px 28px -16px rgba(15,13,26,.6) !important; transition: background .2s, transform .2s, box-shadow .2s !important;
}
html body .btn-auth-primary:hover { background: var(--pub-brand) !important; transform: translateY(-1px) !important; box-shadow: 0 18px 32px -16px rgba(90,50,230,.6) !important; }
html body .btn-auth-primary:disabled { background: #cfcac2 !important; box-shadow: none !important; transform: none !important; }
html body .btn-auth-secondary {
  height: 52px; padding: 0 24px !important; border-radius: 14px !important;
  background: #fff !important; border: 1px solid var(--pub-line) !important; color: var(--pub-ink) !important; font-weight: 600 !important;
}
html body .btn-auth-secondary:hover { border-color: var(--pub-ink) !important; background: #fff !important; }
html body .auth-link { color: var(--pub-ink) !important; font-weight: 600 !important; text-decoration: underline !important; text-decoration-color: var(--pub-line-strong) !important; text-underline-offset: 3px; }
html body .auth-link:hover { text-decoration-color: var(--pub-ink) !important; color: var(--pub-ink) !important; }
html body .auth-form-footer { color: var(--pub-muted) !important; font-size: 14px !important; }
html body .auth-divider { color: var(--pub-subtle) !important; font-family: var(--pub-mono); font-size: 11px !important; letter-spacing: .12em; text-transform: uppercase; }
html body .auth-divider::before, html body .auth-divider::after { background: var(--pub-line) !important; }
html body .auth-error { border-radius: 14px !important; background: #fdf3f2 !important; border-color: #f4d3cf !important; color: #b42318 !important; }
html body .auth-info { border-radius: 14px !important; background: color-mix(in srgb, var(--pub-brand) 6%, #fff) !important; border-color: color-mix(in srgb, var(--pub-brand) 20%, #fff) !important; color: var(--pub-ink) !important; }

/* Account type choice and MFA methods */
html body :is(.registration-card, .mfa-method-card) {
  border: 1px solid var(--pub-line) !important; border-radius: 18px !important; background: #fff !important;
  padding: 22px 18px !important; transition: border-color .2s, box-shadow .2s, transform .2s !important;
}
html body :is(.registration-card, .mfa-method-card):hover { border-color: var(--pub-line-strong) !important; background: #fff !important; transform: translateY(-1px); }
html body :is(.registration-card, .mfa-method-card).selected,
html body :is(.registration-card, .mfa-method-card).active { border-color: var(--pub-ink) !important; background: #fff !important; box-shadow: 0 0 0 3px rgba(22,20,31,.06) !important; }
html body .registration-card i { font-size: 22px !important; color: var(--pub-subtle) !important; }
html body .registration-card.selected i { color: var(--pub-brand) !important; }
html body .registration-card .card-title { font-size: 15px !important; color: var(--pub-ink) !important; letter-spacing: -0.01em; }
html body .auth-success-icon { background: color-mix(in srgb, var(--pub-success) 10%, #fff) !important; }
html body .auth-success-icon i { color: var(--pub-success) !important; }
html body .auth-success h3 { font-size: 28px !important; font-weight: 650 !important; letter-spacing: -0.04em !important; color: var(--pub-ink) !important; }

@media (max-width: 992px) {
  html body .auth-fullscreen { padding: 0; }
  html body .auth-form-panel { border-radius: 0; border: 0; padding: 72px 24px 32px !important; }
}
@media (max-width: 576px) {
  html body .auth-form-header h2 { font-size: 30px !important; }
}
html body .auth-fullscreen a[style*="--secondary"] { color: var(--pub-ink) !important; font-weight: 600 !important; text-decoration: underline; text-decoration-color: var(--pub-line-strong); text-underline-offset: 3px; }
/* Provider sign-up variant: more content, so it scrolls from the top and drops the footer strip */
html body .auth-branding-panel.provider-panel { justify-content: flex-start !important; overflow-y: auto; padding: 48px 52px !important; scrollbar-width: none; }
html body .auth-branding-panel.provider-panel::-webkit-scrollbar { display: none; }
html body .auth-branding-panel.provider-panel::after { display: none; }
html body .auth-branding-panel.provider-panel::before { position: fixed; }
html body .provider-variant .auth-brand-logo { margin-bottom: 36px !important; }
html body .provider-variant .auth-branding-title { font-size: clamp(34px, 3.2vw, 46px) !important; }
html body .provider-variant > .auth-feature-desc { margin-top: 24px; font-size: 13px !important; color: rgba(255,255,255,.5) !important; }
html body .provider-variant .auth-feature { margin-bottom: 14px !important; }

/* "Ask about group or on-site training" beside "Browse all courses" on a provider storefront
   (index.php; only when the provider switched it on, assets/f/enquiry_button.php) */
html body .mk-btn--ghost-light { background: transparent; color: #fff !important; box-shadow: none; border: 1.5px solid rgba(255,255,255,.55); margin-left: 10px; }
html body .mk-btn--ghost-light:hover { background: rgba(255,255,255,.12); box-shadow: none; }
@media (max-width: 640px) { html body .mk-btn--ghost-light { margin: 10px 0 0; } }
