.testimonial-wrapper {
    max-width: 1100px;
    margin: auto;
}

.testimonial-slide {
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.testimonial-left {
    width: 50%;
    background: #000;
    color: #fff;
    padding: 50px;
    position: relative;
    min-height: 480px;
}

.quote-icon {
    font-size: 70px;
    opacity: 0.3;
    display: block;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.7;
}

.author {
    margin-top: 25px;
}

.author strong {
    display: block;
    font-size: 14px;
}

.author span {
    font-size: 13px;
    opacity: 0.7;
}

.testimonial-nav {
    position: absolute;
    bottom: 35px;
}

.testimonial-slider .swiper-button-next,
.testimonial-slider .swiper-button-prev {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    color: #000;
    margin-right: 10px;
    transform: rotate(180deg);
}

.testimonial-slider .swiper-button-prev::after,
.testimonial-slider .swiper-button-next::after {
    font-size: 14px;
}

.testimonial-right {
    width: 50%;
}

.testimonial-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gutenberg editor fixes */
.block-editor-block-list__layout .testimonial-wrapper {
    max-width: 100%;
}

.block-editor-block-list__layout .testimonial-slide {
    margin: 0;
}

/* IMPORTANT: Swiper core fixes */
.testimonial-slider {
    width: 100%;
    overflow: hidden;
}

.testimonial-slider .swiper-wrapper {
    display: flex;
}

.testimonial-slider .swiper-slide {
    width: 100%;
    flex-shrink: 0;
}

/* Your layout */
.testimonial-slide {
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonial-slide {
        flex-direction: column;
    }
    .testimonial-left,
    .testimonial-right {
        width: 100%;
    }
}
