/* Main CSS for Testimonials Component */

.testimonials_9kL2m {
    position: relative;
    width: 100%;
    margin: var(--margin-tb) 0;
    overflow: hidden;
    padding: 4% 0;
}

.testimonials_9kL2m-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    background-image:var(--bg-image);
}

.testimonials_9kL2m-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-overlay-color, rgba(0,0,0,0.1));
    pointer-events: none;
}

.testimonials_9kL2m-container {
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
    padding-left: var(--padding-lr);
    padding-right: var(--padding-lr);
    max-width: var(--custom-content-max-width);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* Header */
.testimonials_9kL2m-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
    gap: 2rem;
}

.testimonials_9kL2m-separator {
    height: 1px;
    background-color: var(--separator-color);
    flex: 0 0 20%;
}

.testimonials_9kL2m-title {
    font-size: var(--title-size);
    color: var(--title-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    overflow: hidden;
}

/* Swiper */
.testimonials_9kL2m-swiper {
    padding-bottom: 5rem;
}

.testimonials_9kL2m-item {
    background-color: transparent;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.testimonials_9kL2m-review p {
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonials_9kL2m-review {
    position: relative;
    font-size: var(--item-comment-size);
    color: var(--item-comment-color);
    line-height: 1.6;


    background-color: var(--item-bg-color);
    height: 22rem;

    width: 100%;


    padding: 2rem;
    box-sizing: border-box;

}

.testimonials_9kL2m-review-arrow {
    width: 0;
    height: 0;
    border-top: 3rem solid var(--item-bg-color);
    border-right: 3rem solid transparent;
    border-left: 0;
    margin-left: 0rem;
    margin-bottom: 1rem;
}

.testimonials_9kL2m-info {
    display: flex;
    align-items: center;
    gap: 2.3rem;
    padding-left: 1rem;
    margin-top: -1rem;
}

.testimonials_9kL2m-avatar-wrapper {
    position: relative;
    width: 7.3rem;
    height: 7.3rem;
    flex-shrink: 0;

}

.testimonials_9kL2m-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: .6rem solid var(--avatar-theme-color);

}

.testimonials_9kL2m-quote-icon {
    position: absolute;
    bottom: -5px;
    left: -5px;
    width: 3.5rem;
    height: 3.5rem;

    background-color: var(--theme-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--avatar-theme-color);
    font-size: var(--item-icon-size);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.testimonials_9kL2m-details {
    display: flex;
    flex-direction: column;
}

.testimonials_9kL2m-name {
    font-size: var(--avatar-title-size);
    color: var(--avatar-title-color);
    margin-bottom: 0.5rem;
    font-weight: bold;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonials_9kL2m-role {
    font-size: var(--item-desc-size);
    color: var(--theme-color);
    /* opacity: 0.8; */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pagination */
.testimonials_9kL2m-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 5rem;
}

.testimonials_9kL2m-custom-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 0.6;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials_9kL2m-custom-bullet:hover {
    opacity: 0.8;
}

.testimonials_9kL2m-custom-bullet-active {
    width: 30px;
    border-radius: 6px;
    background: var(--theme-color);
    opacity: 1;
}

/* Responsive */
/* Pad */
@media (min-width: 768px) and (max-width: 1024px) {
    .testimonials_9kL2m-title {
        font-size: calc(var(--title-size) * 0.95);
    }

    .testimonials_9kL2m-name {
        font-size: calc(var(--avatar-title-size) * 0.95);
    }

    .testimonials_9kL2m-review {
        font-size: calc(var(--item-desc-size) * 0.95);
        -webkit-line-clamp: 4;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .testimonials_9kL2m-header {
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .testimonials_9kL2m-separator {
        width: 50px;
        flex: 0 0 1px;
    }

    .testimonials_9kL2m-title {
        font-size: calc(var(--title-size) * 0.9);
    }

    .testimonials_9kL2m-name {
        font-size: calc(var(--avatar-title-size) * 0.9);
    }

    .testimonials_9kL2m-review {
        font-size: calc(var(--item-desc-size) * 0.9);
        -webkit-line-clamp: 4;
    }

    .testimonials_9kL2m-review-arrow {
        
    }
}
