.course-items-page {
    min-height: 100vh;

    background:
        radial-gradient(
            circle at 15% 5%,
            rgba(201, 160, 75, .07),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 40%,
            rgba(36, 91, 67, .08),
            transparent 30%
        ),
        var(--bg);
}


/* =========================================================
   HERO
========================================================= */

.items-hero {

    position: relative;

    padding: 145px 0 85px;

    overflow: hidden;

    border-bottom:
        1px solid
        var(--border-light);
}


.items-hero-glow {

    position: absolute;

    border-radius: 50%;

    pointer-events: none;

    filter: blur(100px);
}


.items-hero-glow-one {

    width: 500px;
    height: 500px;

    top: -280px;
    right: -150px;

    background:
        rgba(201, 160, 75, .09);
}


.items-hero-glow-two {

    width: 350px;
    height: 350px;

    bottom: -250px;
    left: -120px;

    background:
        rgba(36, 91, 67, .12);
}


/* =========================================================
   BREADCRUMB
========================================================= */

.items-breadcrumb {

    position: relative;

    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 10px;

    margin-bottom: 35px;

    color: var(--muted);

    font-size: .88rem;
}


.items-breadcrumb a {

    color: var(--gold-light);

    text-decoration: none;

    transition: color .25s ease;
}


.items-breadcrumb a:hover {

    color: var(--gold-pale);
}


.items-breadcrumb i {

    color: var(--muted);

    font-size: .7rem;
}


/* =========================================================
   HERO CONTENT
========================================================= */

.items-hero-content {

    position: relative;

    max-width: 850px;
}


.items-kicker {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 8px 14px;

    margin-bottom: 20px;

    border:
        1px solid
        var(--border);

    border-radius: 100px;

    color: var(--gold-light);

    background:
        rgba(201, 160, 75, .06);

    font-size: .82rem;

    font-weight: 600;
}


.items-kicker i {

    font-size: .9rem;
}


.items-hero h1 {

    margin: 0 0 20px;

    color: var(--white);

    font-family:
        "Estedad",
        "Vazirmatn",
        sans-serif;

    font-size:
        clamp(2.2rem, 5vw, 4rem);

    line-height: 1.35;

    font-weight: 800;

    letter-spacing: -.5px;
}


.items-description {

    max-width: 760px;

    color: var(--muted-light);

    font-size: 1rem;

    line-height: 2.1;
}


.items-description p {

    margin-bottom: 10px;
}


.items-description p:last-child {

    margin-bottom: 0;
}


/* =========================================================
   SECTION
========================================================= */

.course-items-section {

    padding:
        80px 0
        120px;
}


.section-heading {

    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 32px;
}


.section-kicker {

    display: block;

    margin-bottom: 8px;

    color: var(--gold);

    font-size: .78rem;

    font-weight: 600;
}


.section-heading h2 {

    margin: 0;

    color: var(--white);

    font-size: 1.8rem;

    font-weight: 800;
}


.items-count {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 7px 13px;

    border:
        1px solid
        var(--border-light);

    border-radius: 100px;

    color: var(--muted);

    font-size: .78rem;
}


/* =========================================================
   LIST
========================================================= */

.course-items-list {

    display: flex;

    flex-direction: column;

    gap: 14px;
}


/* =========================================================
   ITEM
========================================================= */

.curriculum-item {

    position: relative;

    display: grid;

    grid-template-columns:
        55px
        55px
        minmax(0, 1fr)
        45px;

    align-items: center;

    gap: 18px;

    min-height: 110px;

    padding:
        18px 22px;

    overflow: hidden;

    border:
        1px solid
        var(--border-light);

    border-radius:
        var(--radius);

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.035),
            rgba(255,255,255,.012)
        );

    text-decoration: none;

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease,
        background .3s ease;
}


.curriculum-item::before {

    content: "";

    position: absolute;

    inset: 0;

    opacity: 0;

    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201,160,75,.035),
            transparent
        );

    transition:
        opacity .3s ease;
}


.curriculum-item:hover {

    transform:
        translateY(-3px);

    border-color:
        rgba(201,160,75,.28);

    box-shadow:
        0 20px 60px
        rgba(0,0,0,.25);
}


.curriculum-item:hover::before {

    opacity: 1;
}


/* =========================================================
   NUMBER
========================================================= */

.item-number {

    position: relative;

    color:
        rgba(201,160,75,.45);

    font-size: .88rem;

    font-weight: 700;
}


/* =========================================================
   ICON
========================================================= */

.item-icon {

    position: relative;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    font-size: 1.1rem;
}


/* FREE */

.item-free {

    border-color:
        rgba(70,180,130,.15);
}


.item-free .item-icon {

    color: #77d9ad;

    background:
        rgba(70,180,130,.10);
}


/* ACCESS */

.item-access {

    border-color:
        rgba(201,160,75,.20);
}


.item-access .item-icon {

    color:
        var(--gold-light);

    background:
        rgba(201,160,75,.10);
}


/* LOCKED */

.item-locked {

    opacity: .68;

    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.022),
            rgba(255,255,255,.008)
        );
}


.item-locked:hover {

    opacity: .9;
}


.item-locked .item-icon {

    color:
        var(--muted);

    background:
        rgba(255,255,255,.045);
}


/* =========================================================
   CONTENT
========================================================= */

.item-content {

    min-width: 0;
}


.item-content h3 {

    margin:
        0 0 7px;

    color:
        var(--white);

    font-size:
        1rem;

    line-height: 1.7;

    font-weight: 700;
}


.item-content p {

    margin:
        0 0 9px;

    color:
        var(--muted);

    font-size:
        .82rem;

    line-height: 1.8;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


/* =========================================================
   STATUS
========================================================= */

.item-status {

    font-size: .73rem;
}


.item-status i {

    margin-left: 5px;
}


.status-free {

    color:
        #77d9ad;
}


.status-access {

    color:
        var(--gold-light);
}


.status-locked {

    color:
        var(--muted);
}


/* =========================================================
   ARROW
========================================================= */

.item-arrow {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

    color:
        var(--muted);

    transition:
        transform .3s ease,
        color .3s ease;
}


.curriculum-item:hover .item-arrow {

    color:
        var(--gold-light);

    transform:
        translateX(-5px);
}


/* =========================================================
   EMPTY
========================================================= */

.empty-items {

    padding:
        85px 20px;

    text-align: center;

    border:
        1px dashed
        var(--border);

    border-radius:
        var(--radius);

    background:
        rgba(255,255,255,.012);
}


.empty-icon {

    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto 20px;

    border-radius: 20px;

    color:
        var(--gold);

    background:
        rgba(201,160,75,.07);

    font-size: 1.5rem;
}


.empty-items h3 {

    margin:
        0 0 10px;

    color:
        var(--white);

    font-size:
        1.05rem;
}


.empty-items p {

    margin: 0;

    color:
        var(--muted);

    font-size: .85rem;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .items-hero {

        padding:
            125px 0 70px;
    }


    .course-items-section {

        padding:
            65px 0 90px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .items-hero {

        padding:
            115px 0 55px;
    }


    .items-breadcrumb {

        margin-bottom: 25px;

        font-size: .76rem;
    }


    .items-hero h1 {

        font-size:
            2rem;

        line-height: 1.45;
    }


    .items-description {

        font-size:
            .88rem;

        line-height: 2;
    }


    .course-items-section {

        padding:
            50px 0 75px;
    }


    .section-heading {

        align-items: flex-start;

        flex-direction: column;

        gap: 10px;

        margin-bottom: 25px;
    }


    .section-heading h2 {

        font-size:
            1.35rem;
    }


    .curriculum-item {

        grid-template-columns:
            30px
            44px
            minmax(0, 1fr)
            22px;

        gap: 9px;

        min-height:
            88px;

        padding:
            14px;
    }


    .item-number {

        font-size:
            .72rem;
    }


    .item-icon {

        width:
            40px;

        height:
            40px;

        border-radius:
            11px;

        font-size:
            .95rem;
    }


    .item-content h3 {

        margin-bottom:
            4px;

        font-size:
            .88rem;

        line-height:
            1.7;
    }


    .item-content p {

        display:
            none;
    }


    .item-status {

        font-size:
            .68rem;
    }


    .item-arrow {

        font-size:
            .78rem;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .curriculum-item {

        grid-template-columns:
            26px
            40px
            minmax(0, 1fr)
            18px;

        gap: 7px;

        padding:
            12px;
    }


    .item-icon {

        width:
            38px;

        height:
            38px;
    }


    .item-content h3 {

        font-size:
            .82rem;
    }


    .status-locked {

        font-size:
            .62rem;
    }

}