/* Valued Clients — 5 columns x 4 rows grid (Tailwind-purge-proof) */

.vcs-slide-grid {
    display: grid;
    width: 100%;
    gap: 16px;
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(4, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .vcs-slide-grid {
        gap: 24px;
    }
}

@media (min-width: 1024px) {
    .vcs-slide-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

.clients-swiper-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .clients-swiper-mobile {
        display: none;
    }

    .clients-swiper-desktop {
        display: block;
    }
}

.clients-swiper .swiper-slide {
    overflow: hidden;
}

.vcs-slide-grid .vcs-card--placeholder {
	background-color: transparent;
	visibility: hidden;
}

.vcs-slide-grid .vcs-card {
    display: flex;
    height: 88px;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background-color: #f4f4f4;
}

.vcs-slide-grid .vcs-card img {
    max-width: 90%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

/* Progress bar — mirrors the green line in the original design.
   Overrides Swiper's default `position: absolute`, which needs a
   `position: relative` ancestor it doesn't have in this markup. */
.vcs-progress.swiper-pagination-progressbar {
    position: relative;
    top: auto;
    left: auto;
    margin: 40px auto 0;
    width: 100%;
    max-width: 494px;
    height: 3px;
    background: #e3e3e3;
    border-radius: 999px;
    overflow: hidden;
}

.vcs-progress .swiper-pagination-progressbar-fill {
    background: #3aaa35;
    border-radius: 999px;
}

@media(max-width:640px){
    .vcs-slide-grid .vcs-card img{
        max-width: 80%;
        object-fit: contain;
        mix-blend-mode: multiply;
    }
}