section.home_testata {
	padding: 0;
    min-height: fit-content;
}
section.home_testata .wrapper {
	padding: 40px 0;
}
section.home_testata .titolo {
	font-family: var(--fontFamily);
	font-size: 64px;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 24px;
}
section.home_testata h4.sottotitolo {
    font-weight: 400;
    font-family: var(--fontTesto);
    line-height: 1.4;
}
section.home_testata h4.sottotitolo:not(:last-child) {
	margin-bottom: 40px;
}

section.home_testata .container {
    position: relative;
}
section.home_testata .bg_img,
section.home_testata .bg_video {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
section.home_testata .bg_video {
    object-position: 70%;
}
@media (max-width: 1199px){
	section.home_testata .titolo {
		font-size: 54px;
	}
}
@media (max-width: 991px){
	section.home_testata .bg_video {
		object-position: 50% 30%;
	}
	section.home_testata .wrapper {
		margin-top: 180px;
	}
	
	section.home_testata .testata_testi { text-align: center; }
	section.home_testata .testata_testi > p:last-child:has(a) { 
		display: flex;
		justify-content: center;
	}
	
	section.home_testata .titolo {
		font-size: 40px;
	}
}
@media (max-width: 580px){
	section.home_testata .bg_video {
		object-position: center top;
	}
}