.hero-marquee {
    text-align: center;
    overflow: hidden;
}

.hero-marquee .line-1,
.hero-marquee .line-2 {
    display: inline-block;
    white-space: nowrap;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.wss-testimonials-scope {
    --wss-testimonials-background: var(--enfold-main-color-presta-bg, #f6f2ed);
    --wss-testimonials-card-width: clamp(250px, 28vw, 320px);
    --wss-testimonials-fade-width: 33%;
    --wss-testimonials-fade-width-mobile: 10%;
}

.wss-testimonials-scope .wss-testimonials-marquee {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 16px;
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.wss-testimonials-scope .wss-testimonials-marquee::-webkit-scrollbar {
    display: none;
}

.wss-testimonials-scope .wss-testimonials-marquee::before,
.wss-testimonials-scope .wss-testimonials-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    z-index: 1;
    width: var(--wss-testimonials-fade-width);
    height: 100%;
    pointer-events: none;
}

.wss-testimonials-scope .wss-testimonials-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--wss-testimonials-background) 5%, transparent);
}

.wss-testimonials-scope .wss-testimonials-marquee::after {
    right: 0;
    background: linear-gradient(-90deg, var(--wss-testimonials-background) 5%, transparent);
}

.wss-testimonials-scope .wss-track,
.wss-testimonials-scope .wss-segment {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: stretch;
    will-change: transform;
}

.wss-testimonials-scope .wss-marquee-item {
    display: flex;
    margin: 0;
}

.wss-testimonials-scope .wss-testimonials-marquee .rpi-review {
    box-sizing: border-box;
    width: var(--wss-testimonials-card-width) !important;
    display: flex;
    flex-direction: column;
    height: auto !important;
    position: relative;
}

.wss-testimonials-scope .wss-testimonials-marquee .rpi-review * {
    margin-top: 0;
}

.wss-testimonials-scope .wss-testimonials-marquee .rpi-review .content {
    display: flex;
    padding: 0;
    flex-wrap: wrap;
    position: relative;
    column-gap: 10px;
}

.wss-testimonials-scope .wss-testimonials-marquee .rpi-review .info {
    display: flex;
    gap: 3px;
    flex-direction: column;
}

.wss-testimonials-scope .wss-testimonials-marquee .rpi-review a.badge-logo {
    position: absolute;
    right: 0;
}

@media only screen and (max-width: 768px) {
    .wss-testimonials-scope .wss-testimonials-marquee::before,
    .wss-testimonials-scope .wss-testimonials-marquee::after {
        width: var(--wss-testimonials-fade-width-mobile);
    }
}

.wss-text-marquee-host {
    --wss-text-marquee-gap: 48px;
    overflow: hidden;
}

.wss-text-marquee {
    display: grid;
    gap: clamp(10px, 1.8vw, 20px);
}

.wss-text-marquee__row {
    overflow: hidden;
    width: 100%;
}

.wss-text-marquee__track,
.wss-text-marquee__segment {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    will-change: transform;
}

.wss-text-marquee__item {
    display: inline-flex;
    align-items: center;
    gap: clamp(12px, 1.6vw, 24px);
    padding-right: var(--wss-text-marquee-gap);
    white-space: nowrap;
}

.wss-text-marquee__separator {
    opacity: 0.55;
}

.wss-text-marquee.is-reduced-motion .wss-text-marquee__row,
.wss-text-marquee__row.is-static {
    overflow: visible;
}

.wss-text-marquee.is-reduced-motion .wss-text-marquee__track,
.wss-text-marquee__row.is-static .wss-text-marquee__track {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wss-text-marquee.is-reduced-motion .wss-text-marquee__segment,
.wss-text-marquee__row.is-static .wss-text-marquee__segment {
    white-space: normal;
}
