/*
 * Expert LMS — user-selectable course visual presets.
 * Important: Expert Original (classic) intentionally receives NO overrides here.
 * These presets keep the existing course content/flow and only change presentation.
 */

/* Shared mainstream reset for user presets only. */
body.acl-course-shell-body .acl-course-landing:is(.acl-course-style--spotlight,.acl-course-style--minimal) {
    --preset-line: #dbe0e9;
    --preset-muted: #667085;
    --preset-soft: color-mix(in srgb, var(--acl-brand-primary) 7%, #ffffff 93%);
    --preset-soft-strong: color-mix(in srgb, var(--acl-brand-primary) 12%, #ffffff 88%);
    --preset-primary: var(--acl-brand-primary);
    --preset-primary-contrast: var(--acl-brand-primary-contrast);
    color: var(--acl-brand-text);
    font-family: var(--acl-brand-font, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

body.acl-course-shell-body .acl-course-landing:is(.acl-course-style--spotlight,.acl-course-style--minimal) :where(
    .acl-course-panel,
    .acl-course-description,
    .acl-course-module,
    .acl-sticky-card,
    .acl-review-card,
    .acl-resource-card,
    .acl-faq-item,
    .acl-related-card
) {
    box-shadow: none !important;
}

body.acl-course-shell-body .acl-course-landing:is(.acl-course-style--spotlight,.acl-course-style--minimal) :where(
    .acl-btn,
    .acl-course-curriculum-link,
    .acl-course-stats span
) {
    transition: background-color .2s ease-out, border-color .2s ease-out, color .2s ease-out, transform .2s ease-out;
}

body.acl-course-shell-body .acl-course-landing:is(.acl-course-style--spotlight,.acl-course-style--minimal) :where(a,button,summary):focus-visible {
    outline: 3px solid color-mix(in srgb, var(--preset-primary) 30%, transparent 70%) !important;
    outline-offset: 2px !important;
}

/* ============================================================
   ACADEMY SOFT — familiar LMS / Eduma-like visual language.
   Same information architecture, softer continuous sections.
   ============================================================ */
body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight {
    padding: 0 clamp(16px, 3vw, 32px) 64px !important;
    background: #ffffff !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-hero {
    width: min(100%, 1180px) !important;
    max-width: 1180px !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr) !important;
    gap: 32px !important;
    align-items: center !important;
    margin: 24px auto 32px !important;
    padding: 36px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: var(--preset-soft) !important;
    box-shadow: none !important;
    color: var(--acl-brand-text) !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-hero::before,
body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-hero::after {
    content: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-hero__content {
    padding: 0 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-brand-logo {
    margin-bottom: 14px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-kicker--hero {
    margin-bottom: 10px !important;
    color: var(--preset-primary) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-hero h1 {
    max-width: 720px !important;
    margin: 0 !important;
    color: var(--acl-brand-text) !important;
    font-size: clamp(34px, 4vw, 50px) !important;
    line-height: 1.14 !important;
    font-weight: 700 !important;
    letter-spacing: -.02em !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-summary {
    max-width: 680px !important;
    margin-top: 16px !important;
    color: var(--preset-muted) !important;
    font-size: 16px !important;
    line-height: 1.65 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-stats {
    gap: 8px !important;
    margin-top: 18px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-stats span {
    min-height: 30px !important;
    padding: 5px 10px !important;
    border: 1px solid color-mix(in srgb, var(--preset-primary) 16%, #dbe0e9 84%) !important;
    border-radius: 4px !important;
    background: rgba(255,255,255,.8) !important;
    color: #4d5e6f !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-hero__media {
    aspect-ratio: 16 / 9 !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #eef1f7 !important;
    box-shadow: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-main {
    width: min(100%, 1180px) !important;
    max-width: 1180px !important;
    grid-template-columns: minmax(0, 1fr) 330px !important;
    gap: 32px !important;
    margin: 0 auto !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-content {
    gap: 0 !important;
    background: transparent !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-panel,
body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-description {
    margin: 0 !important;
    padding: 28px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--preset-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-outcomes {
    margin: 0 0 8px !important;
    padding: 24px !important;
    border: 0 !important;
    border-radius: 10px !important;
    background: #f5f7f8 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-section-heading h2,
body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-curriculum-title h2,
body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-review-section-head h2 {
    color: var(--acl-brand-text) !important;
    font-size: clamp(22px, 2.3vw, 28px) !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-kicker:not(.acl-kicker--hero) {
    color: var(--preset-primary) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: .03em !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-outcome-list {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 28px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-outcome-list li {
    min-height: 0 !important;
    padding: 0 0 0 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #444444 !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.55 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-curriculum-panel {
    padding-top: 30px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-modules {
    gap: 10px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-module {
    overflow: hidden !important;
    border: 1px solid var(--preset-line) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-module__header {
    min-height: 52px !important;
    padding: 14px 16px !important;
    border: 0 !important;
    background: #f0f6ff !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-module__header h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-lessons {
    padding: 0 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-lesson {
    min-height: 64px !important;
    margin: 0 !important;
    padding: 12px 14px !important;
    border: 0 !important;
    border-top: 1px solid #eef1f7 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-lesson-thumb {
    width: 76px !important;
    height: 46px !important;
    flex-basis: 76px !important;
    border-radius: 4px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-lesson h4 {
    font-size: 14px !important;
    font-weight: 600 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-sticky-card {
    padding: 18px !important;
    border: 1px solid var(--preset-line) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-sidebar-preview {
    border-radius: 10px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-btn {
    min-height: 44px !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-btn:hover {
    transform: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-btn-primary {
    background: var(--preset-primary) !important;
    color: var(--preset-primary-contrast) !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-sidebar-progress {
    border-radius: 4px !important;
    background: var(--preset-soft) !important;
}

/* ============================================================
   EDITORIAL CLEAN — MasterStudy/editorial inspired.
   Fewer visible boxes; hierarchy comes from type + separators.
   ============================================================ */
body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal {
    padding: 0 clamp(16px, 3vw, 36px) 72px !important;
    background: #ffffff !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-hero {
    width: min(100%, 1160px) !important;
    max-width: 1160px !important;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr) !important;
    gap: 44px !important;
    align-items: end !important;
    margin: 0 auto !important;
    padding: 48px 0 38px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--preset-line) !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: var(--acl-brand-text) !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-hero::before,
body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-hero::after {
    content: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-hero__content {
    padding: 0 0 4px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-kicker--hero {
    margin: 0 0 14px !important;
    color: var(--preset-muted) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    letter-spacing: .02em !important;
    text-transform: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-hero h1 {
    max-width: 760px !important;
    margin: 0 !important;
    color: var(--acl-brand-text) !important;
    font-size: clamp(36px, 4.5vw, 56px) !important;
    line-height: 1.08 !important;
    font-weight: 700 !important;
    letter-spacing: -.03em !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-summary {
    max-width: 660px !important;
    margin-top: 18px !important;
    color: #4d5e6f !important;
    font-size: 16px !important;
    line-height: 1.7 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-stats {
    margin-top: 20px !important;
    gap: 16px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-stats span {
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #667085 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-hero__media {
    border: 0 !important;
    border-radius: 4px !important;
    background: #eef1f7 !important;
    box-shadow: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-main {
    width: min(100%, 1160px) !important;
    max-width: 1160px !important;
    grid-template-columns: minmax(0, 1fr) 310px !important;
    gap: 48px !important;
    margin: 42px auto 0 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-content {
    gap: 0 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-panel,
body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-description {
    margin: 0 !important;
    padding: 30px 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--preset-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-content > :first-child {
    padding-top: 0 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-section-heading h2,
body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-curriculum-title h2,
body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-review-section-head h2 {
    color: var(--acl-brand-text) !important;
    font-size: clamp(24px, 2.4vw, 30px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-kicker:not(.acl-kicker--hero) {
    display: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-outcome-list {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px 28px !important;
    margin-top: 18px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-outcome-list li {
    min-height: auto !important;
    padding: 8px 0 8px 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #444444 !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-modules {
    gap: 0 !important;
    margin-top: 18px !important;
    border-top: 1px solid var(--preset-line) !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-module {
    border: 0 !important;
    border-bottom: 1px solid var(--preset-line) !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-module__header {
    min-height: 58px !important;
    padding: 16px 4px !important;
    border: 0 !important;
    background: transparent !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-module__header h3 {
    font-size: 16px !important;
    font-weight: 600 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-lessons {
    padding: 0 0 12px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-lesson {
    min-height: 58px !important;
    margin: 0 !important;
    padding: 10px 4px !important;
    border: 0 !important;
    border-top: 1px solid #eef1f7 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-lesson-thumb {
    width: 70px !important;
    height: 42px !important;
    flex-basis: 70px !important;
    border-radius: 4px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-lesson h4 {
    font-size: 14px !important;
    font-weight: 600 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-sidebar {
    top: 80px !important;
    padding-left: 26px !important;
    border-left: 1px solid var(--preset-line) !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-sticky-card {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-sidebar-preview {
    margin-bottom: 16px !important;
    border-radius: 4px !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-price-line {
    padding: 12px 0 !important;
    border-top: 1px solid var(--preset-line) !important;
    border-bottom: 1px solid var(--preset-line) !important;
    color: var(--acl-brand-text) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-btn {
    min-height: 44px !important;
    border-radius: 4px !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-btn:hover {
    transform: none !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-facts {
    margin-top: 18px !important;
    padding-top: 16px !important;
    border-top: 1px solid var(--preset-line) !important;
}

body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-review-card,
body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-resource-card,
body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-related-card {
    border: 1px solid var(--preset-line) !important;
    border-radius: 4px !important;
    background: #ffffff !important;
}

/* Responsive behavior for both public presets. */
@media (max-width: 1100px) {
    body.acl-course-shell-body .acl-course-landing:is(.acl-course-style--spotlight,.acl-course-style--minimal) .acl-course-hero,
    body.acl-course-shell-body .acl-course-landing:is(.acl-course-style--spotlight,.acl-course-style--minimal) .acl-course-main {
        grid-template-columns: 1fr !important;
        max-width: 820px !important;
    }

    body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-sidebar {
        padding-left: 0 !important;
        border-left: 0 !important;
        border-top: 1px solid var(--preset-line) !important;
        padding-top: 24px !important;
    }
}

@media (max-width: 720px) {
    body.acl-course-shell-body .acl-course-landing.acl-course-style--spotlight .acl-course-hero {
        margin-top: 12px !important;
        padding: 22px !important;
    }

    body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-hero {
        padding: 30px 0 26px !important;
    }

    body.acl-course-shell-body .acl-course-landing:is(.acl-course-style--spotlight,.acl-course-style--minimal) .acl-course-hero h1 {
        font-size: 32px !important;
    }

    body.acl-course-shell-body .acl-course-landing:is(.acl-course-style--spotlight,.acl-course-style--minimal) .acl-outcome-list {
        grid-template-columns: 1fr !important;
    }

    body.acl-course-shell-body .acl-course-landing.acl-course-style--minimal .acl-course-main {
        margin-top: 28px !important;
        gap: 30px !important;
    }
}
