.testimonials {
    padding: 3rem 0;
    text-align: center;
}

.testimonials__container {
    max-width: 1074px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.testimonials__info {
    margin-bottom: 2rem;
}

.tns-outer {
    position: relative;
}

.tns-controls {
    position: absolute;
    display: none;
    width: calc(100% + 260px);
    justify-content: space-between;
    top: 0;
    left: -130px;
    right: -130px;
}

.tns-nav {
    display: block;
}

.testimonial__text {
    font-size: 1.125rem;
}

.testimonial__author {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial__author-name {
    font-weight: 500;
}

.testimonial__author-link {
    font-size: 0.875rem
}


.testimonial__author-image {
    width: 92px;
    height: 92px;
    margin: 0 1rem 0 0;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0px 10px 20px rgba(153, 159, 227, 0.07);
}

.testimonial__author-image img {
    display: block;
    object-position: center;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.testimonial__author-text {
    text-align-last: left;
    display: flex;
    flex-direction: column;
}

button[data-controls="prev"],
button[data-controls="next"] {
    position: relative;
    font-size: 0;
    background-color: #ffffff;
    border: 1px solid #dedad7;
    width: 70px;
    height: 70px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

button[data-controls="prev"]:before,
button[data-controls="next"]:before {
    content: "";
    display: block;
    position: absolute;
    width: 20px;
    height: 11px;
    -webkit-mask-image: url("//f.hubspotusercontent40.net/hubfs/19953893/raw_assets/public/hope/images/arrow-svg.svg");
    mask-image: url("//f.hubspotusercontent40.net/hubfs/19953893/raw_assets/public/hope/images/arrow-svg.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    transition: 0.25s;
}

button[data-controls="prev"]:before {
    transform: rotate(180deg);
}

button[data-controls="prev"]:hover:before {
    transform: rotate(180deg) translateX(5px);
}

button[data-controls="next"]:hover:before {
    transform: translateX(5px);
}

@media screen and (min-width: 1024px) {
    .tns-nav {
        display: none;
    }

    .tns-controls {
        display: flex;
    }

    .testimonials__container {
        max-width: 1074px;
        margin: 0 auto;
        padding: 0 8.5625rem;
    }
}

@media screen and (min-width: 1200px) {
    .testimonials {
        padding: 10rem 0;
    }
}

.tns-outer .testimonials__slider {
    padding: 0 !important;
}

.tns-outer .testimonials__slider [hidden] {
    display: none !important;
}

.tns-outer .testimonials__slider [aria-controls],
.tns-outer .testimonials__slider [data-action] {
    cursor: pointer;
}

.testimonials__slider.tns-slider {
    transition: all 0s;
}

.testimonials__slider.tns-slider > .tns-item {
    box-sizing: border-box;
}

.testimonials__slider.tns-horizontal.tns-subpixel {
    white-space: nowrap;
}

.testimonials__slider.tns-gallery > .tns-item {
    left: -100%;
    position: absolute;
    transition: transform 0s, opacity 0s;
}

.testimonials__slider.tns-horizontal.tns-subpixel > .tns-item {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
}

.testimonials__slider.tns-horizontal.tns-no-subpixel:after {
    clear: both;
    content: "";
    display: table;
}

.testimonials__slider.tns-horizontal.tns-no-subpixel > .tns-item {
    float: left;
    margin-right: -100%;
}

.testimonials__slider.tns-no-calc {
    left: 0;
    position: relative;
}

.testimonials__slider.tns-gallery {
    left: 0;
    position: relative;
}

.tns-lazy-img {
    opacity: 0.6;
    transition: opacity 0.6s;
}

.tns-lazy-img.loaded {
    opacity: 1;
}

.tns-ah {
    transition: height 0s;
}

.tns-ovh {
    overflow: hidden;
}

.tns-hdx {
    overflow-x: hidden;
}

.tns-hdy {
    overflow-y: hidden;
}

.tns-visually-hidden {
    left: -10000em;
    position: absolute;
}

.tns-transparent {
    opacity: 0;
    visibility: hidden;
}

.tns-fadeIn {
    filter: alpha(opacity=100);
    opacity: 1;
    z-index: 0;
}

.tns-normal,
.tns-fadeOut {
    filter: alpha(opacity=0);
    opacity: 0;
    z-index: -1;
}

.tns-nav {
    margin: 20px 0;
    text-align: center;
}

.tns-nav > [aria-controls] {
    background-color: #ddd;
    border: 0;
    border-radius: 50%;
    height: 12px;
    margin: 0 5px;
    padding: 0;
    width: 12px;
}

.tns-nav .tns-nav-active {
    background-color: #ff5e14;
}
