#primary section.client {
    padding-top: 60px;
    padding-bottom: 120px;
    position: relative;
}

.client__light {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.client__head {
    display: flex;
    gap: 80px;
    align-items: baseline;
}

.client__description {
    font-weight: 300;
    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0;
}

.client__paragraph {
    display: flex;
    align-items: center;
    min-width: 326px;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
}

.client__content {
    display: flex;
    gap: 24px;
    margin-top: 80px;
    position: relative;
    z-index: 2;
}

.client__item {
    flex: 1 1 0;
    min-width: 0;
}

.client__item-title {
    font-weight: 300;
    font-size: 18px;
    line-height: 120%;
    letter-spacing: 0;
    margin: 0 0 16px;
}

.client__item-media--image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 4px solid #ffffff66;
    box-sizing: border-box;
}

.client__item-media--image img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: 0;
    border: 0;
    box-sizing: border-box;
}

.client__item-marquee {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    overflow: hidden;
    padding: 6px 0;
    background: var(--client-marquee-bg, #6b5ce0);
    color: var(--client-marquee-color, #ffffff);
    pointer-events: none;
}

.client__item-marquee-track {
    display: flex;
    width: max-content;
    animation: client-item-marquee 80s linear infinite;
}

.client__item-marquee-group {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-right: 24px;
    flex-shrink: 0;
}

.client__item-marquee-word {
    letter-spacing: 0;
    white-space: nowrap;
    color: inherit;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
}

@keyframes client-item-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.client__item-media--video {
    position: relative;
    width: 100%;
    aspect-ratio: 660 / 429;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
}

.client__item-media--video .client__item-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 0;
    border-radius: 0;
}

.client__item-plate {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    background: var(--client-plate-bg, #6b5ce0);
    color: var(--client-plate-color, #ffffff);
    padding: 6px 16px;
    box-sizing: border-box;
}

.client__item-plate-text {
    margin: 0;
    color: inherit;
    font-weight: 500;
    font-size: 14px;
    line-height: 120%;
    letter-spacing: 0;
}

.client__item:nth-child(1) .client__item-media img {
    max-height: 495px;
}

.client__item:nth-child(2) .client__item-media img {
    max-height: 452px;
}

.client__item:nth-child(2) {
    margin-top: 80px;
}

@media screen and (max-width: 920px) {
    .client__content {
        flex-direction: column;
        align-items: center;
        margin-top: 24px;
    }

    .client__item {
        width: 100%;
    }

    .client__item:nth-child(2) {
        margin-top: 0;
    }

    .client__head {
        flex-direction: column;
        gap: 20px;
    }
}

@media screen and (max-width: 768px) {
    #primary section.client {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .client__paragraph {
        font-size: 16px;
    }

    .client__description {
        font-size: 14px;
    }

    .client__item-title {
        font-size: 14px;
    }

    .client__item-marquee-word {
        font-size: 12px;
    }

    .client__item-marquee-group {
        gap: 16px;
        padding-right: 16px;
    }
}
