main{
    position: relative;
    font-weight: 400;
    text-align: left;
    font-family: var(--montserrat);

  
}

h1{
    background-color: transparent;
    font-size: 2rem;
    font-weight: 600;
}

section > .wp-block-group__inner-container{
    max-width: calc(1200px);
    margin-left: auto;
    margin-right: auto ;
}

section{
    padding-top: 32px;
    padding-bottom: 64px;  

}

.hero{
    background: var(--darker-main-2); 
    color: white;
    padding-left:  24px ;
    padding-right: 24px;
}

.hero .img-container{
    width: 100%;
    margin: 48px auto 32px;
    height: auto;
    max-height: 360px; 
    border-radius: 20px;
    overflow: hidden;
} 

.img-container img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content p{
    max-width: 426px;
    margin: 0 auto;
    padding: 8px 0;
    line-height: 140%;

}

.lead{
    padding-top: 48px;
}

.d-none{
	display: none;
}

h2{
    margin-bottom: 32px;
}

.card-container > .wp-block-group__inner-container{
    display: flex;
    flex-wrap: wrap!important;
    justify-content: center!important;
    gap: 32px;
}



.lead-card{
    flex: 0 0 280px;
    height: 420px;
    border-radius: 12px;
    border-radius: 48px;
	overflow: hidden;
    background: #F5F5F5;
    box-shadow: 0px 10px 50px 0px rgba(52, 193, 193, 0.30);
}

.lead-card figure{
    width: 100%;
    height: 200px;
}

.lead-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-text{
    padding: 16px;
}

.card-text h4{
    line-height: 100%;
    font-size: 1.3rem;

}

.card-text h5{
    font-size: .9rem;
    margin: 10px 0 10px;
    line-height: 100%;
    font-weight: 600;
    color: var(--darker-main-4);
}

.card-text P{
    margin-top: 7px;
    font-size: .8rem;
}

.separator{
    width: 20px;
    color: var(--darker-main-3);

}

.collaboratori{
    background: rgba(52, 193, 193, 0.05);
    box-shadow: 0px 5px 30px 0px rgba(52, 193, 193, 0.30), 0px -5px 30px 0px rgba(52, 193, 193, 0.30);
}
.team-card{
    width: 250px;
    height: 170px;
    text-align: center;
}

.team-card > .wp-block-group__inner-container{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card h4{
    font-size: 1rem;
    font-weight: 600;
}

.team-card h5{
    font-size: .8rem;
    font-weight: 500;

}

.cta{
    padding-top: 48px;
    text-align: center;
}



.cta p{

    font-size: 1.5rem;
    font-style: italic;
    margin-bottom: 40px;

}

.cta-btn{
    font-size: 1.2rem;
    position: relative;
    left: 50%;
    transform: translate(-50%);
}

.cta-btn > .wp-block-button__link.wp-element-button{
    background-color: var(--darker-main-4);

}
@media (min-width:425px){

    .hero .img-container{
        height: 360px;
        max-width: 426px;

    }

    .hero{
        padding-left: 32px;
        padding-right: 32px;
    }

}

@media (min-width: 650px){

    .hero-content {
        margin-top: 48px;
    }

    .hero-content > .wp-block-group__inner-container{
        width: 100%;
        margin-top: 48px;
        display: flex;
        align-items: center;
        justify-content: center;

    }

    .hero-content p{
        margin: 0;
        max-width: none;
    }

    .hero .p-group{
        flex: 0 0 calc(50% - 24px);
        max-width: 350px;
    }

    .hero .img-container{
        margin: 0 0;
        margin-right: 32px ; 
        flex: 0 0 calc(50% - 24px);
        max-width: 350px;
        height: auto;
        border-radius: 20px;
    }
    
}
@media (min-width:992px){
    section{
        padding-bottom: 80px ;
    }
    h1{
        font-size: 2.5rem;
    }
    .hero .img-container{
        max-width: none;
        margin-right: 48px;
        max-height: none;
        aspect-ratio: 4/3;
    }
    .hero .p-group{
        max-width: none;
        flex: 0 0 calc(50% - 16px);

    }

    .hero .img-container{
        flex: 0 0 calc(50% - 16px);
    }

    .hero p{
        font-size: 1.2rem;
        line-height: 130%;
    }

    .hero-content > .wp-block-group__inner-container{
        margin-top: 60px;
    }
   
}
@media (min-width: 1200px){

    section{
        padding-bottom: 94px ;
    }

    .hero p{
        font-size: 1.4rem;
    }

}