/* =========================================================
   1. LESSON TILE COMPONENT BASE
   ========================================================= */
.lesson-card {
    background-color: rgb(249, 249, 249);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 6px;
    border-radius: 12px;
    padding: 16px 32px 0;
    transition: transform 0.2s ease;
    min-height: 280px; /* Reduced from 350px */
}

.lesson-tile {
    background-color: rgb(249, 249, 249);
    box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 6px;
    min-height: 280px; /* Reduced from 350px */
    padding: 16px 32px 60px 32px;
    border-radius: 14px;
    position: relative;
    height: 100%;
    box-sizing: border-box;
}

.lesson-card .lesson-tile {
    box-shadow: none;
    padding: 0 0 60px 0;
}

.lesson-tile .title {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.lesson-title {
    min-height: 65px; /* Reduced from 90px */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.lesson-tile .summary {
    color: rgb(149, 171, 185);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    padding-top: 12px;
    border-top: 1px solid #888;
    margin-top: 12px;
}

.lesson-tile .grades {
    display: flex;
    gap: 4px;
    color: rgb(72, 48, 143);
    font-size: 14px;
    position: absolute;
    bottom: 20px;
    width: 90%;
}

.video-icon {
    opacity: 1;
    position: absolute;
    z-index: 2;
    bottom: 6px;
    right: 0;
}