/* Courses page — Nofal Seo brand */

.nofal-courses-shell {
    --cs-dark: #1c1c35;
    --cs-blue: #25aae1;
    --cs-navy: #283891;
    --cs-text: #4d5567;
    --cs-soft: #f6faff;
    --cs-border: rgba(28, 28, 53, 0.1);
    --cs-radius: 20px;
    --cs-shadow: 0 18px 50px rgba(28, 28, 53, 0.1);
    color: var(--cs-text);
    overflow-x: clip;
}

.nofal-courses-shell *,
.nofal-courses-shell *::before,
.nofal-courses-shell *::after {
    box-sizing: border-box;
}

.nofal-courses-shell .fas,
.nofal-courses-shell .far,
.nofal-courses-shell .fab,
.nofal-courses-shell .fa {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
    font-style: normal !important;
    line-height: 1 !important;
    -webkit-font-smoothing: antialiased;
}

.nofal-courses-shell .fab {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

.nofal-courses-shell .fas,
.nofal-courses-shell .far {
    font-weight: 900 !important;
}

body.nofal-courses-page .page-head {
    display: none !important;
}

/* Hero */
.nofal-courses-shell .courses-hero {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1c1c35 0%, #25254d 55%, #25aae1 160%);
    overflow: hidden;
}

.nofal-courses-shell .courses-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 170, 225, 0.22), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 35%);
    pointer-events: none;
}

.nofal-courses-shell .courses-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: 0.35;
    pointer-events: none;
}

.nofal-courses-shell .courses-hero__inner {
    position: relative;
    z-index: 1;
    width: min(920px, calc(100% - 40px));
    margin: 0 auto;
    padding: 52px 0 64px;
    text-align: center;
    color: #fff;
}

.nofal-courses-shell .courses-breadcrumb {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.75);
}

.nofal-courses-shell .courses-breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.nofal-courses-shell .courses-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.nofal-courses-shell .courses-hero__inner h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
}

.nofal-courses-shell .courses-hero__inner > p {
    margin: 0 auto;
    max-width: 720px;
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.88);
}

/* Main */
.nofal-courses-shell .courses-main {
    padding: 48px 0 56px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 45%);
}

.nofal-courses-shell .courses-main__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.nofal-courses-shell .courses-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

.nofal-courses-shell .courses-head h2 {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--cs-dark);
}

.nofal-courses-shell .courses-head p {
    margin: 0;
    line-height: 1.8;
    color: var(--cs-text);
}

/* Grid */
.nofal-courses-shell .courses-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.nofal-courses-shell .course-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nofal-courses-shell .course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 56px rgba(28, 28, 53, 0.14);
}

.nofal-courses-shell .course-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(135deg, #eef4fb, #dce9f8);
}

.nofal-courses-shell .course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.nofal-courses-shell .course-card:hover .course-card__media img {
    transform: scale(1.04);
}

.nofal-courses-shell .course-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 180px;
    font-size: 2.5rem;
    color: var(--cs-blue);
    opacity: 0.55;
}

.nofal-courses-shell .course-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px 20px 22px;
}

.nofal-courses-shell .course-card__body h3 {
    margin: 0 0 10px;
    font-size: 1.12rem;
    line-height: 1.45;
    font-weight: 800;
}

.nofal-courses-shell .course-card__body h3 a {
    color: var(--cs-dark);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nofal-courses-shell .course-card__body h3 a:hover {
    color: var(--cs-blue);
}

.nofal-courses-shell .course-card__body p {
    margin: 0 0 18px;
    flex: 1;
    line-height: 1.75;
    color: var(--cs-text);
    font-size: 0.95rem;
}

.nofal-courses-shell .course-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    align-self: flex-start;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    background: rgba(37, 170, 225, 0.1);
    color: var(--cs-navy);
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.nofal-courses-shell .course-card__btn:hover {
    background: var(--cs-navy);
    color: #fff;
}

html[dir="ltr"] .nofal-courses-shell .course-card__btn i {
    transform: scaleX(-1);
}

/* Empty */
.nofal-courses-shell .courses-empty {
    text-align: center;
    padding: 56px 24px;
    border-radius: var(--cs-radius);
    background: var(--cs-soft);
    border: 1px dashed rgba(37, 170, 225, 0.25);
}

.nofal-courses-shell .courses-empty__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--cs-blue);
    font-size: 1.5rem;
    box-shadow: var(--cs-shadow);
}

.nofal-courses-shell .courses-empty h3 {
    margin: 0 0 8px;
    color: var(--cs-dark);
    font-weight: 800;
}

.nofal-courses-shell .courses-empty p {
    margin: 0;
    color: var(--cs-text);
}

/* Pagination */
.nofal-courses-shell .courses-pagination {
    margin-top: 36px;
    display: flex;
    justify-content: center;
}

.nofal-courses-shell .courses-pagination__list,
.nofal-courses-shell .courses-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nofal-courses-shell .courses-pagination li {
    margin: 0;
}

.nofal-courses-shell .courses-pagination a,
.nofal-courses-shell .courses-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--cs-border);
    background: #fff;
    color: var(--cs-dark);
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.nofal-courses-shell .courses-pagination a:hover {
    border-color: var(--cs-blue);
    color: var(--cs-blue);
}

.nofal-courses-shell .courses-pagination .current,
.nofal-courses-shell .courses-pagination span.current {
    background: var(--cs-navy);
    border-color: var(--cs-navy);
    color: #fff;
}

/* CTA */
.nofal-courses-shell .courses-cta {
    padding: 0 0 64px;
    background: #fff;
}

.nofal-courses-shell .courses-cta__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 28px 28px;
    border-radius: var(--cs-radius);
    background: linear-gradient(135deg, #1c1c35 0%, #283891 55%, #25aae1 140%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: var(--cs-shadow);
}

.nofal-courses-shell .courses-cta__copy h2 {
    margin: 0 0 8px;
    font-size: clamp(1.25rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: #fff;
}

.nofal-courses-shell .courses-cta__copy p {
    margin: 0;
    max-width: 520px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.nofal-courses-shell .courses-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.nofal-courses-shell .courses-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nofal-courses-shell .courses-cta__btn--primary {
    background: #fff;
    color: var(--cs-navy);
}

.nofal-courses-shell .courses-cta__btn--primary:hover {
    transform: translateY(-2px);
    color: var(--cs-navy);
}

.nofal-courses-shell .courses-cta__btn--ghost {
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    background: transparent;
}

.nofal-courses-shell .courses-cta__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

@media (max-width: 960px) {
    .nofal-courses-shell .courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nofal-courses-shell .courses-hero__inner {
        padding: 42px 0 52px;
    }

    .nofal-courses-shell .courses-grid {
        grid-template-columns: 1fr;
    }

    .nofal-courses-shell .courses-cta__inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .nofal-courses-shell .courses-cta__copy p {
        max-width: none;
    }

    .nofal-courses-shell .courses-cta__actions {
        justify-content: center;
    }
}

/* Single course */
body.nofal-single-course-page .page-head {
    display: none !important;
}

.nofal-courses-shell--single .course-single-hero {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1c1c35 0%, #25254d 55%, #25aae1 160%);
    overflow: hidden;
}

.nofal-courses-shell--single .course-single-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 170, 225, 0.22), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 35%);
    pointer-events: none;
}

.nofal-courses-shell--single .course-single-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 44px 0 56px;
    color: #fff;
}

.nofal-courses-shell--single .course-single-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.nofal-courses-shell--single .course-single-hero__inner h1 {
    margin: 0;
    max-width: 900px;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    line-height: 1.25;
    font-weight: 800;
    color: #fff;
}

.nofal-courses-shell--single .course-single-main {
    padding: 40px 0 64px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 45%);
}

.nofal-courses-shell--single .course-single-main__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.nofal-courses-shell--single .course-single-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 28px;
}

.nofal-courses-shell--single .course-single-media {
    border-radius: var(--cs-radius);
    overflow: hidden;
    border: 1px solid var(--cs-border);
    box-shadow: var(--cs-shadow);
    background: #fff;
}

.nofal-courses-shell--single .course-single-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.nofal-courses-shell--single .course-single-media__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    font-size: 3rem;
    color: var(--cs-blue);
    background: linear-gradient(135deg, #eef4fb, #dce9f8);
}

.nofal-courses-shell--single .course-single-intro {
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 26px 28px;
}

.nofal-courses-shell--single .course-single-intro h2 {
    margin: 0 0 14px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--cs-dark);
}

.nofal-courses-shell--single .course-single-content {
    line-height: 1.85;
    color: var(--cs-text);
}

.nofal-courses-shell--single .course-single-content p {
    margin: 0 0 12px;
}

.nofal-courses-shell--single .course-single-content p:last-child {
    margin-bottom: 0;
}

.nofal-courses-shell--single .course-single-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.nofal-courses-shell--single .course-single-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nofal-courses-shell--single .course-single-btn--primary {
    background: linear-gradient(135deg, var(--cs-navy), var(--cs-blue));
    color: #fff;
    box-shadow: 0 14px 30px rgba(40, 56, 145, 0.22);
}

.nofal-courses-shell--single .course-single-btn--primary:hover {
    transform: translateY(-2px);
    color: #fff;
}

.nofal-courses-shell--single .course-single-btn--ghost {
    border: 1px solid rgba(28, 28, 53, 0.14);
    color: var(--cs-dark);
    background: #fff;
}

.nofal-courses-shell--single .course-single-btn--ghost:hover {
    border-color: var(--cs-blue);
    color: var(--cs-blue);
}

.nofal-courses-shell--single .course-single-lessons {
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 26px 28px;
}

.nofal-courses-shell--single .course-single-lessons__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--cs-border);
}

.nofal-courses-shell--single .course-single-lessons__head h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--cs-dark);
}

.nofal-courses-shell--single .course-single-lessons__head p {
    margin: 0;
    line-height: 1.75;
    color: var(--cs-text);
}

.nofal-courses-shell--single .course-single-lessons__count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--cs-soft);
    color: var(--cs-navy);
    font-size: 0.88rem;
    font-weight: 700;
}

.nofal-courses-shell--single .course-lessons-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.nofal-courses-shell--single .course-lesson-item {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--cs-border);
    background: var(--cs-soft);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nofal-courses-shell--single .course-lesson-item:hover {
    border-color: rgba(37, 170, 225, 0.35);
    box-shadow: 0 10px 24px rgba(28, 28, 53, 0.08);
    transform: translateY(-1px);
}

.nofal-courses-shell--single .course-lesson-item__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #fff;
    color: var(--cs-navy);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(28, 28, 53, 0.08);
}

.nofal-courses-shell--single .course-lesson-item__body h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 700;
    color: var(--cs-dark);
}

.nofal-courses-shell--single .course-lesson-item__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: #fff;
    color: var(--cs-navy);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: inset 0 0 0 1px rgba(28, 28, 53, 0.08);
    transition: background 0.2s ease, color 0.2s ease;
}

.nofal-courses-shell--single .course-lesson-item__btn:hover {
    background: var(--cs-navy);
    color: #fff;
}

.nofal-courses-shell--single .course-single-lessons__empty {
    padding: 36px 20px;
}

@media (max-width: 960px) {
    .nofal-courses-shell--single .course-single-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .nofal-courses-shell--single .course-single-hero__inner {
        padding: 36px 0 44px;
    }

    .nofal-courses-shell--single .course-single-intro,
    .nofal-courses-shell--single .course-single-lessons {
        padding: 22px 18px;
    }

    .nofal-courses-shell--single .course-single-lessons__head {
        flex-direction: column;
    }

    .nofal-courses-shell--single .course-lesson-item {
        grid-template-columns: auto 1fr;
    }

    .nofal-courses-shell--single .course-lesson-item__btn {
        grid-column: 1 / -1;
        justify-content: center;
        width: 100%;
    }
}

/* Single lecture */
body.nofal-single-lecture-page .page-head {
    display: none !important;
}

.nofal-courses-shell--lecture .lecture-single-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1c1c35 0%, #25254d 55%, #25aae1 160%);
    overflow: hidden;
}

.nofal-courses-shell--lecture .lecture-single-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(37, 170, 225, 0.22), transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.08), transparent 35%);
    pointer-events: none;
}

.nofal-courses-shell--lecture .lecture-single-hero__inner {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 52px;
    color: #fff;
}

.nofal-courses-shell--lecture .lecture-single-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.nofal-courses-shell--lecture .lecture-single-hero__inner h1 {
    margin: 0 0 10px;
    max-width: 920px;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    line-height: 1.3;
    font-weight: 800;
    color: #fff;
}

.nofal-courses-shell--lecture .lecture-single-hero__course {
    margin: 0;
    max-width: 820px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.88);
}

.nofal-courses-shell--lecture .lecture-single-hero__course a {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nofal-courses-shell--lecture .lecture-single-main {
    padding: 36px 0 64px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 45%);
}

.nofal-courses-shell--lecture .lecture-single-main__inner {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.nofal-courses-shell--lecture .lecture-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    gap: 24px;
    align-items: start;
}

.nofal-courses-shell--lecture .lecture-single-player {
    border-radius: var(--cs-radius);
    overflow: hidden;
    background: #000;
    border: 1px solid var(--cs-border);
    box-shadow: var(--cs-shadow);
    aspect-ratio: 16 / 9;
}

.nofal-courses-shell--lecture .lecture-single-player video,
.nofal-courses-shell--lecture .lecture-single-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.nofal-courses-shell--lecture .lecture-single-content {
    min-height: 100%;
    background: #000;
    color: #fff;
}

.nofal-courses-shell--lecture .lecture-single-content video,
.nofal-courses-shell--lecture .lecture-single-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.nofal-courses-shell--lecture .lecture-single-about {
    margin-top: 22px;
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    padding: 24px 26px;
}

.nofal-courses-shell--lecture .lecture-single-about h2 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--cs-dark);
}

.nofal-courses-shell--lecture .lecture-single-about__content {
    line-height: 1.85;
    color: var(--cs-text);
}

.nofal-courses-shell--lecture .lecture-single-sidebar {
    display: grid;
    gap: 18px;
    position: sticky;
    top: 92px;
}

.nofal-courses-shell--lecture .lecture-course-card,
.nofal-courses-shell--lecture .lecture-playlist {
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
    overflow: hidden;
}

.nofal-courses-shell--lecture .lecture-course-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.nofal-courses-shell--lecture .lecture-course-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nofal-courses-shell--lecture .lecture-course-card__body {
    padding: 18px 20px 20px;
}

.nofal-courses-shell--lecture .lecture-course-card__body h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: 800;
}

.nofal-courses-shell--lecture .lecture-course-card__body h3 a {
    color: var(--cs-dark);
    text-decoration: none;
}

.nofal-courses-shell--lecture .lecture-course-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--cs-blue);
    font-weight: 700;
    text-decoration: none;
}

html[dir="ltr"] .nofal-courses-shell--lecture .lecture-course-card__link i {
    transform: scaleX(-1);
}

.nofal-courses-shell--lecture .lecture-playlist {
    padding: 18px 18px 16px;
}

.nofal-courses-shell--lecture .lecture-playlist h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    font-weight: 800;
    color: var(--cs-dark);
}

.nofal-courses-shell--lecture .lecture-playlist__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    max-height: 420px;
    overflow: auto;
}

.nofal-courses-shell--lecture .lecture-playlist__item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 10px;
    align-items: start;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid transparent;
    background: var(--cs-soft);
}

.nofal-courses-shell--lecture .lecture-playlist__item.is-current {
    border-color: rgba(37, 170, 225, 0.35);
    background: rgba(37, 170, 225, 0.08);
}

.nofal-courses-shell--lecture .lecture-playlist__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #fff;
    color: var(--cs-navy);
    font-size: 0.82rem;
    font-weight: 800;
}

.nofal-courses-shell--lecture .lecture-playlist__title {
    display: block;
    font-size: 0.92rem;
    line-height: 1.55;
    font-weight: 700;
    color: var(--cs-dark);
    text-decoration: none;
}

a.lecture-playlist__title:hover {
    color: var(--cs-blue);
}

.nofal-courses-shell--lecture .lecture-playlist__title em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--cs-blue);
}

.nofal-courses-shell--lecture .lecture-single-locked {
    padding: 56px 0 72px;
    background: linear-gradient(180deg, #f8fbff 0%, #fff 45%);
}

.nofal-courses-shell--lecture .lecture-single-locked__inner {
    width: min(640px, calc(100% - 32px));
    margin: 0 auto;
    text-align: center;
    padding: 40px 28px;
    background: #fff;
    border: 1px solid var(--cs-border);
    border-radius: var(--cs-radius);
    box-shadow: var(--cs-shadow);
}

.nofal-courses-shell--lecture .lecture-single-locked__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cs-soft);
    color: var(--cs-navy);
    font-size: 1.6rem;
}

.nofal-courses-shell--lecture .lecture-single-locked__inner h2 {
    margin: 0 0 10px;
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--cs-dark);
}

.nofal-courses-shell--lecture .lecture-single-locked__inner p {
    margin: 0 0 22px;
    line-height: 1.8;
    color: var(--cs-text);
}

.nofal-courses-shell--lecture .lecture-single-locked .course-single-actions {
    justify-content: center;
}

@media (max-width: 960px) {
    .nofal-courses-shell--lecture .lecture-single-layout {
        grid-template-columns: 1fr;
    }

    .nofal-courses-shell--lecture .lecture-single-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .nofal-courses-shell--lecture .lecture-single-hero__inner {
        padding: 34px 0 42px;
    }

    .nofal-courses-shell--lecture .lecture-single-about {
        padding: 20px 18px;
    }
}
