/******* TESTIMONIALS ********/


.testimonial-grid {
	display: flex;
    flex-direction: column;
    flex-wrap: wrap;
	gap: 60px;
	width: 100%;
}


.first_row,
.second_row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
}

.box_t {
	width: 40%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
}

/* Di default immagine a destra */
.right_t {
    flex-direction: row;
}

/* Se vuoi immagine a sinistra */
.left_t {
    flex-direction: row-reverse;
}

#testimonials_azzurro .box_info_t {background-color: #edfaff;}

#testimonials_rosa .box_info_t {
	    background: linear-gradient(160deg, #fffdf9, #ffe6ff);
}


.box_info_t {
	width: 65%;

    border-radius: 10px;
    padding: 10px 20px;
    text-align: center;
}

.box_info_t span {
	font-family: "Open Sans", Sans-serif;
	
    font-size: 11px;
    font-weight: 400;
    color: #403f3e;
}

.box_info_t h2 {
    font-family: "League Spartan", Sans-serif;
    font-size: 27px;
    font-weight: 700;
    color: #403f3e;
}


.box_img_t {
	width: 35%;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    position: relative;
}

.box_img_t img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    display: block;
}


/* Mobile: forzo l’alternanza con nth-child */
@media screen and (max-width: 768px) {
	
	
	.box_t {width:100%;}

    /* annullo le classi */
    .right_t,
    .left_t {
        flex-direction: row;
    }

    .testimonial-grid > .first_row,
    .testimonial-grid > .second_row {
        display: contents; /* per rendere tutti i box_t "sorelle" nello stesso flusso */
    }

    .first_row .box_t:nth-child(odd),
    .second_row .box_t:nth-child(odd) {
        flex-direction: row;
    }

    .first_row .box_t:nth-child(even),
    .second_row .box_t:nth-child(even) {
        flex-direction: row-reverse;
    }
}



/*****************************
.left_container {width:35%;}

.right_container {width:55%;}


.box_interno_left {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
	/* justify-content: space-between; *
	height: 100%;
	gap: 30px;
}

.box_interno_right {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 30px;
	
}



#testimonial_1,
#testimonial_3,
#testimonial_5
{
    background-color: #f3f3f3;
    border-radius: 10px;
	padding: 20px 30px 0 30px;
	
}

#testimonial_2,
#testimonial_4
{
    background-color: #f6fbfe;
    border-radius: 10px;
	padding: 20px 30px 0 30px;
	
}

#testimonial_4, #testimonial_5 {
	width: calc(50% - 15px);
}

#testimonial_1 img {width:75%;}



.container_t .box_copy h3 {
	font-family: "League Spartan", Sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    text-align: center;
    margin: 15px 0 20px 0;
    text-transform: uppercase;
}


.container_t .box_img {
	position:relative;
	padding: 20px 20px 0 20px;
	text-align:center;
}

.container_t img {
	border: 14px solid #1e1e1e;
    border-radius: 10px;
}

.container_t .caption {
	margin: 10px;
	font-size: 14px;
	text-align: center;
	height: 30px;
}


.horizontal_t {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
	align-items: center;
}

.horizontal_t .box_copy {width:40%;}
.horizontal_t .box_img {width:60%;}
.horizontal_t .box_info_t {width:100%;}


#testimonial_4 .box_copy p {
	font-family: "Open Sans", Sans-serif;
	/* text-transform: uppercase; *
	font-size: 17px;
	font-weight: 400;
	color: var(--text);
	font-style: italic;
	margin-bottom: 20px;
	text-align: center;
}





/* POPUP */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px solid #edfaff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease;
}

.play-button:hover {
    background: #edfaff;
}

/* Cambia il triangolo al passaggio del mouse */
.play-button:hover .triangle {
    border-left-color: #000;
}

/* Triangolo al centro */
.play-button .triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 16px solid #edfaff;
    margin-left: 4px;
}


