section.testata_standard .col-testo > *:not(a.btn):not(a.link),
section.testata_standard .col-testo > * > *:not(a.btn):not(a.link) {
    color: var(--color);
}

section.testata_standard {
    min-height: 525px;
    display: flex;
    align-items: center;
}
section.testata_standard .row {
	align-items: center;
}

section.testata_standard img.bg_img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% + 40px);
    object-fit: cover;
	z-index: 0;
}
section.testata_standard:has(img.bg_img):before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: calc(100% + 40px);
    background: linear-gradient(251deg, rgba(0, 0, 0, 0.00) 25.43%, rgba(0, 0, 0, 0.40) 54.7%);
    z-index: 1;
}
section.testata_standard:has(img.bg_img):after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -40px;
    width: 100%;
    height: 40px;
    background-color: #fff;
    z-index: 1;
    border-top-left-radius: 40px;
    border-top-right-radius: 40px;
}
section.testata_standard .wrapper { position: relative; z-index: 2; }

section.testata_standard .col-testo {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
section.testata_standard .testi h1:not(:last-child) {
    margin-bottom: 8px;
}

section.testata_standard .row_txt_form {
    align-items: unset;
}
section.testata_standard .col-form#form {
    scroll-margin-top: 300px;
}
section.testata_standard .col-form .inner {
	position: relative;
	height: 100%;
}
/*section.testata_standard .col-form .inner form.wpcf7-form {*/
section.testata_standard .col-form .inner > .wpcf7 {
	background-color: var(--eti-bg-white);	
	border-radius: 16px;
	padding: 24px;
	border: 1px solid var(--grigio-medio);
	position: absolute;
	top: calc( -1 * var(--eti-section-padding) );
}

section.testata_standard:has(.col-form) {
    margin-bottom: var(--margine);
}

section.testata_standard .col-img {
    display: flex;
    justify-content: flex-end;
    max-height: 400px;
}

@media (max-width: 991px){
	section.testata_standard .col-form .inner > .wpcf7 {
		top: 0;
	}
	section.testata_standard .col-form#form {
		scroll-margin-top: 150px;
	}
}
@media (max-width: 767px){
	section.testata_standard .col-testo { text-align: center; }
	section.testata_standard:has(img.bg_img):before {
		background: rgba(0, 0, 0, 0.40);
	}
}