.boost-testimonial-slider {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: #000;
    overflow: hidden;
}

.boost-testimonial-backgrounds {
    position: absolute;
    inset: 0;
}

.boost-testimonial-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.boost-testimonial-bg.is-active {
    opacity: 1;
}

.boost-testimonial-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.5) 40%,
        rgba(0, 0, 0, 0.85) 100%
    );
}

.boost-testimonial-content {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    width: 100%;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.boost-testimonial-inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
    width: 100%;
    max-width: 750px;
}

.boost-testimonial-quotes {
    position: relative;
    width: 100%;
}

.boost-testimonial-quote-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    width: 85%;
}

.boost-testimonial-quote-wrap.is-active {
    opacity: 1;
    visibility: visible;
}

.boost-testimonial-quote {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 45.6px;
    font-weight: 400;
    line-height: 45.6px;
    letter-spacing: -2.28px;
    color: #fff;
    margin: 0;
    padding: 0;
    border: none;
}

.boost-testimonial-avatars {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    width: 100%;
}

.boost-testimonial-avatar {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 0;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.boost-testimonial-avatar:not(.is-active) {
    opacity: 0.5;
}

.boost-testimonial-avatar:not(.is-active):hover {
    opacity: 0.75;
}

.boost-testimonial-avatar.is-active {
    opacity: 1;
}

.boost-testimonial-avatar-wrap {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.boost-testimonial-avatar-img,
.boost-testimonial-avatar-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    object-fit: cover;
    display: block;
}

.boost-testimonial-avatar:not(.is-active) .boost-testimonial-avatar-img {
    filter: grayscale(100%);
}

.boost-testimonial-avatar.is-active .boost-testimonial-avatar-img {
    filter: grayscale(0%);
}

.boost-testimonial-avatar-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--e-global-color-primary, #FFB03A);
    color: #000;
    font-weight: 600;
    font-size: 1.5rem;
}

.boost-testimonial-name {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    color: #fff;
}

.boost-testimonial-sous-titre {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14.6px;
    font-weight: 400;
    line-height: 21.91px;
    text-align: center;
    color: #fff;
    opacity: 0.7;
    margin-top: 4px;
}

@media (max-width: 1024px) {
    .boost-testimonial-quote {
        font-size: clamp(24px, 4.5vw, 36px);
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .boost-testimonial-quote {
        font-size: clamp(18px, 4vw, 28px);
        line-height: 1.3;
    }

    .boost-testimonial-avatars {
        flex-wrap: wrap;
    }

    .boost-testimonial-avatar {
        min-width: 100px;
    }
}
