section.recensioni-sec.recensioni-top.team-sec {
	background: linear-gradient(137deg, #222121 46.26%, ##222121 132.3%) !important;
}

.team-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.team-header h2 {
	margin: 0;
}

.team-carousel {
	margin-top: 100px;
}

.team-prev::before {
	content: "INDIETRO";
	color: #fff;
	text-align: right;
	font-family: Commissioner;
	font-size: 13px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 1.3px;
	position: absolute;
	left: 50px;
	padding: 10px 0px;
	transition: left 0.3s ease;
}

.team-prev:hover::before {
	left: 60px;
}

.team-prev {
	border-right: 2px solid transparent !important;
}

.team-next {
	border-left: 2px solid transparent !important;
}

.team-next::after {
	content: "AVANTI";
	color: #fff;
	text-align: right;
	font-family: Commissioner;
	font-size: 13px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: 1.3px;
	position: absolute;
	right: 50px;
	padding: 10px 0px;
	transition: right 0.3s ease;
}

.team-next:hover::after {
	right: 60px;
}

.team-prev,
.team-next {
	background: transparent;
	border: 2px solid #ee7d34;
	color: #ee7d34;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	position: relative;
}

.team-prev:hover,
.team-next:hover {
	border: 2px solid #fff;
}

.team-carousel .item {
	display: flex;
	justify-content: center;
}

/* CARD */
.team-card {
	width: 205px;
	height: 240px;
	display: block;
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	background-image: var(--bg);
	background-size: cover;
	background-position: center;
	text-decoration: none;
	color: #fff;
}

/* overlay gradiente per leggibilità testo */
.team-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg,
			rgba(0, 0, 0, 0) 40%,
			rgba(0, 0, 0, 0.8) 100%);
}

.team-card__overlay {
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 14px;
	z-index: 1;
}

.team-card__name {
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
}

.team-card__role {
	margin-top: 6px;
	font-size: 11px;
	opacity: .9;
}

/* hover */
.team-card:hover {
	transform: translateY(-2px);
	transition: transform .2s ease;
}

/* CTA */
.team-cta {
	margin-top: 18px;
	background: transparent;
	border: 0;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
}

.recensioni-top.team-sec {
	padding: 80px 0px 0px 0px;
}