/* CSS Bloc Témoingnages */
.testimonials {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.testimonials .testimonials__wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--gap-l);
}

.testimonials .testimonials__title {
	margin-bottom: var(--gap-m);
}

.testimonials__content {
	display: flex;
	flex-direction: column;
	gap: var(--gap-m);
}

.testimonials__content>img {
	height: 50px;
    width: max-content;
    max-width: 100%;
	object-fit: contain;
}

.testimonials__content>p {
	font-size: 30px;
	font-family: var(--font-semibold);
	line-height: 120%;
	letter-spacing: 1px
}

.testimonials__text {
    position: relative;
}

.testimonials__text:after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -10px;
    z-index: 1;
    transition: opacity .3s;
    height: 40%;
    width: 100%;
    opacity: 1;
    background: linear-gradient(180deg, transparent, white 60%);
}

.testimonials.dark .testimonials__text:after {
	 background: linear-gradient(180deg, transparent, var(--first-color) 60%);
}

.testimonials__content>div p {
	line-height: 19px;
    max-width: 80%;
}

/* CSS Swiper */
.testimonials .swiper {
    width: 100%;
    height: 100%;
}

.testimonials .swiper-slide {
    text-align: start;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    position: relative;
}

.testimonials__container-arrow {
	margin-top: var(--pad-l);
	display: flex;
	flex-direction: row;
	gap: var(--gap-s);
	justify-content: flex-start;
}

.testimonials .swiper-button-next,
.testimonials .swiper-button-prev {
    height: 40px;
    width: 40px;
    background-color: var(--fifth-color);
    padding: 10px;
    border-radius: 50%;
    box-sizing: border-box;
    position: static;
    margin: 0;
}

.testimonials .swiper-button-prev {
    rotate: 180deg;
}

@media (min-width: 769px) {
    .testimonials {
        position: relative;
    }

    .testimonials .swiper-slide {
        align-items: flex-start;
    }

    .testimonials .swiper-button-next,
    .testimonials .swiper-button-prev {
        height: 50px;
        width: 50px;
    }

    .light .testimonials__container:after {
        /* content: ''; */
        position: absolute;
        right: -1px;
        top: 0;
        z-index: 1;
        transition: opacity .3s;
        height: 100%;
        width: 10%;
        opacity: 1;
        background: linear-gradient(90deg, transparent, white);
    }
	
	.light.at-end .testimonials__container:after {
		opacity: 0;
	}
    
    .testimonials__content p {
        text-align: left;
    }
}