/*
COLORS
Orange:		#FFA500
*/

.template-cards-row{
	padding: 60px 0;
	position: relative;
}
.template-cards-row .cards-row-bg{
	width: 100%;
	top: 160px;
	position: absolute;
	bottom: 0;
	background: #FAFAFA;
	z-index: 0;
}
.template-cards-row .container{
	position: relative;
	z-index: 1;
}
.template-cards-row .cards-row-container{
	display: flex;
    gap:40px;
    align-items: flex-start;
}
.template-cards-row .cards-row-card{
	background: #FFA500;
	border-radius: 10px;
	transition: all 0.25s ease;
    overflow: hidden;
	padding: 25px;
	flex: 1 1 25%;
	
}

.template-cards-row .cards-row-card:hover {
    transform: translateY(-4px);
}

/* effetto apertura più morbido */
.template-cards-row .cards-row-card.active {
    transform: translateY(-2px);
}

.template-cards-row .cards-row-card h3{
	color: #fff;
	text-transform: uppercase;
	font-size: 22px;
	font-weight: 600;

}
.template-cards-row .cards-row-card .cards-row-icon{
	padding: 10px;
	background-color: #fff;
	border-radius: 5px;
	transition: background-color .3s;
}
.template-cards-row .cards-row-card .cards-row-icon svg{
	color: #FFA500;
}



/* header cliccabile */
.template-cards-row .cards-row-card-header {
    cursor: pointer;
    display: flex;
	flex-direction: column;
	gap:40px;
	align-items: start;
	flex: 1 1 0;
	min-width: 0;
	justify-content: space-between;
}

/* contenuto animato */
.template-cards-row .cards-row-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* padding animato per evitare “tagli brutti” */
.template-cards-row .cards-row-content-inner {
    padding-top: 0;
    padding-bottom: 0;
    transition: padding 0.3s ease;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
}

.template-cards-row .cards-row-card.active .cards-row-content-inner {
    padding-top: 35px;
    padding-bottom: 20px;
}
@media (max-width: 1280px) {
	.template-cards-row .cards-row-card h3{
		font-size: 20px;

	}
}
@media (max-width: 1024px) {
	.template-cards-row .cards-row-card{
		flex: 1 1 47%;		
	}
	.template-cards-row .cards-row-container{
		flex-wrap: wrap;
	}
	.template-cards-row{
		padding: 0;
	}
	.template-cards-row .cards-row-container{
	    gap:20px;
	}
		
}
@media (max-width: 768px) {
	
	.template-cards-row .cards-row-card{
		flex: 1 1 100%;		
	}
	
	.template-cards-row .cards-row-card-header {
		gap: 20px;
	}


}
@media (max-width: 768px) {
}