/* Course meta styling */
ul.rbt-meta {
    margin-bottom: 20px;
}

.course-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.course-price-section {
    flex: 1;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: #374151;
    line-height: 1;
}

.old-price {
    font-size: 14px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--color-primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.2);
    border: none;
    cursor: pointer;
}

.btn-learn-more:hover {
    background: var(--color-primary);
    opacity: 0.9;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-learn-more .btn-text {
    font-weight: 600;
}

.btn-learn-more i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.btn-learn-more:hover i {
    transform: translateX(2px);
}

@media (max-width: 768px) {
    .course-footer {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .btn-learn-more {
        justify-content: center;
        width: 100%;
    }
    
    .current-price {
        font-size: 18px;
    }
}
