.carousel-outer-wrapper {
    position: relative;
}

.car-cell {
    position: relative;
}

.car-cell a {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.car-cell img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: auto !important;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    transition: transform 0.6s cubic-bezier(0.61, 1, 0.88, 1);
    transform-origin: center;
    z-index: 10;
}

.car-cell:hover img {
    transform: translate(-50%, -50%) scale(0.95);
}

.car-cell img {
    max-width: 80%;
    max-height: 80%;
}

/* Track layout (scroll-snap) is shared with the homepage sliders in styles/wedoo.css */
.carousel-wrapper {
    --per-view: var(--items, 1);
    column-gap: 10px;
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * 10px) / var(--per-view));
}

@media only screen and (max-width: 768px) {
    .carousel-wrapper {
        --per-view: 1;
    }
}

.slide-title {
    position: absolute;
    z-index: 10;
    bottom: 0;
    width: 100%;
    padding: 10px 20px;
    text-align: center;
}

.slide-title h4 {
    margin: 0;
}