.testimonial-slider__wrapper{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    position: relative;
}


.testimonial-slider__wrapper .content-wrapper{
    width: 100%;
    padding: 0px;
}


.testimonial-slider{
    position: relative;
    padding: 70px 0px;
}

.testimonial-slider::after{
    content: "";
    width: 90%;
    height: 100%;
    border-radius: 40px;
    background-color: var(--electric-blue);
    position: absolute;
    top: 0;
    right: 0;
}

.testimonial-slider__slide{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 100px;
    padding-right: 70px;
}

.testimonial-slider__slide__column--image{
    width: 32%;
    max-height: 440px;
    overflow: hidden;
    border-radius: 40px;
}

.testimonial-slider__slide__column--image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.testimonial-slider__slide h4{
    color: white;
    margin-bottom: 36px;
}

.testimonial-slider__slide__column--testimonial{
    width: 78%;
}

.testimonial-slider__slide__column--testimonial__title{
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 38px;
    width: 90%;
    position: relative;
}

.testimonial-slider__slide__column--testimonial__title::after{
    content: "“";
    position: absolute;
    top: 0;
    left: -24px;
    color: white;
}

.testimonial-slider__slide__column--testimonial__author{
    color: var(--white);
    margin-bottom: 32px;
}

.testimonial-slider__slide__column--testimonial__author span:first-of-type{
    font-weight: bold;
}

.testimonial-slider__pagination{
    position: absolute;
    bottom: 50px!important;
    left: calc(32% + 8px)!important; /* width of image column + alittle padding to match with content position */
    z-index: 10;
    display: flex;
    align-items: center;
    min-height: 16px; /* to stop the jitter when the active bullet changes */
}

.testimonial-slider__pagination .swiper-pagination-bullet{
    background: var(--white);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: 0.3s ease-in-out;
}

.testimonial-slider__pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
    background-color: var(--sky-blue);
    width: 14px;
    height: 14px;
}


.testimonial-slider__navigation{
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    height: 20px;
    display: flex;
    justify-content: space-between;
    padding: 0px 32px;
}

.testimonial-slider__navigation-item--previous, 
.testimonial-slider__navigation-item--next{
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.testimonial-slider__navigation-item--previous.swiper-button-disabled, 
.testimonial-slider__navigation-item--next.swiper-button-disabled{
    opacity: 0.5;
}


 /* This MQ is for the navigation only, so they aren't stuck to the side on resize. */
@media screen and (max-width: 1530px){

    .testimonial-slider__navigation{
        padding: 0px 5px;
    }
}


@media screen and (max-width: 1460px){

    .testimonial-slider__wrapper .content-wrapper{
        padding: 0px 32px;
    }

}

@media screen and (max-width: 1200px){
    .testimonial-slider__slide__column--testimonial__title{
        font-size: 40px;
    }
}

@media screen and (max-width: 1024px){

    .testimonial-slider__slide h4 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .testimonial-slider__slide{
        gap: 64px;
    }

    .testimonial-slider__slide__column--testimonial__title{
        font-size: 30px;
        line-height: 1.26
        margin-bottom: 24px;
    }
}


@media screen and (max-width: 768px){

    .testimonial-slider{
        position: relative;
        padding: 60px 24px;
    }

    .testimonial-slider::after{
        width: 100%;
    }

    .testimonial-slider__slide{
        flex-direction: column;
        padding-right: 0px;
    }

    .testimonial-slider__slide__column--image{
        display: none;
    }

    .testimonial-slider__slide__column--testimonial{
        width: 100%;
    }

    .testimonial-slider__slide__column--testimonial__title::after{
        left: -14px;
    }

    .testimonial-slider__slide__column--testimonial__author{
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .testimonial-slider__pagination{
        left: 24px!important; /* Adjusted for padding left in .testimonial-slider */
    }

    .testimonial-slider__navigation{
        position: initial;
        margin-top: 50px;
        padding: 0px 32px;
    }

}