.testimonials {
    h2 {
        margin-bottom: 0;
    }
    .testimonials-slider {
        position: relative;
        padding-top: 50px;

        @media screen and (max-width: 768px) {
            padding-top: 60px;
        }
        @media screen and (max-width: 576px) {
            padding-top: 50px;
        }
        .slider-wrapper {
            border-radius: var(--border-radius);
            overflow: hidden;

            &.yellow-bg {
                .testimonial-content {
                    .testimonial-text {
                        color: var(--color-black);
                    }
                    .testimonial-author {
                        color: var(--color-black);
                    }
                }
            }
            .swiper-wrapper {
                align-items: stretch;
            }
            .slide {
                height: auto;
                display: flex;

                .row {
                    flex: 1;
                    align-items: stretch;

                    @media screen and (max-width: 1199px) {
                        flex-direction: column-reverse;
                        align-items: normal;
                        justify-content: flex-end;
                    }
                }
            }
        }
        .testimonial-content {
            padding: 100px 60px 100px 80px;
            display: flex;
            flex-direction: column;
            justify-content: center;

            @media screen and (max-width: 1199px) {
                padding: 60px 80px;
                margin: 0;
            }
            @media screen and (max-width: 768px) {
                padding: 40px 60px;
            }
            @media screen and (max-width: 576px) {
                padding: 30px 50px;
            }
            .testimonial-text {
                color: var(--color-white);

                @media screen and (max-width: 768px) {
                    margin-bottom: var(--spacing-sm);
                }
            }
            .testimonial-author {
                font-weight: bold;
                color: var(--color-white);
                margin-bottom: 0;
            }
        }
        .testimonial-image {
            padding-left: 0;
            aspect-ratio: 1 / 1;

            @media screen and (max-width: 1199px) {
                padding-left: calc(var(--bs-gutter-x) * .5);
                aspect-ratio: 1036 / 691;
            }
            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
    .swiper-pagination {
        position: absolute;
        top: 0;
        bottom: auto;
        display: flex;
        justify-content: flex-end;
        align-items: center;

        @media screen and (max-width: 768px) {
            top: 20px;
        }
        @media screen and (max-width: 576px) {
            top: 10px;
        }
    }
    .swiper-pagination-bullet {
        width: 15px;
        height: 15px;
        background: var(--color-black);
        opacity: .2;
        margin: 0 5px !important;
        transition: .2s ease-in-out;

        &:hover, &:focus-visible {
            opacity: .35;
        }
    }
    .swiper-pagination-bullet-active {
        opacity: .6 !important;
    }
}
.home {
    .testimonials {
        h2 {
            color: var(--color-white);
        }
    }
}