

.course-list {
    /* display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-gap: 20px; */
    /* margin-top: 20px; */
}
.course:hover {
    transform: translateY(-5px);
}

.course {
    background-color: #f9f4f4;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 5px;
    transition: transform 0.3s ease;    
    height: 340px;
    margin-top: 15px;     
    width: 300px;   
}

.course:hover {
    transform: translateY(-5px);
}

.course img {
    width: 100%;
    height: 200px;
    border-radius: 5px;
}

.course h4{
    margin: 8px;
    font-size:16px;
    font-weight: 800;
}
.course span {
    margin: 8px;
    font-weight: 800;
}

.course .course-content {
    color: #777;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.4;
    margin: 8px;
    font-size:12px;

    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
            line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.course-link
{
    position: relative;
    display: inline-flex;
    flex-direction: column;
    float: right;
    background-color: #485664;
    height: 25px;
    padding: 0 5px 0 10px;
    border-radius: 4px;
    justify-content: center;
}

.course-link a{
    color: #fff;
}

.owl-carousel .owl-nav {
  opacity: 1 !important;
}

.price-tag {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    height: 25px;
    margin-left: 10px;
    padding: 0 5px 0 10px;
    color: #fff;
    border-radius: 0 4px 4px 0;
    background-color: #485664;
    line-height: 1;
    justify-content: center;
  }
  .price-tag::before, .price-tag::after {
    position: absolute;
    content: '';
  }
  .price-tag::before {
    left: -7px;
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    border-radius: 0 0 0 4px;
    background-color: #485664;
  }
  .price-tag::after {
    z-index: 1;
    top: 50%;
    left: -10px;
    width: 6px;
    height: 6px;
    transform: translate(-50%, -50%) translateX(10px);
    border-radius: 5px;
    background-color: #fff;
  }
  .price-tag__main {
    font-size: 1.15em;
    font-weight: bold;
  }
  .price-tag__main ~ * {
    opacity: 0.85;
  }
  .price-tag span {
    position: relative;
    z-index: 1;
  }
  .price-tag--two-lines {
    margin-left: 20px;
    height: 40px;
  }
  .price-tag--two-lines::before {
    left: -14px;
    width: 28px;
    height: 28px;
  }
  .price-tag--two-lines::after {
    transform: translate(-50%, -50%) translateX(10px) scale(2);
  }
  .price-tag--one-line {
    flex-direction: row;
    align-items: center;
  }
  .price-tag--one-line span:not(:first-child)::before {
    content: ', ';
  }
  

  

  