@charset "utf-8";
.lesson-hero{
    background:
    linear-gradient(
        135deg,
        #e5f1ff,
        #d8ebff
    );

    border-radius:20px;

    padding:28px;

    margin-bottom:25px;

    box-shadow:
    0 8px 24px rgba(0,0,0,.08);

}

.lesson-hero h1{

    margin:0;

    font-size:34px;

    color:#0b3d91;

    font-weight:800;

}

.lesson-hero h1 span{

    color:#4f8cff;

}

.lesson-meta{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

    margin-top:16px;

}

.lesson-meta span{

    background:#fff;

    border-radius:999px;

    padding:8px 14px;

    color:#35516d;

    font-size:14px;

}

.unit-nav-card{

    background:#fff;

    border-radius:18px;

    padding:24px;

    margin-bottom:25px;

    box-shadow:
    0 6px 20px rgba(0,0,0,.05);

}

.unit-nav{

    display:flex;

    flex-wrap:wrap;

    gap:12px;

}

.unit-btn{

    padding:10px 18px;

    border-radius:999px;

    text-decoration:none;

    background:#eef6ff;

    color:#2563eb;

    font-size:15px;

    font-weight:600;

    transition:.25s;

}

.unit-btn:hover{

    background:#2563eb;

    color:#fff;

}

.unit-btn.active{

    background:
    linear-gradient(
        135deg,
        #4f8cff,
        #2f7de1
    );

    color:#fff;

}

.word-list-card{

    background:#fff;

    border-radius:18px;

    padding:24px;

    box-shadow:
    0 6px 20px rgba(0,0,0,.05);

}

.word-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fill,minmax(140px,1fr));

    gap:12px;

}

.word-item{

    display:flex;

    justify-content:center;

    align-items:center;

    min-height:52px;

    border-radius:14px;

    background:#f8fbff;

    text-decoration:none;

    color:#31475d;

    font-size:15px;

    font-weight:600;

    transition:.25s;

}

.word-item:hover{

    background:#4f8cff;

    color:#fff;

    transform:translateY(-2px);

}

.lesson-footer{

    margin-top:25px;

    background:#f7fbff;

    border-left:4px solid #7bbcff;

    border-radius:16px;

    padding:18px;

    color:#5f6f7f;

    line-height:1.8;

}


@media(max-width:768px){

    .lesson-hero{

        padding:20px;

    }

    .lesson-hero h1{

        font-size:26px;

    }

    .unit-nav-card,
    .word-list-card{

        padding:18px;

    }

    .word-grid{

        grid-template-columns:
        repeat(2,1fr);

    }

}