﻿.course-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

    /*.course-card .member-img img {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }*/
    .course-card .member-img {
        height: 180px;
        background: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .course-card .member-img img {
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
        }

    /*.course-card .member-img {
        height: 220px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

        .course-card .member-img img {
            width: 100%;
            height: auto;
            display: block;
        }*/


    .course-card .member-info {
        flex: 1;
        padding: 18px;
    }

        .course-card .member-info h4 {
            min-height: 52px;
        }

.course-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* adjust 2,3,4 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 68px;
}

.course-rating {
    color: #ffc107;
    font-size: 14px;
}

.course-card .btn {
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.course-card .btn-magenta {
    background: #361A33;
    color: #fff;
    border: none;
}

    .course-card .btn-magenta:hover {
        background: #4d2448;
        color: #fff;
    }
