/* A2Z final layout overrides - 20260916 v54 */

.lms-hero-content2 .title-9 br {
    display: block !important;
}

.lms-hero-content2 .title-9 {
    max-width: 760px !important;
    font-weight: 680 !important;
}

html.a2z-preview-modal-open,
body.a2z-preview-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
    height: 100% !important;
}

body.a2z-preview-modal-open .modal-backdrop.show {
    z-index: 2147482990 !important;
}

#lesson_preview {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483000 !important;
    overflow: hidden !important;
    background: rgba(3, 5, 15, 0.92) !important;
    overscroll-behavior: contain !important;
}

#lesson_preview .modal-dialog {
    position: relative !important;
    z-index: 2147483001 !important;
    width: min(900px, calc(100% - 32px)) !important;
    max-width: 900px !important;
    max-height: calc(100dvh - 32px) !important;
    pointer-events: none;
}

#lesson_preview .modal-content {
    max-height: calc(100dvh - 32px) !important;
    overflow: hidden !important;
    pointer-events: auto;
}

#lesson_preview .modal-body {
    overflow: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
}

#lesson_preview .video-container,
#lesson_preview .plyr,
#lesson_preview video.a2z-course-preview-player {
    width: 100% !important;
    max-width: 100% !important;
    background: #000;
}

#lesson_preview .plyr,
#lesson_preview .plyr *,
#lesson_preview iframe,
#lesson_preview video,
#lesson_preview button {
    pointer-events: auto !important;
}

#lesson_preview .plyr.a2z-preview-player-fullscreen,
#lesson_preview .plyr.plyr--fullscreen-fallback {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: var(--a2z-preview-viewport-width, 100vw) !important;
    height: var(--a2z-preview-viewport-height, 100dvh) !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: #000 !important;
}

#lesson_preview .plyr.a2z-preview-player-fullscreen .plyr__video-wrapper,
#lesson_preview .plyr.plyr--fullscreen-fallback .plyr__video-wrapper {
    position: relative !important;
    flex: 0 0 auto !important;
    width: var(--a2z-preview-fullscreen-video-width, 100%) !important;
    height: var(--a2z-preview-fullscreen-video-height, 100%) !important;
    min-height: 0 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    overflow: hidden !important;
    transform: none !important;
}

#lesson_preview .plyr.a2z-preview-player-fullscreen .plyr__video-embed > .plyr__video-embed__container,
#lesson_preview .plyr.plyr--fullscreen-fallback .plyr__video-embed > .plyr__video-embed__container {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    transform: none !important;
}

#lesson_preview .plyr.a2z-preview-player-fullscreen iframe,
#lesson_preview .plyr.a2z-preview-player-fullscreen video,
#lesson_preview .plyr.plyr--fullscreen-fallback iframe,
#lesson_preview .plyr.plyr--fullscreen-fallback video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
}

@media (max-width: 767.98px),
       (max-width: 1024px) and (max-height: 600px) and (orientation: landscape) {
    #lesson_preview .modal-dialog {
        width: var(--a2z-preview-viewport-width, 100vw) !important;
        max-width: none !important;
        height: var(--a2z-preview-viewport-height, 100dvh) !important;
        max-height: var(--a2z-preview-viewport-height, 100dvh) !important;
        margin: 0 !important;
    }

    #lesson_preview .modal-content {
        height: 100% !important;
        min-height: 0 !important;
        max-height: 100% !important;
        border: 0 !important;
        border-radius: 0 !important;
        background: #000 !important;
    }

    #lesson_preview .modal-header {
        flex: 0 0 auto;
        background: #fff;
    }

    #lesson_preview .modal-body {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        justify-content: center;
        min-height: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
        background: #000;
    }

    #lesson_preview .modal-body > * {
        width: 100%;
    }

    #lesson_preview .modal-body > .video-container,
    #lesson_preview .modal-body > .plyr,
    #lesson_preview .modal-body > .a2z-course-preview-player,
    #lesson_preview .modal-body > video {
        flex: 0 0 auto;
        width: min(100%, var(--a2z-preview-player-width, 100%)) !important;
        max-width: 100% !important;
        max-height: 100% !important;
        margin-right: auto !important;
        margin-left: auto !important;
    }

}

html body .a2z-my-course-clickable-card .a2z-course-progress-value {
    display: block !important;
    flex: 0 0 62px !important;
    min-width: 62px !important;
    margin: 0 !important;
    padding-right: 18px !important;
    box-sizing: border-box !important;
    color: #061035 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-align: right !important;
    white-space: nowrap !important;
}

@media (min-width: 992px) {
    html body .my-course-1-full-body {
        padding: 28px 30px !important;
    }

    html body .my-course-1-full-body .row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 22px !important;
        justify-content: start !important;
        align-items: start !important;
    }

    html body .my-course-1-full-body .row > [class*="col-"] {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body .my-course-1-full-body-card.a2z-my-course-clickable-card {
        display: grid !important;
        grid-template-columns: minmax(400px, 52%) minmax(0, 1fr) !important;
        align-items: stretch !important;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 224px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    html body .a2z-my-course-clickable-card .my-course-1-img {
        width: 100% !important;
        height: 100% !important;
        min-height: 224px !important;
    }

    html body .a2z-my-course-clickable-card .my-course-1-img img {
        width: 100% !important;
        height: 100% !important;
        min-height: 224px !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
    }

    html body .a2z-my-course-clickable-card .my-course-1-text {
        align-items: stretch !important;
        justify-content: center !important;
        padding: 24px 30px 24px 30px !important;
        text-align: left !important;
        width: 100% !important;
        min-width: 0 !important;
    }

    html body .a2z-my-course-clickable-card .my-course-1-text-heading {
        width: 100% !important;
        padding-right: 44px !important;
    }

    html body .a2z-my-course-clickable-card .my-course-1-text-heading h3 {
        display: block !important;
        width: 100% !important;
        margin: 0 0 18px !important;
        font-size: 18px !important;
        line-height: 1.3 !important;
        text-align: left !important;
    }

    html body .a2z-my-course-clickable-card .my-course-1-skill {
        display: flex !important;
        column-gap: 0 !important;
        gap: 10px !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 24px !important;
        line-height: 1 !important;
    }

    html body .a2z-my-course-clickable-card .skill-bar-container {
        flex: 1 1 0 !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        height: 12px !important;
        margin: 0 !important;
    }

    html body .a2z-my-course-clickable-card .my-course-1-skill p,
    html body .a2z-my-course-clickable-card .a2z-course-progress-value {
        display: block !important;
        flex: 0 0 62px !important;
        align-self: center !important;
        min-width: 62px !important;
        max-width: none !important;
        margin: 0 !important;
        text-align: right !important;
        color: #061035 !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        line-height: 12px !important;
        white-space: nowrap !important;
    }

    html body .a2z-my-course-clickable-card .a2z-my-course-card-cta {
        align-self: flex-start !important;
        margin-left: 0 !important;
        padding: 11px 22px !important;
        border-radius: 999px !important;
        background: linear-gradient(135deg, #7c4dff 0%, #315fef 100%) !important;
        color: #ffffff !important;
        box-shadow: 0 14px 28px rgba(91, 79, 255, 0.24) !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    html body .my-course-1-full-body-card.a2z-my-course-clickable-card {
        grid-template-columns: minmax(330px, 48%) minmax(0, 1fr) !important;
    }

    html body .a2z-my-course-clickable-card .my-course-1-text {
        padding: 22px 26px 22px 28px !important;
    }
}

@media (max-width: 767.98px) {
    html body .lms-hero-content2 {
        padding-top: 44px !important;
    }

    html body .lms-hero-content2 .title-9 {
        margin-top: 0 !important;
    }

    html body .a2z-course-heading-info {
        display: grid !important;
        grid-template-columns: auto auto !important;
        align-items: center !important;
        justify-content: start !important;
        column-gap: 5px !important;
        row-gap: 8px !important;
        max-width: 100% !important;
    }

    html body .a2z-course-heading-info .a2z-hero-created-by {
        grid-column: 1 / -1 !important;
        justify-self: start !important;
        max-width: 100% !important;
    }

    html body .a2z-hero-mobile-break,
    html body .a2z-hero-meta-separator {
        display: none !important;
    }

    html body .a2z-course-heading-info .a2z-hero-enrolled {
        grid-column: 1 !important;
        justify-self: start !important;
    }

    html body .a2z-course-heading-info .a2z-hero-reviews {
        grid-column: 2 !important;
        justify-self: start !important;
    }

    html body .a2z-course-heading-info .info-tag {
        width: auto !important;
        min-width: 0 !important;
        min-height: 32px !important;
        padding: 6px 14px !important;
        gap: 6px !important;
        white-space: nowrap !important;
    }

    html body .a2z-course-heading-info .a2z-hero-created-by img {
        width: 20px !important;
        height: 20px !important;
        flex: 0 0 20px !important;
        margin-right: 1px !important;
    }

    html body .a2z-hero-created-label,
    html body .a2z-hero-created-by .created-by-instructor,
    html body .a2z-hero-enrolled,
    html body .a2z-hero-enrolled > span,
    html body .a2z-hero-reviews,
    html body .a2z-hero-reviews > span:not(.a2z-hero-review-stars) {
        font-size: 11px !important;
        line-height: 1 !important;
    }

    html body .a2z-hero-review-stars {
        height: 11px !important;
        gap: 0 !important;
    }

    html body .a2z-hero-review-stars i {
        font-size: 11px !important;
        line-height: 1 !important;
    }
}

@media (max-width: 380px) {
    html body .a2z-course-heading-info {
        column-gap: 4px !important;
    }

    html body .a2z-course-heading-info .info-tag {
        min-height: 30px !important;
        padding: 5px 10px !important;
        gap: 5px !important;
    }

    html body .a2z-hero-created-label,
    html body .a2z-hero-created-by .created-by-instructor,
    html body .a2z-hero-enrolled,
    html body .a2z-hero-enrolled > span,
    html body .a2z-hero-reviews,
    html body .a2z-hero-reviews > span:not(.a2z-hero-review-stars) {
        font-size: 10px !important;
    }

    html body .a2z-hero-review-stars i {
        font-size: 10px !important;
    }
}
