.hjlp-entrypoint,
.hjlp-shortcode-cta,
.hjlp-journey-runtime {
    --hjlp-brand: #2f1854;
    --hjlp-brand-strong: #21103d;
    --hjlp-brand-soft: #f3eefb;
    --hjlp-brand-line: #d9caec;
    --hjlp-hero-dark: #02101c;
    --hjlp-hero-dark-tint: #1b2833;
    --hjlp-accent: #f8b042;
    --hjlp-accent-ink: #883a01;
    --hjlp-danger: #ff6746;
    --hjlp-reference-success: #1bd084;
    --hjlp-ink: #21182f;
    --hjlp-muted: #6b6378;
    --hjlp-surface: #ffffff;
    --hjlp-neutral: #f4f5f8;
    --hjlp-warm: #fbf7eb;
    --hjlp-success: #237a4b;
    font-family: Poppins, Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--hjlp-ink);
}

.hjlp-entrypoint {
    position: relative;
    margin: 28px 0;
    padding: 24px;
    border: 1px solid var(--hjlp-brand-line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
        url("../images/reference/heroic-bg-blur.jpg") center/cover no-repeat;
    box-shadow: 0 18px 42px rgba(47, 24, 84, 0.08);
    overflow: hidden;
}

.hjlp-entrypoint h3 {
    margin: 0 0 8px;
    color: var(--hjlp-brand);
    font-size: 24px;
    line-height: 1.2;
}

.hjlp-entrypoint p {
    margin: 0 0 16px;
    color: var(--hjlp-muted);
}

.hjlp-entrypoint p:last-child,
.hjlp-shortcode-cta {
    margin-bottom: 0;
}

.hjlp-journey-runtime {
    margin: 28px 0;
    font-size: 16px;
    line-height: 1.55;
}

.hjlp-runtime-hero {
    position: relative;
    margin-bottom: 24px;
    padding: 28px;
    border: 1px solid var(--hjlp-brand-line);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(251, 247, 235, 0.92) 100%),
        url("../images/reference/heroic-bg-blur.jpg") center/cover no-repeat;
    box-shadow: 0 18px 48px rgba(47, 24, 84, 0.08);
    overflow: hidden;
}

.hjlp-runtime-hero::after {
    position: absolute;
    right: -72px;
    bottom: -96px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: rgba(248, 176, 66, 0.16);
    content: "";
    pointer-events: none;
}

.hjlp-runtime-brand {
    position: relative;
    z-index: 1;
    margin-bottom: 18px;
}

.hjlp-runtime-brand img {
    display: block;
    width: min(220px, 58vw);
    height: auto;
}

.hjlp-runtime-kicker {
    position: relative;
    z-index: 1;
    margin-bottom: 8px;
    color: var(--hjlp-brand);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hjlp-runtime-hero h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--hjlp-brand-strong);
    font-size: 34px;
    line-height: 1.15;
}

.hjlp-runtime-hero p {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 14px 0 0;
    color: var(--hjlp-muted);
}

.hjlp-runtime-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hjlp-runtime-stats span,
.hjlp-runtime-chip,
.hjlp-runtime-node__type,
.hjlp-runtime-node__artifact,
.hjlp-runtime-node__progress,
.hjlp-runtime-linked-item__status {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--hjlp-brand-soft);
    color: var(--hjlp-brand);
    font-size: 13px;
    font-weight: 800;
}

.hjlp-runtime-act {
    margin: 0 0 20px;
    border: 1px solid var(--hjlp-brand-line);
    border-radius: 8px;
    background: var(--hjlp-surface);
    overflow: hidden;
}

.hjlp-runtime-act__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: var(--hjlp-warm);
    border-bottom: 1px solid rgba(47, 24, 84, 0.12);
}

.hjlp-runtime-act:nth-of-type(2) .hjlp-runtime-act__header {
    background: #eefbf4;
}

.hjlp-runtime-act:nth-of-type(3) .hjlp-runtime-act__header {
    background: var(--hjlp-hero-dark);
}

.hjlp-runtime-act:nth-of-type(3) .hjlp-runtime-act__header h3,
.hjlp-runtime-act:nth-of-type(3) .hjlp-runtime-act__header span {
    color: #fff;
}

.hjlp-runtime-act__header h3 {
    margin: 0;
    color: var(--hjlp-brand-strong);
    font-size: 22px;
    line-height: 1.25;
}

.hjlp-runtime-act__header span {
    color: var(--hjlp-muted);
    font-size: 14px;
    font-weight: 700;
}

.hjlp-runtime-stage {
    margin: 14px;
    border: 1px solid var(--hjlp-brand-line);
    border-radius: 8px;
    background: #fff;
}

.hjlp-runtime-stage + .hjlp-runtime-stage {
    margin-top: 16px;
}

.hjlp-runtime-stage summary {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 12px 18px;
    cursor: pointer;
    list-style: none;
    background: linear-gradient(90deg, #fbf9ff 0%, #ffffff 100%);
    border-radius: 8px;
}

.hjlp-runtime-stage[open] summary {
    border-bottom: 1px solid var(--hjlp-brand-line);
    border-radius: 8px 8px 0 0;
}

.hjlp-runtime-stage summary::-webkit-details-marker {
    display: none;
}

.hjlp-runtime-stage__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: var(--hjlp-brand);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.hjlp-runtime-stage--current summary {
    background: linear-gradient(90deg, rgba(47, 24, 84, 0.1) 0%, rgba(248, 176, 66, 0.12) 100%);
}

.hjlp-runtime-stage--access-locked {
    opacity: 0.72;
}

.hjlp-runtime-stage--access-locked summary {
    background: linear-gradient(90deg, #f4f5f8 0%, #ffffff 100%);
}

.hjlp-runtime-stage--access-locked .hjlp-runtime-stage__index {
    background: var(--hjlp-muted);
}

.hjlp-runtime-stage__title {
    color: var(--hjlp-brand-strong);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.25;
}

.hjlp-runtime-stage__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    color: var(--hjlp-muted);
    font-size: 13px;
    font-weight: 700;
}

.hjlp-runtime-chip {
    min-height: 24px;
    padding: 3px 10px;
    font-size: 12px;
}

.hjlp-runtime-chip--active {
    background: #e8f5ee;
    color: var(--hjlp-success);
}

.hjlp-runtime-chip--current {
    background: var(--hjlp-brand);
    color: #fff;
}

.hjlp-runtime-chip--locked {
    background: #edf0f4;
    color: var(--hjlp-muted);
}

.hjlp-runtime-chip--available {
    background: #eefbf4;
    color: var(--hjlp-success);
}

.hjlp-runtime-chip--completed,
.hjlp-runtime-node__progress--completed,
.hjlp-runtime-linked-item__status--completed {
    background: #e8f8f0;
    color: var(--hjlp-success);
}

.hjlp-runtime-chip--in_progress,
.hjlp-runtime-node__progress--in_progress,
.hjlp-runtime-linked-item__status--in_progress {
    background: #fff6e8;
    color: var(--hjlp-accent-ink);
}

.hjlp-runtime-chip--not_started,
.hjlp-runtime-node__progress--not_started,
.hjlp-runtime-linked-item__status--not_started {
    background: var(--hjlp-neutral);
    color: var(--hjlp-muted);
}

.hjlp-runtime-stage__body {
    padding: 22px;
}

.hjlp-runtime-progress {
    width: 100%;
    height: 8px;
    margin: 18px 0 0;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(47, 24, 84, 0.1);
}

.hjlp-runtime-stage__body > .hjlp-runtime-progress {
    margin: 0 0 22px;
}

.hjlp-runtime-lock-notice {
    padding: 14px 16px;
    border: 1px solid rgba(47, 24, 84, 0.14);
    border-radius: 8px;
    background: var(--hjlp-neutral);
    color: var(--hjlp-muted);
    font-weight: 700;
}

.hjlp-runtime-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--hjlp-brand), var(--hjlp-accent));
}

.hjlp-runtime-video {
    position: relative;
    margin-bottom: 22px;
    overflow: hidden;
    border-radius: 8px;
    background: #05020a;
    aspect-ratio: 16 / 9;
}

.hjlp-runtime-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hjlp-runtime-stage__content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.hjlp-runtime-panel,
.hjlp-runtime-nodes {
    padding: 18px;
    border: 1px solid rgba(47, 24, 84, 0.14);
    border-radius: 8px;
    background: #fff;
}

.hjlp-runtime-panel h4,
.hjlp-runtime-nodes h4 {
    margin: 0 0 10px;
    color: var(--hjlp-brand-strong);
    font-size: 17px;
    line-height: 1.3;
}

.hjlp-runtime-richtext > :first-child {
    margin-top: 0;
}

.hjlp-runtime-richtext > :last-child {
    margin-bottom: 0;
}

.hjlp-runtime-nodes {
    display: grid;
    gap: 12px;
}

.hjlp-runtime-node {
    padding: 16px;
    border: 1px solid rgba(47, 24, 84, 0.12);
    border-left: 4px solid var(--hjlp-brand);
    border-radius: 8px;
    background: #fff;
}

.hjlp-runtime-node--progress-completed {
    background: linear-gradient(90deg, rgba(27, 208, 132, 0.08), #fff);
}

.hjlp-runtime-node--progress-in_progress {
    background: linear-gradient(90deg, rgba(248, 176, 66, 0.1), #fff);
}

.hjlp-runtime-node--challenge {
    border-left-color: var(--hjlp-accent);
}

.hjlp-runtime-node--challenge .hjlp-runtime-node__type {
    background: #fff6e8;
    color: var(--hjlp-accent-ink);
}

.hjlp-runtime-node--evidence {
    border-left-color: var(--hjlp-reference-success);
}

.hjlp-runtime-node--evidence .hjlp-runtime-node__type {
    background: #e8f8f0;
    color: var(--hjlp-success);
}

.hjlp-runtime-node--aid {
    border-left-color: var(--hjlp-hero-dark-tint);
}

.hjlp-runtime-node--aid .hjlp-runtime-node__type {
    background: #edf2f7;
    color: var(--hjlp-hero-dark);
}

.hjlp-runtime-node--story {
    border-left-color: var(--hjlp-muted);
}

.hjlp-runtime-node--story .hjlp-runtime-node__type {
    background: var(--hjlp-neutral);
    color: var(--hjlp-ink);
}

.hjlp-runtime-node__header {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.hjlp-runtime-node__artifact {
    background: #fff6e8;
    color: #8f5400;
}

.hjlp-runtime-node h5 {
    margin: 0 0 8px;
    color: var(--hjlp-brand-strong);
    font-size: 17px;
    line-height: 1.3;
}

.hjlp-runtime-button,
.hjlp-entrypoint .button,
.hjlp-shortcode-cta .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 18px;
    border: 1px solid var(--hjlp-brand);
    border-radius: 8px;
    background: var(--hjlp-brand);
    color: #fff;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.hjlp-runtime-button:hover,
.hjlp-runtime-button:focus,
.hjlp-entrypoint .button:hover,
.hjlp-entrypoint .button:focus,
.hjlp-shortcode-cta .button:hover,
.hjlp-shortcode-cta .button:focus {
    background: var(--hjlp-brand-strong);
    border-color: var(--hjlp-brand-strong);
    color: #fff;
    text-decoration: none;
}

.hjlp-runtime-button--secondary {
    min-height: 36px;
    padding: 7px 14px;
    background: #fff;
    color: var(--hjlp-brand);
}

.hjlp-runtime-button--secondary:hover,
.hjlp-runtime-button--secondary:focus {
    background: var(--hjlp-brand-soft);
    color: var(--hjlp-brand);
}

.hjlp-runtime-actions {
    margin: 18px 0 0;
}

.hjlp-runtime-node-complete {
    margin: 12px 0 0;
}

.hjlp-rating-popover {
    margin-top: 10px;
    padding: 12px;
    border: 1px solid var(--hjlp-brand-line);
    border-radius: 8px;
    background: #fff;
}

.hjlp-rating-popover.is-open {
    display: block;
}

.hjlp-rating-popover__title {
    margin: 0 0 8px;
    color: var(--hjlp-brand-strong);
    font-size: 13px;
    font-weight: 700;
}

.hjlp-rating-stars {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.hjlp-rating-star {
    border: 0;
    background: transparent;
    padding: 0;
    line-height: 1;
    cursor: pointer;
    font-size: 24px;
    color: #c8cad0;
}

.hjlp-rating-star.is-active {
    color: #ffd700;
}

.hjlp-rating-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.hjlp-runtime-linked-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.hjlp-runtime-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 0;
    font-size: 14px;
    font-weight: 700;
    color: #6f7580;
}

.hjlp-runtime-rating__stars {
    color: #ffd700;
    letter-spacing: 1px;
}

.hjlp-runtime-rating__value {
    color: #49505a;
}

.hjlp-runtime-course-content {
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(47, 24, 84, 0.14);
    border-radius: 8px;
    background: #fcfbff;
}

.hjlp-runtime-course-content__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.hjlp-runtime-course-content__header h4 {
    margin: 0;
    color: var(--hjlp-brand-strong);
    font-size: 17px;
}

.hjlp-runtime-course-content__header > span {
    color: var(--hjlp-muted);
    font-size: 13px;
    font-weight: 800;
}

.hjlp-runtime-course-section {
    border: 1px solid var(--hjlp-brand-line);
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
}

.hjlp-runtime-course-section + .hjlp-runtime-course-section {
    margin-top: 10px;
}

.hjlp-runtime-course-section summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    background: var(--hjlp-warm);
    color: var(--hjlp-brand-strong);
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

.hjlp-runtime-course-section summary::-webkit-details-marker {
    display: none;
}

.hjlp-runtime-course-section summary span:last-child {
    color: var(--hjlp-muted);
    font-size: 12px;
}

.hjlp-runtime-course-items {
    margin: 0;
    padding: 0;
    list-style: none;
}

.hjlp-runtime-course-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 1px solid rgba(47, 24, 84, 0.1);
}

.hjlp-runtime-course-item a,
.hjlp-runtime-course-item strong {
    color: var(--hjlp-brand);
    font-weight: 800;
    text-decoration: none;
}

.hjlp-runtime-course-item a:hover,
.hjlp-runtime-course-item a:focus {
    color: var(--hjlp-brand-strong);
    text-decoration: underline;
}

.hjlp-runtime-course-item small {
    display: block;
    margin-top: 2px;
    color: var(--hjlp-muted);
    font-size: 12px;
    font-weight: 700;
}

.hjlp-runtime-course-item--direct {
    background: linear-gradient(90deg, rgba(248, 176, 66, 0.08), #fff);
}

.hjlp-runtime-course-item--node {
    background: linear-gradient(90deg, rgba(47, 24, 84, 0.05), #fff);
}

.hjlp-runtime-muted,
.hjlp-runtime-empty {
    color: var(--hjlp-muted);
}

.hjlp-runtime-empty {
    padding: 20px;
    border: 1px dashed var(--hjlp-brand-line);
    border-radius: 8px;
    background: #fff;
}

@media (max-width: 782px) {
    .hjlp-runtime-hero,
    .hjlp-runtime-stage__body {
        padding: 18px;
    }

    .hjlp-runtime-hero h2 {
        font-size: 28px;
    }

    .hjlp-runtime-act__header,
    .hjlp-runtime-stage summary {
        align-items: flex-start;
    }

    .hjlp-runtime-stage summary {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .hjlp-runtime-stage__meta {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }

    .hjlp-runtime-stage__content {
        grid-template-columns: 1fr;
    }

    .hjlp-runtime-course-content__header,
    .hjlp-runtime-course-section summary,
    .hjlp-runtime-course-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

/* =====================================================================
   Course-as-Journey: suppress LearnPress tab chrome when the journey
   is the primary course view (.hjlp-course-as-journey body class is
   added by Journey_Frontend::add_journey_body_class).
   ===================================================================== */

/*
 * Hide the entire LP tab widget when the journey is injected before it.
 * LP 4.3.6 uses #learn-press-course-tabs; older LP uses .learnpress-course-tabs.
 */
.hjlp-course-as-journey #learn-press-course-tabs,
.hjlp-course-as-journey .learnpress-course-tabs {
    display: none !important;
}

/*
 * Fallback: LP versions that still render the tab nav + panels
 * (template-override path). Hide the nav and every non-journey panel.
 */
.hjlp-course-as-journey .learnpress-course-tabs > ul,
.hjlp-course-as-journey .course-tabs.tabs,
.hjlp-course-as-journey ul.course-tabs {
    display: none;
}

.hjlp-course-as-journey .course-tab-panel:not(#tab-heroic-journey) {
    display: none !important;
}

/* Ensure the journey panel is visible and flush (no extra tab padding) */
.hjlp-course-as-journey #tab-heroic-journey {
    display: block;
    padding: 0;
    opacity: 1;
}

/* =====================================================================
   Enrollment notice — shown to guests and unenrolled logged-in users.
   Journey structure is still visible as a read-only preview.
   ===================================================================== */

.hjlp-enrollment-notice {
    margin: 0 0 28px;
    padding: 20px 24px;
    background: var(--hjlp-warm);
    border: 1px solid var(--hjlp-accent);
    border-radius: 8px;
}

.hjlp-enrollment-notice__body {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hjlp-enrollment-notice__message {
    margin: 0;
    flex: 1 1 240px;
    color: var(--hjlp-accent-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}


/* Journey progress badge injected into LP enrollment card on course page */
.hjlp-enrollment-journey-badge {
    margin-bottom: 12px;
    padding: 10px 14px;
    background: rgba(47, 24, 84, 0.06);
    border-left: 3px solid var(--hjlp-brand, #2f1854);
    border-radius: 0 6px 6px 0;
    font-size: 0.875rem;
    line-height: 1.45;
}

.hjlp-enrollment-journey-badge__eyebrow {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hjlp-brand, #2f1854);
    font-weight: 700;
    margin-bottom: 3px;
}

.hjlp-enrollment-journey-badge__detail {
    display: block;
    color: #333;
    font-weight: 500;
}

/* LearnPress lesson/quiz learning screen journey context */
.hjlp-learning-item-panel {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid rgba(80, 50, 130, 0.18);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(83, 52, 131, 0.08), rgba(250, 196, 60, 0.10));
    box-shadow: 0 12px 32px rgba(31, 21, 55, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--hjlp-stage-text, #182b3f);
}

.hjlp-learning-item-panel__main {
    display: block;
    width: 100%;
}

.hjlp-learning-item-panel__thumb {
    grid-area: thumb;
    display: block;
    width: 160px;
    height: 160px;
    border-radius: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    position: static;
}

.hjlp-learning-item-panel__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: none;
}

.hjlp-learning-item-panel__thumb::after {
    content: none;
}

.hjlp-learning-item-panel__text {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.hjlp-learning-item-panel--has-thumb .hjlp-learning-item-panel__text {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    grid-template-areas:
        "thumb eyebrow"
        "thumb act"
        "thumb title"
        "thumb progress"
        "thumb actions";
    column-gap: 18px;
}

.hjlp-learning-item-panel__act {
    grid-area: act;
    display: block;
    margin: 0 0 4px;
    color: var(--hjlp-stage-subtext, rgba(24, 43, 63, 0.88));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-transform: uppercase;
}

.hjlp-learning-item-panel__eyebrow {
    grid-area: eyebrow;
    display: inline-block;
    margin-bottom: 6px;
    color: var(--hjlp-stage-subtext, #533483);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.hjlp-learning-item-panel h2 {
    grid-area: title;
    margin: 0;
    font-size: 22px;
    line-height: 1.25;
    color: var(--hjlp-stage-text, #182b3f);
}

.hjlp-learning-item-panel p {
    grid-area: progress;
    margin: 8px 0 0;
    color: var(--hjlp-stage-subtext, #51465f);
}

.hjlp-learning-item-panel__actions {
    grid-area: actions;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 14px;
}

@media (max-width: 768px) {
    .hjlp-learning-item-panel {
        align-items: stretch;
        flex-direction: column;
    }

    .hjlp-learning-item-panel--has-thumb .hjlp-learning-item-panel__text {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "eyebrow"
            "act"
            "title"
            "thumb"
            "progress"
            "actions";
        column-gap: 0;
    }

    .hjlp-learning-item-panel__thumb,
    .hjlp-learning-item-panel__thumb img {
        width: 120px;
        height: 120px;
    }

    .hjlp-learning-item-panel__thumb {
        justify-self: center;
        margin: 10px 0 4px;
    }

    .hjlp-learning-item-panel__actions {
        justify-content: flex-start;
    }
}

/* LearnPress learning popup navigation enhancement */
.hjlp-learning-screen-as-journey #popup-header .course-title,
.hjlp-learning-screen-as-journey .course-title {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.2;
}

.hjlp-learning-nav-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0.95;
}

.hjlp-learning-nav-title::before {
    content: "Journey";
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.hjlp-learning-nav-title a {
    color: #fff !important;
    text-decoration: none;
}

.hjlp-learning-nav-title a:hover,
.hjlp-learning-nav-title a:focus {
    text-decoration: underline;
}

.hjlp-learning-nav-title small {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 600;
}

.hjlp-learning-nav-title .hjlp-learning-nav-progress {
    color: #ffffff;
    font-weight: 800;
}

.hjlp-finish-course-disabled {
    opacity: 0.45 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.hjlp-learning-section-item--locked,
#popup-sidebar .hjlp-curriculum-node--locked > a,
.course-curriculum .hjlp-curriculum-node--locked > a,
.lp-course-curriculum .hjlp-curriculum-node--locked > a,
#popup-sidebar .hjlp-curriculum-subnode--locked > span,
.course-curriculum .hjlp-curriculum-subnode--locked > span,
.lp-course-curriculum .hjlp-curriculum-subnode--locked > span {
    opacity: 0.48;
    cursor: not-allowed;
}

#popup-sidebar .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-header,
.course-curriculum .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-header,
.lp-course-curriculum .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-header {
    cursor: not-allowed !important;
}

#popup-sidebar .hjlp-curriculum-subnode--locked .hjlp-curriculum-subnode__dot,
.course-curriculum .hjlp-curriculum-subnode--locked .hjlp-curriculum-subnode__dot,
.lp-course-curriculum .hjlp-curriculum-subnode--locked .hjlp-curriculum-subnode__dot {
    background: #d1c7df;
}

.hjlp-topbar-journey-progress {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.hjlp-learning-sidebar-card {
    display: block;
    margin: 12px;
    padding: 14px 16px;
    border: 1px solid rgba(83, 52, 131, 0.20);
    border-left: 4px solid #533483;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(83, 52, 131, 0.08), rgba(250, 196, 60, 0.13));
    color: #23364d;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(31, 21, 55, 0.08);
}

.hjlp-learning-sidebar-card span {
    display: block;
    margin-bottom: 4px;
    color: #533483;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hjlp-learning-sidebar-card strong {
    display: block;
    color: #182b3f;
    font-size: 15px;
    line-height: 1.25;
}

.hjlp-learning-sidebar-card small {
    display: block;
    margin-top: 6px;
    color: #5d6470;
    font-size: 12px;
    line-height: 1.35;
}

.hjlp-learning-sidebar-card:hover,
.hjlp-learning-sidebar-card:focus {
    transform: translateY(-1px);
    color: #182b3f;
}

.hjlp-learning-sidebar-card-wrap {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
    background: transparent !important;
}

.hjlp-learning-sidebar-card--server {
    margin: 12px !important;
}

.hjlp-learning-sidebar-header-wrap {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    list-style: none !important;
    background: #fff !important;
}

.hjlp-learning-sidebar-header {
    box-sizing: border-box;
    display: block !important;
    margin: 12px !important;
    padding: 18px 20px !important;
    border: 1px solid rgba(83, 52, 131, 0.22) !important;
    border-left: 5px solid #533483 !important;
    border-radius: 8px !important;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(251, 247, 235, 0.92)) !important;
    color: #182b3f !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(31, 21, 55, 0.08) !important;
}

.hjlp-learning-sidebar-header__kicker {
    display: block !important;
    margin: 0 0 8px !important;
    color: #533483 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.hjlp-learning-sidebar-header strong {
    display: block !important;
    margin: 0 !important;
    color: #182b3f !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
}

.hjlp-learning-sidebar-header small {
    display: block !important;
    margin: 8px 0 0 !important;
    color: #596575 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
}

.hjlp-learning-item-panel .hjlp-runtime-button {
    background: var(--hjlp-stage-badge-bg, #533483) !important;
    border-color: transparent !important;
    color: var(--hjlp-stage-badge-text, #fff) !important;
}

.hjlp-learning-item-panel .hjlp-runtime-button:hover,
.hjlp-learning-item-panel .hjlp-runtime-button:focus {
    background: var(--hjlp-stage-badge-bg, #2f1854) !important;
    filter: brightness(0.92);
    color: var(--hjlp-stage-badge-text, #fff) !important;
}

.hjlp-learning-item-panel .hjlp-runtime-button--secondary {
    background: rgba(255, 255, 255, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #34465c !important;
    -webkit-text-fill-color: #34465c !important;
}

.hjlp-learning-item-panel .hjlp-runtime-button--secondary:hover,
.hjlp-learning-item-panel .hjlp-runtime-button--secondary:focus {
    background: rgba(255, 255, 255, 0.98) !important;
    color: #2f1854 !important;
    -webkit-text-fill-color: #2f1854 !important;
}

.hjlp-learning-node-detail {
    margin: 0 0 24px;
    padding: 22px 24px;
    border: 1px solid rgba(83, 52, 131, 0.20);
    border-left: 5px solid #533483;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(31, 21, 55, 0.06);
}

/* Expand LearnPress content area when HJ detail panel is active. */
body.hjlp-learning-node-selected .learn-press-content-item .content-item-wrap,
body.hjlp-learning-node-selected .learn-press-content-item .content-item-detail {
    width: 100% !important;
    max-width: 100% !important;
}

/* LearnPress lesson/quiz wrappers can keep a fixed 792px width.
   Force full-width for journey-enabled screens. */
body.hjlp-course-as-journey .learn-press-content-item,
body.hjlp-learning-screen-as-journey .learn-press-content-item,
body.hjlp-course-as-journey #learn-press-content-item,
body.hjlp-learning-screen-as-journey #learn-press-content-item,
body.hjlp-course-as-journey #popup-content,
body.hjlp-learning-screen-as-journey #popup-content,
body.hjlp-course-as-journey #popup-content .scrollable,
body.hjlp-learning-screen-as-journey #popup-content .scrollable,
body.hjlp-course-as-journey #learn-press-content-item .content-item-scrollable,
body.hjlp-learning-screen-as-journey #learn-press-content-item .content-item-scrollable,
body.hjlp-course-as-journey .content-item-wrap,
body.hjlp-learning-screen-as-journey .content-item-wrap,
body.hjlp-course-as-journey .content-item-detail,
body.hjlp-learning-screen-as-journey .content-item-detail {
    width: 100% !important;
    max-width: none !important;
}

body.hjlp-course-as-journey #learn-press-content-item .content-item-wrap,
body.hjlp-learning-screen-as-journey #learn-press-content-item .content-item-wrap {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.hjlp-learning-node-detail__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.hjlp-learning-node-detail__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    background: rgba(83, 52, 131, 0.10);
    color: #533483;
    font-size: 11px;
    font-weight: 800;
}

.hjlp-learning-node-detail h2 {
    margin: 0 0 12px;
    color: #182b3f;
    font-size: 28px;
    line-height: 1.2;
}

.hjlp-learning-node-detail__title-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 12px;
}

.hjlp-learning-node-detail__title-row h2 {
    margin: 0;
}

.hjlp-learning-node-detail__element-avatar {
    margin: 0;
    flex: 0 0 auto;
}

.hjlp-learning-node-detail .hjlp-runtime-richtext img {
    display: block;
    max-width: 180px;
    width: 100%;
    height: auto;
    margin: 0 0 12px;
}

.hjlp-role-model-card {
    border: 1px solid rgba(50, 39, 99, 0.12);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 14px;
    background: #f4efdf;
}

.hjlp-role-model-card__hero {
    background: #331a66;
    color: #fff;
    padding: 16px 18px 18px;
    text-align: center;
}

.hjlp-role-model-card__avatar-wrap {
    display: inline-flex;
    width: 108px;
    height: 108px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: #fff;
    margin: 0 auto 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.hjlp-role-model-card__avatar {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    object-fit: cover;
}

.hjlp-role-model-card__name {
    margin: 0;
    font-size: clamp(1.25rem, 2vw, 1.55rem);
    line-height: 1.15;
    color: #fff;
}

.hjlp-role-model-card__body {
    padding: 14px 16px 16px;
    color: #1d2230;
}

.hjlp-role-model-card__subtitle {
    margin: 0 0 12px;
    font-size: 16px !important;
    line-height: 1.45 !important;
    font-weight: 700;
}

.hjlp-role-model-card__bio {
    font-size: 16px;
    line-height: 1.62;
}

.hjlp-role-model-card__bio p,
.hjlp-role-model-card__bio li {
    font-size: 16px !important;
    line-height: 1.62 !important;
}

.hjlp-role-model-card__actions {
    margin: 14px 0 0;
    display: flex;
    justify-content: flex-end;
}

.hjlp-role-model-card__actions .hjlp-runtime-button {
    min-width: 160px;
}

.hjlp-learning-node-detail__actions {
    margin: 16px 0 0;
}

.hjlp-learning-node-detail .hjlp-runtime-button--secondary {
    background: #ffffff !important;
    border-color: rgba(83, 52, 131, 0.26) !important;
    color: #3b2a63 !important;
    -webkit-text-fill-color: #3b2a63 !important;
}

.hjlp-learning-node-detail .hjlp-runtime-button--secondary:hover,
.hjlp-learning-node-detail .hjlp-runtime-button--secondary:focus {
    background: #f3effa !important;
    border-color: rgba(83, 52, 131, 0.40) !important;
    color: #2f1854 !important;
    -webkit-text-fill-color: #2f1854 !important;
    text-decoration: none !important;
}

.hjlp-node-hidden-content {
    display: none !important;
}

.hjlp-learning-node-selected #comments,
.hjlp-learning-node-selected .comments-area,
.hjlp-learning-node-selected .comment-respond,
.hjlp-learning-node-selected #respond,
.hjlp-learning-node-selected .entry-footer {
    display: none !important;
}

.hjlp-nav-disabled {
    opacity: 0.4 !important;
    pointer-events: none !important;
}

.hjlp-learning-section-items {
    display: grid;
    gap: 10px;
}

.hjlp-learning-section-item {
    align-items: center;
    border: 1px solid rgba(90, 58, 143, 0.14);
    border-radius: 8px;
    color: #1f334a;
    display: flex;
    font-weight: 700;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
    text-decoration: none;
}

.hjlp-learning-section-item small {
    color: #5d3c91;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hjlp-learning-node-completion {
    margin: 18px 0 0;
}

.hjlp-learning-node-completion--auto {
    display: none !important;
}

.hjlp-learning-node-detail__video {
    position: relative;
    margin: 16px 0;
    border-radius: 8px;
    background: #02101c;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.hjlp-learning-node-detail__video iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.hjlp-learning-node-detail__panel {
    margin-top: 16px;
    padding: 16px;
    border: 1px solid rgba(83, 52, 131, 0.14);
    border-radius: 8px;
    background: rgba(251, 247, 235, 0.42);
}

.hjlp-learning-node-detail__panel h3 {
    margin: 0 0 8px;
    color: #533483;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.hjlp-learning-node-detail__meta-list {
    margin: 0;
    padding-left: 18px;
}

.hjlp-learning-node-detail__meta-list li + li {
    margin-top: 8px;
}

.hjlp-learning-node-detail__course-title {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.2;
    color: #1b2d44;
}

.hjlp-course-meta-accordion {
    display: grid;
    gap: 8px;
}

.hjlp-course-meta-accordion__item {
    border: 1px solid rgba(83, 52, 131, 0.2);
    border-radius: 8px;
    background: #fff;
}

.hjlp-course-meta-accordion__item summary {
    cursor: pointer;
    padding: 12px 14px;
    color: #1b2d44;
    font-weight: 700;
}

.hjlp-course-meta-accordion__content {
    padding: 0 14px 12px;
}

.hjlp-course-meta-author {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.hjlp-course-meta-author__avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid rgba(83, 52, 131, 0.16);
}

.hjlp-course-meta-author__content h4 {
    margin: 0 0 6px;
    font-size: 20px;
    line-height: 1.2;
    color: #1b2d44;
}

.hjlp-course-meta-author__content h4 a {
    color: inherit;
    text-decoration: none;
}

.hjlp-course-meta-author__content p {
    margin: 0;
    color: #435871;
}

.hjlp-learning-node-selected .hjlp-learning-node-detail ~ h1,
.hjlp-learning-node-selected .hjlp-learning-node-detail ~ h2,
.hjlp-learning-node-selected .hjlp-learning-node-detail ~ p,
.hjlp-learning-node-selected .hjlp-learning-node-detail ~ .entry-content,
.hjlp-learning-node-selected .hjlp-learning-node-detail ~ .content-item-description,
.hjlp-learning-node-selected .hjlp-learning-node-detail ~ .learn-press-content-item-summary {
    display: none !important;
}

/* LearnPress 4.3.6 server-side curriculum component replacement */
.hjlp-curriculum-title {
    color: #533483;
}

.hjlp-curriculum-journey-stage > .section-header,
.hjlp-curriculum-stage-header {
    background: linear-gradient(135deg, rgba(83, 52, 131, 0.07), rgba(250, 196, 60, 0.10));
}

.hjlp-curriculum-journey-stage .section-title {
    color: #1b2d44;
    font-weight: 700;
}

.hjlp-curriculum-act-label {
    display: inline-flex;
    align-items: center;
    margin-top: 3px;
    color: #533483;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hjlp-curriculum-course-item.current > a,
.hjlp-curriculum-course-item.current .section-item-link {
    border-left-color: #533483 !important;
    background: rgba(83, 52, 131, 0.08);
}

.hjlp-item-type {
    background: rgba(83, 52, 131, 0.10) !important;
    color: #533483 !important;
}

/* LearnPress 4.3.6 popup sidebar cleanup: prevent LP curriculum styles from
   stretching the custom Heroic Journey navigation. */
.hjlp-learning-screen-as-journey #popup-sidebar .course-curriculum-title,
.hjlp-learning-screen-as-journey #popup-sidebar .course-curriculum-info,
.hjlp-learning-screen-as-journey #learn-press-course-curriculum .course-curriculum-title,
.hjlp-learning-screen-as-journey #learn-press-course-curriculum .course-curriculum-info,
.hjlp-learning-screen-as-journey #popup-sidebar .search-course-content,
.hjlp-learning-screen-as-journey #popup-sidebar .lp-search-course-content,
.hjlp-learning-screen-as-journey #popup-sidebar form[role="search"],
.hjlp-learning-screen-as-journey #popup-sidebar .search {
    display: none !important;
}

#popup-sidebar:has(.hjlp-learning-sidebar-card-wrap) .course-curriculum-title,
#popup-sidebar:has(.hjlp-learning-sidebar-card-wrap) .course-curriculum-info,
#popup-sidebar:has(.hjlp-learning-sidebar-header-wrap) .course-curriculum-title,
#popup-sidebar:has(.hjlp-learning-sidebar-header-wrap) .course-curriculum-info,
#learn-press-course-curriculum:has(.hjlp-learning-sidebar-card-wrap) .course-curriculum-title,
#learn-press-course-curriculum:has(.hjlp-learning-sidebar-card-wrap) .course-curriculum-info,
#learn-press-course-curriculum:has(.hjlp-learning-sidebar-header-wrap) .course-curriculum-title,
#learn-press-course-curriculum:has(.hjlp-learning-sidebar-header-wrap) .course-curriculum-info,
.course-curriculum:has(.hjlp-learning-sidebar-card-wrap) .course-curriculum-title,
.course-curriculum:has(.hjlp-learning-sidebar-card-wrap) .course-curriculum-info,
.course-curriculum:has(.hjlp-learning-sidebar-header-wrap) .course-curriculum-title,
.course-curriculum:has(.hjlp-learning-sidebar-header-wrap) .course-curriculum-info,
.lp-course-curriculum:has(.hjlp-learning-sidebar-card-wrap) .course-curriculum-title,
.lp-course-curriculum:has(.hjlp-learning-sidebar-card-wrap) .course-curriculum-info,
.lp-course-curriculum:has(.hjlp-learning-sidebar-header-wrap) .course-curriculum-title,
.lp-course-curriculum:has(.hjlp-learning-sidebar-header-wrap) .course-curriculum-info,
#popup-sidebar:has(.hjlp-learning-sidebar-header-wrap) .search-course-content,
#popup-sidebar:has(.hjlp-learning-sidebar-header-wrap) .lp-search-course-content,
#popup-sidebar:has(.hjlp-learning-sidebar-header-wrap) form[role="search"],
#popup-sidebar:has(.hjlp-learning-sidebar-header-wrap) .search {
    display: none !important;
}

.hjlp-search-hidden {
    display: none !important;
}

.hjlp-curriculum-search-empty {
    display: none;
    margin: 14px 18px;
    padding: 18px 16px;
    border: 1px solid rgba(83, 52, 131, 0.16);
    border-radius: 14px;
    background: rgba(83, 52, 131, 0.06);
    color: #5f5870;
    font-weight: 700;
    text-align: center;
}

.hjlp-curriculum-search-empty.is-visible {
    display: block;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-learning-sidebar-card {
    box-sizing: border-box;
    margin: 12px !important;
    position: relative;
    z-index: 2;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-journey-stage,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-journey-stage,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-journey-stage,
#popup-sidebar .hjlp-curriculum-journey-stage,
.course-curriculum .hjlp-curriculum-journey-stage,
.lp-course-curriculum .hjlp-curriculum-journey-stage {
    clear: both;
    display: block !important;
    margin: 0 !important;
    border: 0 !important;
    background: #fff !important;
    list-style: none !important;
}

#popup-sidebar .hjlp-sidebar-accordion-controls,
.course-curriculum .hjlp-sidebar-accordion-controls,
.lp-course-curriculum .hjlp-sidebar-accordion-controls {
    display: flex !important;
    justify-content: flex-end !important;
    padding: 0 14px 10px !important;
    background: #fff !important;
}

#popup-sidebar .hjlp-sidebar-accordion-toggle,
.course-curriculum .hjlp-sidebar-accordion-toggle,
.lp-course-curriculum .hjlp-sidebar-accordion-toggle {
    appearance: none !important;
    border: 1px solid rgba(83, 52, 131, 0.28) !important;
    border-radius: 7px !important;
    background: #fff !important;
    color: #533483 !important;
    cursor: pointer !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    padding: 7px 10px !important;
}

#popup-sidebar .hjlp-sidebar-accordion-toggle:hover,
#popup-sidebar .hjlp-sidebar-accordion-toggle:focus,
.course-curriculum .hjlp-sidebar-accordion-toggle:hover,
.course-curriculum .hjlp-sidebar-accordion-toggle:focus,
.lp-course-curriculum .hjlp-sidebar-accordion-toggle:hover,
.lp-course-curriculum .hjlp-sidebar-accordion-toggle:focus {
    background: #f3effa !important;
    border-color: rgba(83, 52, 131, 0.45) !important;
    outline: none !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-stage-header,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-stage-header,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-stage-header,
#popup-sidebar .hjlp-curriculum-stage-header,
.course-curriculum .hjlp-curriculum-stage-header,
.lp-course-curriculum .hjlp-curriculum-stage-header {
    box-sizing: border-box;
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 10px !important;
    min-height: 0 !important;
    height: auto !important;
    position: static !important;
    padding: 16px 18px !important;
    border-top: 1px solid rgba(83, 52, 131, 0.12) !important;
    border-bottom: 1px solid rgba(83, 52, 131, 0.10) !important;
    background: linear-gradient(135deg, rgba(83, 52, 131, 0.07), rgba(250, 196, 60, 0.10)) !important;
    color: var(--hjlp-stage-text, #182b3f) !important;
    cursor: pointer !important;
    user-select: none !important;
}

#popup-sidebar .hjlp-curriculum-journey-stage--completed .hjlp-curriculum-stage-header,
.course-curriculum .hjlp-curriculum-journey-stage--completed .hjlp-curriculum-stage-header,
.lp-course-curriculum .hjlp-curriculum-journey-stage--completed .hjlp-curriculum-stage-header {
    background: linear-gradient(135deg, rgba(35, 122, 75, 0.10), rgba(255, 255, 255, 0.96)) !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-stage-header .section-left,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-stage-header .section-left,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-stage-header .section-left,
#popup-sidebar .hjlp-curriculum-stage-header .section-left,
.course-curriculum .hjlp-curriculum-stage-header .section-left,
.lp-course-curriculum .hjlp-curriculum-stage-header .section-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 0 !important;
}

#popup-sidebar .hjlp-curriculum-stage-thumb,
.course-curriculum .hjlp-curriculum-stage-thumb,
.lp-course-curriculum .hjlp-curriculum-stage-thumb {
    width: 35px !important;
    height: 35px !important;
    flex: 0 0 35px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    border: 2px solid rgba(255, 255, 255, 0.52) !important;
    background-color: rgba(16, 28, 58, 0.26) !important;
    box-shadow: none !important;
    position: relative !important;
}

#popup-sidebar .hjlp-curriculum-stage-thumb--brand,
.course-curriculum .hjlp-curriculum-stage-thumb--brand,
.lp-course-curriculum .hjlp-curriculum-stage-thumb--brand {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-position: center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    box-shadow: inherit !important;
}

#popup-sidebar .hjlp-curriculum-stage-thumb--brand::after,
.course-curriculum .hjlp-curriculum-stage-thumb--brand::after,
.lp-course-curriculum .hjlp-curriculum-stage-thumb--brand::after {
    content: none !important;
}

#popup-sidebar .hjlp-curriculum-journey-stage--completed .hjlp-curriculum-stage-thumb--brand::after,
.course-curriculum .hjlp-curriculum-journey-stage--completed .hjlp-curriculum-stage-thumb--brand::after,
.lp-course-curriculum .hjlp-curriculum-journey-stage--completed .hjlp-curriculum-stage-thumb--brand::after {
    content: "\2713" !important;
    position: absolute !important;
    right: -3px !important;
    bottom: -3px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #237a4b !important;
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    border: 2px solid rgba(255, 255, 255, 0.96) !important;
}

#popup-sidebar .hjlp-curriculum-stage-thumb img,
.course-curriculum .hjlp-curriculum-stage-thumb img,
.lp-course-curriculum .hjlp-curriculum-stage-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    filter: brightness(0.84) saturate(1.04) contrast(1.08) !important;
}

#popup-sidebar .hjlp-curriculum-stage-thumb::after,
.course-curriculum .hjlp-curriculum-stage-thumb::after,
.lp-course-curriculum .hjlp-curriculum-stage-thumb::after {
    content: none !important;
}

#popup-sidebar .hjlp-curriculum-stage-heading,
.course-curriculum .hjlp-curriculum-stage-heading,
.lp-course-curriculum .hjlp-curriculum-stage-heading {
    display: block !important;
    min-width: 0 !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-journey-name,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-journey-name,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-journey-name,
#popup-sidebar .hjlp-curriculum-journey-name,
.course-curriculum .hjlp-curriculum-journey-name,
.lp-course-curriculum .hjlp-curriculum-journey-name {
    display: block !important;
    margin: 0 0 5px !important;
    padding: 0 !important;
    color: var(--hjlp-stage-subtext, rgba(24, 43, 63, 0.88)) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    line-height: 1.25 !important;
    text-transform: none !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-stage-header .section-toggle,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-stage-header .section-toggle,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-stage-header .section-toggle,
#popup-sidebar .hjlp-curriculum-stage-header .section-toggle,
.course-curriculum .hjlp-curriculum-stage-header .section-toggle,
.lp-course-curriculum .hjlp-curriculum-stage-header .section-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--hjlp-stage-text, #182b3f) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    opacity: 0.9 !important;
    transform: rotate(90deg) !important;
    transition: transform 0.16s ease !important;
}

#popup-sidebar .hjlp-curriculum-stage-header .section-toggle::before,
.course-curriculum .hjlp-curriculum-stage-header .section-toggle::before,
.lp-course-curriculum .hjlp-curriculum-stage-header .section-toggle::before {
    content: "›" !important;
    display: block !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

#popup-sidebar .hjlp-curriculum-journey-stage.hjlp-stage-collapsed .hjlp-curriculum-stage-header .section-toggle,
.course-curriculum .hjlp-curriculum-journey-stage.hjlp-stage-collapsed .hjlp-curriculum-stage-header .section-toggle,
.lp-course-curriculum .hjlp-curriculum-journey-stage.hjlp-stage-collapsed .hjlp-curriculum-stage-header .section-toggle {
    transform: rotate(0deg) !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-stage-header .section-title,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-stage-header .section-title,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-stage-header .section-title,
#popup-sidebar .hjlp-curriculum-stage-header .section-title,
.course-curriculum .hjlp-curriculum-stage-header .section-title,
.lp-course-curriculum .hjlp-curriculum-stage-header .section-title {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--hjlp-stage-text, #182b3f) !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

#popup-sidebar .hjlp-curriculum-stage-header .section-title a,
.course-curriculum .hjlp-curriculum-stage-header .section-title a,
.lp-course-curriculum .hjlp-curriculum-stage-header .section-title a {
    color: inherit !important;
    text-decoration: none !important;
}

#popup-sidebar .hjlp-curriculum-stage-header .section-title a:hover,
#popup-sidebar .hjlp-curriculum-stage-header .section-title a:focus,
.course-curriculum .hjlp-curriculum-stage-header .section-title a:hover,
.course-curriculum .hjlp-curriculum-stage-header .section-title a:focus,
.lp-course-curriculum .hjlp-curriculum-stage-header .section-title a:hover,
.lp-course-curriculum .hjlp-curriculum-stage-header .section-title a:focus {
    text-decoration: underline !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-act-label,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-act-label,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-act-label,
#popup-sidebar .hjlp-curriculum-act-label,
.course-curriculum .hjlp-curriculum-act-label,
.lp-course-curriculum .hjlp-curriculum-act-label {
    display: block !important;
    margin: 0 0 4px !important;
    padding: 0 !important;
    color: var(--hjlp-stage-subtext, rgba(24, 43, 63, 0.88)) !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-stage-count,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-stage-count,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-stage-count,
#popup-sidebar .hjlp-curriculum-stage-count,
.course-curriculum .hjlp-curriculum-stage-count,
.lp-course-curriculum .hjlp-curriculum-stage-count {
    flex: 0 0 auto !important;
    align-self: flex-start !important;
    position: static !important;
    margin: 0 !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: var(--hjlp-stage-badge-bg, rgba(83, 52, 131, 0.10)) !important;
    color: var(--hjlp-stage-badge-text, #533483) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    white-space: nowrap !important;
}

#popup-sidebar .hjlp-curriculum-stage-badges,
.course-curriculum .hjlp-curriculum-stage-badges,
.lp-course-curriculum .hjlp-curriculum-stage-badges {
    display: flex !important;
    align-items: flex-end !important;
    flex: 0 0 auto !important;
    flex-direction: column !important;
    gap: 6px !important;
}

#popup-sidebar .hjlp-curriculum-stage-status,
.course-curriculum .hjlp-curriculum-stage-status,
.lp-course-curriculum .hjlp-curriculum-stage-status {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 3px 8px !important;
    border-radius: 999px !important;
    background: var(--hjlp-stage-badge-bg, rgba(83, 52, 131, 0.10)) !important;
    color: var(--hjlp-stage-badge-text, #533483) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

#popup-sidebar .hjlp-curriculum-stage-status--completed,
.course-curriculum .hjlp-curriculum-stage-status--completed,
.lp-course-curriculum .hjlp-curriculum-stage-status--completed {
    background: #ffffff !important;
    border: 1px solid rgba(35, 122, 75, 0.42) !important;
    color: #237a4b !important;
    box-shadow: 0 1px 2px rgba(21, 36, 29, 0.12) !important;
}

#popup-sidebar .hjlp-curriculum-stage-status--completed::before,
.course-curriculum .hjlp-curriculum-stage-status--completed::before,
.lp-course-curriculum .hjlp-curriculum-stage-status--completed::before {
    content: "\2713" !important;
}

#popup-sidebar .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-status::before,
.course-curriculum .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-status::before,
.lp-course-curriculum .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-status::before,
#popup-sidebar .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-count::before,
.course-curriculum .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-count::before,
.lp-course-curriculum .hjlp-curriculum-journey-stage--sequence-locked .hjlp-curriculum-stage-count::before {
    content: "" !important;
    display: inline-block !important;
    width: 11px !important;
    height: 11px !important;
    margin-right: 4px !important;
    background-color: currentColor !important;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 7V5.2C4.5 3.1 6.1 1.5 8 1.5s3.5 1.6 3.5 3.7V7h.7c.7 0 1.3.6 1.3 1.3v4.9c0 .7-.6 1.3-1.3 1.3H3.8c-.7 0-1.3-.6-1.3-1.3V8.3C2.5 7.6 3.1 7 3.8 7h.7Zm1.5 0h4V5.2C10 4 9.1 3 8 3S6 4 6 5.2V7Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
    mask: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.5 7V5.2C4.5 3.1 6.1 1.5 8 1.5s3.5 1.6 3.5 3.7V7h.7c.7 0 1.3.6 1.3 1.3v4.9c0 .7-.6 1.3-1.3 1.3H3.8c-.7 0-1.3-.6-1.3-1.3V8.3C2.5 7.6 3.1 7 3.8 7h.7Zm1.5 0h4V5.2C10 4 9.1 3 8 3S6 4 6 5.2V7Z'/%3E%3C/svg%3E") center / contain no-repeat !important;
}

#popup-sidebar .hjlp-curriculum-node .section-item-link,
.course-curriculum .hjlp-curriculum-node .section-item-link,
.lp-course-curriculum .hjlp-curriculum-node .section-item-link {
    min-height: 62px !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-stage-items,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-stage-items,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-stage-items,
#popup-sidebar .hjlp-curriculum-stage-items,
.course-curriculum .hjlp-curriculum-stage-items,
.lp-course-curriculum .hjlp-curriculum-stage-items {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    background: #fff !important;
}

#popup-sidebar .hjlp-curriculum-journey-stage.hjlp-stage-collapsed > .hjlp-curriculum-stage-items,
.course-curriculum .hjlp-curriculum-journey-stage.hjlp-stage-collapsed > .hjlp-curriculum-stage-items,
.lp-course-curriculum .hjlp-curriculum-journey-stage.hjlp-stage-collapsed > .hjlp-curriculum-stage-items,
#popup-sidebar .hjlp-curriculum-journey-stage.lp-collapse > .hjlp-curriculum-stage-items,
.course-curriculum .hjlp-curriculum-journey-stage.lp-collapse > .hjlp-curriculum-stage-items,
.lp-course-curriculum .hjlp-curriculum-journey-stage.lp-collapse > .hjlp-curriculum-stage-items {
    display: none !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-course-item,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-course-item,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-course-item,
#popup-sidebar .hjlp-curriculum-course-item,
.course-curriculum .hjlp-curriculum-course-item,
.lp-course-curriculum .hjlp-curriculum-course-item {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid rgba(20, 35, 55, 0.08) !important;
    background: #fff !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-course-item.current,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-course-item.current,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-course-item.current,
#popup-sidebar .hjlp-curriculum-course-item.current,
.course-curriculum .hjlp-curriculum-course-item.current,
.lp-course-curriculum .hjlp-curriculum-course-item.current {
    background: rgba(83, 52, 131, 0.08) !important;
}

#popup-sidebar .hjlp-curriculum-node--completed,
.course-curriculum .hjlp-curriculum-node--completed,
.lp-course-curriculum .hjlp-curriculum-node--completed {
    background: rgba(35, 122, 75, 0.04) !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-course-item .section-item-link,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-course-item .section-item-link,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-course-item .section-item-link,
#popup-sidebar .hjlp-curriculum-course-item .section-item-link,
.course-curriculum .hjlp-curriculum-course-item .section-item-link,
.lp-course-curriculum .hjlp-curriculum-course-item .section-item-link {
    box-sizing: border-box;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 56px !important;
    padding: 10px 16px !important;
    border-left: 4px solid transparent !important;
    color: #24384f !important;
    text-decoration: none !important;
}

#popup-sidebar .hjlp-curriculum-course-item::before,
#popup-sidebar .hjlp-curriculum-course-item .section-item-link::before,
#popup-sidebar .hjlp-curriculum-course-item .item-icon,
.course-curriculum .hjlp-curriculum-course-item::before,
.course-curriculum .hjlp-curriculum-course-item .section-item-link::before,
.course-curriculum .hjlp-curriculum-course-item .item-icon,
.lp-course-curriculum .hjlp-curriculum-course-item::before,
.lp-course-curriculum .hjlp-curriculum-course-item .section-item-link::before,
.lp-course-curriculum .hjlp-curriculum-course-item .item-icon {
    display: none !important;
    content: none !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-course-item.current .section-item-link,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-course-item.current .section-item-link,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-course-item.current .section-item-link,
#popup-sidebar .hjlp-curriculum-course-item.current .section-item-link,
.course-curriculum .hjlp-curriculum-course-item.current .section-item-link,
.lp-course-curriculum .hjlp-curriculum-course-item.current .section-item-link {
    border-left-color: #533483 !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-course-item .item-name,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-course-item .item-name,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-course-item .item-name,
#popup-sidebar .hjlp-curriculum-course-item .item-name,
.course-curriculum .hjlp-curriculum-course-item .item-name,
.lp-course-curriculum .hjlp-curriculum-course-item .item-name {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: #24384f !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-course-item .course-item-meta,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-course-item .course-item-meta,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-course-item .course-item-meta,
#popup-sidebar .hjlp-curriculum-course-item .course-item-meta,
.course-curriculum .hjlp-curriculum-course-item .course-item-meta,
.lp-course-curriculum .hjlp-curriculum-course-item .course-item-meta {
    display: flex !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    padding: 0 !important;
}

.hjlp-learning-screen-as-journey #popup-sidebar .hjlp-curriculum-course-item .hjlp-item-type,
.hjlp-learning-screen-as-journey .course-curriculum .hjlp-curriculum-course-item .hjlp-item-type,
.hjlp-learning-screen-as-journey .lp-course-curriculum .hjlp-curriculum-course-item .hjlp-item-type,
#popup-sidebar .hjlp-curriculum-course-item .hjlp-item-type,
.course-curriculum .hjlp-curriculum-course-item .hjlp-item-type,
.lp-course-curriculum .hjlp-curriculum-course-item .hjlp-item-type {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 3px 7px !important;
    border-radius: 6px !important;
    background: rgba(83, 52, 131, 0.10) !important;
    color: #533483 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

#popup-sidebar .hjlp-curriculum-course-item .hjlp-item-step,
.course-curriculum .hjlp-curriculum-course-item .hjlp-item-step,
.lp-course-curriculum .hjlp-curriculum-course-item .hjlp-item-step {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 24px !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 999px !important;
    background: #f8b042 !important;
    color: #21103d !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

#popup-sidebar .hjlp-curriculum-node--completed .hjlp-item-step,
.course-curriculum .hjlp-curriculum-node--completed .hjlp-item-step,
.lp-course-curriculum .hjlp-curriculum-node--completed .hjlp-item-step {
    background: #237a4b !important;
    color: #fff !important;
}

#popup-sidebar .hjlp-curriculum-node--completed .hjlp-item-step::before,
.course-curriculum .hjlp-curriculum-node--completed .hjlp-item-step::before,
.lp-course-curriculum .hjlp-curriculum-node--completed .hjlp-item-step::before {
    content: "\2713" !important;
}

#popup-sidebar .hjlp-curriculum-node--completed .hjlp-item-step,
.course-curriculum .hjlp-curriculum-node--completed .hjlp-item-step,
.lp-course-curriculum .hjlp-curriculum-node--completed .hjlp-item-step {
    font-size: 0 !important;
}

#popup-sidebar .hjlp-curriculum-node--completed .hjlp-item-step::before,
.course-curriculum .hjlp-curriculum-node--completed .hjlp-item-step::before,
.lp-course-curriculum .hjlp-curriculum-node--completed .hjlp-item-step::before {
    font-size: 13px !important;
}

#popup-sidebar .hjlp-item-step--section,
.course-curriculum .hjlp-item-step--section,
.lp-course-curriculum .hjlp-item-step--section {
    background: #533483 !important;
    color: #fff !important;
}

#popup-sidebar .hjlp-item-step--section::before,
.course-curriculum .hjlp-item-step--section::before,
.lp-course-curriculum .hjlp-item-step--section::before {
    content: "\00A7" !important;
    font-size: 12px !important;
}

#popup-sidebar .hjlp-curriculum-section-node.hjlp-curriculum-node--completed .hjlp-item-step--section::before,
.course-curriculum .hjlp-curriculum-section-node.hjlp-curriculum-node--completed .hjlp-item-step--section::before,
.lp-course-curriculum .hjlp-curriculum-section-node.hjlp-curriculum-node--completed .hjlp-item-step--section::before {
    content: "\2713" !important;
    font-size: 13px !important;
}

#popup-sidebar .hjlp-curriculum-subnodes,
.course-curriculum .hjlp-curriculum-subnodes,
.lp-course-curriculum .hjlp-curriculum-subnodes {
    display: block !important;
    margin: 0 !important;
    padding: 0 0 8px 52px !important;
    list-style: none !important;
    background: #fff !important;
}

#popup-sidebar .hjlp-curriculum-subnode,
.course-curriculum .hjlp-curriculum-subnode,
.lp-course-curriculum .hjlp-curriculum-subnode {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

#popup-sidebar .hjlp-curriculum-subnode > a,
#popup-sidebar .hjlp-curriculum-subnode > span,
.course-curriculum .hjlp-curriculum-subnode > a,
.course-curriculum .hjlp-curriculum-subnode > span,
.lp-course-curriculum .hjlp-curriculum-subnode > a,
.lp-course-curriculum .hjlp-curriculum-subnode > span {
    box-sizing: border-box;
    display: grid !important;
    align-items: center !important;
    grid-template-columns: 14px minmax(0, 1fr) auto !important;
    gap: 8px !important;
    min-height: 36px !important;
    padding: 6px 16px 6px 0 !important;
    color: #34465c !important;
    text-decoration: none !important;
}

#popup-sidebar .hjlp-curriculum-subnode.current > a,
#popup-sidebar .hjlp-curriculum-subnode.current > span,
.course-curriculum .hjlp-curriculum-subnode.current > a,
.course-curriculum .hjlp-curriculum-subnode.current > span,
.lp-course-curriculum .hjlp-curriculum-subnode.current > a,
.lp-course-curriculum .hjlp-curriculum-subnode.current > span {
    color: #2f1854 !important;
    font-weight: 800 !important;
}

#popup-sidebar .hjlp-curriculum-subnode__dot,
.course-curriculum .hjlp-curriculum-subnode__dot,
.lp-course-curriculum .hjlp-curriculum-subnode__dot {
    display: block !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 999px !important;
    background: rgba(83, 52, 131, 0.28) !important;
}

#popup-sidebar .hjlp-curriculum-subnode--completed .hjlp-curriculum-subnode__dot,
.course-curriculum .hjlp-curriculum-subnode--completed .hjlp-curriculum-subnode__dot,
.lp-course-curriculum .hjlp-curriculum-subnode--completed .hjlp-curriculum-subnode__dot {
    background: #237a4b !important;
}

#popup-sidebar .hjlp-curriculum-subnode__title,
.course-curriculum .hjlp-curriculum-subnode__title,
.lp-course-curriculum .hjlp-curriculum-subnode__title {
    min-width: 0 !important;
    overflow-wrap: anywhere !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

#popup-sidebar .hjlp-curriculum-subnode__type,
.course-curriculum .hjlp-curriculum-subnode__type,
.lp-course-curriculum .hjlp-curriculum-subnode__type {
    color: #6b6378 !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}

.hjlp-h5p-embed {
    width: 100%;
    margin: 18px 0;
}

.hjlp-h5p-embed iframe {
    display: block;
    width: 100%;
    min-height: 640px;
    border: 0;
    border-radius: 8px;
    background: #fff;
}

.hjlp-interactive-video-embed {
    width: 100%;
    margin: 18px 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.hjlp-interactive-video-embed iframe {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 360px;
    border: 0;
    background: #000;
}

.hjlp-image-gallery {
    margin: 18px 0;
}

.hjlp-image-gallery__grid {
    column-width: 220px;
    column-gap: 14px;
}

.hjlp-image-gallery__item {
    display: inline-block;
    width: 100%;
    margin: 0 0 14px;
    border: 1px solid rgba(83, 52, 131, 0.18);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    break-inside: avoid;
    box-shadow: 0 8px 20px rgba(44, 27, 80, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.hjlp-image-gallery__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(44, 27, 80, .14);
}

.hjlp-image-gallery__link {
    display: block;
    background: linear-gradient(180deg, #f7f7ff 0%, #f1eefb 100%);
}

.hjlp-image-gallery__item img {
    width: 100%;
    display: block;
    height: auto;
    object-fit: contain;
    background: #f6f5fb;
    transition: transform .25s ease;
}

/* Override generic richtext image clamp inside node detail for gallery media. */
.hjlp-learning-node-detail .hjlp-image-gallery__item img {
    max-width: none !important;
    width: 100% !important;
    height: auto;
}

.hjlp-image-gallery__item:hover img {
    transform: scale(1.015);
}

.hjlp-image-gallery__caption {
    padding: 10px 12px;
}

.hjlp-image-gallery__caption h4 {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.3;
}

/* Gallery modes (toggle via class): */
.hjlp-image-gallery--contain .hjlp-image-gallery__link {
    aspect-ratio: auto;
    max-height: 72vh;
    display: grid;
    place-items: center;
}

.hjlp-image-gallery--contain .hjlp-image-gallery__item img {
    width: auto;
    max-width: 100%;
    max-height: 72vh;
    height: auto;
    object-fit: contain;
}

.hjlp-image-gallery--cover .hjlp-image-gallery__link {
    aspect-ratio: 4 / 3;
}

.hjlp-image-gallery--cover .hjlp-image-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Prevent LearnPress/theme global image rules from distorting PhotoSwipe slides. */
.pswp .pswp__img {
    object-fit: contain !important;
    object-position: center center !important;
}

/* Single image layout: stronger editorial presence pre-lightbox. */
.hjlp-image-gallery__grid:has(> .hjlp-image-gallery__item:only-child) {
    column-width: auto;
}

.hjlp-image-gallery__grid:has(> .hjlp-image-gallery__item:only-child) .hjlp-image-gallery__item {
    max-width: 100%;
    margin-inline: auto;
}

.hjlp-image-slider {
    margin: 18px 0;
    background: #050507;
    border-radius: 12px;
    padding: 14px;
    color: #f8f9fb;
}

.hjlp-image-slider__stage {
    position: relative;
    background: #000;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}

.hjlp-image-slider__count {
    position: absolute;
    left: 12px;
    top: 10px;
    z-index: 5;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

.hjlp-image-slider__slides {
    position: relative;
    min-height: 420px;
}

.hjlp-image-slider__slide {
    display: none;
    margin: 0;
}

.hjlp-image-slider__slide.is-active {
    display: block;
}

.hjlp-image-slider__link {
    display: grid;
    place-items: center;
    min-height: 420px;
    background: #000;
}

.hjlp-image-slider__link img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
}

/* Override theme rules that may shrink gallery media in node detail. */
.hjlp-learning-node-detail .hjlp-image-slider__link img {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.hjlp-image-slider--cover-editorial .hjlp-image-slider__link {
    min-height: 540px;
}

.hjlp-image-slider--cover-editorial .hjlp-image-slider__link img {
    width: 100%;
    height: 100%;
    max-height: 76vh;
    object-fit: cover;
}

.hjlp-image-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.hjlp-image-slider__nav--prev {
    left: 12px;
}

.hjlp-image-slider__nav--next {
    right: 12px;
}

.hjlp-image-slider__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding: 2px;
    overflow-x: auto;
}

.hjlp-image-slider__thumb {
    flex: 0 0 auto;
    width: 72px;
    height: 54px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    background: #111;
    padding: 0;
    cursor: pointer;
}

.hjlp-image-slider__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hjlp-image-slider__thumb.is-active {
    border-color: #f8f9fb;
}

.hjlp-image-slider__caption {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f7f8fc;
    color: #1f2433;
}

.hjlp-image-slider__title {
    margin: 0 0 8px;
    color: #1a2235;
    font-size: 15px;
    line-height: 1.35;
}

.hjlp-image-slider__description {
    color: #25324a;
}

@media (min-width: 1024px) {
    .hjlp-image-slider__description.hjlp-runtime-richtext {
        width: 70%;
        max-width: 780px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .hjlp-image-slider {
        margin: 0;
        padding: 0;
        border-radius: 0;
    }

    .hjlp-image-slider__slides {
        min-height: 0;
    }

    .hjlp-image-slider__stage {
        border-radius: 0;
    }

    .hjlp-image-slider__link {
        min-height: 0;
    }

    .hjlp-image-slider__link img {
        width: 100% !important;
        max-width: 100%;
        max-height: none;
        height: auto !important;
    }

    .hjlp-image-slider__count {
        left: 8px;
        top: 8px;
        padding: 2px 8px;
        border-radius: 999px;
        background: rgba(0, 0, 0, 0.55);
    }

    .hjlp-image-slider__thumbs {
        margin-top: 0;
        padding: 6px 8px;
    }

    .hjlp-image-slider__caption {
        margin-top: 0;
        border-radius: 0;
    }
}

@media (max-width: 640px) {
    #popup-sidebar .hjlp-curriculum-course-item .course-item-meta,
    .course-curriculum .hjlp-curriculum-course-item .course-item-meta,
    .lp-course-curriculum .hjlp-curriculum-course-item .course-item-meta {
        display: none !important;
    }
}
