.pb-testimonial-slider {
   /* --pb-card-bg: #FDF0C2;
    --pb-card-text: #1f1d17;
    --pb-card-muted: rgba(31, 29, 23, 0.72);
    --pb-card-bg-active:#FDF0C2;
    --pb-card-bg-prev:#4f6f58;
    --pb-card-bg-next:#efbb2d;*/
    position: relative;
    max-width: 1080px;
    /*margin: 0 auto;  overflow: hidden;*/
    padding: 30px;

}
/*.is-active > .pb-card{*/
/*    background: var(--pb-card-bg-active);*/
/*}*/
/*.is-prev > .pb-card{*/
/*    background: var(--pb-card-bg-prev);*/
/*}*/
/*.is-next > .pb-card{*/
/*    background: var(--pb-card-bg-next);*/
/*}*/

.pb-slider-track {
    position: relative;
    min-height: 540px;
}

.pb-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 24px, 0) scale(0.92);
    transition: transform 0.55s ease, opacity 0.4s ease;
}

.pb-slide.is-active,
.pb-slide.is-prev,
.pb-slide.is-next {
    opacity: 1;
}

.pb-slide.is-active {
    z-index: 3;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
}

.pb-slide.is-prev {
    z-index: 1;
    transform: translate3d(-22%, 14px, 0) scale(0.8);
}


.pb-slide.is-next {
    z-index: 2;
    transform: translate3d(-12%, 12px, 0) scale(0.9);
}

.pb-card {
    position: relative;
    width: min(100%, 760px);
    min-height: 460px;
    padding: 42px 60px 34px;
    border-radius: 32px;
    background: var(--pb-card-bg);
    color: var(--pb-card-text);
    /*box-shadow: 0 26px 60px rgba(28, 31, 25, 0.16);*/
    transition: background-color 0.45s ease, color 0.45s ease, box-shadow 0.45s ease;
}

.pb-card::before,
.pb-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 32px;
    z-index: -1;
    transition: transform 0.55s ease, opacity 0.45s ease, background-color 0.45s ease;
}
/*
.pb-card::before {
    background: rgba(79, 111, 88, 0.32);
    transform: translate(-18px, 18px);
}
.pb-card::after {
    background: rgba(239, 187, 45, 0.38);
    transform: translate(18px, 34px);
}
.pb-slide.is-prev .pb-card {
    box-shadow: 0 18px 40px rgba(28, 31, 25, 0.11);
}
.pb-slide.is-next .pb-card {
    box-shadow: 0 20px 46px rgba(28, 31, 25, 0.13);
}
*/

.pb-slide.is-prev .pb-card::before,
.pb-slide.is-next .pb-card::before,
.pb-slide.is-prev .pb-card::after,
.pb-slide.is-next .pb-card::after {
    opacity: 0.75;
}

.pb-logo-wrap {
    display: inline-flex;
    align-items: center;
    min-height: 62px;
    margin-bottom: 28px;
}

.pb-logo {
    display: block;
    max-width: 180px;
    max-height: 58px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.pb-content {
    font-size: 1.1rem;
    line-height: 1.75;
}

.pb-content p:last-child {
    margin-bottom: 0;
}

.pb-divider {
    margin: 34px 0 22px;
    border-top: 1px solid rgba(31, 29, 23, 0.18);
}

.pb-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pb-author-name {
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.pb-author-role {
    color: var(--pb-card-muted);
    font-size: 0.96rem;
}

.pb-nav {
    position: absolute;
    right: 0px;
    bottom: 0px;
    z-index: 4;
    display: flex;
    gap: 12px;
    background: #fffce7;
    padding: 20px 30px 10px 20px;
    border-top-left-radius: 20px;
}
/* ombre */
.pb-nav::before,
.pb-nav::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background: transparent;
}

.pb-nav::before {
    bottom: 5px;
    left: -37px;
    border-bottom-right-radius: 40px;
    box-shadow: 15px 5px 0 #fffce7;
}

.pb-nav::after {
    top: -40px;
    right: 30px;
    border-bottom-right-radius: 20px;
    box-shadow: 10px 10px 0 #fffce7;
}
/**/
.pb-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: #1f1d17;
    color: #f7f1df;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.25s ease, color 0.25s ease;
}

.pb-arrow:hover,
.pb-arrow:focus-visible {
    transform: translateY(-2px);
    background: #11100d;
    outline: none;
}

.pb-testimonial-slider.is-tone-dark .pb-arrow {
    background: #f4ebd4;
    color: #233227;
}

.pb-testimonial-slider.is-tone-dark .pb-arrow:hover,
.pb-testimonial-slider.is-tone-dark .pb-arrow:focus-visible {
    background: #ffffff;
}

@media (max-width: 900px) {
    .pb-testimonial-slider {
        padding: 20px 18px 86px;
    }

    .pb-slider-track {
        min-height: 500px;
    }

    .pb-slide.is-prev {
        transform: translate3d(-8%, 10px, 0) scale(0.94);
    }

    .pb-slide.is-next {
        transform: translate3d(8%, 10px, 0) scale(0.94);
    }

    .pb-card {
        min-height: 420px;
        padding: 32px 28px;
    }
}

@media (max-width: 640px) {
    .pb-testimonial-slider {
        padding: 10px 0 60px;
        overflow: visible;
    }

    .pb-slider-track {
        position: relative;
        min-height: 660px;
    }

    .pb-slide {
        position: absolute;
        inset: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, 24px, 0) scale(0.92);
        transition: transform 0.55s ease, opacity 0.4s ease;
    }

    .pb-slide.is-active,
    .pb-slide.is-prev,
    .pb-slide.is-next {
        opacity: 1;
        display: flex;
    }

    .pb-slide.is-active {
        z-index: 3;
        pointer-events: auto;
        transform: translate3d(0, 0, 0) scale(1);
    }

    .pb-slide.is-prev {
        z-index: 1;
        opacity: 0.55;
        transform: translate3d(-18px, 18px, 0) scale(0.9);
    }

    .pb-slide.is-next {
        z-index: 2;
        opacity: 0.75;
        transform: translate3d(-9px, 9px, 0) scale(0.95);
    }

    .pb-card {
        width: calc(100% - 28px);
        min-height: 500px;
        height: auto;
        padding: 30px 20px 30px;
        border-radius: 24px;
        box-sizing: border-box;
    }

    .pb-card::before,
    .pb-card::after {
        display: none;
    }

    .pb-logo-wrap {
        min-height: auto;
        margin-bottom: 22px;
    }

    .pb-logo {
        max-width: 150px;
        max-height: 52px;
    }

    .pb-content {
        font-size: 1rem;
        line-height: 1.65;
    }

    .pb-divider {
        margin: 26px 0 18px;
    }

    .pb-nav {
        position: absolute;
        right: 18px;
        bottom: 18px;
        z-index: 5;
        display: flex;
        justify-content: flex-end;
        gap: 10px;
        margin-top: 0;
        padding: 0;
        background: transparent;
        border-radius: 0;
    }

    .pb-nav::before,
    .pb-nav::after {
        display: none;
    }

    .pb-arrow {
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}
