.vm-home-workshops {
    clear: both;
    width: 100%;
    padding: 90px 0;
    overflow: hidden;
    background: #f6f9ff;
}

.vm-home-workshops .container {
    width: min(1200px, calc(100% - 32px));
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

.vm-home-workshops .section-title {
    max-width: 760px;
    margin: 0 auto 44px;
    text-align: center;
}

.vm-home-workshops .workshop-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px !important;
    align-items: stretch;
    justify-content: start;
    width: 100%;
}

.vm-home-workshops .workshop-card-body > p {
    word-break: break-word;
}

@media (min-width: 1200px) {
    .vm-home-workshops .container {
        width: min(1170px, calc(100% - 32px));
        max-width: 1170px;
    }

    .vm-home-workshops .workshop-grid {
        gap: 30px !important;
        grid-template-columns: repeat(3, minmax(0, 370px));
    }
}

.vm-home-workshops .workshop-card {
    display: flex !important;
    flex-direction: column;
    grid-template-rows: 220px minmax(0, 1fr);
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e1e8f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(25, 55, 95, .1);
}

.vm-home-workshops .workshop-card-image {
    display: flex !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #eef3f9;
    text-decoration: none;
    flex-shrink: 0;
}

.vm-home-workshops .workshop-card-image img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
    object-position: center;
}

.vm-home-workshops .workshop-card-body {
    display: flex !important;
    min-width: 0;
    padding: 26px !important;
    flex: 1 1 auto;
    flex-direction: column;
}

.vm-home-workshops .workshop-card h3 {
    display: -webkit-box;
    min-height: 2.8em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vm-home-workshops .workshop-card-body > p {
    display: -webkit-box;
    min-height: 4.8em;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.vm-home-workshops .workshop-meta {
    margin-top: auto;
}

.vm-home-workshops .workshop-actions {
    display: flex !important;
    margin-top: 22px !important;
    gap: 12px !important;
    flex-wrap: wrap;
}

.vm-home-workshops .workshop-home-footer {
    margin-top: 36px;
    text-align: center;
}

@media (max-width: 991px) {
    .vm-home-workshops .workshop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .vm-home-workshops {
        padding: 64px 0;
    }

    .vm-home-workshops .workshop-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vm-home-workshops .workshop-card {
        grid-template-rows: 200px minmax(0, 1fr);
    }

    .vm-home-workshops .workshop-card-image {
        height: 200px !important;
        min-height: 200px;
    }
}
