/* E-Learning page */
.elearning-page {
    background: #ffffff;
    overflow-x: clip;
}

.elearning-page .site-header,
.elearning-page .site-header--light {
    background: #FFFFFF;
}

@media (min-width: 993px) {
    .elearning-page .site-header--light {
        background: #FFFFFF;
    }
}

@media (max-width: 992px) {

    .elearning-page .site-header,
    .elearning-page .site-header--light {
        background: #FFFFFF;
    }
}

.elearning-page__main {
    max-width: 1440px;
    margin: 0 auto;
    padding: 132px 48px 64px;
    box-sizing: border-box;
}

.elearning-page__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

.elearning-page__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 80px;
    line-height: 0.9;
    text-align: center;
    color: #373737;
}

.elearning-page__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    width: 100%;
}

.elearning-page__grid {
    width: 100%;
}

.elearning-page__pagination {
    justify-content: center;
    width: 100%;
    padding-top: 8px;
}

/* Page entrance bounce */
.elearning-page.is-ready .elearning-page__title,
.elearning-page.is-ready .elearning-filters,
.elearning-page.is-ready .home-elearning__card,
.elearning-page.is-ready .elearning-page__pagination,
.elearning-page.is-ready .home-elearning__empty,
.elearning-page.is-ready .elearning-faq__header,
.elearning-page.is-ready .elearning-faq__empty,
.elearning-page.is-ready .elearning-faq__item {
    animation: elearning-page-bounce-in 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.elearning-page.is-ready .elearning-page__title {
    animation-delay: 0.05s;
}

.elearning-page.is-ready .elearning-filters {
    animation-delay: 0.14s;
}

.elearning-page.is-ready .home-elearning__card:nth-child(1) {
    animation-delay: 0.22s;
}

.elearning-page.is-ready .home-elearning__card:nth-child(2) {
    animation-delay: 0.28s;
}

.elearning-page.is-ready .home-elearning__card:nth-child(3) {
    animation-delay: 0.34s;
}

.elearning-page.is-ready .home-elearning__card:nth-child(4) {
    animation-delay: 0.4s;
}

.elearning-page.is-ready .home-elearning__card:nth-child(5) {
    animation-delay: 0.46s;
}

.elearning-page.is-ready .home-elearning__card:nth-child(6) {
    animation-delay: 0.52s;
}

.elearning-page.is-ready .elearning-page__pagination,
.elearning-page.is-ready .home-elearning__empty {
    animation-delay: 0.58s;
}

.elearning-page.is-ready .elearning-faq__header {
    animation-delay: 0.3s;
}

.elearning-page.is-ready .elearning-faq__empty {
    animation-delay: 0.42s;
}

.elearning-page.is-ready .elearning-faq__item:nth-child(1) {
    animation-delay: 0.42s;
}

.elearning-page.is-ready .elearning-faq__item:nth-child(2) {
    animation-delay: 0.48s;
}

.elearning-page.is-ready .elearning-faq__item:nth-child(3) {
    animation-delay: 0.54s;
}

.elearning-page.is-ready .elearning-faq__item:nth-child(4) {
    animation-delay: 0.6s;
}

.elearning-page.is-ready .elearning-faq__item:nth-child(5) {
    animation-delay: 0.66s;
}

.elearning-page.is-ready .elearning-faq__item:nth-child(6) {
    animation-delay: 0.72s;
}

.elearning-page.is-content-animating .home-elearning__card,
.elearning-page.is-content-animating .elearning-page__pagination,
.elearning-page.is-content-animating .home-elearning__empty {
    animation: elearning-content-fade-in 0.28s ease both;
}

.elearning-page.is-content-animating .home-elearning__card:nth-child(1) {
    animation-delay: 0.02s;
}

.elearning-page.is-content-animating .home-elearning__card:nth-child(2) {
    animation-delay: 0.05s;
}

.elearning-page.is-content-animating .home-elearning__card:nth-child(3) {
    animation-delay: 0.08s;
}

.elearning-page.is-content-animating .home-elearning__card:nth-child(4) {
    animation-delay: 0.11s;
}

.elearning-page.is-content-animating .home-elearning__card:nth-child(5) {
    animation-delay: 0.14s;
}

.elearning-page.is-content-animating .home-elearning__card:nth-child(6) {
    animation-delay: 0.17s;
}

.elearning-page.is-content-animating .elearning-page__pagination,
.elearning-page.is-content-animating .home-elearning__empty {
    animation-delay: 0.12s;
}

@keyframes elearning-page-bounce-in {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.94);
    }

    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02);
    }

    80% {
        transform: translateY(2px) scale(0.99);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes elearning-content-fade-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .elearning-page.is-ready .elearning-page__title,
    .elearning-page.is-ready .elearning-filters,
    .elearning-page.is-ready .home-elearning__card,
    .elearning-page.is-ready .elearning-page__pagination,
    .elearning-page.is-ready .home-elearning__empty,
    .elearning-page.is-ready .elearning-faq__header,
    .elearning-page.is-ready .elearning-faq__empty,
    .elearning-page.is-ready .elearning-faq__item,
    .elearning-page.is-content-animating .home-elearning__card,
    .elearning-page.is-content-animating .elearning-page__pagination,
    .elearning-page.is-content-animating .home-elearning__empty {
        animation: none;
    }
}

/* Category filters */
.elearning-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: left;
    gap: 12px;
    width: 100%;
}

.elearning-filters__label--short {
    display: none;
}

.elearning-filters__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #E9E9E9;
    border-radius: 50px;
    background: #ffffff;
    color: #373737;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.elearning-filters__btn:hover {
    background: rgba(55, 55, 55, 0.04);
    color: #373737;
}

.elearning-filters__btn--active,
.elearning-filters__dropdown--active>.elearning-filters__btn {
    background: #1C2B4A;
    border-color: #1C2B4A;
    color: #ffffff;
}

.elearning-filters__btn--active:hover,
.elearning-filters__dropdown--active>.elearning-filters__btn:hover {
    background: #152238;
    border-color: #152238;
    color: #ffffff;
}

.elearning-filters__btn--dropdown {
    background: transparent;
}

.elearning-filters__btn--dropdown svg {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.elearning-filters__dropdown {
    position: relative;
}

.elearning-filters__dropdown--open .elearning-filters__btn--dropdown svg {
    transform: rotate(180deg);
}

.elearning-filters__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    z-index: 20;
    display: flex;
    flex-direction: column;
    min-width: 180px;
    padding: 8px;
    border: 1px solid #E9E9E9;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(28, 20, 22, 0.12);
    transform: translateX(-50%);
}

.elearning-filters__menu[hidden] {
    display: none;
}

.elearning-filters__menu-item {
    display: block;
    padding: 10px 14px;
    border-radius: 10px;
    color: #373737;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.elearning-filters__menu-item:hover {
    background: rgba(255, 122, 149, 0.1);
    color: #373737;
}

.elearning-filters__menu-item--active {
    background: rgba(255, 122, 149, 0.14);
    color: #FF7A95;
}

/* FAQ */
.elearning-faq {
    background: #F6F6F6;
    padding: 96px 0;
}

.elearning-faq__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 48px;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 48px;
    box-sizing: border-box;
}

.elearning-faq__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    max-width: 640px;
}

.elearning-faq__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 48px;
    line-height: 1;
    color: #373737;
}

.elearning-faq__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #64748b;
}

.elearning-faq__empty {
    margin: 0;
    padding: 24px;
    width: 100%;
    max-width: 600px;
    font-family: var(--font-body);
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    color: #373737;
}

.elearning-faq__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 600px;
}

.elearning-faq__item {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-height: 58px;
    padding: 18px 24px;
    border-radius: 0;
    background: transparent;
    border-bottom: 1px solid #3737371F;
    box-sizing: border-box;
    overflow: hidden;
    transition: background-color 0.2s ease, border-radius 0.2s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elearning-faq__item--open {
    gap: 12px;
    min-height: 118px;
    border-radius: 12px;
    background: #E2E8F0;
    border-bottom: 1px solid #3737371F;
    animation: elearning-faq-bounce 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elearning-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 0;
    border: none;
    background: transparent;
    color: #373737;
    font-family: var(--font-heading);
    font-weight: 600;
    font-style: normal;
    font-size: 24px;
    line-height: 0.9;
    letter-spacing: 0;
    text-align: left;
    vertical-align: middle;
    cursor: pointer;
}

.elearning-faq__chevron {
    flex: none;
    width: 18px;
    height: 18px;
    color: #373737;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.2s ease;
}

.elearning-faq__item:not(.elearning-faq__item--open) .elearning-faq__question {
    font-weight: 400;
}

.elearning-faq__item--open .elearning-faq__question {
    font-weight: 800;
    color: #1E293B;
}

.elearning-faq__item--open .elearning-faq__chevron {
    color: #1E293B;
    transform: rotate(180deg);
}

.elearning-faq__answer {
    padding: 0;
}

.elearning-faq__item--open .elearning-faq__answer {
    animation: elearning-faq-answer-bounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.elearning-faq__answer p {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    vertical-align: middle;
    color: #373737;
}

@keyframes elearning-faq-bounce {
    0% {
        transform: scale(0.98);
    }

    55% {
        transform: scale(1.015);
    }

    75% {
        transform: scale(0.995);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes elearning-faq-answer-bounce {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }

    60% {
        opacity: 1;
        transform: translateY(2px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 1100px) {
    .elearning-page__title {
        font-size: 56px;
    }

    .elearning-faq__title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .elearning-page__main {
        padding: 112px 20px 48px;
    }

    .elearning-page__header {
        margin-bottom: 28px;
    }

    .elearning-page__title {
        font-size: 48px;
    }

    .elearning-page__content {
        gap: 28px;
    }

    .elearning-filters__label--full {
        display: none;
    }

    .elearning-filters__label--short {
        display: inline;
    }

    .elearning-filters {
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 6px;
        overflow: visible;
        width: 100%;
    }

    .elearning-filters__btn {
        flex: 1 1 auto;
        min-width: 0;
        min-height: 34px;
        height: 34px;
        padding: 0 10px;
        font-size: 14px;
        white-space: nowrap;
        overflow: visible;
        text-overflow: clip;
    }

    .elearning-filters__btn[data-elearning-category="all"] {
        flex: 0 0 auto;
        padding: 0 12px;
    }

    .elearning-filters__dropdown {
        flex: 1 1 auto;
        min-width: 0;
    }

    .elearning-filters__dropdown .elearning-filters__btn {
        width: 100%;
        overflow: visible;
    }

    .elearning-filters__btn--dropdown svg {
        width: 12px;
        height: 12px;
        flex-shrink: 0;
    }

    .elearning-filters__btn--dropdown span {
        overflow: visible;
        text-overflow: clip;
    }

    .elearning-page .home-elearning__card-badge {
        font-size: 16px;
    }

    .elearning-page .home-elearning__card-date {
        font-size: 16px;
    }

    .elearning-page .home-elearning__card-title {
        font-size: 18px;
    }

    .elearning-page .home-elearning__card-excerpt {
        font-size: 14px;
    }

    .elearning-page .home-elearning__card-price-label {
        font-size: 14px;
    }

    .elearning-page .home-elearning__card-price-value {
        font-size: 18px;
    }

    .elearning-page .home-elearning__card-cta {
        font-size: 16px;
        line-height: 1.2;
    }

    .elearning-faq {
        padding: 64px 0;
    }

    .elearning-faq__inner {
        gap: 32px;
        padding: 0 20px;
    }

    .elearning-faq__title {
        font-size: 48px;
    }

    .elearning-faq__desc {
        font-size: 18px;
    }

    .elearning-faq__question {
        font-size: 18px;
    }

    .elearning-faq__item:not(.elearning-faq__item--open) .elearning-faq__question {
        font-weight: 600;
    }

    .elearning-faq__item--open .elearning-faq__question {
        font-size: 18px;
        font-weight: 800;
    }

    .elearning-faq__answer p {
        font-size: 16px;
    }
}

/* Course detail */
.elearning-page--detail {
    background: #ffffff;
    overflow: visible;
}

.elearning-page--detail .site-footer {
    position: relative;
    z-index: 2;
}

.elearning-detail-hero {
    position: relative;
    width: 100%;
    height: 710px;
    /* padding-top: 38px; */
}

.elearning-detail-hero__media {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 710px;
    z-index: 0;
    pointer-events: none;
}

.elearning-detail-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.elearning-detail-hero__overlay {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 120px 48px;
    background: #00000080;
    box-sizing: border-box;
}

.elearning-detail-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 48px;
    max-width: 960px;
    text-align: center;
}

.elearning-detail-hero__content h1,
.elearning-detail-hero__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: normal;
    font-size: 80px;
    line-height: 0.9;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    color: #FEF5F0;
}

.elearning-detail-hero__excerpt {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 24px;
    line-height: 1.21;
    letter-spacing: 0;
    text-align: center;
    vertical-align: middle;
    color: #FEF5F0;
}

.elearning-detail {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
    max-width: 1440px;
    margin: 0 auto;
    padding: 64px 48px 96px;
    box-sizing: border-box;
    background: #ffffff;
}

.elearning-detail__layout {
    grid-column: 1;
    min-width: 0;
}

.elearning-detail__main {
    min-width: 0;
}

.elearning-detail__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 50px;
    background: #EEF2F6;
    color: #373737;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 13px;
    line-height: 1;
}

.elearning-detail__title {
    margin: 16px 0 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-style: normal;
    font-size: 60px;
    line-height: 0.9;
    letter-spacing: 0;
    color: #373737;
}

.elearning-detail__section {
    margin-top: 40px;
}

.elearning-detail__section-head {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.elearning-detail__section-title {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 0;
    color: #373737;
}

.elearning-detail__section-head .elearning-detail__section-title {
    margin-bottom: 0;
}

.elearning-detail__section-note {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: justify;
    vertical-align: middle;
    color: #373737;
}

.elearning-detail__description-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.elearning-detail__description {
    max-height: calc(1.5em * 4);
    overflow: hidden;
}

.elearning-detail__description p {
    margin: 0 0 16px;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: justify;
    vertical-align: middle;
    color: #373737;
}

.elearning-detail__description p:last-child {
    margin-bottom: 0;
}

.elearning-detail__video-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 48px;
}

.elearning-video-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.elearning-video-card__media {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #EEF2F6;
}

.elearning-video-card .elearning-video-card__media {
    background: #EEF2F6;
}

.elearning-video-card.elearning-video-card--locked .elearning-video-card__media {
    background: #8f8f8f;
}

.elearning-video-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.elearning-video-card__lock {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 16px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.35));
}

.elearning-video-card--locked .elearning-video-card__image {
    filter: brightness(0.55);
    opacity: 0.85;
}

.elearning-video-card__lock svg {
    width: 14px;
    height: 16px;
    display: block;
}

.elearning-video-card__duration {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 4px 8px;
    border-radius: 6px;
    background: rgba(28, 20, 22, 0.85);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    line-height: 1;
}

.elearning-video-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.elearning-video-card__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
    color: #373737;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elearning-video-card__desc {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0;
    vertical-align: middle;
    color: #373737;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: justify;
}

.elearning-video-card__tag {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    box-sizing: border-box;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid #DE869E;
    border-radius: 50px;
    background: transparent;
    color: #DE869E;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 12px;
    line-height: 1.2;
}

.elearning-video-card__tag svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.elearning-detail__module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 48px;
}

.elearning-module-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.elearning-module-card__media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 16px;
    background: #F5F5F5;
    box-sizing: border-box;
}

.elearning-module-card__pdf {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.elearning-module-card__lock {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
}

.elearning-module-card__lock svg {
    width: 18px;
    height: 18px;
    display: block;
}

.elearning-module-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.elearning-module-card__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0;
    color: #373737;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elearning-module-card__desc {

    text-align: justify;
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    font-style: normal;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0;
    vertical-align: middle;
    color: #373737;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.elearning-detail__sidebar {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    height: fit-content;
}

.elearning-enroll-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 28px;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(28, 20, 22, 0.1);
    box-sizing: border-box;
}

.elearning-enroll-card__title {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 22px;
    line-height: 1.2;
    color: #373737;
}

.elearning-enroll-card__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.elearning-enroll-card__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.3;
    color: #373737;
}

.elearning-enroll-card__item-icon {
    display: inline-flex;
    color: #FF7A95;
}

.elearning-enroll-card__item-icon svg {
    width: 20px;
    height: 20px;
}

.elearning-enroll-card__item .completed_text {
    color: #3CB404;
    font-weight: 700;
}

.elearning-enroll-card__item .progress_text {
    color: #3CB404;
    font-weight: 400;
}

.elearning-enroll-card__item .not_progress_text {
    color: #9CA3AF;
    font-weight: 400;
}

.elearning-enroll-card__item-icon .icon-success {
    color: #3CB404;
}

.elearning-enroll-card__item-icon .icon-not-progress {
    color: #9CA3AF;
}

.elearning-enroll-card__price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 32px;
    line-height: 1;
    color: #373737;
}

.elearning-enroll-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 50px;
    background: #FF7A95;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.elearning-enroll-card__cta:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(255, 122, 149, 0.35);
}

.elearning-enroll-card__share {
    /* display: inline-flex; */
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: transparent;
    color: #64748b;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    display: none;
}

.elearning-enroll-card__share:has(.not-click) {
    cursor: none;
}

.elearning-enroll-card__share svg {
    width: 16px;
    height: 16px;
}

.elearning-enroll-card__share:not(.not-click):hover {
    color: #FF7A95;
}

.elearning-detail__related {
    grid-column: 1;
    margin-top: 96px;
    padding-top: 96px;
    border-top: 1px solid #37373712;
}

.elearning-detail__related-title {
    margin: 0 0 40px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 42px;
    line-height: 1;
    text-align: center;
    color: #373737;
}

.elearning-detail__related-grid {
    margin-bottom: 32px;
}

.elearning-detail__related-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.elearning-detail__view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 20px;
    border: 1px solid #373737;
    border-radius: 999px;
    color: #373737;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
}

.elearning-detail__view-all:hover {
    background: rgba(55, 55, 55, 0.06);
    color: #373737;
}

.elearning-detail__view-all-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid #373737;
    border-radius: 50%;
    color: #373737;
    text-decoration: none;
}

.elearning-detail__view-all-icon:hover {
    background: rgba(55, 55, 55, 0.06);
}

.elearning-detail__view-all-icon svg {
    width: 16px;
    height: 16px;
}

.wrapper-icon-detail {
    color: #9CA3AF;
}

.elearning-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.elearning-progress__bar {
    flex: 1;
    height: 8px;
    background: #e5e7eb;
    border-radius: 999px;
    overflow: hidden;
}

.elearning-progress__fill {
    height: 100%;
    background: #22c55e;
    border-radius: 999px;
    transition: width .3s ease;
}

.elearning-progress__text {
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 400;
    color: #9CA3AF;
}


.elearning-module-card__desc.is-expanded,
.elearning-video-card__desc.is-expanded {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
}

.elearning-detail__description.is-expanded {
    max-height: none;
    overflow: visible;
}

.elearning-desc-toggle {
    display: none;
    margin-top: 4px;
    padding: 0;
    border: none;
    background: none;
    color: #DE869E;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
}

.elearning-desc-toggle.is-visible {
    display: inline-block;
}

@media (max-width: 1100px) {
    .elearning-detail {
        grid-template-columns: 1fr;
    }

    .elearning-detail__layout,
    .elearning-detail__related,
    .elearning-detail__sidebar {
        grid-column: 1;
        grid-row: auto;
    }

    .elearning-detail__sidebar {
        max-width: 420px;
    }

    .elearning-detail__video-grid,
    .elearning-detail__module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .elearning-detail-hero {
        height: 520px;
    }

    .elearning-detail-hero__media {
        height: 520px;
    }

    .elearning-detail-hero__overlay {
        padding: 100px 32px;
    }

    .elearning-detail-hero__content {
        gap: 28px;
    }

    .elearning-detail-hero__title {
        font-size: 48px;
        line-height: 0.9;
    }

    .elearning-detail-hero__excerpt {
        font-size: 18px;
        line-height: 1.21;
    }

    .elearning-detail__related-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .elearning-detail-hero {
        width: 100%;
        height: 710px;
    }

    .elearning-detail-hero__media {
        height: 710px;
    }

    .elearning-detail-hero__overlay {
        padding: 120px 42px;
    }

    .elearning-detail-hero__content {
        gap: 48px;
        max-width: 412px;
    }

    .elearning-detail-hero__content h1,
    .elearning-detail-hero__title {
        font-size: 48px;
        line-height: 0.9;
    }

    .elearning-detail-hero__excerpt {
        font-size: 18px;
        line-height: 1.21;
    }

    .elearning-detail {
        padding: 40px 20px 72px;
    }

    .elearning-detail__sidebar {
        max-width: none;
    }

    .elearning-detail__video-grid,
    .elearning-detail__module-grid {
        grid-template-columns: 1fr;
    }

    .elearning-detail__related {
        margin-top: 64px;
        padding-top: 64px;
    }

    .elearning-detail__related-title {
        margin-bottom: 28px;
    }

    .elearning-enroll-card {
        padding: 22px;
        gap: 20px;
    }

    /* Detail mobile typography — ubah ukuran di sini */
    .elearning-page--detail {
        --detail-font-14: 14px;
        --detail-font-16: 16px;
        --detail-font-18: 18px;
        --detail-font-24: 24px;
        --detail-font-30: 30px;
        --detail-font-36: 36px;
    }

    /* 14px — badge kategori, badge video */
    .elearning-page--detail .elearning-detail__badge,
    .elearning-page--detail .elearning-video-card__tag {
        font-size: var(--detail-font-14);
    }

    /* 36px — judul konten, You May Also Like */
    .elearning-page--detail .elearning-detail__title,
    .elearning-page--detail .elearning-detail__related-title {
        font-size: var(--detail-font-36);
    }

    /* 24px — judul section Description & Learning Videos */
    .elearning-page--detail .elearning-detail__section-title {
        font-size: var(--detail-font-24);
    }

    /* 30px — judul section Learning Modules */
    .elearning-page--detail #elearning-modules-heading {
        font-size: var(--detail-font-30);
    }

    /* 16px — deskripsi & catatan section, justify */
    .elearning-page--detail .elearning-detail__description p,
    .elearning-page--detail .elearning-detail__section-note {
        font-size: var(--detail-font-16);
        text-align: justify;
    }

    /* 24px / 16px — kartu Learning Videos */
    .elearning-page--detail .elearning-video-card__title {
        font-size: var(--detail-font-24);
    }

    .elearning-page--detail .elearning-video-card__desc {
        font-size: var(--detail-font-16);
    }

    /* 18px / 14px — kartu Learning Modules */
    .elearning-page--detail .elearning-module-card__title {
        font-size: var(--detail-font-18);
    }

    .elearning-page--detail .elearning-module-card__desc {
        font-size: var(--detail-font-14);
    }

    /* 18px / 16px — enroll card */
    .elearning-page--detail .elearning-enroll-card__title {
        font-size: var(--detail-font-18);
    }

    .elearning-page--detail .elearning-enroll-card__item {
        font-size: var(--detail-font-16);
    }

    .elearning-page--detail .elearning-enroll-card__price {
        font-size: var(--detail-font-18);
    }

    /* 14px / 18px — harga kartu You May Also Like */
    .elearning-page--detail .home-elearning__card-price-label {
        font-size: var(--detail-font-14);
    }

    .elearning-page--detail .home-elearning__card-price-value {
        font-size: var(--detail-font-18);
    }
}