/* 评价区：初始化前也要可见，避免 owl 未加载时整段空白 */
.testimonial-area {
    width: 100% !important;
    max-width: 1140px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.testimonial-area .testi_list.owl-carousel,
.testimonial-area .testi_list.owl-carousel:not(.owl-loaded) {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
}

.testimonial-area .single-testimonial,
.testimonial-area .single-testimonial.left {
    position: relative;
    left: 0 !important;
}

.testimonial-area .single-testimonial-thumb {
    position: relative;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #533efe 0%, #740fd6 100%);
}

.testimonial-area .single-testimonial-thumb > img {
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    display: block;
}

.testimonial-area .testi-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 20px 32px;
    z-index: 2;
}

.testimonial-area .testi-inner {
    width: 100%;
    max-width: 520px;
}

.testimonial-area .testi-inner p,
.testimonial-area h3.name {
    color: #fff !important;
    position: relative;
    left: 0 !important;
}

.testimonial-area .testi-inner p {
    width: 100% !important;
    margin: 16px auto !important;
    padding: 0 !important;
    font-size: 15px;
    line-height: 1.7;
}

.testimonial-area .testimonial-thumb {
    position: relative;
    left: 0 !important;
    top: 0 !important;
    margin: 0 auto;
}

.testimonial-area .testimonial-thumb img {
    width: 88px !important;
    height: 88px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #fff;
}

.testimonial-area .testimonial-shape-thumb {
    position: absolute;
    left: calc(50% + 28px);
    top: 8px;
    transform: none;
}

.testimonial-area .testimonial-shape-thumb img {
    width: 36px;
    height: auto;
}

.testimonial-area .testi_list.owl-carousel.owl-loaded {
    display: block !important;
}

.testimonial-area .owl-nav {
    margin-top: 12px;
}

.testimonial-area .owl-dots {
    margin-top: 8px;
    text-align: center;
}

@media (max-width: 991px) {
    .testimonial-area {
        width: 100% !important;
        max-width: 100% !important;
    }

    .testimonial-area .testi-inner p {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
