.testimonial-slider-block{
    background: var(--wp--preset--color--tertiary);
    background: linear-gradient(270deg,rgba(8, 61, 91, 1) 0%, rgba(8, 61, 91, 1) 50%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 1) 100%); 
    color: var(--wp--preset--color--white);
    padding: 0;
    position: relative;
    .wp-block-heading{
        margin-bottom: 33px;
        color: var(--wp--preset--color--white);
    }
    h2{
        font-size: 32px;
          em{
            font-family: var(--wp--preset--font-family--playfair-display);
            font-weight: 500;
          }
    }
    &:before{
        content: "";
        position: absolute;
        width: calc(var(--wp--style--global--content-size) /2);
        height: 100%;
        top: 0;
        bottom:0;
        left: 50%;
        transform: translateX(-100%);
        background: var(--wp--preset--color--secondary);
        border-radius: 0 0 0 100px;
    }
    &.extended:after{
        content: "";
        position: absolute;
        width: 50vw;
        height: 268px;
        top: 100%;
        left: 50%;
        margin-top:-1px;
        background: var(--wp--preset--color--tertiary);
        border-radius: 0 0 0 100px;
    }
    .review{
        font-family: var(--wp--preset--font-family--lato);
        font-weight: 400;
        font-size: 18px;
        line-height: 30px;
        font-style: italic;
        min-height: 140px;;
    }
    .author{
        text-align: right;
        font-size: 18px;
        line-height: 30px;
    }
}

.testimonial-slider-wrapper{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: nowrap;
    max-width: var(--wp--style--global--content-size);
   
}

.testimonial-slider-block-inner, .testimonial-slider-media{
    flex-grow: 0;
    flex-shrink: 0;
    box-sizing: border-box;
    width:50%;
}

.testimonial-slider-block-inner{
    position: relative;
    padding:123px 75px 125px 85px;
}

.gallery-slider-grid{
    .img-holder{
        width:100%;
        aspect-ratio: 1/0.813;
        overflow: hidden;
        position: relative;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .circle{
            width:72px;
            height:72px;
            border:solid 2px #fff;
            border-radius: 50%;
            background-color:rgba(255, 255, 255, 0.55);
            display: flex;
            align-items: center;
            justify-content: center;
        }
    }
}

.thumbs-slider-grid{
    .img-holder{
        width:100%;
        aspect-ratio: 1/1.05;
        overflow: hidden;
        position: relative;
        img{
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
    }
}

.img-holder{
    .video-link{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.testim-slider-grid{
    .splide-custom-nav{
        position: relative;
        text-align: right;
        .splide__arrows{
            width: 128px;
            height: 52px;
            border-radius: 100px;
            border:2px solid #F1F6FA;
            background: var(--wp--preset--color--white);
            margin-left:auto;
            margin-top:58px;
            transform: scale(.84);
            position: relative;
            &:before{
                content: "";
                position: absolute;
                width: 1px;
                height: 31px;
                transform: translateY(-50%);
                background: #DCE2E6;
                top: 50%;
                left:50%;
            }
            .splide__arrow{
                opacity: 1;
                background: transparent;
                    &.splide__arrow--prev {
                        left: 8px;
                    }
                    &.splide__arrow--next {
                        right: 8px;
                    }
            }
        }
    }
}


@media (max-width: 1240px){
    .testimonial-slider-block{
        > div {
            padding: 0 !important;
        }
        .gallery-slider-grid {
            .img-holder {
                width: 100%;
                aspect-ratio: initial;
                height:480px;
            }
        }
    }
    .thumbs-slider-grid {
        .img-holder {
            width: 100%;
            aspect-ratio: initial;
            height:205px;
        }
    }
}

@media (max-width: 1100px){
    .testimonial-slider-block-inner {
        padding: 44px 75px 50px 85px;
    }
}

@media (max-width: 800px){
    .testimonial-slider-block-inner {
        padding: 44px 45px 50px 35px;
    }
    .testim-slider-grid {
        & .splide-custom-nav {
            .splide__arrows {
                margin-top: 25px;
            }
        }
    }
}

@media (max-width: 767px){
    .testimonial-slider-block {
        &.extended:after {
            display: none;
        }
    }
}

@media (max-width: 650px){
    .testimonial-slider-block{
        background: transparent;
        border-radius: 0 0 100px 0;
        overflow: hidden;
        &:before{
            display: none;
        }
        &:after{
            display: none;
        }
    }
    .testimonial-slider-wrapper {
        flex-direction: column;
    }
    .testimonial-slider-block-inner, .testimonial-slider-media {
        width: 100%;
    }
    .testimonial-slider-block-inner{
        background-color: var(--wp--preset--color--secondary);
    }
    .testimonial-slider-block{
        .gallery-slider-grid {
            .img-holder {
                height:293px;
            }
        }
    }
    .thumbs-slider-grid {
        .img-holder {
            height:125px;
        }
        .video-link{
            svg {
                width: 25px;
                height: 25px;
            }
        }
    }
    .gallery-slider-grid {
        & .img-holder {
            .circle {
                width: 42px;
                height: 42px;
                svg {
                    width: 20px;
                    height: 20px;
                }
            }
        }
    }
}