.foodlex-course-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:28px;
}

.foodlex-course-card{
    background:#fff;
    border:1px solid #edf1e7;
    border-radius:24px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    box-shadow:0 14px 35px rgba(0,0,0,.06);
    transition:.25s;
}

.foodlex-course-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,0,0,.10);
    color:inherit;
}

.foodlex-course-visual{
    height:210px;
    background:linear-gradient(135deg,#f1ffe4,#ffffff);
    display:flex;
    align-items:center;
    justify-content:center;
}

.foodlex-course-visual img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.foodlex-course-icon{
    font-size:64px;
}

.foodlex-course-body{
    padding:26px;
}

.foodlex-course-tag{
    display:inline-block;
    background:#eefada;
    color:#2f8c12;
    padding:7px 12px;
    border-radius:999px;
    font-size:13px;
    font-weight:700;
    margin-bottom:12px;
}

.foodlex-course-body h2{
    font-size:24px;
    color:#063b22;
    margin:0 0 12px;
}

.foodlex-course-body p{
    color:#555;
    line-height:1.6;
    min-height:52px;
}

.foodlex-progress-line{
    height:8px;
    background:#edf1e7;
    border-radius:20px;
    overflow:hidden;
    margin:20px 0;
}

.foodlex-progress-line span{
    display:block;
    height:100%;
    background:#55b72a;
    border-radius:20px;
}

.foodlex-course-meta{
    display:flex;
    justify-content:space-between;
    color:#555;
    font-size:14px;
    margin-bottom:20px;
}

.foodlex-course-body button{
    width:100%;
    border:1px solid #55b72a;
    background:#fff;
    color:#2f8c12;
    padding:14px;
    border-radius:12px;
    font-weight:700;
    cursor:pointer;
}
.foodlex-course-hero{
    background:#fff;
    border-radius:24px;
    padding:45px;
    margin-bottom:35px;
    box-shadow:0 10px 35px rgba(0,0,0,.05);
}

.foodlex-back-link{
    display:inline-block;
    margin-bottom:18px;
    color:#3a9c21;
    font-weight:700;
    text-decoration:none;
}

.foodlex-course-hero h1{
    font-size:42px;
    margin:0 0 15px;
    color:#08351f;
}

.foodlex-course-hero p{
    font-size:18px;
    color:#666;
    max-width:700px;
}