.adkh-testimonials-wrapper {
    border-radius: var(--adkh-border-radius);
    padding: 1.5px;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, .08);
    perspective: 800px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.8s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100px;
}


.adkh-testimonials-wrapper::before,
.adkh-testimonials-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--adkh-border-radius);
    backface-visibility: hidden;
    transition: transform 0.8s ease;
}

.adkh-testimonials-wrapper::before {
    background-image: linear-gradient(180deg, var(--adkh-border-color-from) 0%, var(--adkh-border-color-to) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -1;
    transform: rotateY(0deg);
}

.adkh-testimonials-wrapper::after {
    background-image: linear-gradient(0deg, var(--adkh-border-color-from) 0%, var(--adkh-border-color-to) 100%);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    z-index: -2;
    transform: rotateY(-90deg);
}

.adkh-testimonials-wrapper:hover::before {
    transform: rotateY(90deg);
}

.adkh-testimonials-wrapper:hover::after {
    transform: rotateY(0deg);
}

.adkh-testimonials-wrap {
    background: #fff;
    padding: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    gap: 14px;
    transition: background .3s ease;
    border-radius: var(--adkh-border-radius);
    position: relative;
    z-index: 1;
    min-height: 100%;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
}

.adkh-testimonials-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px
}

.adkh-testimonials-nav svg rect {
    fill: var(--adkh-primary-color);
    transition: all 300ms;
    cursor: pointer
}

.adkh-testimonials-nav svg:hover rect {
    fill: rgba(165, 165, 165, 1)
}

.adkh-testimonials-wrapper .adkh-user-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between
}

.adkh-testimonials-wrapper .adkh-user-info .adkh-avatar img,
.adkh-testimonials-wrapper .adkh-user-info .adkh-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 100%
}

.adkh-testimonials-wrapper .adkh-user-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400
}

.adkh-testimonials-wrapper .adkh-name {
    font-size: 18px;
    font-weight: 700
}

.adkh-testimonial-items {
    max-height: 200px;
    position: relative
}

.adkh-testimonial-scroll {
    overflow: auto;
    scrollbar-width: none;
    padding: 10px 5px
}

.testimonial-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px
}

.adkh-testimonial-content {
    height: 100%;
    padding: 20px
}

.testimonial-content-item {
    display: flex;
    flex-direction: column;
    gap: 30px
}

.adkh-testimonial-shadow-overlay {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 53px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #FFFFFF 100%);
    pointer-events: none;
    z-index: 1;
    background-blend-mode: luminosity
}

@media screen and (max-width : 768px) {
    .adkh-testimonials-nav {
        flex-direction: row;
    }

    .adkh-testimonial-items {
        padding: 10px 0;
        ;
    }

    .adkh-user-meta svg {
        width: 18px;
    }

    .adkh-testimonials-wrap {
        min-height: 100%;
        padding: 16px;
    }

    .testimonial-text {
        font-size: 15px;
        font-weight: 400;
        line-height: 30px;
        text-align: justify;
    }

}