.wh-smc-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    --wh-smc-per-view: 3;
}

.wh-smc-viewport {
    overflow: hidden;
    width: 100%;
}

.wh-smc-track {
    display: flex;
    gap: 24px;
    transition: transform 360ms ease;
    will-change: transform;
    align-items: flex-start;
}

.wh-smc-slide {
    min-width: 0;
}

.wh-smc-layout-equal .wh-smc-slide {
    flex: 0 0 calc((100% - (var(--wh-smc-gap-total, 48px))) / var(--wh-smc-per-view));
}

.wh-smc-layout-variable .wh-smc-slide {
    flex: 0 0 var(--wh-smc-slide-width-desktop, 360px);
    width: var(--wh-smc-slide-width-desktop, 360px);
}

.wh-smc-slide-inner {
    height: 100%;
    box-sizing: border-box;
}

.wh-smc-media-wrap {
    position: relative;
    width: 100%;
    height: 360px;
    overflow: hidden;
    background: #f4f4f4;
}

.wh-smc-media-wrap img,
.wh-smc-media-wrap video,
.wh-smc-media-wrap iframe,
.wh-smc-media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
}

.wh-smc-title {
    margin: 16px 0 0;
    padding: 0;
}

.wh-smc-description {
    margin: 8px 0 0;
    padding: 0;
}

.wh-smc-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid currentColor;
    border-radius: 999px;
    background: rgba(255,255,255,0.88);
    color: #111;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: opacity 180ms ease, transform 180ms ease;
}

.wh-smc-arrow:hover {
    transform: translateY(-50%) scale(1.04);
}

.wh-smc-arrow-prev {
    left: 12px;
}

.wh-smc-arrow-next {
    right: 12px;
}

.wh-smc-arrow:disabled {
    opacity: .35;
    cursor: not-allowed;
}

.wh-smc-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 18px;
}

.wh-smc-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: currentColor;
    opacity: .28;
    cursor: pointer;
}

.wh-smc-dot.is-active {
    opacity: 1;
}

.wh-smc-motion-marquee .wh-smc-track {
    transition: none;
    will-change: transform;
}

.wh-smc-motion-marquee .wh-smc-arrow,
.wh-smc-motion-marquee .wh-smc-dots {
    display: none;
}

.wh-smc-motion-marquee .wh-smc-slide {
    flex-shrink: 0;
}

.wh-smc-motion-marquee .wh-smc-viewport {
    cursor: grab;
    touch-action: pan-y;
}

.wh-smc-motion-marquee.is-dragging .wh-smc-viewport {
    cursor: grabbing;
}

.wh-smc-motion-marquee .wh-smc-media-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    background: transparent;
    cursor: grab;
}

.wh-smc-motion-marquee.is-dragging .wh-smc-media-wrap::after {
    cursor: grabbing;
}

@media (max-width: 1024px) {
    .wh-smc-carousel {
        --wh-smc-per-view: 2;
    }

    .wh-smc-layout-variable .wh-smc-slide {
        flex-basis: var(--wh-smc-slide-width-tablet, 320px);
        width: var(--wh-smc-slide-width-tablet, 320px);
    }
}

@media (max-width: 767px) {
    .wh-smc-carousel {
        --wh-smc-per-view: 1;
    }

    .wh-smc-layout-variable .wh-smc-slide {
        flex-basis: var(--wh-smc-slide-width-mobile, 86vw);
        width: var(--wh-smc-slide-width-mobile, 86vw);
    }

    .wh-smc-arrow {
        width: 36px;
        height: 36px;
    }
}


.wh-smc-slide-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.wh-smc-slide-link:hover,
.wh-smc-slide-link:focus {
    color: inherit;
    text-decoration: none;
}

.wh-smc-slide-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

.wh-smc-mobile-video-fallback {
    display: none !important;
}

@media (max-width: 767px) {
    .wh-smc-mobile-video-fallback-enabled .wh-smc-media-wrap video,
    .wh-smc-mobile-video-fallback-enabled .wh-smc-media-wrap iframe {
        display: none !important;
    }

    .wh-smc-mobile-video-fallback-enabled .wh-smc-media-wrap .wh-smc-mobile-video-fallback {
        display: block !important;
    }
}
