/* ============ Courses Section ============ */
.courses-section {
    background: linear-gradient(180deg, #FFF8F0 0%, #FFEBD6 100%)
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 48px
}

.course-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
    border: 1px solid rgba(244, 162, 97, .2);
    position: relative;
    display: flex;
    flex-direction: column
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(230, 57, 70, .12)
}

.course-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0
}

.course-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s
}

.course-card:hover .course-card-img img {
    transform: scale(1.08)
}

.course-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #E63946;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px
}

.course-tag.gold {
    background: #D4841A
}

.course-tag.purple {
    background: #7B2CBF
}

.course-tag.blue {
    background: #457B9D
}

.course-tag.green {
    background: #2A9D8F
}

.course-tag.teal {
    background: #0D9488
}

.course-card-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column
}

.course-category {
    font-size: 12px;
    color: #D4841A;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: .5px
}

.course-name {
    font-size: 18px;
    font-weight: 900;
    color: #2B1D14;
    margin-bottom: 10px;
    line-height: 1.3;
    min-height: 46px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.course-content-label {
    font-size: 11px;
    font-weight: 700;
    color: #6B5B4D;
    margin-bottom: 4px;
    letter-spacing: .5px
}

.course-content {
    font-size: 13px;
    color: #2B1D14;
    margin-bottom: 12px;
    line-height: 1.5;
    min-height: 58px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.course-features-label {
    font-size: 11px;
    font-weight: 700;
    color: #6B5B4D;
    margin-bottom: 6px;
    letter-spacing: .5px
}

.course-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
    min-height: 52px
}

.course-feature {
    font-size: 11px;
    font-weight: 600;
    color: #E63946;
    background: rgba(230, 57, 70, .08);
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid rgba(230, 57, 70, .15)
}

.course-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed rgba(244, 162, 97, .3)
}

.course-price {
    font-size: 26px;
    font-weight: 900;
    color: #E63946
}

.course-price sup {
    font-size: 14px;
    font-weight: 700
}

.course-original {
    font-size: 13px;
    color: #999;
    text-decoration: line-through
}

.course-note {
    font-size: 11px;
    color: #D4841A;
    background: #FDE2B8;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600
}

.course-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #E63946, #B82633);
    color: #fff;
    padding: 12px 0;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    transition: all .2s;
    flex-shrink: 0;
    text-decoration: none
}

.course-btn:hover {
    opacity: .9;
    transform: scale(1.02)
}

/* ÏìÓ¦Ê½ */
@media(max-width:768px) {
    .courses-grid {
        grid-template-columns: 1fr
    }
}