.vkts,
.vkts * {
    box-sizing: border-box;
}

.vkts {
    --vkts-bg: #f9fafb;
    --vkts-accent: #03a9f4;
    --vkts-title: #01013c;
    width: 100%;
    overflow: hidden;
    padding: 96px 24px;
    background: color-mix(in srgb, var(--vkts-bg) 50%, transparent);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.vkts__container {
    width: min(100%, 1152px);
    margin: 0 auto;
}

.vkts__header {
    margin: 0 auto 48px;
    text-align: center;
}

.vkts__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    padding: 6px 16px;
    border-radius: 999px;
    background: #e1f5fe;
    color: var(--vkts-accent);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
}

.vkts__title {
    margin: 0 0 16px;
    color: var(--vkts-title);
    font-size: clamp(30px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

.vkts__stars {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 8px;
    color: #facc15;
}

.vkts__star {
    width: 20px;
    height: 20px;
    fill: currentColor;
    color: #facc15;
}

.vkts__subtitle {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.5;
}

.vkts__empty {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 22px 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    color: #6b7280;
    font-size: 15px;
    text-align: center;
}

.vkts__columns {
    display: flex;
    justify-content: center;
    gap: 24px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}

.vkts__column {
    width: min(100%, 320px);
    flex: 0 1 320px;
    overflow: hidden;
}

.vkts__track {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-bottom: 24px;
    animation: vkts-scroll var(--vkts-duration, 17s) linear infinite;
    will-change: transform;
}

.vkts__column:hover .vkts__track {
    animation-play-state: paused;
}

.vkts__card {
    width: 100%;
    max-width: 320px;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
    transition: box-shadow .18s ease, transform .18s ease;
}

.vkts__card:hover {
    box-shadow: 0 10px 24px rgba(15, 23, 42, .08);
    transform: translateY(-1px);
}

.vkts__photo {
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.vkts__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vkts__card-body {
    padding: 20px;
}

.vkts__card-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
    color: #facc15;
}

.vkts__card-stars .vkts__star {
    width: 16px;
    height: 16px;
}

.vkts__quote {
    margin: 0;
    color: #374151;
    font-size: 14px;
    line-height: 1.625;
}

.vkts__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    min-width: 0;
}

.vkts__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 999px;
    background: var(--vkts-title);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.vkts__author span:last-child {
    display: grid;
    min-width: 0;
}

.vkts__author strong,
.vkts__author small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vkts__author strong {
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.42;
}

.vkts__author small {
    color: #6b7280;
    font-size: 12px;
    line-height: 1.66;
}

@keyframes vkts-scroll {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-50%);
    }
}

@media (max-width: 1023px) {
    .vkts__column--3 {
        display: none;
    }
}

@media (max-width: 767px) {
    .vkts {
        padding: 72px 20px;
    }

    .vkts__header {
        margin-bottom: 36px;
    }

    .vkts__column--1,
    .vkts__column--3 {
        display: none;
    }

    .vkts__columns {
        gap: 0;
    }

    .vkts__column {
        flex-basis: 320px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vkts__track {
        animation: none;
    }
}
