.cs-slider {
    --cs-columns: 4;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cs-viewport {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.cs-viewport:active {
    cursor: grabbing;
}

.cs-track {
    display: flex;
    gap: 20px;
    transition: transform .55s cubic-bezier(.22,.61,.36,1);
    will-change: transform;
}

.cs-track.is-dragging {
    transition: none;
}

.cs-item {
    flex: 0 0 calc((100% - (var(--cs-columns) - 1) * 20px) / var(--cs-columns));
    min-width: 0;
}

.cs-link {
    color: inherit;
    text-decoration: none;
    display: block;
}

.cs-image {
    width: 100%;
    height: 168px;
    overflow: hidden;
    border-radius: 16px;
    background: #eee;
}

.cs-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.cs-content {
    padding-top: 10px;
    text-align: center;
}

.cs-title {
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 2px;
}

.cs-subtitle {
    color: #eee;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
}

.cs-progress-wrap {
    width: 65%;
    margin: 28px auto 0;
}

.cs-progress-track {
    position: relative;
    width: 100%;
    height: 6px;
    overflow: hidden;
    background: #fff;
    border-radius: 10px;
}

.cs-progress-fill {
    display: block;
    width: 25%;
    height: 100%;
    background: #f5a800;
    border-radius: 10px;
    transition: width 0.3s ease;
    transition: width .55s cubic-bezier(.22,.61,.36,1);
}

@media (max-width: 1024px) {
    .cs-item {
        flex-basis: calc((100% - (var(--cs-columns) - 1) * 16px) / var(--cs-columns));
    }
}

@media (max-width: 767px) {
    .cs-item {
        flex-basis: calc((100% - (var(--cs-columns) - 1) * 12px) / var(--cs-columns));
    }

    .cs-progress-wrap {
        width: 85%;
    }
}
