/* PMP Certification Curriculum — uses EduHubSpot V3 site colors & typography */

.ehs-curriculum *,
.ehs-curriculum *::before,
.ehs-curriculum *::after { box-sizing: border-box; }

.ehs-curriculum {
  /* Site design tokens (webflow + course_details.css) */
  --ehs-blue: var(--_primitives---blue--100, #428dff);
  --ehs-blue-dark: var(--_primitives---blue--70, #5495f2);
  --ehs-blue-tint: var(--_primitives---blue--10, #e9f2ff);
  --ehs-blue-border: var(--_primitives---blue--20, #dae9ff);
  --ehs-blue-border-strong: var(--_primitives---blue--30, #b7e1ff);
  --ehs-red: var(--brandred, #ff1010);
  --ehs-ink: var(--color-scheme-1--text, #141414);
  --ehs-body: var(--_primitives---neutrals--dark-grey, #525252);
  --ehs-muted: var(--fd-grey, #8d8d8d);
  --ehs-line: var(--grey, #e5e5e5);
  --ehs-line-soft: var(--_primitives---neutrals--light-grey, #f0f0f0);
  --ehs-surface: var(--_primitives---neutrals--white, #fff);
  --ehs-font-body: var(--_typography---font-styles--body);
  --ehs-font-accent: var(--_typography---font-styles--span-font);

  font-family: var(--ehs-font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ehs-body);
  background: #fff;
  padding: 5rem 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow: visible;
}

.ehs-curriculum button,
.ehs-curriculum input,
.ehs-curriculum select,
.ehs-curriculum textarea {
  font-family: var(--ehs-font-body);
}

.ehs-cur-shell { max-width: 1200px; margin: 0 auto; }
.ehs-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ehs-cur-head { max-width: none; margin: 0 auto 2.75rem; text-align: center; }
.ehs-cur-head.blog33_component {
  flex-direction: column;
  align-items: center;
}
.ehs-cur-sub { margin: 0; }

.ehs-cur-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 372px; gap: 32px; align-items: stretch;
  position: relative;
}

.ehs-cur-main {
  min-width: 0;
  grid-column: 1;
}

.ehs-rail {
  grid-column: 2;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  position: relative;
  display: block;
}

/* CSS sticky fallback (JS fixed overrides when active) */
.ehs-curriculum:not(.ehs-rail-js-active) .ehs-rail-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
}

.ehs-curriculum.ehs-rail-js-active .ehs-rail-sticky {
  position: static;
}

.ehs-rail-sticky {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: none;
  overflow: visible;
}

.ehs-rail-placeholder {
  display: none;
  width: 100%;
  pointer-events: none;
}

.ehs-cur-toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 0 0 10px; margin-bottom: 4px;
}
.ehs-cur-toolbar-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ehs-muted);
  white-space: nowrap;
}

.ehs-cur-toggle {
  display: inline-flex; align-items: center; gap: 7px; background: none; border: 0;
  font-family: inherit; font-size: 0.875rem; font-weight: 600; color: var(--ehs-blue);
  cursor: pointer; padding: 6px 8px; border-radius: 6px !important; margin-right: -8px;
}
.ehs-cur-toggle:hover { background: var(--ehs-blue-tint); }
.ehs-cur-toggle svg { width: 15px; height: 15px; transition: transform .25s ease; }
.ehs-cur-toggle[data-state="open"] svg { transform: rotate(180deg); }

.ehs-cur-modules { position: relative; }

.ehs-mod {
  position: relative; z-index: 1; background: var(--ehs-surface);
  border: 1px solid var(--ehs-line); border-radius: 10px !important;
  margin-bottom: 10px; transition: border-color .2s ease, box-shadow .2s ease;
}
.ehs-mod:hover { border-color: var(--ehs-blue-border); box-shadow: 0 2px 10px rgba(66, 141, 255, .08); }
.ehs-mod.is-open {
  border-color: var(--ehs-blue-border-strong); box-shadow: 0 8px 28px rgba(66, 141, 255, .1);
}

.ehs-mod-head {
  position: relative; display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  cursor: pointer;
}
.ehs-mod-toggle {
  position: absolute; inset: 0; width: 100%; padding: 0; margin: 0;
  background: none; border: 0; cursor: pointer; font-family: inherit;
  border-radius: 10px !important;
  z-index: 0;
}
.ehs-mod-toggle:focus-visible { outline: 2px solid var(--ehs-blue); outline-offset: -2px; }
.ehs-mod-head > *:not(.ehs-mod-toggle) { position: relative; z-index: 1; pointer-events: none; }
.ehs-mod-head > .ehs-mod-preview {
  pointer-events: auto;
  z-index: 2;
}

.ehs-mod-num {
  font-family: var(--ehs-font-body);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ehs-muted);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  transition: color .22s ease;
  flex: none; width: 44px;
}
.ehs-mod.is-open .ehs-mod-num,
.ehs-mod-head:hover .ehs-mod-num { color: var(--ehs-blue); }

.ehs-mod-label { flex: 1; min-width: 0; }
.ehs-mod-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ehs-ink);
  letter-spacing: 0;
  line-height: 1.35;
}
.ehs-mod-domain {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ehs-muted);
  margin-top: 4px;
}

.ehs-mod-chevron {
  flex: none; width: 20px; height: 20px; color: var(--ehs-muted); transition: transform .28s ease, color .2s ease;
}
.ehs-mod.is-open .ehs-mod-chevron { transform: rotate(180deg); color: var(--ehs-blue); }

.ehs-mod-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}
.ehs-mod.is-open .ehs-mod-body {
  grid-template-rows: 1fr;
}
.ehs-curriculum.ehs-no-anim .ehs-mod-body {
  transition: none !important;
}
.ehs-cur-modules,
.ehs-mod {
  overflow-anchor: none;
}
.ehs-mod-inner {
  overflow: hidden;
  min-height: 0;
  padding: 2px 20px 20px 80px;
}

.ehs-topics {
  list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--ehs-line-soft);
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 28px;
}
.ehs-topic {
  display: flex; align-items: flex-start; gap: 10px; padding: 8px 0;
  font-size: 1rem; line-height: 1.5; color: var(--ehs-body);
}
.ehs-topic svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--ehs-blue); }

.ehs-mod-preview {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  padding: 6px 12px;
  font-family: inherit; font-size: 0.875rem; font-weight: 600;
  color: var(--ehs-blue);
  background: #fff;
  border: 1px solid var(--ehs-blue-border-strong);
  border-radius: 8px !important;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.ehs-mod-preview:hover {
  color: var(--ehs-blue-dark);
  background: var(--ehs-blue-tint);
  border-color: var(--ehs-blue);
}
.ehs-mod-preview:focus-visible { outline: 2px solid var(--ehs-blue); outline-offset: 2px; }
.ehs-mod-preview svg { width: 11px; height: 11px; flex: none; }

.ehs-preview-overlay {
  position: fixed; inset: 0; z-index: 99999; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(9, 20, 35, .74);
  font-family: var(--ehs-font-body);
}
.ehs-preview-overlay.is-video-open {
  background: transparent;
}
.ehs-preview-overlay.is-open { display: flex; }
.ehs-preview-dialog {
  position: relative;
  width: min(1020px, 100%);
  max-height: min(calc(100vh - 48px), calc(100dvh - 48px));
  display: flex; flex-direction: column;
  background: #fff; overflow: hidden;
  border-radius: 14px !important; box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  font-family: var(--ehs-font-body);
}
.ehs-preview-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  display: grid; place-items: center; width: 32px; height: 32px; padding: 0;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--ehs-line);
  color: var(--ehs-body); cursor: pointer; border-radius: 8px !important;
}
.ehs-preview-close:hover { background: #fff; color: var(--ehs-ink); }
.ehs-preview-close svg { width: 16px; height: 16px; }

.ehs-gate { display: grid; grid-template-columns: .86fr 1fr; min-height: 0; overflow: auto; }
.ehs-gate-aside {
  padding: 34px 30px; background: var(--ehs-blue-tint);
  border-right: 1px solid var(--ehs-blue-border); display: flex; flex-direction: column;
}
.ehs-gate-eyebrow {
  margin: 0 0 14px;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ehs-blue);
}
.ehs-gate-title {
  font-family: var(--ehs-font-body);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.35;
  color: var(--ehs-ink);
  margin: 0 0 10px;
}
.ehs-gate-module-wrap {
  display: inline;
  position: relative;
}
.ehs-gate-title .ehs-gate-module,
.ehs-gate-title .heading-style-h2.inline.blue {
  font-family: var(--ehs-font-accent);
  font-size: inherit;
  font-weight: 500;
  font-style: italic;
  line-height: inherit;
  color: var(--ehs-blue);
  display: inline;
  white-space: nowrap;
}
.ehs-gate-module-wrap .vector {
  width: 100%;
  max-width: none;
  position: absolute;
  inset: 118% 0% auto;
}
.ehs-gate-videos { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.ehs-gate-videos li {
  display: flex; align-items: center; gap: 11px; padding: 10px 12px;
  background: #fff; border: 1px solid var(--ehs-blue-border); border-radius: 8px !important;
}
.ehs-gate-vthumb {
  display: grid; place-items: center; width: 26px; height: 26px; flex: none;
  border: 1.5px solid var(--ehs-blue-border-strong); border-radius: 50% !important;
  background: #fff; color: var(--ehs-blue);
}
.ehs-gate-vthumb svg { width: 9px; height: 9px; margin-left: 1px; }
.ehs-gate-vtitle { flex: 1; min-width: 0; font-size: 0.875rem; font-weight: 600; color: var(--ehs-ink); line-height: 1.35; }
.ehs-gate-vtime {
  flex: none; font-size: 0.8125rem; font-weight: 600; color: var(--ehs-muted);
  font-variant-numeric: tabular-nums;
}
.ehs-gate-more {
  display: flex; align-items: center; gap: 8px; margin: 12px 0 0;
  font-size: 0.875rem; font-weight: 600; color: var(--ehs-blue);
}
.ehs-gate-more svg { width: 14px; height: 14px; flex: none; }
.ehs-gate-also {
  display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 0; padding: 11px 12px;
  background: rgba(255, 255, 255, .6); border: 1px dashed var(--ehs-blue-border-strong); border-radius: 8px !important;
  font-size: 0.875rem; line-height: 1.5; color: var(--ehs-body);
}
.ehs-gate-also b { color: var(--ehs-ink); font-weight: 700; }
.ehs-gate-also svg { width: 15px; height: 15px; flex: none; margin-top: 1px; color: var(--ehs-blue); }
.ehs-gate-proof {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  margin: auto 0 0; padding-top: 22px; border-top: 1px solid var(--ehs-blue-border);
}
.ehs-gate-stat { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.ehs-gate-brand { display: flex; align-items: center; justify-content: center; gap: 6px; }
.ehs-gate-brand svg { width: 14px; height: 14px; flex: none; }
.ehs-gate-brand span { font-size: 0.8125rem; font-weight: 600; color: var(--ehs-ink); }
.ehs-gate-stars, .ehs-gate-meta { display: flex; align-items: center; justify-content: center; height: 14px; }
.ehs-gate-stars { gap: 2px; }
.ehs-gate-stars svg { width: 12px; height: 12px; }
.ehs-gate-meta { font-size: 0.8125rem; font-weight: 500; color: var(--ehs-muted); white-space: nowrap; }
.ehs-gate-score {
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  font-family: var(--ehs-font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ehs-ink);
  line-height: 1;
  white-space: nowrap;
}
.ehs-gate-score i { font-style: normal; font-size: 0.8125rem; font-weight: 500; color: var(--ehs-muted); }

.ehs-gate-form { padding: 32px 30px; overflow: auto; }
.ehs-gate-form h4 {
  font-family: var(--ehs-font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ehs-ink);
  margin: 0 0 4px;
}
.ehs-gate-form p.ehs-gate-note { font-size: 0.875rem; color: var(--ehs-muted); margin: 0 0 20px; line-height: 1.5; }

.ehs-field { margin-bottom: 14px; }
.ehs-field.is-skipped { display: none; }
.ehs-field label { display: block; font-size: 0.8125rem; font-weight: 600; color: var(--ehs-ink); margin-bottom: 6px; }
.ehs-gate-form-fields input[readonly] {
  background: #f7f8fa;
  color: var(--ehs-ink);
  cursor: default;
}
.ehs-input {
  display: flex; align-items: center; width: 100%;
  border: 1px solid var(--ehs-line); border-radius: 8px !important; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.ehs-input input {
  width: 100%; padding: 0.625rem 0.75rem; border: 0; background: none; outline: none;
  font-family: var(--ehs-font-body); font-size: 0.875rem; color: var(--ehs-ink); border-radius: 8px !important;
}
.ehs-phone {
  display: flex; align-items: stretch; width: 100%;
  border: 1px solid var(--ehs-line); border-radius: 8px !important; background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
  overflow: visible;
}
.ehs-phone .ehs-phone-code-select {
  flex: none;
  width: 88px;
  max-width: 88px;
  border: 0;
  border-right: 1px solid var(--ehs-line-soft);
  border-radius: 8px 0 0 8px !important;
  background: #fafafa;
  padding: 0 4px;
  font-family: var(--ehs-font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ehs-ink);
  outline: none;
  cursor: pointer;
}
.ehs-phone .ehs-phone-code-select + .select2-container {
  flex: none !important;
  width: 88px !important;
  min-width: 88px !important;
  max-width: 88px !important;
}
.ehs-phone .select2-container--default .select2-selection--single {
  height: 100%;
  min-height: 44px;
  border: 0 !important;
  border-right: 1px solid var(--ehs-line-soft) !important;
  border-radius: 8px 0 0 8px !important;
  background: #fafafa;
}
.ehs-phone .select2-container--default .select2-selection--single .select2-selection__rendered {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 22px 0 6px !important;
  line-height: 44px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ehs-ink);
  overflow: hidden;
}
/* Closed field: flag + dial only — hide ISO (e.g. AE) to keep width tight */
.ehs-phone .select2-selection__rendered .country-iso-text {
  display: none !important;
}
.ehs-phone .select2-selection__rendered .country-flag {
  width: 16px !important;
  height: 12px !important;
  object-fit: cover;
  flex: none;
}
.ehs-phone .select2-selection__rendered .country-code-text {
  font-size: 0.8125rem;
  white-space: nowrap;
}
.ehs-phone .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
  top: 0;
  right: 2px;
  width: 16px;
}
.ehs-phone input[name="phone"],
.ehs-phone #ehsPhone {
  flex: 1;
  min-width: 0;
  width: auto;
  padding: 0.625rem 0.75rem;
  border: 0;
  background: none;
  outline: none;
  font-family: var(--ehs-font-body);
  font-size: 0.875rem;
  color: var(--ehs-ink);
  border-radius: 0 8px 8px 0 !important;
}
.ehs-input:focus-within, .ehs-phone:focus-within {
  border-color: var(--ehs-blue); box-shadow: 0 0 0 3px rgba(66, 141, 255, .14);
}
.ehs-gate-legal a {
  color: var(--ehs-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ehs-preview-dialog .select2-container--open .select2-dropdown {
  z-index: 1000050;
}
.ehs-pw-toggle {
  flex: none; padding: 0 11px; background: none; border: 0; cursor: pointer;
  font-family: inherit; font-size: 0.8125rem; font-weight: 600; color: var(--ehs-blue);
}
.ehs-field.has-error .ehs-input, .ehs-field.has-error .ehs-phone { border-color: var(--ehs-red); }
.ehs-error { display: none; font-size: 0.8125rem; font-weight: 600; color: var(--ehs-red); margin-top: 5px; }
.ehs-field.has-error .ehs-error { display: block; }
.ehs-hint { font-size: 0.8125rem; color: var(--ehs-muted); margin-top: 5px; }

.ehs-gate-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  margin-top: 6px; padding: 0.75rem 1.5rem;
  background-image: linear-gradient(45deg, var(--_primitives---blue--70, #5495f2) 38%, var(--_primitives---blue--40, #a0c4f8));
  color: #fff;
  border: 1px solid var(--ehs-blue-tint);
  border-radius: 14px !important;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 -4px 8px rgba(3, 75, 183, 0.5);
  transition: all .27s ease;
}
.ehs-gate-submit:hover {
  background-image: linear-gradient(45deg, var(--ehs-blue) 38%, var(--_primitives---blue--40, #a0c4f8));
}
.ehs-gate-submit[disabled] { opacity: .65; cursor: default; }
.ehs-gate-submit svg { width: 15px; height: 15px; }
.ehs-gate-legal { font-size: 0.8125rem; line-height: 1.5; color: var(--ehs-muted); margin: 12px 0 0; text-align: center; }

.ehs-player { display: none; min-height: 0; min-width: 0; width: 100%; flex: 1 1 auto; flex-direction: column; overflow: hidden; }
.ehs-preview-overlay.is-playing .ehs-player { display: flex; height: 100%; min-height: 0; }
.ehs-preview-overlay.is-playing .ehs-gate { display: none; }
.ehs-preview-overlay.is-playing .ehs-preview-dialog {
  width: min(440px, 100%);
  height: auto;
  max-height: min(680px, calc(100dvh - 48px));
}

.ehs-player-stack {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

.ehs-player-head { flex: none; padding: 14px 16px 10px; border-bottom: 1px solid var(--ehs-line-soft); }
.ehs-player-eyebrow { font-size: 0.6875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--ehs-muted); margin: 0 0 4px; }
.ehs-preview-title {
  font-family: var(--ehs-font-body);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ehs-ink);
  margin: 0;
  line-height: 1.35;
  padding-right: 36px;
}

.ehs-thumb-stage {
  position: relative;
  flex: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: #0b1626;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.ehs-thumb-stage:hover .ehs-thumb-play-btn { transform: translate(-50%, -50%) scale(1.06); }
.ehs-thumb-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ehs-thumb-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50% !important;
  background: rgba(66, 141, 255, .92);
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  transition: transform .18s ease;
}
.ehs-thumb-play-btn svg { width: 22px; height: 22px; margin-left: 3px; }

.ehs-playlist {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 10px 14px 10px;
}
.ehs-playlist-head {
  flex: none;
  font-size: 0.6875rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ehs-muted); margin-bottom: 10px;
}
.ehs-playlist-items {
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 4px;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.ehs-pl-item {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 11px;
  background: #fff; border: 1px solid var(--ehs-line); border-radius: 10px !important;
  font-family: inherit; text-align: left; cursor: pointer;
  transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.ehs-pl-item:hover { border-color: var(--ehs-blue-border-strong); box-shadow: 0 2px 10px rgba(66, 141, 255, .06); }
.ehs-pl-item.is-active { background: var(--ehs-blue-tint); border-color: var(--ehs-blue); }
.ehs-pl-thumb {
  display: grid; place-items: center; width: 28px; height: 28px; flex: none;
  border: 1.5px solid var(--ehs-line); border-radius: 50% !important;
  background: #fff; color: var(--ehs-muted); transition: all .18s ease;
}
.ehs-pl-thumb svg { width: 9px; height: 9px; margin-left: 1px; }
.ehs-pl-item:hover .ehs-pl-thumb { border-color: var(--ehs-blue-border-strong); color: var(--ehs-blue); }
.ehs-pl-item.is-active .ehs-pl-thumb { border-color: var(--ehs-blue); background: var(--ehs-blue); color: #fff; }
.ehs-pl-title {
  flex: 1; min-width: 0; font-size: 0.875rem; font-weight: 600; color: var(--ehs-ink); line-height: 1.35;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ehs-pl-item.is-active .ehs-pl-title { color: var(--ehs-blue-dark); font-weight: 600; }
.ehs-pl-time { flex: none; font-size: 0.8125rem; font-weight: 600; color: var(--ehs-muted); font-variant-numeric: tabular-nums; }

.ehs-player-foot {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--ehs-line-soft);
  background: var(--ehs-blue-tint);
  text-align: center;
}
.ehs-player-foot .ehs-btn-sim { justify-content: center; }
.ehs-player-foot p { font-size: 0.875rem; color: var(--ehs-body); margin: 0; }
.ehs-player-foot p b { color: var(--ehs-ink); font-weight: 700; }
.ehs-btn-sim {
  display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 0.75rem 1.5rem;
  background-image: linear-gradient(45deg, var(--_primitives---blue--70, #5495f2) 38%, var(--_primitives---blue--40, #a0c4f8));
  color: #fff; text-decoration: none;
  font-size: 1rem; font-weight: 600; border-radius: 14px !important;
  border: 1px solid var(--ehs-blue-tint);
  box-shadow: inset 0 -4px 8px rgba(3, 75, 183, 0.5);
  transition: all .27s ease;
}
.ehs-btn-sim:hover {
  background-image: linear-gradient(45deg, var(--ehs-blue) 38%, var(--_primitives---blue--40, #a0c4f8));
}
.ehs-btn-sim svg { width: 15px; height: 15px; }

/* Full-screen video popup (opens on thumbnail play) */
.ehs-video-popup {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(9, 20, 35, .74);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  font-family: var(--ehs-font-body);
}
.ehs-video-popup.is-open { display: flex; }
.ehs-video-popup-dialog {
  position: relative;
  width: min(960px, 100%);
  max-height: min(calc(100dvh - 48px), calc(100vh - 48px));
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px !important;
  overflow: visible;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}
.ehs-video-popup-close {
  position: absolute;
  top: -44px;
  right: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--ehs-line);
  color: var(--ehs-body);
  cursor: pointer;
  border-radius: 8px !important;
}
.ehs-video-popup-close:hover { background: #fff; color: var(--ehs-ink); }
.ehs-video-popup-close svg { width: 16px; height: 16px; }
.ehs-video-popup-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  flex: none;
  overflow: hidden;
  border-radius: 14px;
}
.ehs-video-popup-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.ehs-mod-note {
  display: flex; align-items: center; gap: 8px; margin: 14px 0 0; padding: 10px 12px;
  background: var(--ehs-blue-tint); border-radius: 8px !important;
  font-size: 0.875rem; font-weight: 600; color: var(--ehs-blue-dark);
}
.ehs-mod-note svg { width: 15px; height: 15px; flex: none; }

.ehs-cur-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; margin-top: 24px; padding: 20px 22px;
  background: var(--ehs-surface); border: 1px solid var(--ehs-line);
  border-radius: 10px !important;
}
.ehs-cur-foot-text { font-size: 1rem; color: var(--ehs-body); margin: 0; }
.ehs-cur-foot-text strong { color: var(--ehs-ink); font-weight: 700; }

.ehs-btn-syllabus {
  display: inline-flex; align-items: center; gap: 8px; padding: 0.75rem 1.5rem;
  background-image: linear-gradient(45deg, var(--_primitives---blue--70, #5495f2) 38%, var(--_primitives---blue--40, #a0c4f8));
  color: #fff; text-decoration: none;
  font-size: 1rem; font-weight: 600; border-radius: 14px !important;
  border: 1px solid #e9f2ff;
  box-shadow: inset 0 -4px 8px rgba(3, 75, 183, 0.5);
  transition: all .27s ease;
}
.ehs-btn-syllabus:hover {
  background-image: linear-gradient(45deg, var(--ehs-blue, #428dff) 38%, var(--_primitives---blue--40, #a0c4f8));
}
.ehs-btn-syllabus svg { width: 15px; height: 15px; }

.ehs-card {
  background: var(--ehs-surface); border: 1px solid var(--ehs-line);
  border-radius: 12px !important; overflow: hidden;
}
.ehs-card-sched {
  box-shadow: 0 1px 3px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.07);
  background: #fff;
  display: block;
  padding: 0;
  gap: 0;
  overflow: hidden;
  border-radius: 16px !important;
}

.ehs-sched-top {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 20px; border-bottom: 1px solid var(--ehs-line); background: #fff;
  border-radius: 16px 16px 0 0;
}
.ehs-sched-heading {
  font-family: var(--ehs-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ehs-ink);
  margin: 0;
}

.ehs-countdown { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.ehs-countdown-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.625rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ehs-muted);
}
.ehs-countdown-label i {
  width: 6px; height: 6px; border-radius: 50% !important; background: var(--ehs-red);
  animation: ehs-pulse 1.6s ease-in-out infinite;
}
@keyframes ehs-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.75); } }
.ehs-countdown-time {
  font-family: var(--ehs-font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ehs-red);
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.ehs-countdown-time b { font-weight: 700; }
.ehs-countdown.is-done .ehs-countdown-time { font-size: 0.875rem; letter-spacing: 0; }

.ehs-sched-body { padding: 20px; background: #fff; }
.ehs-sched-date {
  font-family: var(--ehs-font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ehs-ink);
  line-height: 1.4;
  margin: 0 0 16px;
}
.ehs-sched-rows { display: flex; flex-direction: column; gap: 11px; margin-bottom: 18px; }
.ehs-sched-row { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: var(--ehs-body); }
.ehs-sched-row svg { width: 17px; height: 17px; flex: none; color: var(--ehs-blue); }
.ehs-sched-row b { font-weight: 600; color: var(--ehs-ink); }
.ehs-sched-row em { font-style: normal; color: var(--ehs-muted); }

.ehs-price-block {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--ehs-line-soft);
  border-radius: 10px !important;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--ehs-line-soft);
}
.ehs-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.ehs-price-now {
  font-family: var(--ehs-font-body);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--ehs-ink);
  line-height: 1.2;
}
.ehs-price-was { font-size: 1rem; font-weight: 600; color: var(--ehs-muted); text-decoration: line-through; }
.ehs-price-off {
  padding: 3px 8px; background: var(--ehs-blue); color: #fff;
  border-radius: 6px !important; font-size: 11.5px; font-weight: 700;
}
.ehs-price-note { display: flex; align-items: flex-start; gap: 6px; margin: 9px 0 0; font-size: 0.875rem; font-weight: 500; color: var(--ehs-blue-dark); line-height: 1.4; }
.ehs-price-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }

.ehs-cta-group {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.ehs-btn-enroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  padding: 0.75rem 1rem;
  background-image: linear-gradient(45deg, var(--_primitives---blue--70, #5495f2) 38%, var(--_primitives---blue--40, #a0c4f8));
  color: #fff;
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.2;
  border-radius: 14px !important;
  border: 1px solid #e9f2ff;
  box-shadow: inset 0 -4px 8px rgba(3, 75, 183, 0.5);
  transition: all .27s ease;
  cursor: pointer;
  font-family: inherit;
}
.ehs-btn-enroll svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.ehs-btn-enroll:hover {
  background-image: linear-gradient(45deg, var(--ehs-blue, #428dff) 38%, var(--_primitives---blue--40, #a0c4f8));
}

.ehs-btn-schedules {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  padding: 0.75rem 1rem;
  background: #fff;
  color: var(--_primitives---neutrals--light-black, #292d32);
  text-decoration: none;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: 14px !important;
  border: 1px solid #e0e0e0;
  box-shadow: inset 0 -4px 8px rgba(41, 45, 50, 0.2);
  transition: all .27s ease;
  cursor: pointer;
  font-family: inherit;
}
.ehs-btn-schedules:hover {
  background: #f5f5f5;
  border-color: #d4d4d4;
}

@media (max-width: 420px) {
  .ehs-cta-group {
    flex-direction: column;
  }
  .ehs-btn-enroll,
  .ehs-btn-schedules {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
}

.ehs-trust {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 8px 16px;
  padding: 12px 16px; border-top: 1px solid var(--ehs-line-soft); background: #fff;
  border-radius: 0 0 16px 16px;
}
.ehs-trust span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.875rem; font-weight: 500; color: var(--ehs-muted); }
.ehs-trust svg { width: 13px; height: 13px; color: var(--ehs-blue); }

.ehs-card-broch {
  padding: 0;
  overflow: hidden;
  border-radius: 16px !important;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05), 0 4px 16px rgba(0, 0, 0, .07);
}

.ehs-proof { display: grid; grid-template-columns: 1fr 1fr; background: #fff; }
.ehs-proof-tile { padding: 18px 14px; text-align: center; }
.ehs-proof-tile + .ehs-proof-tile { border-left: 1px solid var(--ehs-line-soft); }

.ehs-proof-brand { display: flex; align-items: center; justify-content: center; gap: 7px; }
.ehs-proof-brand svg { width: 16px; height: 16px; flex: none; }
.ehs-proof-brand span { font-size: 0.875rem; font-weight: 600; color: var(--ehs-ink); }

.ehs-stars { display: flex; justify-content: center; gap: 2px; margin: 11px 0 9px; }
.ehs-stars svg { width: 15px; height: 15px; }

.ehs-proof-score {
  display: flex; align-items: baseline; justify-content: center; gap: 5px;
  font-family: var(--ehs-font-body);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ehs-ink);
  line-height: 1;
}
.ehs-proof-score em { font-style: normal; font-size: 0.875rem; font-weight: 500; color: var(--ehs-muted); }

.ehs-proof-foot {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 16px; border-top: 1px solid var(--ehs-line-soft);
  font-size: 0.875rem; font-weight: 500; color: var(--ehs-body);
}
.ehs-proof-foot svg { width: 14px; height: 14px; flex: none; color: var(--ehs-blue); }

.ehs-broch-body { padding: 18px; border-top: 1px solid var(--ehs-line); }
.ehs-broch-title {
  font-family: var(--ehs-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ehs-ink);
  margin: 0 0 4px;
}
.ehs-broch-sub { font-size: 0.875rem; color: var(--ehs-muted); margin: 0 0 14px; }
.ehs-btn-broch {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 0.75rem 1rem; background: #fff; color: var(--ehs-blue);
  border: 1px solid var(--ehs-blue-border-strong); border-radius: 14px !important;
  font-size: 1rem; font-weight: 600; text-decoration: none; transition: all .2s ease;
  cursor: pointer; font-family: inherit;
}
.ehs-btn-broch:hover { background: var(--ehs-blue-tint); border-color: var(--ehs-blue); }
.ehs-btn-broch svg { width: 15px; height: 15px; }

.ehs-sched-coming-soon {
  display: none;
  text-align: center;
  padding: 32px 20px;
  background: #fff;
}
.ehs-sched-coming-soon.is-visible { display: block; }
.ehs-sched-coming-soon h4 {
  margin: 12px 0 6px;
  font-family: var(--ehs-font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ehs-ink);
}
.ehs-sched-coming-soon p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ehs-muted);
}

@media (max-width: 900px) {
  .ehs-preview-overlay { padding: 12px; }
  .ehs-gate { grid-template-columns: 1fr; }
  .ehs-gate-aside { display: none; }
  .ehs-gate-form { padding: 26px 20px; }
  .ehs-preview-overlay.is-playing .ehs-preview-dialog {
    width: 100%;
    max-width: 100%;
    max-height: min(calc(100dvh - 24px), calc(100vh - 24px));
  }
  .ehs-video-popup { padding: 12px; }
  .ehs-video-popup-dialog { width: 100%; }
}

@media (max-width: 1080px) {
  .ehs-cur-grid { grid-template-columns: 1fr; }
  .ehs-cur-main,
  .ehs-rail {
    grid-column: 1;
    width: 100%;
    min-width: 0;
  }
  .ehs-cur-main { order: 1; }
  .ehs-rail,
  .ehs-rail-sticky {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    z-index: auto !important;
  }
  .ehs-rail {
    display: flex;
    flex-direction: column;
    gap: 16px;
    order: 2;
  }
  .ehs-rail-sticky {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .ehs-rail-placeholder { display: none !important; }
  .ehs-card-sched,
  .ehs-card-broch {
    flex: none;
    width: 100%;
    max-width: none;
  }
}
@media (max-width: 991px) {
  .ehs-curriculum .heading-style-h2.inline { font-size: 2rem; }
}
@media (max-width: 720px) {
  .ehs-curriculum { padding: 3.75rem 1rem 4.25rem; }
  .ehs-curriculum .heading-style-h2.inline { font-size: 1.75rem; white-space: normal; }
  .ehs-curriculum .blog33_component .text-size-medium.text-color-dark-grey {
    font-size: 1.0625rem;
    line-height: 1.5;
  }
  .ehs-cur-grid { gap: 20px; }
  .ehs-sched-top {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }
  .ehs-countdown { align-items: flex-start; }
  .ehs-sched-body { padding: 16px; }
  .ehs-sched-date { font-size: 1.0625rem; margin-bottom: 14px; }
  .ehs-sched-row {
    align-items: flex-start;
    font-size: 0.9375rem;
    line-height: 1.45;
  }
  .ehs-sched-row span { min-width: 0; }
  .ehs-price-now { font-size: 1.5rem; }
  .ehs-cta-group { flex-direction: column; }
  .ehs-mod-head {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 14px 14px;
  }
  .ehs-mod-num { width: 28px; font-size: 1.0625rem; }
  .ehs-mod-label {
    flex: 1 1 calc(100% - 40px);
    min-width: 0;
    order: 2;
  }
  .ehs-mod-preview {
    order: 3;
    margin-left: 40px;
    font-size: 0.8125rem;
  }
  .ehs-mod-chevron { order: 4; margin-left: auto; }
  .ehs-mod-title { font-size: 0.9375rem; }
  .ehs-mod-inner { padding: 2px 14px 18px 14px; }
  .ehs-topics { grid-template-columns: 1fr; }
  .ehs-topic { font-size: 0.9375rem; }
  .ehs-cur-foot { flex-direction: column; align-items: stretch; text-align: center; }
  .ehs-btn-syllabus { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .ehs-curriculum *, .ehs-curriculum *::before { transition: none !important; animation: none !important; }
}
