#hero{
    background: #152C36;
    padding: 50px 0;
}

#hero h1{
    color: #fff;
    font-family: 'VAGRoundedLTProLight';
}

#courses{
    padding: 50px 0 0;
}
#courses .inner{
    position: relative;
    border-radius: 5px;
    border: 1px solid #C8C8C8;
    height: 100%;
    display: flex; 
    flex-direction: column;
}

#courses .inner .top{
    border-bottom: 1px solid #C8C8C8;
    height: 251px;
}

#courses .inner .bottom{
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
#courses .top img {
    height: 100%;
    width: auto;
    margin: 0 auto;
    display: block;
    object-fit: cover;
}
#courses h3{
    text-align: center;
    font-size: 20px;
}

#courses .learndash-wrapper .ld-secondary-background{
    background-color: #EC6097!important;
}

#courses .learndash-wrapper .ld-progress .ld-progress-heading{
    margin: 15px auto;
}

#courses .btn-primary{
    margin: 0 auto;
    background: #FFF3F8!important;
    border: 2px solid #EB6097!important;
    color: #152C36!important;
    padding-top: 9px!important;
    font-weight: 400!important;
    line-height: 1.5!important;
    color: #212529!important;
    text-align: center!important;
    text-decoration: none!important;
    vertical-align: middle!important;
    cursor: pointer!important;
    -webkit-user-select: none!important;
    -moz-user-select: none!important;
    user-select: none!important;
    background-color: transparent!important;
    padding: .375rem .75rem!important;
    border-radius: .25rem!important;
    transition: color .15s!important;
    height: 48px!important;
    font-family: 'VAGRoundedLTProBold'!important;
    display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    min-width: 220px!important;
    max-width: fit-content!important;
    font-size: 1rem!important;
}

#courses .meta{
    display: flex;
    justify-content: space-between;
    font-family: 'VAGRoundedLTProLight';
    margin-bottom: 10px;
    font-size: 14px;
}

#courses .desc{
    text-align: center;
    margin-bottom: 20px
}
#courses .ribbon{
    font-size: 15px;
  font-weight: 600;
  color: #fff;
  --f: .5em; /* control the folded part*/
  --r: .5em; /* control the ribbon shape */
  position: absolute;
  top: 18px;
  right: calc(-1*var(--f));
  padding-inline: .65em;
  line-height: 1.8;
  background: #EC6097;
  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;
}

@media(max-width: 1400px){
    #courses .inner .top{
        border-bottom: 1px solid #C8C8C8;
        height: 180px;
    }
}