/************************************/
/***    12. Our Testimonial css	  ***/
/************************************/

.our-testimonials{
	background-image: url('../images/struttura/testimonials-bg-shape.png');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	padding: 100px 0;
}

.our-testimonial-image{
	margin-right: 15px;
}

.our-testimonial-image figure{
	display: block;
	border-radius: 30px;
}

.our-testimonial-image img{
	width: 100%;
	aspect-ratio: 1 / 0.852;
	object-fit: cover;
	border-radius: 30px;
}

.testimonial-author-details{
	border-top: 1px solid var(--dark-divider-color);
	margin-top: 40px;
	padding-top: 40px;
}

.testimonial-author-details h3{
	font-size: 22px;
	text-transform: capitalize;
	color: var(--white-color);
	margin-bottom: 5px;
}

.testimonial-author-details p{
	color: var(--white-color);
	margin: 0;	
}

.testimonial-slider{
	margin-top: 60px;
}

.testimonial-slider .swiper-wrapper{
	cursor: none;
}

.testimonial-item-content{
	border-bottom: 1px solid var(--dark-divider-color);
	margin-bottom: 30px;
	padding-bottom: 30px;
}

.testimonial-item-content p{
	color: var(--white-color);
	margin: 0;
}

.testimonial-author{
	display: flex;
	align-items: center;
}

.testimonial-author .author-image{
	margin-right: 10px;
}

.testimonial-author .author-image figure{
	border-radius: 50%;
}

.testimonial-author .author-image img{
	width: 100%;
	max-width: 50px;
	border-radius: 50%;
}

.testimonial-author .author-content{
	width: calc(100% - 60px);
}

.testimonial-author .author-content h3{
	font-size: 20px;
	text-transform: capitalize;
	color: var(--white-color);
	margin-bottom: 5px;
}

.testimonial-author .author-content p{
	color: var(--white-color);
	margin: 0;
}

.testimonial-btn{
	position: relative;
	bottom: 0;
	right: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 30px;
	z-index: 2;
}

.testimonial-slider .testimonial-button-next,
.testimonial-slider .testimonial-button-prev{
	position: relative;
	width: 40px;
	height: 40px;
	background: var(--white-color);
	border-radius: 50%;
	transition: all 0.4s ease-in-out;
}

.testimonial-slider .testimonial-button-next{
	margin-left: 15px;
}

.testimonial-slider .testimonial-button-next:hover,
.testimonial-slider .testimonial-button-prev:hover{
	background: var(--accent-color);
}

.testimonial-slider .testimonial-button-next::before,
.testimonial-slider .testimonial-button-prev::before{
	content: '';
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
	background-image: url('../images/struttura/arrow-primary.svg');
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 14px auto;
    display: flex;
    align-items: center;
    justify-content: center;
	transform: rotate(45deg);
    transition: all 0.4s ease-in-out;
}

.testimonial-slider .testimonial-button-prev::before{
	transform: rotate(225deg);
}
/* — Testimonial cards: autore sempre in basso — */
.page-testimonials .testimonial-item{
  display: flex;
  flex-direction: column;   /* colonna: testo sopra, autore sotto */
}

.page-testimonials .testimonial-item .testimonial-item-content{
  flex: 1 1 auto;           /* cresce: spinge l’autore verso il fondo */
}

.page-testimonials .testimonial-item .testimonial-author{
  margin-top: auto;         /* resta attaccato al bottom della card */
}
