.course-card {
    display: flex;
    min-height: 405px;
    flex-direction: column;
    padding: 25px;
}

.course-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.course-label {
    padding: 6px 9px;
    border-radius: 20px;
    color: #64748b;
    background: #f1f5f8;
    font-size: .55rem;
    font-weight: 750;
    white-space: nowrap;
}

.course-card h3 {
    min-height: 52px;
    margin: 22px 0 9px;
    font-size: 1.05rem;
    line-height: 1.35;
}

.course-card p {
    min-height: 73px;
    margin: 0;
}

.course-points {
    display: grid;
    gap: 9px;
    margin: 15px 0 23px;
    padding: 0;
    list-style: none;
}

.course-points li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #3d4f65;
    font-size: .62rem;
    font-weight: 650;
}

.course-points li span {
    display: grid;
    place-items: center;
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    color: #087ef5;
    background: #eaf4ff;
    font-size: .56rem;
}

.course-card .course-details-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 12px 14px;
    border-radius: 11px;
    color: #fff;
    background: #087ef5;
}

.course-card .course-details-link:hover {
    color: #fff;
    background: #066ed8;
}

html[data-bs-theme="dark"] .course-label {
    color: #a9bbcc;
    background: #172e42;
}

html[data-bs-theme="dark"] .course-points li {
    color: #c2d1df;
}

html[data-bs-theme="dark"] .course-points li span {
    color: #58d9ef;
    background: #17334a;
}

@media (max-width: 600px) {
    .course-card {
        min-height: auto;
    }

    .course-card h3,
    .course-card p {
        min-height: auto;
    }
}
