/* GENERATED by scripts/build_global_css.py from global-code-snippets.html. Do not edit; edit the source file. */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

/* ── Centering: min 40px gutter, centered at max-width 1280px ── */
#header {
  padding-left: 0 !important;
  padding-right: 0 !important;
  height: auto !important;
  min-height: 78px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
}
/* Header is position: fixed (SkillJar default). Bumps body offset just enough
   so content clears our 78px header without leaving a visible gap below it. */
body {
  padding-top: 18px !important;
}
/* Vertically center #header-left and #header-right by anchoring them at the
   header's vertical midpoint, then offsetting back by half their own height.
   SkillJar's defaults position these absolutely with `top: 0; height: 100%`,
   which makes flex centering depend on the computed header height. Using
   top: 50% + translate avoids that. */
#header-left,
#header-right {
  top: 50% !important;
  bottom: auto !important;
  height: auto !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  align-items: center !important;
}
#header-left .header-logo-link {
  display: flex !important;
  align-items: center !important;
}
#header-left .header-logo-link img,
#header-left img {
  display: block !important;
}
/* Logo size + inset per creative's 2026 web-logo proof. SkillJar caps the
   logo at 50px tall on desktop (height and max-height); the proof's logo is ~1.55x that, filling
   the 78px header. The SVG's own (asymmetric) padding keeps the "Academy"
   wordmark vertically centered. The extra left margin moves the logo ~28px
   right of the gutter the hero content lines up with (SkillJar already adds
   20px of padding). Desktop only, so the mobile header stays as it was. */
@media only screen and (min-width: 876px) {
  #header .header-center-img.header-logo-svg {
    height: 78px !important;
    max-height: none !important; /* SkillJar also caps .header-center-img at max-height: 50px */
    width: auto !important;
  }
  #header-left .header-logo-link {
    margin-left: 28px !important;
  }
}
/* Inner nav containers only need flex on desktop. On mobile SkillJar hides
   them and shows the hamburger, so overriding their display would break the
   mobile layout. */
@media only screen and (min-width: 876px) {
  #header-right .headerheight,
  #header-right .align-vertical,
  #header-right .header-links-container,
  #header-right .search-container,
  #header-right .account-nav {
    display: flex !important;
    align-items: center !important;
    height: auto !important;
  }
}
#header-left {
  margin-left: max(20px, calc((100vw - 1280px) / 4)) !important;
}
#header-right {
  margin-right: max(20px, calc((100vw - 1280px) / 4)) !important;
}

/* ── Sign In button ── */
#header a.login-link.sj-text-sign-in {
  background-color: #17212B !important;  /* Posit Dark Blue */
  color: #ffffff !important;
  padding: 14px 22px !important;
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  transition: background-color 0.15s !important;
}
#header a.login-link.sj-text-sign-in:hover {
  background-color: #213D4F !important;
  color: #ffffff !important;
}

/* ── Main nav links ── */
#header .header-link--base {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #17212B !important;
}
#header .header-link--base:hover {
  color: #447099 !important;
}


/* ── Dynamic nav collapse (class toggled by JS when logo meets nav) ── */
#header.pa-collapse-nav .header-links-container {
  display: none !important;
}
#header.pa-collapse-nav #toggle-header-mobile-dropdown {
  display: flex !important;
}

/* ── Mobile ── */
@media only screen and (max-width: 768px) {
  #header-left  { margin-left:  20px !important; }
  #header-right { margin-right: 20px !important; }
}

/* ═══════════════════════════════════════════════
   BASE COURSE CARD
   ═══════════════════════════════════════════════ */
a.coursebox-container {
  border-radius: 12px !important;
  border: 1px solid #D1DBE5 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
  overflow: hidden !important;
  background: #D1DBE540 !important;
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
  text-decoration: none !important;
  padding: 0 !important;
}
/* Cards fill their grid column; grid template controls column count and width */
a.coursebox-container:not([data-tags="separator"]) {
  width: 100% !important;
  max-width: 100% !important;
}
a.coursebox-container:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.1) !important;
  transform: translateY(-3px) !important;
}
/* Separators are section headers, not clickable cards — suppress the lift effect */
a.coursebox-container[data-tags="separator"]:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* Image */
a.coursebox-container .coursebox-image {
  width: 100% !important;
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  font-size: 0 !important;
  overflow: hidden !important;
}
/* Regular course/training cards: fix container aspect ratio so object-fit:cover works at any zoom level.
   Scoped to non-path pages — path pages use a fixed 220px image column and don't need this. */
body:not(.sj-page-detail-path):not(.sj-page-path) a.coursebox-container:not([data-tags~="role-card"]):not([data-tags~="separator"]):not([data-tags~="path-desc"]) .coursebox-image {
  aspect-ratio: 16 / 9 !important;
  max-height: 280px !important;
}
a.coursebox-container .coursebox-image img {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
}

/* Title */
a.coursebox-container .coursebox-text {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 17px !important;
  font-weight: 500 !important;
  color: #17212B !important;
  padding: 10px 16px 6px !important;
  line-height: 1.3 !important;
  margin: 0 !important;
}

/* Description */
a.coursebox-container .coursebox-text-description {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #707073 !important;
  line-height: 1.6 !important;
  padding: 0 16px 8px !important;
  margin: 0 !important;
}

/* Mobile — cards fill full container width */
@media only screen and (max-width: 640px) {
  a.coursebox-container:not([data-tags="separator"]) {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Live Training card — yellow tint background.
   SkillJar joins data-tags with commas (e.g. "live-training,posit-connect"),
   so use *= (substring) instead of ~= (whitespace-token) so this still matches
   when the course has additional tags alongside "live-training". */
a.coursebox-container[data-tags*="live-training"] {
  background: #F4C54040 !important;
  border-color: #F4C540 !important;
}

/* Learning Path card — dark blue body.
   Target only known child elements — NOT a wildcard — so the ribbon keeps its own styling. */
a.coursebox-container[data-tags*="learning-path"],
a.coursebox-container[data-tags*="learning-path"]:hover {
  background: #213D4F !important;
  border-color: #213D4F !important;
  /* Only animate shadow/transform — prevent any background-color transition
     that would cause a white flash between the image and text area on hover */
  transition: box-shadow 0.2s ease, transform 0.2s ease !important;
}
/* Fill the image div so no gap shows through between image and text.
   transition:none stops any background-color fade SkillJar applies to children.
   translateZ(0) forces a compositor layer, preventing subpixel rendering gaps. */
a.coursebox-container[data-tags*="learning-path"] .coursebox-image {
  background-color: #213D4F !important;
  transition: none !important;
  transform: translateZ(0);
  line-height: 0 !important;
}
a.coursebox-container[data-tags*="learning-path"] .coursebox-text,
a.coursebox-container[data-tags*="learning-path"] .coursebox-text-description,
a.coursebox-container[data-tags*="learning-path"] .coursebox-tags,
a.coursebox-container[data-tags*="learning-path"] .no-coursebox-image-v2,
a.coursebox-container[data-tags*="learning-path"]:hover .coursebox-text,
a.coursebox-container[data-tags*="learning-path"]:hover .coursebox-text-description,
a.coursebox-container[data-tags*="learning-path"]:hover .coursebox-tags,
a.coursebox-container[data-tags*="learning-path"]:hover .no-coursebox-image-v2 {
  background-color: #213D4F !important;
}
/* Ghost badge */
a.coursebox-container[data-tags*="learning-path"] .coursebox-tag[data-tag="learning-path"] > span,
a.coursebox-container[data-tags*="learning-path"]:hover .coursebox-tag[data-tag="learning-path"] > span {
  background-color: rgba(255,255,255,0.15) !important;
}
/* Hide known elements that create the "stacked card" appearance */
a.coursebox-container[data-tags*="learning-path"] .storefront-price,
a.coursebox-container[data-tags*="learning-path"] .coursebox-callout,
a.coursebox-container[data-tags*="learning-path"] .course-series-count,
a.coursebox-container[data-tags*="learning-path"]:hover .storefront-price,
a.coursebox-container[data-tags*="learning-path"]:hover .coursebox-callout,
a.coursebox-container[data-tags*="learning-path"]:hover .course-series-count {
  display: none !important;
}
/* Catch anything SkillJar injects AFTER the badge at hover time */
a.coursebox-container[data-tags*="learning-path"] .coursebox-tags ~ *,
a.coursebox-container[data-tags*="learning-path"]:hover .coursebox-tags ~ * {
  display: none !important;
  background-color: #213D4F !important;
}
/* Hide both pseudo-elements — JS inline styles handle the dark background */
a.coursebox-container[data-tags*="learning-path"]::before,
a.coursebox-container[data-tags*="learning-path"]::after,
a.coursebox-container[data-tags*="learning-path"]:hover::before,
a.coursebox-container[data-tags*="learning-path"]:hover::after {
  display: none !important;
  content: none !important;
}
a.coursebox-container[data-tags*="learning-path"] .coursebox-text {
  color: #ffffff !important;
}
a.coursebox-container[data-tags*="learning-path"] .coursebox-text-description {
  color: rgba(255,255,255,0.75) !important;
}

/* Catalog container — strip SkillJar's own width/padding constraints */
#catalog-content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Course listing — fixed-column grid keeps card sizes consistent at any zoom level */
#catalog-courses {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
  gap: 16px !important;
  align-items: start !important;
  padding-top: 0 !important;
  box-sizing: border-box !important;
}

/* Hide price and the generic callout slot */
a.coursebox-container .storefront-price,
a.coursebox-container .coursebox-callout {
  display: none !important;
}

/* …but reveal the course-time callout when SkillJar has populated it.
   SkillJar drops an empty <span> here and fills "93 min" client-side only
   for courses with "Display Course And Lesson Times" enabled, so the
   :has(span:not(:empty)) guard keeps untagged cards (and separators) clean. */

/* Only cards with a populated time become a positioning context, so the
   time can be pinned to the bottom-right corner (opposite the type badge).
   container-type makes the card a query container so the time can reflow
   below the badge on narrow cards (see @container rule below). */
a.coursebox-container:has(.course-time.coursebox-callout span:not(:empty)) {
  position: relative !important;
  container-type: inline-size !important;
}
a.coursebox-container .course-time.coursebox-callout:has(span:not(:empty)) {
  position: absolute !important;
  /* SkillJar's own CSS absolutely-positions .coursebox-callout with a left/top;
     reset them to auto so the element shrink-wraps to the bottom-right instead
     of stretching left→right (which left-aligns the text). */
  left: auto !important;
  top: auto !important;
  right: 16px !important;
  bottom: 18px !important;
  width: auto !important;
  z-index: 2 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  padding: 0 !important;
  margin: 0 !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #707073 !important;
  line-height: 1.2 !important;
}
a.coursebox-container .course-time.coursebox-callout:has(span:not(:empty))::before {
  content: "" !important;
  width: 14px !important;
  height: 14px !important;
  flex: none !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23707073'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M12%207v5l3%202'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

/* Narrow cards: not enough room for the type badge and the time on one line,
   so drop the time out of the corner and stack it below the badge (left
   aligned). order:2 places it after .coursebox-tags in the flex column. */
@container (max-width: 290px) {
  a.coursebox-container .course-time.coursebox-callout:has(span:not(:empty)) {
    position: static !important;
    order: 2 !important;
    margin: 0 !important;
    padding: 2px 16px 16px !important;
    justify-content: flex-start !important;
  }
  a.coursebox-container:not([data-tags="separator"]) .coursebox-tags {
    padding-bottom: 0 !important; /* the time now provides the bottom space */
  }
}

/* Hide separator cards until JS has stripped [separator] and set data-pa-ready.
   Uses visibility:hidden so the card still occupies its space (no layout shift). */
a.coursebox-container[data-tags="separator"]:not([data-pa-ready]) {
  visibility: hidden !important;
}

/* ── Container: single-column stacked layout ── */
a.coursebox-container[data-tags="separator"] {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  padding: 20px 0 32px 0 !important;
  width: 100% !important;
  min-height: unset !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
  pointer-events: none !important;
  display: block !important;
}

/* ── Title ── */
a.coursebox-container[data-tags="separator"] .coursebox-text {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(26px, 3vw, 42px) !important;
  font-weight: 500 !important;
  color: #17212B !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 0 0 14px !important;
  display: block !important;
}

/* Blue underline accent */
a.coursebox-container[data-tags="separator"] .coursebox-text::after {
  content: '';
  display: block;
  width: 150px;
  height: 3px;
  background-color: #447099;
  margin-top: 14px;
}

/* ── Description ── */
a.coursebox-container[data-tags="separator"] .coursebox-text-description {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  line-height: 1.7 !important;
  padding: 0 !important;
  margin: 0 0 24px !important;
  display: block !important;
}

/* ── "Explore" button (injected by JS) ── */
.pa-sep-btn {
  display: block;
  width: fit-content;
  margin-top: 20px;
  font-family: 'Open Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background-color: #17212B;
  border-radius: 4px;
  padding: 16px 28px;
  cursor: pointer;
  pointer-events: auto;
  text-decoration: none;
  transition: background-color 0.15s;
}
.pa-sep-btn:hover {
  background-color: #3A5672;
}

/* Hide price, image, CTA, tags, ribbon, after-element, and from search results */
a.coursebox-container[data-tags="separator"] .storefront-price,
a.coursebox-container[data-tags="separator"] .coursebox-image,
a.coursebox-container[data-tags="separator"] .no-coursebox-image-v2,
a.coursebox-container[data-tags="separator"] .coursebox-callout,
a.coursebox-container[data-tags="separator"] .coursebox-tags,
a.coursebox-container[data-tags="separator"] .sj-ribbon-wrapper,
a.coursebox-container[data-tags="separator"]:after,
.search a.coursebox-container[data-tags="separator"] {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   ROLE CARDS  (tag: role-card)
   Layout: solid teal header (role name + chevron)
   on top; clear photo filling the bottom.

   Pure CSS — no JS required.
   Card is a CSS grid (rows: auto | 1fr).
   The 1fr row gives .coursebox-image a definitively-
   sized track; an inner grid then fills it with the
   photo. No percentage-vs-flex-grown-parent issues.
   ═══════════════════════════════════════════════ */

/* Card: CSS grid container, portrait 3:4.
   Still a flex ITEM inside #catalog-courses (flex:none
   opts out of flex-grow so it stays at its stated width).
   Use #catalog-courses prefix for specificity over
   SkillJar's own flex-grow/max-width rules. */
/* Wrapper injected by JS: spans all grid columns, centers role cards inside */
.pa-role-cards-wrapper {
  grid-column: 1 / -1 !important;
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  flex-wrap: wrap !important;
}

/* :not(.not-found):not(.filtered) lets SkillJar's catalog filter hide a role
   card (it adds those classes; SkillJar hides them with display:none!important)
   without this higher-specificity !important grid winning the tie and re-showing it. */
#catalog-courses a.coursebox-container[data-tags~="role-card"]:not(.not-found):not(.filtered),
a.coursebox-container[data-tags~="role-card"]:not(.not-found):not(.filtered) {
  display: grid !important;
  grid-template-rows: 52px 1fr !important;
  grid-template-columns: 1fr !important;
  grid-template-areas: "header" "photo" !important;  /* named areas — beats order/DOM order */
  flex: 0 0 min(calc(50% - 8px), 460px) !important;
  max-width: 460px !important;
  position: relative !important;
  overflow: hidden !important;
  border: none !important;
  border-radius: 16px !important;
  background: #3D6F74 !important;
  aspect-ratio: 4 / 3 !important;
  min-height: 0 !important;
  align-self: flex-start !important;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15) !important;
}
/* Mobile: single column, full width */
@media (max-width: 640px) {
  #catalog-courses a.coursebox-container[data-tags~="role-card"],
  a.coursebox-container[data-tags~="role-card"] {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}
a.coursebox-container[data-tags~="role-card"]::before { display: none !important; }
a.coursebox-container[data-tags~="role-card"]::after  { display: none !important; }

/* Per-role background overrides (set via data-pa-role by JS) */
#catalog-courses a.coursebox-container[data-pa-role="it-admin"],
a.coursebox-container[data-pa-role="it-admin"] {
  background: #94BDBF !important;
}
#catalog-courses a.coursebox-container[data-pa-role="it-admin"] .coursebox-text,
a.coursebox-container[data-pa-role="it-admin"] .coursebox-text {
  color: #17212B !important;
}
#catalog-courses a.coursebox-container[data-pa-role="it-admin"] .coursebox-text::after,
a.coursebox-container[data-pa-role="it-admin"] .coursebox-text::after {
  color: rgba(23,33,43,0.7) !important;
}

/* Hover */
a.coursebox-container[data-tags~="role-card"]:hover {
  box-shadow: 0 6px 24px rgba(61,111,116,0.40) !important;
  transform: translateY(-3px) !important;
  border-color: #94BDBF !important;
}

/* ── Title row — explicitly placed in the "header" grid area ── */
a.coursebox-container[data-tags~="role-card"] .coursebox-text {
  grid-area: header !important;      /* explicit: always row 1, regardless of DOM order */
  position: static !important;
  top: auto !important; right: auto !important;
  bottom: auto !important; left: auto !important;
  z-index: auto !important;
  display: flex !important;          /* flex row for chevron alignment */
  align-items: center !important;
  justify-content: space-between !important;
  padding: 0 16px !important;        /* vertical centering from fixed row height */
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(14px, 1.6vw, 18px) !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  margin: 0 !important;
  width: auto !important;
  overflow: hidden !important;       /* clip if role name is very long */
}
a.coursebox-container[data-tags~="role-card"] .coursebox-text::after {
  content: '›' !important;
  font-size: 32px !important;
  line-height: 1 !important;
  color: rgba(255,255,255,0.85) !important;
  flex-shrink: 0 !important;
  margin-left: 12px !important;
}

/* ── Photo area — explicitly placed in the "photo" grid area ──
   align-self:stretch (default) gives this grid item a definite
   height from the 1fr track. position:relative makes it the
   containing block for the absolutely-positioned img. */
a.coursebox-container[data-tags~="role-card"] .coursebox-image {
  grid-area: photo !important;       /* explicit: always row 2, regardless of DOM order */
  position: relative !important;
  top: auto !important; right: auto !important;
  bottom: auto !important; left: auto !important;
  margin: 0 8px 8px !important;
  width: auto !important;            /* override base width:100% — margins would overflow otherwise */
  background-image: none !important;
  overflow: hidden !important;
  border-radius: 10px !important;
  display: block !important;
}
/* Photo fills the container via absolute positioning.
   Works because the grid-item parent has definite height
   from align-self:stretch within the 1fr track. */
a.coursebox-container[data-tags~="role-card"] .coursebox-image img {
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 20% !important;
}

/* Hide non-essential elements */
a.coursebox-container[data-tags~="role-card"] .no-coursebox-image-v2,
a.coursebox-container[data-tags~="role-card"] .coursebox-image-inner-wrapper,
a.coursebox-container[data-tags~="role-card"] .storefront-price,
a.coursebox-container[data-tags~="role-card"] .coursebox-text-description,
a.coursebox-container[data-tags~="role-card"] .coursebox-callout,
a.coursebox-container[data-tags~="role-card"] .coursebox-tags,
a.coursebox-container[data-tags~="role-card"] .sj-ribbon-wrapper {
  display: none !important;
}

/* Don't show role cards in search results */
.search a.coursebox-container[data-tags~="role-card"] {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   COURSE TYPE BADGE  (On-Demand Course / Live Training)
   Hides all other tags; shows only the two type
   tags as coloured pill badges below the description.
   ═══════════════════════════════════════════════ */

/* Tags container — flex row, sits below description */
a.coursebox-container:not([data-tags="separator"]) .coursebox-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  padding: 0 16px 16px !important;
  margin: 0 !important;
}

/* ── Pin the type badge to the bottom-left corner ──
   Make regular grid tiles a flex column and push the tags row to the bottom
   with margin-top:auto, so the badge lines up with the bottom-right time
   label across equal-height cards (grid stretches cards in a row). Scoped
   to course/training tiles — separator/role-card/learning-path/path-desc and
   the path pages keep their own layouts.

   The :not(.not-found):not(.filtered) guards are critical: catalog.min.js
   filters by tagging non-matching cards with the `not-found` (and `filtered`)
   class, hidden via SkillJar's `.not-found{display:none!important}`. That rule
   is only one class of specificity, so without these guards this rule's far
   higher specificity wins the !important tie and re-shows every filtered-out
   card — making filtering appear broken. Excluding those cards from this
   selector lets SkillJar's hide rule apply. */
body:not(.sj-page-detail-path):not(.sj-page-path) a.coursebox-container:not([data-tags="separator"]):not([data-tags~="role-card"]):not([data-tags~="learning-path"]):not([data-tags~="path-desc"]):not(.not-found):not(.filtered) {
  display: flex !important;
  flex-direction: column !important;
}
body:not(.sj-page-detail-path):not(.sj-page-path) a.coursebox-container:not([data-tags="separator"]):not([data-tags~="role-card"]):not([data-tags~="learning-path"]):not([data-tags~="path-desc"]) .coursebox-tags {
  margin-top: auto !important;
}

/* Re-assert the horizontal search-results layout — higher specificity than
   the column-flex rule above (adds .search), so search rows stay block.
   Same :not(.not-found):not(.filtered) guard so non-matching search results
   stay hidden rather than being re-shown by this !important rule. */
body:not(.sj-page-detail-path):not(.sj-page-path) .search a.coursebox-container:not([data-tags="separator"]):not([data-tags~="role-card"]):not([data-tags~="learning-path"]):not([data-tags~="path-desc"]):not(.not-found):not(.filtered) {
  display: block !important;
}
body:not(.sj-page-detail-path):not(.sj-page-path) .search a.coursebox-container:not([data-tags="separator"]):not([data-tags~="role-card"]):not([data-tags~="learning-path"]):not([data-tags~="path-desc"]) .coursebox-tags {
  margin-top: 0 !important;
}

/* Hide every tag by default */
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag {
  display: none !important;
}

/* Show only on-demand-course + live-training + learning-path */
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="on-demand-course"],
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="live-training"],
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="learning-path"] {
  display: inline-flex !important;
  align-items: center !important;
}

/* On learning-path cards, only show the "Learning Path" badge — hide everything else */
a.coursebox-container[data-tags*="learning-path"] .coursebox-tag:not([data-tag="learning-path"]) {
  display: none !important;
}

/* Pill base */
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="on-demand-course"] > span,
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="live-training"] > span,
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="learning-path"] > span {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #ffffff !important;
  padding: 5px 12px !important;
  border-radius: 20px !important;
  line-height: 1 !important;
  display: inline-block !important;
}

/* On-Demand Course — Posit Blue */
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="on-demand-course"] > span {
  background-color: #447099 !important;
}

/* Live Training — Academy Yellow (dark text for contrast) */
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="live-training"] > span {
  background-color: #F6B000 !important;
  color: #17212B !important;
}

/* Learning Path — ghost pill: semi-transparent white on dark background */
a.coursebox-container:not([data-tags="separator"]) .coursebox-tag[data-tag="learning-path"] > span {
  background-color: rgba(255,255,255,0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255,255,255,0.40) !important;
  padding: 4px 12px !important; /* 1px less to compensate for added border */
}

/* ═══════════════════════════════════════════════
   COURSE TILE THEME  (Academy 2.0 iconography system)
   Tile body, border, image backing and type pill all follow the course's
   family × format cell from the iconography proof. The script below reads
   the family tag (tile-general, tile-connect, …) plus the format tag
   (on-demand-course / live-training), sets --pa-tile-img / --pa-pill-bg and
   data-pa-format on the card, and adds .pa-tile. Cards without a family tag
   keep the legacy styling, so missing tags stay visible.

   The extra [data-pa-format] attribute in each selector lifts specificity
   above the live-training tint and the path-page image-panel rules.
   ═══════════════════════════════════════════════ */
a.coursebox-container.pa-tile[data-pa-format]:not([data-tags="separator"]) {
  background: color-mix(in srgb, var(--pa-tile-img) var(--pa-tile-mix), #ffffff) !important;
  border-color: var(--pa-tile-img) !important;
}
/* Body is a lighter shade of the image colour. Live colours are saturated,
   so they take more white than the already-light on-demand tints. */
a.coursebox-container.pa-tile[data-pa-format="on-demand"] { --pa-tile-mix: 50%; }
a.coursebox-container.pa-tile[data-pa-format="live"]      { --pa-tile-mix: 35%; }

/* Image backing matches the artwork so letterboxing / path-page panels blend */
a.coursebox-container.pa-tile[data-pa-format]:not([data-tags="separator"]) .coursebox-image {
  background-color: var(--pa-tile-img) !important;
}

/* Default grey description fails contrast on tinted bodies — darken it */
a.coursebox-container.pa-tile[data-pa-format]:not([data-tags="separator"]) .coursebox-text-description {
  color: #3D4752 !important;
}

/* Type pill — dark family shade, white text (all ≥ 4.5:1) */
a.coursebox-container.pa-tile[data-pa-format]:not([data-tags="separator"]) .coursebox-tag[data-tag="on-demand-course"] > span,
a.coursebox-container.pa-tile[data-pa-format]:not([data-tags="separator"]) .coursebox-tag[data-tag="live-training"] > span {
  background-color: var(--pa-pill-bg) !important;
  color: #ffffff !important;
}

/* ── Course detail page accents ──
   :has(#main-container[data-tags]) carries ID + attribute specificity, one
   step above the live-training yellow overrides, so these win even though
   that block comes later in the file. Pages with no
   family tag keep the legacy blue (or yellow for live training). */
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) #dp-details h3::after {
  background-color: var(--pa-accent) !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) .dp-long-description ol li::before {
  background-color: var(--pa-accent-dark) !important;
  color: #ffffff !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) ul.dp-curriculum li.section::before {
  background-color: var(--pa-accent) !important;
  border-color: var(--pa-accent) !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) ul.dp-curriculum li::before {
  border-color: color-mix(in srgb, var(--pa-accent) 60%, #ffffff) !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) ul.dp-curriculum::before {
  background-color: color-mix(in srgb, var(--pa-accent) 35%, #ffffff) !important;
}

/* Full-width divider between hero and lower section */
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) .top-row-grey::after,
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) .top-row-white-v2::after {
  background-color: var(--pa-accent) !important;
}

/* Hero buttons — dark family shade (white text ≥ 4.5:1) */
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) a#purchase-button,
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) a.purchase-button {
  background-color: var(--pa-accent-dark) !important;
  border-color: var(--pa-accent-dark) !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) a#purchase-button:hover,
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) a.purchase-button:hover {
  background-color: color-mix(in srgb, var(--pa-accent-dark) 80%, #000000) !important;
  border-color: color-mix(in srgb, var(--pa-accent-dark) 80%, #000000) !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) a.pa-catalog-btn {
  color: var(--pa-accent-dark) !important;
  border-color: var(--pa-accent-dark) !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) a.pa-catalog-btn:hover {
  background-color: var(--pa-accent-dark) !important;
  color: #ffffff !important;
}

/* Save/bookmark toggle */
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) {
  --button-color: var(--pa-accent-dark) !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) .sj-save-toggle-block__button,
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) .sj-save-toggle-block__icon i {
  color: var(--pa-accent-dark) !important;
  border-color: var(--pa-accent-dark) !important;
}

/* "Time to complete" pill — family tint; clock icon recoloured via mask */
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) .pa-course-time-badge {
  background: color-mix(in srgb, var(--pa-accent) 12%, #ffffff) !important;
  border-color: color-mix(in srgb, var(--pa-accent) 45%, #ffffff) !important;
}
body.sj-page-detail-course.pa-detail-themed:has(#main-container[data-tags]) .pa-course-time-badge::before {
  background-image: none !important;
  background-color: var(--pa-accent-dark) !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M12%207v5l3%202'/%3E%3C/svg%3E") center / contain no-repeat !important;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23000'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M12%207v5l3%202'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

/* ── Enrolled course page accents (body.sj-page-curriculum) ──
   Same family colours as the landing page above, mapped onto the enrolled
   template's markup (.cp-*, a.start-button / a.resume-button, tabbed
   curriculum + objectives). */
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) .top-row-grey::after,
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) .top-row-white-v2::after {
  background-color: var(--pa-accent) !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) a.start-button,
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) a.resume-button {
  background-color: var(--pa-accent-dark) !important;
  border-color: var(--pa-accent-dark) !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) a.start-button:hover,
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) a.resume-button:hover {
  background-color: color-mix(in srgb, var(--pa-accent-dark) 80%, #000000) !important;
  border-color: color-mix(in srgb, var(--pa-accent-dark) 80%, #000000) !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) a.pa-catalog-btn {
  color: var(--pa-accent-dark) !important;
  border-color: var(--pa-accent-dark) !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) a.pa-catalog-btn:hover {
  background-color: var(--pa-accent-dark) !important;
  color: #ffffff !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) .progress-bar {
  background-color: color-mix(in srgb, var(--pa-accent) 20%, #ffffff) !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) .progress-bar .progress-bar-inner {
  background-color: var(--pa-accent-dark) !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) .section-container.tabs > section:has(#curriculum-list) .content > h2::after,
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) h3.course-long-description-header::after {
  background-color: var(--pa-accent) !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) .section-container.tabs > section:has(h3.course-long-description-header) .content ol li::before {
  background-color: var(--pa-accent-dark) !important;
  color: #ffffff !important;
}
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) #curriculum-list .bullet i.fa-check-circle,
body.sj-page-curriculum.pa-detail-themed:has(#main-container[data-tags]) #curriculum-list .lesson-section .fa-check {
  color: var(--pa-accent-dark) !important;
}

/* ═══════════════════════════════════════════════
   SEARCH RESULTS — INFO BAR
   ═══════════════════════════════════════════════ */

/* Hidden everywhere, including active search. The bar only held dead
   controls once lessons were excluded from results: "Searching…" is not
   clickable, the type chips have nothing to toggle, and RESET navigates
   back to the home page. If mixed course+path results ever need type
   filtering again, restore the `.search` display:flex override that
   lived here (see git history). */
#catalog-search-info,
#skilljar-content #catalog-search-info {
  /* Double-ID selector required: SkillJar re-shows the bar during search
     (.top-row.search context) with a rule that beats a bare #id hide. */
  display: none !important;
}
.catalog-search-info-header-results {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #447099 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.catalog-search-info-header-results:hover { color: #3A5672 !important; }
.catalog-search-info-header-results .fa-times-circle { font-size: 14px !important; }

/* Filter chips row */
.tile-counter-container {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}
.filter-option-type {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #707073 !important;
  background: #ffffff !important;
  border: 1.5px solid #D1DBE5 !important;
  border-radius: 20px !important;
  padding: 5px 14px !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  text-decoration: none !important;
  user-select: none !important;
}
.filter-option-type.checked {
  background: #447099 !important;
  border-color: #447099 !important;
  color: #ffffff !important;
}
.filter-option-type:not(.checked):hover {
  background: #F0F3F6 !important;
  border-color: #A2B8CB !important;
  color: #17212B !important;
}
.filter-option-type.checked:hover {
  background: #3A5672 !important;
  border-color: #3A5672 !important;
}
/* Hide fa-stack checkmarks — checked state shown via bg color instead */
.filter-option-type .fa-stack { display: none !important; }
.filter-option-type .filter-name {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
}
.filter-option-type .filter-counter { font-weight: 400 !important; opacity: 0.85 !important; }

/* Reset button */
.show-all-courses-wrapper .catalog-search-reset {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #707073 !important;
  background: transparent !important;
  border: 1.5px solid #D1DBE5 !important;
  border-radius: 4px !important;
  padding: 5px 14px !important;
  cursor: pointer !important;
  text-decoration: none !important;
  transition: color 0.15s, border-color 0.15s !important;
  display: inline-block !important;
}
.show-all-courses-wrapper .catalog-search-reset:hover {
  color: #17212B !important;
  border-color: #A2B8CB !important;
}

/* Hide hero/announcement block when search is active */
.search .catalog-header { display: none !important; }

/* ═══════════════════════════════════════════════
   LESSON CARD — icon/image area
   ═══════════════════════════════════════════════ */

/* Replace the empty collapsed div with a styled gradient panel */
a.coursebox-container.lesson .coursebox-image {
  height: 110px !important;
  background: linear-gradient(145deg, #D1DBE5 0%, #A2B8CB 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
a.coursebox-container.lesson .coursebox-image-inner-wrapper {
  width: 52px !important;
  height: 52px !important;
  background: rgba(255, 255, 255, 0.75) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
a.coursebox-container.lesson .coursebox-image-inner-wrapper i {
  font-size: 20px !important;
  color: #447099 !important;
}

/* White background distinguishes lesson cards from course cards (light blue tint) */
a.coursebox-container.lesson {
  background: #ffffff !important;
  border-color: #D1DBE5 !important;
}

/* "Part of:" — small-caps eyebrow label in Posit Blue */
a.coursebox-container.lesson .sj-text-part-of span {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #447099 !important;
}
a.coursebox-container.lesson .coursebox-text-description-target {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12px !important;
  color: #707073 !important;
}
a.coursebox-container.lesson .coursebox-text-description {
  padding-bottom: 16px !important;
}

/* ═══════════════════════════════════════════════
   SEARCH RESULTS — LIST VIEW LAYOUT
   ═══════════════════════════════════════════════ */

/* Course listing: vertical stack of rows */
.search #catalog-courses {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 20px max(20px, 5vw) !important;
}

/* Each result: block with left indent for the image column.
   Image is pulled out of flow (position: absolute) so text
   elements stack naturally in the right column. */
.search a.coursebox-container:not([data-tags="separator"]):not(.not-found):not(.filtered) {
  display: block !important;
  position: relative !important;
  padding-left: 120px !important;
  width: 100% !important;
  max-width: none !important;
  flex-grow: unset !important;
  min-height: 80px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
/* Suppress the upward lift — wrong for horizontal list rows */
.search a.coursebox-container:not([data-tags="separator"]):hover {
  transform: none !important;
}

/* Image: absolutely fills the left 120px column. */
.search a.coursebox-container .coursebox-image {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 120px !important;
  min-width: 120px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
}
/* Cancel the site-wide 16/9 aspect-ratio rule for search results.
   Must match the source rule's specificity (body:not:not + a:not:not:not + class)
   so our !important wins — otherwise the image div stays at 120 * 9/16 = 67.5px
   regardless of how tall the row gets. */
body:not(.sj-page-detail-path):not(.sj-page-path) .search a.coursebox-container:not([data-tags~="role-card"]):not([data-tags~="separator"]):not([data-tags~="path-desc"]) .coursebox-image {
  aspect-ratio: auto !important;
  max-height: none !important;
}

/* Course / Live Training / anything else with an image: crop image to
   fill the column. Lessons are excluded (they use an icon, not an img). */
.search a.coursebox-container:not(.lesson):not([data-tags="separator"]) .coursebox-image {
  display: block !important;
  overflow: hidden !important;
}
.search a.coursebox-container:not(.lesson):not([data-tags="separator"]) .coursebox-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  display: block !important;
}

/* Lesson: gradient + centered icon spanning full column height */
.search a.coursebox-container.lesson .coursebox-image {
  background: linear-gradient(145deg, #D1DBE5 0%, #A2B8CB 100%) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.search a.coursebox-container.lesson .coursebox-image-inner-wrapper {
  width: 40px !important;
  height: 40px !important;
}
.search a.coursebox-container.lesson .coursebox-image-inner-wrapper i {
  font-size: 18px !important;
}

/* Title */
.search a.coursebox-container .coursebox-text {
  font-size: 15px !important;
  padding: 12px 16px 2px !important;
}

/* Description: clamp to 2 lines */
.search a.coursebox-container .coursebox-text-description {
  padding: 2px 16px 8px !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  padding-bottom: 8px !important;
}

/* Tags */
.search a.coursebox-container .coursebox-tags {
  padding: 0 16px 10px !important;
}

/* Mobile: narrower thumbnail */
@media only screen and (max-width: 640px) {
  .search a.coursebox-container:not([data-tags="separator"]) {
    padding-left: 72px !important;
    min-height: 64px !important;
  }
  .search a.coursebox-container .coursebox-image {
    width: 72px !important;
    min-width: 72px !important;
  }
}

/* Centered, readable results column */
.search #catalog-courses {
  max-width: 960px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 0 !important;
  padding: 24px 20px 48px !important;
}
.search a.coursebox-container:not([data-tags="separator"]) {
  margin-bottom: 12px !important;
}

/* Exclude individual lesson results.
   The ID selector is required: the search-row layout rule above
   (body:not()... + six :not()s) sets display:block !important with
   ~10-class specificity, which beats any class-only hide rule. The ID
   outranks it; the fallback rule below outranks this (ID + more classes). */
.search #catalog-courses a.coursebox-container.lesson {
  display: none !important;
}
/* ...unless nothing else matched: show lessons rather than an empty page */
.search #catalog-courses.pa-lessons-fallback a.coursebox-container.lesson:not(.not-found):not(.filtered) {
  display: block !important;
}

/* Fallback lesson rows: no placeholder image column, slim height */
.search a.coursebox-container.lesson:not([data-tags="separator"]):not(.not-found):not(.filtered) {
  padding-left: 16px !important;
  min-height: 0 !important;
}
.search a.coursebox-container.lesson .coursebox-image {
  display: none !important;
}

/* Hide the Lessons chip and any zero-count chips (JS tags them) */
.filter-option-type.pa-chip-hidden {
  display: none !important;
}

/* Empty state — injected by JS, shown only while a search is active
   and nothing at all matched (SkillJar's own no-results message rendered
   inside the hidden info bar, so we provide our own). */
#pa-search-empty {
  display: none;
}
.search #catalog-courses > #pa-search-empty.pa-visible {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55vh;
  padding: 40px 20px;
  text-align: center;
  font-family: 'Open Sans', sans-serif;
  /* Horizontal centering to the viewport is done in JS via transform —
     the container sits off-center inside SkillJar's layout. */
}
#pa-search-empty .pa-se-icon {
  font-size: 34px;
  color: #A2B8CB;
  margin-bottom: 16px;
}
#pa-search-empty .pa-se-title {
  font-size: 19px;
  font-weight: 600;
  color: #17212B;
  margin: 0 0 8px 0;
}
#pa-search-empty .pa-se-query {
  overflow-wrap: anywhere;
}
#pa-search-empty .pa-se-sub {
  font-size: 14px;
  color: #707073;
  line-height: 1.6;
  margin: 0 0 24px 0;
}
#pa-search-empty a.pa-se-btn {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  background: #17212B;
  border-radius: 4px;
  padding: 14px 26px;
  text-decoration: none;
  transition: background-color 0.15s;
}
#pa-search-empty a.pa-se-btn:hover {
  background: #3A5672;
  color: #ffffff;
  text-decoration: none;
}

/* Chip label/count follow the chip's own color in both states — SkillJar
   sets child span colors that turned unchecked chips white-on-white */
.filter-option-type .filter-name,
.filter-option-type .filter-name *,
.filter-option-type .filter-counter {
  color: inherit !important;
}

/* ═══════════════════════════════════════════════
   HERO WRAPPER — remove SkillJar's grey background / padding
   ═══════════════════════════════════════════════ */
body.sj-page-detail-course .top-row-grey,
body.sj-page-detail-course .top-row-white-v2 {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}
/* Full-width rule separating hero from lower section */
body.sj-page-detail-course .top-row-grey::after,
body.sj-page-detail-course .top-row-white-v2::after {
  content: '' !important;
  display: block !important;
  width: 100% !important;
  height: 3px !important;
  background-color: #E8ECEF !important;
  margin: 0 0 0 0 !important;
}

/* Hero flex row */
body.sj-page-detail-course .dp-row-flex-v2 {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 48px !important;
  padding: 48px 40px 32px !important;
  border-bottom: none !important;
}

/* ── Text column — order 1 (left) ── */
body.sj-page-detail-course .dp-summary-wrapper {
  order: 1 !important;
  flex: 1 1 45% !important;
  min-width: 0 !important;
  width: auto !important;
  float: none !important;
  text-align: left !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
}

/* ── Image column — order 2 (right) ── */
body.sj-page-detail-course .dp-promo-image-wrapper {
  order: 2 !important;
  flex: 1 1 45% !important;
  min-width: 0 !important;
  width: auto !important;
  float: none !important;
}

/* Image panel — no frame: the Academy 2.0 artwork carries its own tile
   colour, so the image fills the panel edge to edge with rounded corners */
body.sj-page-detail-course .dp-promo-image {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 14px !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: block !important;
  line-height: 0 !important;
}
body.sj-page-detail-course .dp-promo-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border: none !important;
  border-radius: 0 !important;
}

/* ── Course title ── */
body.sj-page-detail-course h1.break-word {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 48px !important;
  font-weight: 400 !important;
  color: #17212B !important;
  line-height: 1.15 !important;
  margin: 0 0 20px 0 !important;
}

/* ── Course description (SkillJar renders this as an h2) ── */
body.sj-page-detail-course .sj-course-info-wrapper > h2 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  line-height: 1.7 !important;
  margin: 0 0 28px 0 !important;
}

/* ── "Time to complete" hero badge (injected by JS once SkillJar fills
   .sj-course-time). Pill with clock icon, sits under the description. ── */
body.sj-page-detail-course .pa-course-time-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 24px 0 !important;
  padding: 7px 14px !important;
  background: #D1DBE540 !important;
  border: 1px solid #D1DBE5 !important;
  border-radius: 999px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #17212B !important;
  line-height: 1.2 !important;
}
body.sj-page-detail-course .pa-course-time-badge::before {
  content: "" !important;
  width: 16px !important;
  height: 16px !important;
  flex: none !important;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23447099'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%3E%3Ccircle%20cx='12'%20cy='12'%20r='9'/%3E%3Cpath%20d='M12%207v5l3%202'/%3E%3C/svg%3E") !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
}

/* Tidy up SkillJar's native course time next to the "Curriculum" heading */
body.sj-page-detail-course .sj-curriculum-wrapper .sj-course-time {
  font-weight: 400 !important;
  font-size: 14px !important;
  color: #707073 !important;
  margin-left: 8px !important;
}

/* ═══════════════════════════════════════════════
   BUTTON ROW — SkillJar's outer alignment container
   ═══════════════════════════════════════════════ */
body.sj-page-detail-course .sj-save-toggle-row-alignment {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* Override SkillJar's yellow --button-color for the save toggle */
body.sj-page-detail-course {
  --button-color: #447099;
}
body.sj-page-detail-course .sj-save-toggle-block__button {
  color: #447099 !important;
  border-color: #447099 !important;
}
body.sj-page-detail-course .sj-save-toggle-block__icon i {
  color: #447099 !important;
}
/* Hide the now-empty context-provider wrapper after JS moves the toggle out */
body.sj-page-detail-course .sj-save-toggle-row-alignment > sjwc-context-provider {
  display: none !important;
}

/* Primary CTA (Register / Continue / etc.) — dark filled */
body.sj-page-detail-course a#purchase-button,
body.sj-page-detail-course a.purchase-button {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: #17212B !important;
  color: #ffffff !important;
  border: 2px solid #17212B !important;
  border-radius: 6px !important;
  padding: 0 28px !important;
  height: 52px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
body.sj-page-detail-course a#purchase-button:hover,
body.sj-page-detail-course a.purchase-button:hover {
  background-color: #213D4F !important;
  border-color: #213D4F !important;
  color: #ffffff !important;
  transform: none !important;
}

/* Rename "Register" → "Get Started" on course pages (not live trainings).
   CSS fires at first paint — no JS poll needed, no flicker.
   color: transparent hides the native text without altering button dimensions.
   ::after is absolutely centered so flex + line-height quirks can't shift it. */
body.sj-page-detail-course:not(:has(#main-container[data-tags~="live-training"])) a#purchase-button,
body.sj-page-detail-course:not(:has(#main-container[data-tags~="live-training"])) a.purchase-button {
  position: relative !important;
  color: transparent !important;
}
body.sj-page-detail-course:not(:has(#main-container[data-tags~="live-training"])) a#purchase-button:hover,
body.sj-page-detail-course:not(:has(#main-container[data-tags~="live-training"])) a.purchase-button:hover {
  color: transparent !important;
}
body.sj-page-detail-course:not(:has(#main-container[data-tags~="live-training"])) a#purchase-button::after,
body.sj-page-detail-course:not(:has(#main-container[data-tags~="live-training"])) a.purchase-button::after {
  content: 'Get Started';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
  pointer-events: none;
}

/* "Return to Catalog" — injected by JS, outlined */
body.sj-page-detail-course a.pa-catalog-btn {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: transparent !important;
  color: #17212B !important;
  border: 2px solid #17212B !important;
  border-radius: 6px !important;
  padding: 0 28px !important;
  height: 52px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
  cursor: pointer !important;
}
body.sj-page-detail-course a.pa-catalog-btn:hover {
  background-color: #17212B !important;
  color: #ffffff !important;
}

/* Hide Facebook / Twitter share buttons — off-brand */
body.sj-page-detail-course .social-media-wrapper {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   LOWER SECTION — column swap (Curriculum left, About right)
   SkillJar default: About LEFT, Curriculum RIGHT
   :has() + order reverses them without touching the HTML
   ═══════════════════════════════════════════════ */
body.sj-page-detail-course #dp-details .row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: 56px !important;
  padding: 24px 40px 48px !important;   /* 40px horizontal is a CSS fallback; JS overrides left/right */
  max-width: 1500px !important;    /* match hero's outer container so edges can align */
  margin: 0 auto !important;       /* centre within viewport at wide widths */
  width: auto !important;
}
/* Curriculum column — left, fixed 260px */
body.sj-page-detail-course #dp-details .row .columns:has(ul.dp-curriculum) {
  order: 1 !important;
  flex: 0 0 260px !important;
  width: 260px !important;
  max-width: 260px !important;
  float: none !important;
  padding: 0 !important;
}
/* About column — right, flexible */
body.sj-page-detail-course #dp-details .row .columns:has(.dp-long-description) {
  order: 2 !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  float: none !important;
  padding: 0 !important;
}

/* Override Foundation's large-10 centered wrapper — makes lower section
   align with the hero's left/right edges (same 40px padding on the row) */
body.sj-page-detail-course #dp-details .row > .large-centered {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* ── Section headings (h3) — large, short accent rule ── */
body.sj-page-detail-course #dp-details h3 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  color: #17212B !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}
body.sj-page-detail-course #dp-details h3::after {
  content: '' !important;
  display: block !important;
  width: 80px !important;
  height: 2px !important;
  background-color: #D1DBE5 !important;
  margin: 12px 0 28px 0 !important;
}

/* ═══════════════════════════════════════════════
   COURSE OBJECTIVES  (.dp-long-description ol)
   ═══════════════════════════════════════════════ */
body.sj-page-detail-course .dp-long-description ol {
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  counter-reset: objectives !important;
}
body.sj-page-detail-course .dp-long-description ol li {
  counter-increment: objectives !important;
  position: relative !important;
  padding: 10px 0 10px 40px !important;
  border-bottom: 1px solid #F0F3F6 !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  line-height: 1.6 !important;
}
body.sj-page-detail-course .dp-long-description ol li:last-child {
  border-bottom: none !important;
}
body.sj-page-detail-course .dp-long-description ol li::before {
  content: counter(objectives) !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background-color: #447099 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.sj-page-detail-course .dp-long-description ol li span {
  font-family: 'Open Sans', sans-serif !important;
}
body.sj-page-detail-course .dp-long-description ol li code {
  background: #f2f2f2 !important;
  padding: 0.1em 0.4em !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 0.9em !important;
  white-space: nowrap !important;
  color: #404041 !important;
}

/* ═══════════════════════════════════════════════
   CURRICULUM — vertical timeline
   ═══════════════════════════════════════════════ */
body.sj-page-detail-course ul.dp-curriculum {
  position: relative !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}
/* Vertical connecting line */
body.sj-page-detail-course ul.dp-curriculum::before {
  content: '' !important;
  position: absolute !important;
  left: 3.5px !important;
  top: 8px !important;
  bottom: 8px !important;
  width: 1px !important;
  background-color: #D1DBE5 !important;
}
/* Each list item */
body.sj-page-detail-course ul.dp-curriculum li {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  padding: 8px 0 !important;
  border-bottom: none !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  line-height: 1.5 !important;
}
/* Open circle timeline node */
body.sj-page-detail-course ul.dp-curriculum li::before {
  content: '' !important;
  flex-shrink: 0 !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  border: 1.5px solid #A2B8CB !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  margin-top: 4px !important;
  position: relative !important;
  z-index: 1 !important;
}
/* Hide Font Awesome type-icons */
body.sj-page-detail-course ul.dp-curriculum .type-icon {
  display: none !important;
}
body.sj-page-detail-course ul.dp-curriculum .lesson-wrapper {
  flex: 1 !important;
  font-family: 'Open Sans', sans-serif !important;
  min-width: 0 !important;
}
/* Rating rows */
body.sj-page-detail-course ul.dp-curriculum li.lesson-rating {
  color: #707073 !important;
  font-size: 13px !important;
}
/* Section headers — medium, dark, extra top spacing to group lessons beneath */
body.sj-page-detail-course ul.dp-curriculum li.section {
  font-weight: 500 !important;
  color: #17212B !important;
  font-size: 14px !important;
  margin-top: 16px !important;
  padding-bottom: 2px !important;
}
body.sj-page-detail-course ul.dp-curriculum li.section:first-child {
  margin-top: 0 !important;
}
/* Solid filled circle for section headers */
body.sj-page-detail-course ul.dp-curriculum li.section::before {
  background-color: #447099 !important;
  border-color: #447099 !important;
  width: 10px !important;
  height: 10px !important;
  margin-top: 5px !important;
}

/* ═══════════════════════════════════════════════
   HIDE DUPLICATE TAB SECTION
   SkillJar renders "About this course" / "Curriculum" a second time
   as a tabbed UI below the two-column layout — hide it entirely.
   ═══════════════════════════════════════════════ */
body.sj-page-detail-course .section-container.tabs {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   MOBILE — stack everything vertically
   ═══════════════════════════════════════════════ */
@media only screen and (max-width: 640px) {
  body.sj-page-detail-course .dp-row-flex-v2 {
    flex-wrap: wrap !important;
    padding: 32px 20px 28px !important;
    gap: 28px !important;
  }
  body.sj-page-detail-course .dp-summary-wrapper,
  body.sj-page-detail-course .dp-promo-image-wrapper {
    flex: 1 1 100% !important;
  }
  body.sj-page-detail-course h1.break-word {
    font-size: 32px !important;
  }
  body.sj-page-detail-course #dp-details h3 {
    font-size: 28px !important;
  }
  body.sj-page-detail-course #dp-details .row {
    flex-wrap: wrap !important;
    padding: 32px 20px !important;
    gap: 32px !important;
  }
  body.sj-page-detail-course #dp-details .row .columns:has(ul.dp-curriculum),
  body.sj-page-detail-course #dp-details .row .columns:has(.dp-long-description) {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  /* On mobile, show About first then Curriculum */
  body.sj-page-detail-course #dp-details .row .columns:has(.dp-long-description) {
    order: 1 !important;
  }
  body.sj-page-detail-course #dp-details .row .columns:has(ul.dp-curriculum) {
    order: 2 !important;
  }
}

/* ═══════════════════════════════════════════════
   HERO WRAPPER
   ═══════════════════════════════════════════════ */
body.sj-page-curriculum .top-row-grey,
body.sj-page-curriculum .top-row-white-v2 {
  background: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}
body.sj-page-curriculum .top-row-grey::after,
body.sj-page-curriculum .top-row-white-v2::after {
  content: '' !important;
  display: block !important;
  width: 100% !important;
  height: 3px !important;
  background-color: #E8ECEF !important;
  margin: 0 !important;
}

/* Hero flex row — override Foundation push/pull float layout */
body.sj-page-curriculum .dp-row-flex-v2 {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 48px !important;
  padding: 48px 40px 32px !important;
  border-bottom: none !important;
}

/* ── Text column — order 1 (left) ── */
body.sj-page-curriculum .cp-summary-wrapper {
  order: 1 !important;
  flex: 1 1 45% !important;
  min-width: 0 !important;
  width: auto !important;
  float: none !important;
  text-align: left !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 0 !important;
  /* Zero Foundation push-4 offset */
  left: auto !important;
  right: auto !important;
  position: relative !important;
}

/* ── Image column — order 2 (right) ── */
body.sj-page-curriculum .cp-promo-image-wrapper {
  order: 2 !important;
  flex: 1 1 45% !important;
  min-width: 0 !important;
  width: auto !important;
  float: none !important;
  /* Zero Foundation pull-8 offset */
  left: auto !important;
  right: auto !important;
  position: relative !important;
}

/* Image panel — no frame, matching the landing page: the Academy 2.0
   artwork carries its own tile colour, so it fills the panel edge to edge */
body.sj-page-curriculum .cp-promo-image {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 14px !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: block !important;
  line-height: 0 !important;
}
body.sj-page-curriculum .cp-promo-image img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  border: none !important;
  border-radius: 0 !important;
}

/* ── Course title ── */
body.sj-page-curriculum h1.break-word {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 48px !important;
  font-weight: 400 !important;
  color: #17212B !important;
  line-height: 1.15 !important;
  margin: 0 0 12px 0 !important;
}

/* ── Lesson count ── */
body.sj-page-curriculum h2.cp-lessons {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: #707073 !important;
  line-height: 1.5 !important;
  margin: 0 0 16px 0 !important;
}

/* ── Progress bar ── */
body.sj-page-curriculum .progress-bar {
  height: 6px !important;
  background-color: #E8ECEF !important;
  border-radius: 3px !important;
  overflow: hidden !important;
  margin: 0 0 28px 0 !important;
  max-width: 320px !important;
  border: none !important;
  box-shadow: none !important;
}
body.sj-page-curriculum .progress-bar .progress-bar-inner {
  height: 100% !important;
  background-color: #447099 !important;
  border-radius: 3px !important;
}

/* ── Button row ── */
body.sj-page-curriculum #resume-button {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* ── Start / Resume button — dark filled ── */
body.sj-page-curriculum a.start-button {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: #17212B !important;
  color: #ffffff !important;
  border: 2px solid #17212B !important;
  border-radius: 6px !important;
  padding: 0 28px !important;
  height: 52px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
body.sj-page-curriculum a.start-button:hover {
  background-color: #213D4F !important;
  border-color: #213D4F !important;
  color: #ffffff !important;
}

/* ── Resume button — Posit Blue ── */
body.sj-page-curriculum a.resume-button {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: #447099 !important;
  color: #ffffff !important;
  border: 2px solid #447099 !important;
  border-radius: 6px !important;
  padding: 0 28px !important;
  height: 52px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
body.sj-page-curriculum a.resume-button:hover {
  background-color: #3A5672 !important;
  border-color: #3A5672 !important;
  color: #ffffff !important;
}

/* ── "Return to Catalog" — injected by JS, outlined ── */
body.sj-page-curriculum a.pa-catalog-btn {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: transparent !important;
  color: #17212B !important;
  border: 2px solid #17212B !important;
  border-radius: 6px !important;
  padding: 0 28px !important;
  height: 52px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
  cursor: pointer !important;
}
body.sj-page-curriculum a.pa-catalog-btn:hover {
  background-color: #17212B !important;
  color: #ffffff !important;
}

/* Hide save toggle on registered course page */
body.sj-page-curriculum #resume-button sjwc-save-content-toggle,
body.sj-page-curriculum #resume-button > div[style*="inline-block"],
body.sj-page-curriculum .completed-save-toggle-wrapper {
  display: none !important;
}

/* Hide social share buttons */
body.sj-page-curriculum .social-media-wrapper {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   LOWER SECTION — Foundation tabs → two-column layout
   Strip Foundation's large-10 centered wrapper, then flex
   the .section-container.tabs directly.
   ═══════════════════════════════════════════════ */
body.sj-page-curriculum #cp-content.row {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.sj-page-curriculum .tabs-wrapper-v2 {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* Two-column flex container */
body.sj-page-curriculum .section-container.tabs {
  display: flex !important;
  align-items: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 40px !important;
  padding: 24px 40px 48px !important;  /* 40px is a CSS fallback; JS overrides left/right */
  max-width: 1500px !important;
  margin: 0 auto !important;
  width: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
/* Remove Foundation's per-section and per-content borders that create the line.
   Also zero out the inline padding-top SkillJar's tab JS injects (equals the
   hidden tab-bar height — leaves a white gap if not overridden). */
body.sj-page-curriculum .section-container.tabs > section,
body.sj-page-curriculum .section-container.tabs > section > .content {
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-top: 0 !important;
}

/* Hide Foundation tab title elements (.title, [data-section-title], or <p> wrappers) */
body.sj-page-curriculum .section-container.tabs > section > .title,
body.sj-page-curriculum .section-container.tabs > section > [data-section-title],
body.sj-page-curriculum .section-container.tabs > section > p {
  display: none !important;
}

/* Force all tab content panels visible (JS also does this for inline-style overrides) */
body.sj-page-curriculum .section-container.tabs > section > .content {
  display: block !important;
}

/* Curriculum column — equal flex share with the About column so titles have more room */
body.sj-page-curriculum .section-container.tabs > section:has(#curriculum-list) {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

/* About column — flexible */
body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) {
  flex: 1 1 0 !important;
  min-width: 0 !important;
}

/* ── Curriculum heading (h2 in the active section) ── */
body.sj-page-curriculum .section-container.tabs > section:has(#curriculum-list) .content > h2 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  color: #17212B !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.2 !important;
}
body.sj-page-curriculum .section-container.tabs > section:has(#curriculum-list) .content > h2::after {
  content: '' !important;
  display: block !important;
  width: 80px !important;
  height: 2px !important;
  background-color: #D1DBE5 !important;
  margin: 12px 0 28px 0 !important;
}

/* Hide the <hr> SkillJar puts between the heading and curriculum list */
body.sj-page-curriculum .section-container.tabs > section:has(#curriculum-list) .content > hr {
  display: none !important;
}

/* ── About / long-description heading ── */
body.sj-page-curriculum h3.course-long-description-header {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  color: #17212B !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  line-height: 1.2 !important;
}
body.sj-page-curriculum h3.course-long-description-header::after {
  content: '' !important;
  display: block !important;
  width: 80px !important;
  height: 2px !important;
  background-color: #D1DBE5 !important;
  margin: 12px 0 28px 0 !important;
}

/* About section body text */
body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) .content p {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  line-height: 1.7 !important;
  margin: 0 0 16px 0 !important;
}

/* ── Course objectives list — mirrors unregistered page styling ── */
body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) .content ol {
  padding-left: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  counter-reset: objectives !important;
}
body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) .content ol li {
  counter-increment: objectives !important;
  position: relative !important;
  padding: 10px 0 10px 40px !important;
  border-bottom: 1px solid #F0F3F6 !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  line-height: 1.6 !important;
}
body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) .content ol li:last-child {
  border-bottom: none !important;
}
body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) .content ol li::before {
  content: counter(objectives) !important;
  position: absolute !important;
  left: 0 !important;
  top: 12px !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background-color: #447099 !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) .content ol li code {
  background: #f2f2f2 !important;
  padding: 0.1em 0.4em !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 4px !important;
  font-size: 0.9em !important;
  white-space: nowrap !important;
  color: #404041 !important;
}


/* ═══════════════════════════════════════════════
   MOBILE — hero + buttons stack at 640px
   ═══════════════════════════════════════════════ */
@media only screen and (max-width: 640px) {
  body.sj-page-curriculum .dp-row-flex-v2 {
    flex-wrap: wrap !important;
    padding: 32px 20px 28px !important;
    gap: 28px !important;
  }
  body.sj-page-curriculum .cp-summary-wrapper,
  body.sj-page-curriculum .cp-promo-image-wrapper {
    flex: 1 1 100% !important;
  }
  body.sj-page-curriculum h1.break-word {
    font-size: 32px !important;
  }
  /* Keep all three buttons on one row — reduce padding so they fit narrow screens */
  body.sj-page-curriculum #resume-button {
    flex-wrap: nowrap !important;
  }
  body.sj-page-curriculum a.start-button,
  body.sj-page-curriculum a.pa-catalog-btn {
    padding: 0 14px !important;
    font-size: 11px !important;
    height: 40px !important;
  }
  body.sj-page-curriculum sjwc-save-content-toggle,
  body.sj-page-curriculum .sj-save-toggle-block__button {
    height: 40px !important;
    width: 40px !important;
    min-width: 40px !important;
  }
}

/* ═══════════════════════════════════════════════
   TABLET — lower section stacks earlier (900px)
   so the About column never gets squeezed narrow.
   About appears above Curriculum when stacked.
   ═══════════════════════════════════════════════ */
@media only screen and (max-width: 900px) {
  body.sj-page-curriculum h3.course-long-description-header,
  body.sj-page-curriculum .section-container.tabs > section:has(#curriculum-list) .content > h2 {
    font-size: 28px !important;
  }
  body.sj-page-curriculum .section-container.tabs {
    flex-wrap: wrap !important;
    gap: 32px !important;
  }
  body.sj-page-curriculum .section-container.tabs > section:has(#curriculum-list),
  body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) {
    flex: 1 1 100% !important;
    max-width: none !important;
  }
  /* About first, Curriculum below */
  body.sj-page-curriculum .section-container.tabs > section:has(h3.course-long-description-header) {
    order: 1 !important;
  }
  body.sj-page-curriculum .section-container.tabs > section:has(#curriculum-list) {
    order: 2 !important;
  }
}

/* Shorthand: all live training course pages */
/* body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) */

/* ── Hero separator: yellow ── */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .top-row-grey::after,
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .top-row-white-v2::after {
  background-color: #f4c53f !important;
}

/* ── Save/bookmark toggle: yellow ── */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) {
  --button-color: #F6B000 !important;
}
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-save-toggle-block__button {
  color: #F6B000 !important;
  border-color: #F6B000 !important;
}
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-save-toggle-block__icon i {
  color: #F6B000 !important;
}

/* ── Section heading underline: yellow ── */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details h3::after {
  background-color: #F6B000 !important;
}

/* ── Numbered objective circles: yellow fill, dark text ── */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .dp-long-description ol li::before {
  background-color: #F6B000 !important;
  color: #17212B !important;
}

/* ── Lower section row: capped to hero's 1500px outer container.
   Horizontal padding is set dynamically by JS to match the actual
   rendered position of .dp-promo-image at every viewport width. */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .row {
  max-width: 1500px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── Curriculum column: hidden (live trainings don't have lessons) ── */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .row .columns:has(ul.dp-curriculum) {
  display: none !important;
}

/* ── About column: expands to full width ── */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .row .columns:has(.dp-long-description) {
  flex: 1 1 100% !important;
  order: 1 !important;
}

/* ═══════════════════════════════════════════════
   LIVE TRAINING — TWO-COLUMN LOWER SECTION
   h3 + .dp-long-description  LEFT
   .dp-vilt-events             RIGHT
   Turn .columns into a CSS grid to split siblings.
   ═══════════════════════════════════════════════ */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .row .columns:has(.dp-long-description) {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  grid-template-rows: auto 1fr !important;
  column-gap: 48px !important;
  row-gap: 0 !important;
  align-items: start !important;
}
/* h3 — left column, row 1 */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .columns > h3 {
  grid-column: 1 !important;
  grid-row: 1 !important;
}
/* About text — left column, row 2 */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .dp-long-description {
  grid-column: 1 !important;
  grid-row: 2 !important;
}
/* Sessions panel — right column, spans all rows, centered vertically */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .dp-vilt-events {
  grid-column: 2 !important;
  grid-row: 1 / -1 !important;
  background: #F8FAFB !important;
  border-radius: 12px !important;
  padding: 28px 32px !important;
  align-self: start !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
/* Hide redundant h4 (repeats the course title) */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .dp-vilt-events h4 {
  display: none !important;
}

/* ── Sessions table ── */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 {
  width: 100% !important;
  border-collapse: collapse !important;
  margin: 0 !important;
}
/* Hide Event Name and Spaces Left columns */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-vilt-events-table-event-name,
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-vilt-events-table-spaces-left {
  display: none !important;
}
/* Header */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 thead th {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #17212B !important;
  text-align: left !important;
  padding: 0 0 14px 0 !important;
  border-bottom: 2px solid #f4c53f !important;
  background-color: #F8FAFB !important;
}
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-vilt-events-table-register th {
  text-align: center !important;
}
/* Body rows — yellow separator, transparent background (override SkillJar striping) */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 tbody tr,
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 tbody tr:nth-child(even),
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 tbody tr:nth-child(odd) {
  background: transparent !important;
  border-bottom: 1px solid #f4c53f !important;
}
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 tbody tr:last-child {
  border-bottom: none !important;
}
/* Body cells — match container background so no white shows through */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 tbody td,
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 tbody tr:nth-child(even) td,
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-table-v2 tbody tr:nth-child(odd) td {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  padding: 16px 0 !important;
  vertical-align: middle !important;
  background-color: #F8FAFB !important;
  border: none !important;
}
/* Register column — centered header and cell */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-vilt-events-table-register,
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-vilt-events-table-register th,
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-vilt-events-table-register td {
  text-align: center !important;
  width: 140px !important;
}
/* Register button */
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-vilt-events-table-register .purchase-button {
  background-color: #17212B !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 10px 16px !important;
  height: auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) .sj-vilt-events-table-register .purchase-button:hover {
  background-color: #213D4F !important;
  transform: none !important;
}

/* ═══════════════════════════════════════════════
   MOBILE — stack About above sessions table
   ═══════════════════════════════════════════════ */
@media only screen and (max-width: 640px) {
  /* Collapse two-column grid to single column */
  body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .row .columns:has(.dp-long-description) {
    grid-template-columns: 1fr !important;
    row-gap: 32px !important;
  }
  /* Reset sessions panel so it flows below the About text */
  body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .dp-vilt-events {
    grid-column: 1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
  /* Tighten row padding on mobile */
  body.sj-page-detail-course:has(#main-container[data-tags~="live-training"]) #dp-details .row {
    padding: 32px 20px !important;
  }
}

/* ═══════════════════════════════════════════════
   HERO WRAPPER — shared dark foundation
   Individual path images are layered on top via
   the per-path blocks further below.
   ═══════════════════════════════════════════════ */
body:is(.sj-page-detail-path, .sj-page-path) .top-row-grey,
body:is(.sj-page-detail-path, .sj-page-path) .top-row-white-v2 {
  background-color: #17212B !important;
  background-size: cover !important;
  background-position: center !important;
  border: none !important;
  box-shadow: none !important;
}
/* Remove the grey divider line (added by course-page block) */
body:is(.sj-page-detail-path, .sj-page-path) .top-row-grey::after,
body:is(.sj-page-detail-path, .sj-page-path) .top-row-white-v2::after {
  display: none !important;
}

/* Hero flex row */
body:is(.sj-page-detail-path, .sj-page-path) .dp-row-flex-v2 {
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 0 !important;
  padding: 0 !important;
  border-bottom: none !important;
  min-height: 380px !important;
}

/* ── Text column — left 52 % (mirrors home-page hero overlay width) ── */
body:is(.sj-page-detail-path, .sj-page-path) .dp-summary-wrapper {
  order: 1 !important;
  flex: 0 0 52% !important;
  min-width: 0 !important;
  width: 52% !important;
  float: none !important;
  text-align: left !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 48px 8% 48px max(20px, calc((100vw - 1280px) / 4)) !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
}

/* ── Image column — hidden; person is baked into background PNG ── */
body:is(.sj-page-detail-path, .sj-page-path) .dp-promo-image-wrapper {
  display: none !important;
}

/* ── Path title ── */
body:is(.sj-page-detail-path, .sj-page-path) h1.break-word {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(32px, 5vw, 64px) !important;
  font-weight: 500 !important;
  color: #ffffff !important;
  line-height: 1.1 !important;
  margin: 0 0 20px 0 !important;
}

/* ── Path description ── */
body:is(.sj-page-detail-path, .sj-page-path) .sj-course-info-wrapper > h2 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(13px, 1.2vw, 16px) !important;
  font-weight: 400 !important;
  color: rgba(255,255,255,0.82) !important;
  line-height: 1.65 !important;
  margin: 0 0 32px 0 !important;
}

/* ── Button row ── */
body:is(.sj-page-detail-path, .sj-page-path) .sj-save-toggle-row-alignment {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}
body:is(.sj-page-detail-path, .sj-page-path) {
  --button-color: #ffffff;
}
body:is(.sj-page-detail-path, .sj-page-path) .sj-save-toggle-row-alignment > sjwc-context-provider {
  display: none !important;
}

/* Primary CTA (Get Started / Register) — white filled */
body:is(.sj-page-detail-path, .sj-page-path) a#purchase-button,
body:is(.sj-page-detail-path, .sj-page-path) a.purchase-button {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: #ffffff !important;
  color: #17212B !important;
  border: 2px solid #ffffff !important;
  border-radius: 6px !important;
  padding: 0 28px !important;
  height: 52px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
  cursor: pointer !important;
  box-shadow: none !important;
}
body:is(.sj-page-detail-path, .sj-page-path) a#purchase-button:hover,
body:is(.sj-page-detail-path, .sj-page-path) a.purchase-button:hover {
  background-color: #D1DBE5 !important;
  border-color: #D1DBE5 !important;
  color: #17212B !important;
  transform: none !important;
}

/* "Return to Catalog" — injected by JS, white outline */
body:is(.sj-page-detail-path, .sj-page-path) a.pa-catalog-btn {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background-color: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.65) !important;
  border-radius: 6px !important;
  padding: 0 28px !important;
  height: 52px !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
  cursor: pointer !important;
}
body:is(.sj-page-detail-path, .sj-page-path) a.pa-catalog-btn:hover {
  background-color: rgba(255,255,255,0.15) !important;
  border-color: rgba(255,255,255,1) !important;
}

/* Save/bookmark toggle — light on dark */
body:is(.sj-page-detail-path, .sj-page-path) .sj-save-toggle-block__button {
  color: rgba(255,255,255,0.85) !important;
  border-color: rgba(255,255,255,0.5) !important;
}
body:is(.sj-page-detail-path, .sj-page-path) .sj-save-toggle-block__icon i {
  color: rgba(255,255,255,0.85) !important;
}

/* Hide social share — off-brand */
body:is(.sj-page-detail-path, .sj-page-path) .social-media-wrapper {
  display: none !important;
}

/* ── Hide the lower about/curriculum section (paths show course list instead) ── */
body:is(.sj-page-detail-path, .sj-page-path) #dp-details {
  display: none !important;
}

/* ═══════════════════════════════════════════════
   MOBILE — stack text below image, dark overlay
   ═══════════════════════════════════════════════ */
@media only screen and (max-width: 800px) {
  body:is(.sj-page-detail-path, .sj-page-path) .top-row-grey,
  body:is(.sj-page-detail-path, .sj-page-path) .top-row-white-v2 {
    background-position: center top !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) .dp-row-flex-v2 {
    min-height: 320px !important;
    object-fit: cover !important;
    object-position: center top !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) .dp-summary-wrapper {
    flex: 0 0 100% !important;
    width: 100% !important;
    padding: 48px 24px 52px !important;
    background: rgba(23,33,43,0.78) !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) h1.break-word {
    font-size: clamp(28px, 7vw, 42px) !important;
  }
}

/* Data Scientist path — tag: "data-scientist"
   NOTE: This path has a dedicated data-scientist-path.html file that
   renders a custom hero and hides SkillJar's native hero via display:none.
   The background-image below is a fallback and serves as a template only.
   For paths WITHOUT a dedicated HTML file, this block is the primary approach. */
body:is(.sj-page-detail-path, .sj-page-path):has(#main-container[data-tags~="data-scientist"]) .top-row-grey,
body:is(.sj-page-detail-path, .sj-page-path):has(#main-container[data-tags~="data-scientist"]) .top-row-white-v2 {
  background-image: url('https://everpath-course-content.s3-accelerate.amazonaws.com/instructor%2Feww6wlnql2k9y5hqbfc2ycpct%2Fpublic%2F1776218490%2Facad2.0-role-datasci-hero-x2.1776218489705.png') !important;
}

/* Connect path — tag: "connect" */
body:is(.sj-page-detail-path, .sj-page-path):has(#main-container[data-tags~="connect"]) .top-row-grey,
body:is(.sj-page-detail-path, .sj-page-path):has(#main-container[data-tags~="connect"]) .top-row-white-v2 {
  background-image: url('https://everpath-course-content.s3-accelerate.amazonaws.com/instructor%2Feww6wlnql2k9y5hqbfc2ycpct%2Fpublic%2F1777303139%2Facad2.0-prod-connect-hero-x2.1777303138410.png') !important;
}

/* ── Template for additional paths ──────────────
body:is(.sj-page-detail-path, .sj-page-path):has(#main-container[data-tags~="ROLE-TAG"]) .top-row-grey,
body:is(.sj-page-detail-path, .sj-page-path):has(#main-container[data-tags~="ROLE-TAG"]) .top-row-white-v2 {
  background-image: url('HERO_IMAGE_URL') !important;
}
─────────────────────────────────────────────── */

/* Hide until JS strips [path-desc] and sets data-pa-ready */
.pa-path-ui-card[data-tags~="path-desc"]:not([data-pa-ready]) {
  visibility: hidden !important;
}

/* ── Card container — full-width, two-column grid, no card chrome ── */
.pa-path-ui-card[data-tags~="path-desc"] {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 35% 1fr !important;
  align-items: start !important;
  gap: 0 48px !important;
  padding: 44px 0 !important;
  width: 100% !important;
  min-height: unset !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  pointer-events: none !important;
  text-decoration: none !important;
}
.pa-path-ui-card[data-tags~="path-desc"]:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* ── Left column: title with blue accent rule ── */
.pa-path-ui-card[data-tags~="path-desc"] .coursebox-text {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(22px, 2.5vw, 34px) !important;
  font-weight: 500 !important;
  color: #17212B !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
}
.pa-path-ui-card[data-tags~="path-desc"] .coursebox-text::after {
  content: '' !important;
  display: block !important;
  width: 80px !important;
  height: 3px !important;
  background-color: #447099 !important;
  margin-top: 16px !important;
}

/* ── Right column: description / objectives ── */
.pa-path-ui-card[data-tags~="path-desc"] .coursebox-text-description {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  line-height: 1.75 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
}

/* Hide image, price, CTA, tags, ribbon, and search results */
.pa-path-ui-card[data-tags~="path-desc"] .storefront-price,
.pa-path-ui-card[data-tags~="path-desc"] .coursebox-image,
.pa-path-ui-card[data-tags~="path-desc"] .no-coursebox-image-v2,
.pa-path-ui-card[data-tags~="path-desc"] .coursebox-callout,
.pa-path-ui-card[data-tags~="path-desc"] .coursebox-tags,
.pa-path-ui-card[data-tags~="path-desc"] .sj-ribbon-wrapper,
.pa-path-ui-card[data-tags~="path-desc"]:after,
.search .pa-path-ui-card[data-tags~="path-desc"] {
  display: none !important;
}

/* ── Mobile: single column stack ── */
@media only screen and (max-width: 640px) {
  .pa-path-ui-card[data-tags~="path-desc"] {
    grid-template-columns: 1fr !important;
    padding: 32px 0 !important;
    gap: 24px 0 !important;
  }
  .pa-path-ui-card[data-tags~="path-desc"] .coursebox-text-description {
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}

/* ── 3-column grid: [separator 240px] [timeline 40px] [cards 1fr] ──
   The 40px timeline column sits where the old 60px column-gap was.
   No column-gap needed — the columns provide the spacing.
   row-gap stays at 20px; status div lines bridge it via top/bottom extension. */
body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses {
  display: grid !important;
  grid-template-columns: 240px 40px 1fr !important;
  column-gap: 0 !important;
  row-gap: 20px !important;
  padding-top: 40px !important;
  padding-bottom: 60px !important;
  padding-left: max(20px, 5vw) !important;
  padding-right: max(20px, 5vw) !important;
  align-items: start !important;
  justify-content: unset !important;
  position: relative !important;
}

/* ── path-desc card: row 1, full width — sits above the separator/course grid ──
   High-specificity selector beats SkillJar's #catalog-courses flex/max-width rules */
body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] {
  display: grid !important;
  grid-template-columns: 35% 1fr !important;
  column-gap: 60px !important;
  align-items: start !important;
  grid-row: 1 !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 40px 0 48px !important;
  border-bottom: 1px solid #E8ECEF !important;
}

/* ── Separator: left column, starts at row 2 so path-desc occupies row 1 ── */
body:is(.sj-page-detail-path, .sj-page-path) .pa-path-ui-card[data-tags="separator"] {
  grid-column: 1 !important;
  grid-row: 2 / span 50; /* fallback; JS overrides via inline style to exact card count */
  align-self: start !important;
  padding: 20px 0 0 !important;
  max-width: unset !important;
  width: auto !important;
}
/* Title text — scoped here because global separator CSS only targets a.coursebox-container */
body:is(.sj-page-detail-path, .sj-page-path) .pa-path-ui-card[data-tags="separator"] .coursebox-text {
  font-family: 'Open Sans', sans-serif !important;
  font-size: clamp(22px, 2.5vw, 34px) !important;
  font-weight: 500 !important;
  color: #17212B !important;
  line-height: 1.2 !important;
  padding: 0 !important;
  margin: 0 0 12px !important;
  display: block !important;
}
body:is(.sj-page-detail-path, .sj-page-path) .pa-path-ui-card[data-tags="separator"] .coursebox-text::after {
  content: '' !important;
  display: block !important;
  width: 80px !important;
  height: 3px !important;
  background-color: #447099 !important;
  margin-top: 10px !important;
}


/* ── Course cards: col 3 (right), grid layout (image left | title/desc/tags right) ──
   Rows: title (auto), description (auto), flexible spacer (1fr), tags (auto).
   The 1fr spacer pushes the type badge to the bottom of the content column so
   it lines up with the bottom-right time label. */
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]):not([data-tags~="path-desc"]) {
  grid-column: 3 !important;
  display: grid !important;
  grid-template-columns: 220px 1fr !important;
  grid-template-rows: auto auto 1fr auto !important;
  align-items: unset !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: unset !important;
  min-height: 140px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
}

/* ── Timeline status div: col 2 (the 40px gutter column) ──
   JS injects one per course card with a matching grid-row. align-self: stretch
   makes it exactly as tall as its card row. The ::before line extends top/bottom
   by the row-gap (20px) to bridge gaps — safe because we own these divs so
   nothing applies overflow:hidden to them. */
body:is(.sj-page-detail-path, .sj-page-path) .pa-timeline-status {
  grid-column: 2 !important;
  align-self: stretch !important;
  position: relative !important;
}
/* Line: default (middle cards) bridges both the gap above and below */
body:is(.sj-page-detail-path, .sj-page-path) .pa-timeline-status::before {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  width: 1px !important;
  background: #A2B8CB !important;
  top: -20px !important;   /* extends up through the row-gap above */
  bottom: -20px !important; /* extends down through the row-gap below */
  z-index: 0 !important;
}
/* First card: line starts at circle centre — nothing above */
body:is(.sj-page-detail-path, .sj-page-path) .pa-timeline-status--first::before {
  top: 50% !important;
}
/* Last card: line ends at circle centre — nothing below */
body:is(.sj-page-detail-path, .sj-page-path) .pa-timeline-status--last::before {
  bottom: 50% !important;
}
/* Circle: centred in the status div, sits above the line */
body:is(.sj-page-detail-path, .sj-page-path) .pa-timeline-status::after {
  content: '' !important;
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  border: 2px solid #A2B8CB !important;
  background-color: #ffffff !important;
  box-shadow: 0 0 0 4px #ffffff !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

/* ── Course image: left column, spans all rows ── */
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-image {
  grid-column: 1 !important;
  grid-row: 1 / span 10 !important;
  width: auto !important;
  min-height: 140px !important;
  height: auto !important;
  align-self: stretch !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 0 !important;
  border-radius: 0 !important; /* card overflow:hidden + border-radius:12px handles corners */
  overflow: hidden !important;
  background-color: #D1DBE5 !important;
}
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: unset !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}
/* Live training image panel: yellow tint (overrides the light-blue default above) */
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container[data-tags~="live-training"] .coursebox-image {
  background-color: #F4C540 !important;
}

/* ── Course text: title, description, tags — stacked in right column ── */
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-text {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  padding: 20px 24px 6px !important;
  line-height: 1.3 !important;
  width: auto !important;
  flex: none !important;
}
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-text-description {
  grid-column: 2 !important;
  grid-row: 2 !important;
  font-size: 14px !important;
  padding: 0 24px 10px !important;
  line-height: 1.65 !important;
  flex: unset !important;
}
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-tags {
  grid-column: 2 !important;
  grid-row: 4 !important;        /* last row — below the 1fr spacer, pinned to bottom */
  align-self: end !important;
  padding: 0 24px 20px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .clearfix {
  display: none !important;
}

/* ── Mobile: single-column stacked cards ── */
@media only screen and (max-width: 768px) {
  body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses {
    grid-template-columns: 1fr !important;
    column-gap: 0 !important;
    row-gap: 16px !important;
  }
  /* path-desc and separator are appended last in the DOM by JS, so on mobile
     (where grid-row:auto uses DOM order) they'd fall after course cards.
     Use order to pull them back to the top. */
  body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] {
    order: -2 !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) .pa-path-ui-card[data-tags="separator"] {
    order: -1 !important;
    grid-column: 1 !important;
    grid-row: auto !important;
    position: static !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) .pa-path-ui-card[data-tags="separator"]::after {
    display: none !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]):not([data-tags~="path-desc"]) {
    grid-column: 1 !important;
    grid-row: auto !important; /* overrides the non-important inline style set by JS */
  }
  body:is(.sj-page-detail-path, .sj-page-path) .pa-timeline-status {
    display: none !important;
  }
  /* path-desc: stack title above description on mobile */
  body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] {
    display: flex !important;
    flex-direction: column !important;
    padding: 20px 0 28px !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] .coursebox-text {
    font-size: clamp(20px, 5vw, 26px) !important;
    padding-bottom: 14px !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] .coursebox-text-description {
    font-size: 14px !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]):not([data-tags~="path-desc"]) {
    grid-template-columns: 1fr !important; /* matches desktop selector specificity so source order wins */
  }
  body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-image {
    display: none !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-text {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 16px !important;
    padding: 16px 16px 4px !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-text-description {
    grid-column: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 16px 8px !important;
  }
  body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container:not([data-tags="separator"]) .coursebox-tags {
    grid-column: 1 !important;
    width: 100% !important;
    padding: 0 16px 14px !important;
  }
}

/* ── path-desc card: undo bleed-in from the course card child-element rules above ──
   Those rules use :not([data-tags="separator"]) which inadvertently matches path-desc.
   Adding #catalog-courses (ID) gives us higher specificity to override them. */
body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] .coursebox-image {
  display: none !important;
}
body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] .coursebox-text {
  grid-column: 1 !important;
  grid-row: 1 !important;
  font-size: clamp(22px, 2.5vw, 34px) !important;
  font-weight: 500 !important;
  padding: 0 !important;
}
body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] .coursebox-text-description {
  grid-column: 2 !important;
  grid-row: 1 !important;
  font-size: 15px !important;
  padding: 0 !important;
}
body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] .coursebox-tags,
body:is(.sj-page-detail-path, .sj-page-path) #catalog-courses .pa-path-ui-card[data-tags~="path-desc"] .clearfix {
  display: none !important;
}

/* ── Hide SkillJar's enrollment resume bar (injected after "Get Started" is clicked) ──
   After enrollment the body class changes to .sj-page-path. The custom hero already
   provides the CTA, so the native yellow resume bar is redundant and off-brand. */
body:is(.sj-page-detail-path, .sj-page-path) .path-curriculum-resume-wrapper {
  display: none !important;
}

/* ── Hide legacy SkillJar separator/path-desc courses if still in the path ──
   Since v2 of the path page injects these as .pa-path-ui-card divs, any
   a.coursebox-container with these tags is a leftover SkillJar course.
   Remove them from the path in SkillJar admin to fully clean up. */
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container[data-tags="separator"],
body:is(.sj-page-detail-path, .sj-page-path) a.coursebox-container[data-tags~="path-desc"] {
  display: none !important;
}

/* ── Consistent centering on enrolled vs. unenrolled pages ──
   On unenrolled (sj-page-detail-path), Foundation's .columns container wraps
   #catalog-courses and provides max-width + margin:auto centering.
   On enrolled (sj-page-path), .columns is absent — #catalog-courses sits
   directly inside #catalog-content. Constraining #catalog-content here
   replicates that centering so both states have the same side margins. */
body:is(.sj-page-detail-path, .sj-page-path) #catalog-content {
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ── Strip white background from SkillJar's content wrappers ── */
body.sj-page-lesson #lesson-main,
body.sj-page-lesson #lesson-main-inner,
body.sj-page-lesson #lesson-main-content,
body.sj-page-lesson .course-text-content {
  background: transparent !important;
}

/* ── SCORM lessons: fill viewport height, suppress outer scrollbar ──
   SkillJar sets #lesson-main to a fixed height with overflow-y:auto, and
   sets #scaled_embedded_content height inline (e.g. 487px). When the iframe
   content grows, the outer container scrolls — producing a second scrollbar.
   Instead, stretch the container chain to 100% so the iframe fills the
   available space and the content scrolls only inside the iframe. */
body.sj-page-lesson:has(.scorm-lesson-content) #lesson-main {
  overflow: hidden !important;
}
body.sj-page-lesson:has(.scorm-lesson-content) #lesson-main-inner {
  height: 100% !important;
}
body.sj-page-lesson:has(.scorm-lesson-content) #lesson-main-content {
  height: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}
body.sj-page-lesson:has(.scorm-lesson-content) #scaled_embedded_content {
  height: 100% !important;
}

/* Mobile: SkillJar only gives #lp-content height:100% at >=768px, so below
   that the 100% chain above resolves to auto and the iframe collapses to the
   browser default (150px). Give the frame a definite viewport-based height
   instead (minus the 78px header and 45px fixed footer) and let the page
   flow normally so the lesson title can scroll away. */
@media only screen and (max-width: 767px) {
  body.sj-page-lesson:has(.scorm-lesson-content) #lesson-main,
  body.sj-page-lesson:has(.scorm-lesson-content) #lesson-main-inner,
  body.sj-page-lesson:has(.scorm-lesson-content) #lesson-main-content {
    height: auto !important;
    overflow: visible !important;
  }
  body.sj-page-lesson:has(.scorm-lesson-content) #scaled_embedded_content {
    height: calc(100vh - 123px) !important;
    height: calc(100dvh - 123px) !important;
  }
}

/* ── Card container ── */
.lti-launch-area {
  background: #ffffff !important;
  border: 1px solid #D1DBE5 !important;
  border-top: 4px solid #447099 !important;   /* Posit Blue accent */
  border-radius: 10px !important;
  padding: 36px 32px 28px !important;
  box-shadow: 0 2px 10px rgba(68,112,153,0.08) !important;
  max-width: 560px !important;
  box-sizing: border-box !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* ── Icon badge — blue circle with </> symbol ── */
.lti-launch-area::before {
  content: "</>" !important;
  display: block !important;
  width: 48px !important;
  height: 48px !important;
  line-height: 48px !important;
  border-radius: 50% !important;
  background: #447099 !important;   /* Posit Blue */
  color: #ffffff !important;
  font-family: 'Courier New', monospace !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
  margin: 0 auto 12px !important;
}

/* ── Eyebrow label — injected above lesson details ── */
.lti-lesson-details::before {
  content: "HANDS-ON LAB" !important;
  display: block !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #447099 !important;   /* Posit Blue */
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  margin-bottom: 10px !important;
}

/* ── Title heading ── */
.lti-lesson-details h2,
.lti-lesson-details h3 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: #17212B !important;
  line-height: 1.35 !important;
  margin: 0 0 16px !important;
}

/* ── Description text ── */
.lti-lesson-details p {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: #404041 !important;
  line-height: 1.7 !important;
  margin: 0 0 20px 0 !important;
}

/* ── Remove default form margin so button sits flush ── */
.lti-launch-form {
  margin: 0 !important;
}

/* ── Launch button — Academy Yellow ── */
button.lti-launch-button {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  background-color: #F6B000 !important;  /* Academy Yellow */
  color: #17212B !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 11px 28px !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
}
button.lti-launch-button:hover {
  background-color: #C48F0A !important;  /* Drk Yellow */
  color: #17212B !important;
}

/* ═══════════════════════════════════════════════
   PAGE & CONTENT AREA
   ═══════════════════════════════════════════════ */
body.sj-page-lesson {
  font-family: 'Open Sans', sans-serif !important;
}

body.sj-page-lesson #lesson-main-content {
  padding: 32px 40px !important;
}

/* Lesson title (above the session card) */
body.sj-page-lesson .lesson-top h2 {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  color: #17212B !important;
  margin: 0 0 24px 0 !important;
  line-height: 1.2 !important;
}

/* ═══════════════════════════════════════════════
   "YOU ARE REGISTERED" HEADING
   ═══════════════════════════════════════════════ */
body.sj-page-lesson h4.sj-text-lt-you-are-registered,
body.sj-page-lesson .sj-text-lt-you-are-registered {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #447099 !important;   /* Posit Blue */
  margin: 0 0 16px 0 !important;
}

/* Dividers */
body.sj-page-lesson #vilt-sessions-container hr {
  border: none !important;
  border-top: 1px solid #E8ECEF !important;
  margin: 20px 0 !important;
}

/* ═══════════════════════════════════════════════
   SESSION CARD ROW  (.row containing date + info + action)
   ═══════════════════════════════════════════════ */
body.sj-page-lesson #vilt-sessions-container .row {
  background: #F8FAFB !important;
  border: 1px solid #E0E6EC !important;
  border-radius: 10px !important;
  padding: 24px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 24px !important;
  flex-wrap: wrap !important;
}

/* ── Calendar widget ── */
body.sj-page-lesson .month-day-widget {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  border: 1px solid #E0E6EC !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  min-width: 64px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06) !important;
}
body.sj-page-lesson .month-day-widget .date {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}
body.sj-page-lesson .month-day-widget .date .month {
  background-color: #447099 !important;  /* Posit Blue */
  color: #ffffff !important;
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  width: 100% !important;
  text-align: center !important;
  padding: 4px 0 !important;
  display: block !important;
}
body.sj-page-lesson .month-day-widget .date .day {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 28px !important;
  font-weight: 700 !important;
  color: #17212B !important;
  line-height: 1 !important;
  padding: 8px 0 6px !important;
  display: block !important;
}
body.sj-page-lesson .month-day-widget .time {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #707073 !important;
  padding: 0 6px 6px !important;
  text-align: center !important;
  display: block !important;
}

/* ── Event info section ── */
body.sj-page-lesson .info-section {
  flex: 1 !important;
  float: none !important;
  width: auto !important;
}
body.sj-page-lesson .info-section .title {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #17212B !important;
  margin-bottom: 10px !important;
}
body.sj-page-lesson .info-section .times,
body.sj-page-lesson .info-section .instructor,
body.sj-page-lesson .info-section .help-text {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  color: #404041 !important;
  line-height: 1.7 !important;
  margin-bottom: 2px !important;
}
body.sj-page-lesson .info-section .help-text {
  color: #707073 !important;
  font-style: italic !important;
  margin-top: 4px !important;
}

/* ── Action section (buttons) ── */
body.sj-page-lesson .action-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 10px !important;
  float: none !important;
  width: auto !important;
}

/* Launch Zoom Event button — active state */
body.sj-page-lesson #launch-button,
body.sj-page-lesson a[data-launch].button {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background-color: #F6B000 !important;  /* Academy Yellow */
  color: #17212B !important;
  border: none !important;
  border-radius: 6px !important;
  padding: 11px 22px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
body.sj-page-lesson #launch-button:hover,
body.sj-page-lesson a[data-launch].button:hover {
  background-color: #C48F0A !important;  /* Drk Yellow */
  color: #17212B !important;
}

/* Disabled state (event ended / not yet open) */
body.sj-page-lesson #launch-button.disabled,
body.sj-page-lesson a[data-launch].button.disabled {
  background-color: #C2C2C4 !important;  /* Posit Light Gray 1 */
  color: #ffffff !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
}

/* Download to Calendar link */
body.sj-page-lesson .sj-text-lt-download-to-calendar,
body.sj-page-lesson a.sj-text-lt-download-to-calendar {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #447099 !important;   /* Posit Blue */
  text-decoration: underline !important;
}
body.sj-page-lesson .sj-text-lt-download-to-calendar:hover {
  color: #3A5672 !important;  /* Posit Drk Blue 1 */
}

/* ═══════════════════════════════════════════════
   BOTTOM FOOTER BAR
   ═══════════════════════════════════════════════ */
body.sj-page-lesson #lp-footer {
  border-top: 1px solid #E8ECEF !important;
  background: #ffffff !important;
}
body.sj-page-lesson .lesson-title-footer {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #404041 !important;
}

/* Course review Submit button — Posit Blue */
body.sj-page-lesson button[data-v-b2124792] {
  background-color: #447099 !important;
  color: #ffffff !important;
  border: none !important;
}
body.sj-page-lesson button[data-v-b2124792]:hover {
  background-color: #3A5672 !important;
  color: #ffffff !important;
}

/* Next lesson button (footer) — Posit Blue; exclude sidebar nav items which share the class */
body.sj-page-lesson a.next-lesson-link:not(.lesson) {
  background-color: #447099 !important;
  color: #ffffff !important;
  border: none !important;
  transition: none !important;
}
body.sj-page-lesson a.next-lesson-link:not(.lesson):hover {
  background-color: #3A5672 !important;
  color: #ffffff !important;
}

/* ═══════════════════════════════════════════════
   CALENDAR PAGE  (academy.posit.co/calendar)
   Scoped to #calendar-view — does not affect any
   other page that uses body.sj-page-other.
   FullCalendar v4 class names confirmed from live DOM.
   ═══════════════════════════════════════════════ */

/* ── Overall container: white card ── */
#calendar-view {
  font-family: 'Open Sans', sans-serif !important;
  max-width: 1200px !important;
  margin: 28px auto 40px !important;
  background: #ffffff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 20px rgba(23,33,43,0.10) !important;
  overflow: hidden !important;
}

/* ── Custom SkillJar header ── */
#calendar-view .calendar-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px 28px !important;
  background: #ffffff !important;
  border-bottom: 1px solid #E0E6EC !important;
}

/* Month / year title */
#calendar-view .page-title #title {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #17212B !important;
  margin: 0 !important;
}

/* Nav button lists */
#calendar-view .button-group {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* Prev / next arrows */
#calendar-view #prev,
#calendar-view #next {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #D1DBE5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #17212B !important;
  font-size: 18px !important;
  transition: background 0.15s, color 0.15s !important;
}
#calendar-view #prev:hover,
#calendar-view #next:hover {
  background: #447099 !important;
  color: #ffffff !important;
}

/* Today button */
#calendar-view #today {
  background: #447099 !important;
  border-radius: 6px !important;
  padding: 6px 16px !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}
#calendar-view #today span {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
#calendar-view #today:hover {
  background: #3A5672 !important;
}

/* View switcher (D / W / M / L) — pill group */
#calendar-view .view-controls .button-group {
  background: #D1DBE5 !important;
  border-radius: 8px !important;
  padding: 3px !important;
  gap: 2px !important;
}
#calendar-view .view-controls li {
  border-radius: 6px !important;
  padding: 5px 14px !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}
#calendar-view .view-controls li span {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #17212B !important;
}
#calendar-view .view-controls li.active,
#calendar-view .view-controls li:hover {
  background: #F6B000 !important;
}

/* ── FullCalendar v4 — column headers (Sun Mon Tue …) ── */
#calendar-view .fc-col-header-cell {
  background: #17212B !important;
  border-color: #17212B !important;
  padding: 10px 0 !important;
}
#calendar-view .fc-col-header-cell-cushion {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  text-decoration: none !important;
  display: inline-block !important;
  padding: 0 !important;
}
#calendar-view .fc-col-header-cell-cushion:hover {
  color: #ffffff !important;
  text-decoration: none !important;
}

/* ── Grid borders ── */
#calendar-view .fc-scrollgrid,
#calendar-view .fc-scrollgrid td,
#calendar-view .fc-scrollgrid th {
  border-color: #E0E6EC !important;
}

/* ── Day cells ── */
#calendar-view .fc-daygrid-day {
  background: #ffffff !important;
}
#calendar-view .fc-day-other {
  background: #FAFBFC !important;
}

/* ── Day numbers ── */
#calendar-view .fc-daygrid-day-number {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #17212B !important;
  text-decoration: none !important;
  padding: 6px 8px !important;
  line-height: 1 !important;
  display: inline-block !important;
}
#calendar-view .fc-day-other .fc-daygrid-day-number {
  color: #A2B8CB !important;
}

/* ── Today: blue tint + circled day number ── */
#calendar-view .fc-day-today {
  background: #EBF2F8 !important;
}
#calendar-view .fc-day-today .fc-daygrid-day-number {
  background: #447099 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  width: 26px !important;
  height: 26px !important;
  line-height: 26px !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 4px !important;
}

/* ── Events ── */
#calendar-view .fc-event {
  border-radius: 4px !important;
  border: none !important;
  padding: 2px 6px !important;
  cursor: pointer !important;
}
#calendar-view .fc-event-title,
#calendar-view .fc-event-main {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
#calendar-view .fc-event.sj-calendar-registered-event.sj-calendar-registered-event {
  background: #447099 !important;
  color: #ffffff !important;
}
#calendar-view .fc-event.sj-calendar-unregistered-event.sj-calendar-unregistered-event {
  background: #F6B000 !important;
  color: #17212B !important;
}
#calendar-view .fc-list-item.sj-calendar-registered-event .fc-event-dot {
  background: #447099 !important;
  border-color: #447099 !important;
}
#calendar-view .fc-list-item.sj-calendar-unregistered-event .fc-event-dot {
  background: #F6B000 !important;
  border-color: #F6B000 !important;
}

/* ── Footer ── */
#calendar-view .calendar-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding: 14px 28px !important;
  border-top: 1px solid #E0E6EC !important;
  background: #ffffff !important;
  font-family: 'Open Sans', sans-serif !important;
}
#calendar-view .key-label {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #17212B !important;
  margin-right: 6px !important;
}
#calendar-view .keys {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}
#calendar-view .key-registered,
#calendar-view .key-unregistered {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  display: inline-block !important;
  height: auto !important;
  min-height: 0 !important;
  line-height: 1.4 !important;
  vertical-align: middle !important;
  text-align: center !important;
  box-sizing: border-box !important;
}
#calendar-view .key-registered.key-registered {
  background: #447099 !important;
  color: #ffffff !important;
}
#calendar-view .key-unregistered.key-unregistered {
  background: #F6B000 !important;
  color: #17212B !important;
}
#calendar-view #timezone_picker {
  font-family: 'Open Sans', sans-serif !important;
  font-size: 13px !important;
  color: #17212B !important;
  border: 1px solid #D1DBE5 !important;
  border-radius: 6px !important;
  padding: 4px 8px !important;
  background: #ffffff !important;
}

/* Quiz buttons — Academy Blue */
button.sj-text-quiz-start,
button.sj-text-quiz-next,
button.sj-text-quiz-show-answers,
button.sj-text-quiz-submit {
  background-color: #447099 !important;  /* Posit Blue */
  color: #ffffff !important;
  border: none !important;
}
button.sj-text-quiz-start:hover,
button.sj-text-quiz-next:hover,
button.sj-text-quiz-show-answers:hover,
button.sj-text-quiz-submit:hover {
  background-color: #3A5672 !important;  /* Drk Blue 1 */
  color: #ffffff !important;
}

/* Hide left nav on private-event lesson pages (single-session VILT courses) */
body.sj-page-lesson:has(#main-container[data-tags~="private-event"]) #lp-left-nav,
body.sj-page-lesson:has(#main-container[data-tags~="private-event"]) #lpLeftNavBackground {
  display: none !important;
}
body.sj-page-lesson:has(#main-container[data-tags~="private-event"]) #lp-wrapper {
  margin-left: 0 !important;
}

#skilljar-content .expandable-view .coursebox-container:hover {
  border: none;
}

@keyframes pa-reveal { to { opacity: 1; } }
html:not(.pa-ready) #main-container > :not(#header):not(#header-mobile-dropdown):not(script) {
  opacity: 0;
  animation: pa-reveal .15s ease 2.5s forwards;
}
