.text-slider {
    --bs-body-color: var(--color-contrast);
    background: var(--color-main);
    color: var(--color-contrast);
    padding: 5rem 0
}

.text-slider--bg-black {
    --bs-body-color: #fff;
    background: #141414;
    color: #fff
}

.text-slider--bg-white {
    --bs-body-color: #141414;
    background: #fff;
    color: #141414
}

.text-slider--bg-white .swiper-button-next,
.text-slider--bg-white .swiper-button-prev,
.text-slider--bg-white .swiper-pagination {
    --color-contrast: #141414
}

.text-slider--bg-light-grey {
    --bs-body-color: #141414;
    background: #f8f8f8;
    color: #141414
}

.text-slider--bg-light-grey .swiper-button-next,
.text-slider--bg-light-grey .swiper-button-prev,
.text-slider--bg-light-grey .swiper-pagination {
    --color-contrast: #141414
}

.text-slider--bg-dark-grey {
    --bs-body-color: #fff;
    background: #4c4c4c;
    color: #fff
}

.text-slider__headline {
    margin-bottom: 3rem;
    text-align: center
}

@media(min-width:768px) {
    .text-slider__headline {
        margin-bottom: 4rem
    }
}

.text-slider__headline .subheadline {
    justify-content: center
}

.text-slider__name {
    line-height: 1.3;
    margin-bottom: 0
}

.text-slider__image {
    margin-bottom: 1.25rem
}

.text-slider__image img {
    aspect-ratio: 1;
    border-radius: 100vh;
    height: 80px;
    width: auto
}

.text-slider__swiper {
    --swiper-navigation-size: 1.75rem;
    padding: 0
}

.text-slider__swiper .swiper-pagination {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-top: 80px;
    position: relative
}

.text-slider__swiper .swiper-pagination .bullet {
    background: var(--color-contrast);
    height: 3px;
    margin-right: 10px;
    opacity: .3;
    width: 30px
}

.text-slider__swiper .swiper-pagination .bullet.active {
    opacity: 1
}

.text-slider__swiper .swiper-pagination .bullet:last-of-type {
    margin-right: 0
}

.text-slider__swiper .swiper-button-next,
.text-slider__swiper .swiper-button-prev {
    transition: transform .3s ease-in-out
}

@media(max-width:991.98px) {

    .text-slider__swiper .swiper-button-next,
    .text-slider__swiper .swiper-button-prev {
        bottom: 0;
        top: auto
    }
}

.text-slider__swiper .swiper-button-next:hover,
.text-slider__swiper .swiper-button-prev:hover {
    color: var(--color-contrast)
}

.text-slider__swiper .swiper-button-prev:hover {
    transform: translateX(-3px)
}

.text-slider__swiper .swiper-button-next:hover {
    transform: translateX(3px)
}

.text-slider__slide {
    text-align: center
}

@media(min-width:992px) {
    .text-slider__slide {
        padding: 0 4rem
    }
}

@media(min-width:768px) {
    .text-slider__slide__item {
        max-width: calc(var(--container-width)/12*8)
    }
}

@media(min-width:992px) {
    .text-slider__slide__item {
        max-width: calc(var(--container-width)/12*7)
    }
}

@media(min-width:1200px) {
    .text-slider__slide__item {
        max-width: calc(var(--container-width)/12*6)
    }
}

@media(min-width:992px) {
    .text-slider__slide__item--wide {
        max-width: calc(var(--container-width))
    }
}

@media(min-width:1200px) {
    .text-slider__slide__item--wide {
        max-width: calc(var(--container-width)/12*9)
    }
}

@media(min-width:992px) {
    .text-slider__slide__testimonial {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 1rem;
        gap: 1rem
    }
}

@media(min-width:1200px) {
    .text-slider__slide__testimonial {
        grid-template-columns: 5fr 6fr;
        max-width: calc(var(--container-width)/12*11)
    }
}

.text-slider__slide__testimonial__image {
    align-items: center;
    display: flex;
    flex-flow: row wrap
}

.text-slider__slide__testimonial__image img {
    aspect-ratio: 1;
    border-radius: 100vh;
    flex: 0 0 100px;
    height: auto;
    margin-bottom: 1.25rem;
    width: 100px
}

@media(min-width:768px) {
    .text-slider__slide__testimonial__image img {
        flex: 0 0 110px;
        width: 110px
    }
}

@media(min-width:992px) {
    .text-slider__slide__testimonial__image img {
        margin-bottom: 0
    }
}

.text-slider__slide__testimonial__name {
    flex: 1;
    font-size: .75rem;
    margin-bottom: 0;
    margin-left: 1.25rem;
    text-align: left
}

@media(min-width:768px) {
    .text-slider__slide__testimonial__name {
        font-size: .875rem
    }
}

.text-slider__slide__testimonial__name span {
    display: block;
    font-family: DIN, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Open Sans, Arial, Liberation Sans;
    font-size: 1rem
}

@media(min-width:768px) {
    .text-slider__slide__testimonial__name span {
        font-size: 1.125rem
    }
}

.text-slider__slide__testimonial__text {
    text-align: left
}

.text-slider__slide__testimonial__text>:last-child {
    margin-bottom: 0
}

.text-slider__slide__testimonial__linkwrap {
    padding-top: 1.5rem;
    text-align: center
}

.text-slider__slide__testimonial__linkwrap .btn-primary:hover,
.text-slider__slide__testimonial__linkwrap .btn-secondary:hover {
    --bs-btn-hover-bg: rgba(var(--color-contrast-rgb), 0.3);
    --bs-btn-active-bg: rgba(var(--color-contrast-rgb), 0.3)
}

.text-slider__title {
    font-family: DIN, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Open Sans, Arial, Liberation Sans;
    font-size: 40px;
    line-height: 1;
    margin-bottom: 1.25rem
}

@media(min-width:768px) {
    .text-slider__title {
        font-size: 60px;
        margin-bottom: 2rem
    }
}

@media(min-width:1200px) {
    .text-slider__title {
        font-size: 80px
    }
}

@media(min-width:1400px) {
    .text-slider__title {
        font-size: 100px
    }
}

.text-slider__quote {
    font-family: DIN, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif, Open Sans, Arial, Liberation Sans;
    font-size: 1.25rem;
    line-height: 1.2;
    margin-bottom: 2rem
}

@media(min-width:768px) {
    .text-slider__quote {
        font-size: 40px;
        margin-bottom: 3rem
    }
}

.text-slider__quote--no-name {
    margin-bottom: 0 !important
}