.gallery .cbp-l-grid-mosaic .cbp-item { padding-bottom: 1px; }

.v2-course-card {
    background: #fff;
    border: 1px solid #ececf0;
    box-shadow: 0 15px 35px rgba(32, 32, 32, .08);
    height: 100%;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.v2-course-card:hover {
    box-shadow: 0 22px 45px rgba(32, 32, 32, .14);
    transform: translateY(-6px);
}

.v2-course-image {
    display: block;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.v2-course-image img {
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    width: 100%;
}

.v2-course-card:hover .v2-course-image img { transform: scale(1.04); }

.v2-course-capacity {
    align-items: center;
    background: #fa2851;
    color: #fff;
    display: flex;
    font: 800 10px/1 "Raleway", sans-serif;
    height: 39px;
    justify-content: center;
    left: 0;
    min-width: 43px;
    padding: 0 10px;
    position: absolute;
    top: 0;
    width: auto;
    z-index: 1;
}

.v2-course-duration {
    background: #ffc107;
    bottom: 16px;
    color: #202020;
    font: 500 13px/1 "Roboto", sans-serif;
    left: 16px;
    padding: 10px 13px;
    position: absolute;
}

.v2-course-content { padding: 25px; }

.v2-course-title {
    color: #202020;
    display: block;
    font: 700 24px/1.3 "Raleway", sans-serif;
    min-height: 62px;
}

.v2-course-title:hover { color: #fa2851; }

.v2-course-batch { margin: 12px 0 0; }
.v2-course-batch > p { color: #777; font: 400 13px/16px "Roboto", sans-serif; margin: 0 !important; }
.v2-course-batch > p + p { margin-top: 3px !important; }
.v2-course-batch i { color: #fa2851; margin-right: 5px; }
.v2-course-batch strong { color: #202020; font-weight: 600; }

.v2-course-meta {
    border-bottom: 1px solid #e7e7e7;
    display: flex;
    gap: 22px;
    list-style: none;
    margin: 20px 0;
    padding: 0 0 18px;
}

.v2-course-meta li {
    color: #777;
    font: 400 14px/1.4 "Roboto", sans-serif;
}

.v2-course-meta i { color: #fa2851; margin-right: 5px; }

.v2-course-footer {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.v2-add-cart {
    background: #fa2851;
    border: 1px solid #fa2851;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font: 500 14px/1 "Raleway", sans-serif;
    padding: 12px 19px;
}

.v2-add-cart:hover,
.v2-add-cart:focus { background: #202020; border-color: #202020; color: #fff; }
.v2-add-cart:disabled { cursor: wait; opacity: .65; }

.v2-course-price { align-items: flex-end; display: flex; flex-direction: column; margin: 0; }
.v2-course-price del { color: #888; font-size: 13px; }
.v2-course-price strong { color: #202020; font: 700 20px/1.3 "Raleway", sans-serif; }
.v2-courses-empty { color: #777; font: 400 18px/1.6 "Roboto", sans-serif; padding: 40px 0; }

.v2-course-toast {
    background: #202020;
    border-left: 5px solid #ffc107;
    bottom: 25px;
    color: #fff;
    font: 400 15px/1.4 "Roboto", sans-serif;
    max-width: calc(100% - 40px);
    opacity: 0;
    padding: 15px 20px;
    pointer-events: none;
    position: fixed;
    right: 25px;
    transform: translateY(15px);
    transition: .25s ease;
    z-index: 10000;
}

.v2-course-toast.is-visible { opacity: 1; transform: translateY(0); }
.v2-course-toast.is-error { border-left-color: #fa2851; }

@media (max-width: 767.98px) {
    .v2-course-image { height: 245px; }
    .v2-course-title { font-size: 21px; min-height: auto; }
    .v2-course-meta { flex-direction: column; gap: 7px; }
}
