.rjs-wrap {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 22px 0;
    background: #f7f7f7;
}

.rjs-track {
    display: flex;
    align-items: stretch;
    gap: 22px;
    width: max-content;
    animation: rjs-scroll 18s linear infinite;
    will-change: transform;
}

.rjs-copy {
    display: flex;
    align-items: stretch;
    gap: 22px;
}

.rjs-wrap:hover .rjs-track {
    animation-play-state: paused;
}

.rjs-card {
    display: flex;
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    box-sizing: border-box;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    padding: 14px;
    color: #222 !important;
    text-decoration: none !important;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
    transition: transform .25s ease, box-shadow .25s ease;
}

.rjs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
}

.rjs-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 178px;
    overflow: hidden;
    border-radius: 10px;
    background: #eef1f4;
}

.rjs-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.rjs-placeholder {
    font-size: 54px;
    font-weight: 700;
    color: #8a94a3;
    text-transform: uppercase;
}

.rjs-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    color: #222;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: normal;
}

@keyframes rjs-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }
    to {
        transform: translate3d(calc(-50% - 11px), 0, 0);
    }
}

@media (max-width: 600px) {
    .rjs-track,
    .rjs-copy {
        gap: 16px;
    }

    .rjs-card {
        flex-basis: 230px;
        width: 230px;
        min-width: 230px;
        max-width: 230px;
        padding: 12px;
    }

    .rjs-thumb {
        height: 150px;
    }

    .rjs-title {
        font-size: 16px;
    }

    @keyframes rjs-scroll {
        from {
            transform: translate3d(0, 0, 0);
        }
        to {
            transform: translate3d(calc(-50% - 8px), 0, 0);
        }
    }
}
