#courses {
    padding: 50px 0 0;
    background: var(--bg-color);
}
#courses .inner {
    position: relative;
    border-radius: 15px;
    border: 1px solid #C8C8C8;
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

#courses .inner .top {
    border-bottom: 1px solid #C8C8C8;
    height: 120px;
    background: #E5F5FE;
    border-color: #81D2FF;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px 15px 0 0;
}
#courses .accreditation-wrap {
    border-radius: 15px;
    border: solid 1px #ccc;
    position: absolute;
    top: 10px;
    left: 10px;
    width: 60px !important;
    height: 60px !important;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
#courses .inner .bottom {
    padding: 0 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#courses .top img {
    height: 80%;
    width: auto;
    margin: 0 5px;
    display: block;
    object-fit: cover;
}
#courses h3 {
    text-align: center;
    font-size: 20px;
}

#courses .learndash-wrapper .ld-secondary-background {
    background-color: var(--secondary-color)!important;
}

#courses .learndash-wrapper .ld-progress .ld-progress-heading {
    margin: 15px auto;
}

#courses .btn-primary {
    margin: 0 auto;
    padding: 0;
    font-weight: 600;
    background: var(--secondary-color);
    color: #fff;
}
#courses .btn-primary:hover {
    background: #fff !important;
    color: #000 !important;
}

#courses .meta {
    display: flex;
    justify-content: space-between;
    font-family: 'VAGRoundedLTProLight';
    margin-bottom: 10px;
    font-size: 14px;
    flex-wrap: wrap;
    margin-top: 10px;
    font-weight: 600;
}

#courses .desc {
    text-align: center;
    margin: 20px 0;
}
[aria-label=" 0 out of 5 stars "] {
    display: none !important;
}
#courses .ribbon {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    --f: 0.5em;
    /* control the folded part*/
    --r: 0.5em;
    /* control the ribbon shape */
    position: absolute;
    top: 18px;
    right: calc(-1*var(--f));
    padding-inline: 0.65em;
    line-height: 1.8;
    background: var(--secondary-color);
    border-bottom: var(--f) solid #0005;
    border-left: var(--r) solid #0000;
    clip-path: polygon(0 0,100% 0,100% calc(100% - var(--f)),calc(100% - var(--f)) 100%, calc(100% - var(--f)) calc(100% - var(--f)),0 calc(100% - var(--f)), var(--r) calc(50% - var(--f)/2));
}
#courses .ribbon.completed {
    background: #94C1A0;
}
.course {
    color: #000;
}
#courses .title h3 {
    margin-bottom: 0;
}

@media(max-width: 1400px) {
    #courses .inner .top {
        border-bottom: 1px solid #C8C8C8;
        height: 180px;
    }
}
