.testimonials-section {
    background-color: var(--green-100);
    padding-block: 48px;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 40px;
    @media (min-width: 767.8px) {
        padding-block: 100px;
    }
}

.testimonial-section__text-wrapper {
    width: 860px;
    margin-inline: auto;
    max-width: 100%;
}

.testimonial-section__testimonials-wrapper {
    width: 100%;
    padding-inline: 24px;
    @media screen and (min-width: 575.8px) {
        padding-inline: 0;
    }

}

.testimonialsSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch !important; /* ensures all slides stretch to same height */
}

.testimonialsSwiper .swiper-slide {
    display: flex;
    flex-direction: column; /* optional: helps with inner layout */
}

.testimonialsSwiper .testimonial-inner {
    padding: 24px;
    background-color: var(--white);
    border-radius: 24px;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    @media screen and (min-width: 767.8px) {
        padding: 48px;
    }
}

.testimonialsSwiper .testimonial-content {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    row-gap: 24px;
    height: 100%;
}

.testimonialsSwiper .testimonial-text p {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500;
    @media (min-width: 767.8px) {
        font-size: 18px;
    }
}

.testimonialsSwiper .testimonial-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    width: 100%;
    margin-top: auto;
}

.testimonialsSwiper .author {
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
    @media screen and (min-width: 767.8px) {
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;
    }
}

.testimonialsSwiper .author .author-name {
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.testimonialsSwiper .author .author-position {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

.testimonialsSwiper .rating {
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: flex-start;
    @media screen and (min-width: 767.8px) {
        width: 50%;
        flex-basis: 50%;
        max-width: 100%;
        justify-content: flex-end;
        margin-top: 0;
    }
}

.testimonialsSwiper .swiper-controls {
    position: relative;
    margin-top: 40px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    @media screen and (min-width: 767.8px) {
        gap: 40px;
    }
}

.testimonialsSwiper .swiper-controls .swiper-pagination {
    position: relative;
    bottom: auto;
    top: auto;
    left: auto;
    width: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    @media screen and (min-width: 767.8px) {
        gap: 18px;
    }
}

.testimonialsSwiper .swiper-controls .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: var(--orange-200);
}

.testimonialsSwiper .swiper-controls .swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

.testimonialsSwiper .testimonial-swiper-button {
    position: relative;
    left: auto;
    right: auto;
    width: 44px;
    flex-basis: 44px;
    border-radius: 50%;
    margin: 0;
    border: 1px solid var(--orange-200);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-out;
}

.testimonialsSwiper .testimonial-swiper-button:after {
    display: none;
}

.testimonialsSwiper .swiper-button-prev .arrow {
    width: 20px;
    height: 20px;
    mask-image: url('/wp-content/uploads/2025/05/arrow-left.svg');
    background-color: var(--orange-200);
    transition: 0.4s ease-out;
}

.testimonialsSwiper .swiper-button-next .arrow {
    width: 20px;
    height: 20px;
    mask-image: url('/wp-content/uploads/2025/05/arrow-right.svg');
    background-color: var(--orange-200);
    transition: 0.4s ease-out;
}

.testimonialsSwiper .testimonial-swiper-button:hover {
    border: 1px solid var(--white);
    background-color: var(--white);
}

.testimonialsSwiper .testimonial-swiper-button:hover .arrow {
    background-color: var(--orange-200);
}