﻿    #page-intro picture::after{background: rgba(0, 0, 0, .4);} 

    #page-intro__copy img:not(.pappaloop-prefix-title){width:100%;height:270px;object-fit:cover;display:block;border-radius:1.6rem;margin-top:3.2rem}


    .content-media-grid-section{padding-bottom:4.4rem}
    .content-media-grid__column-body,
    .content-media-grid__reverse .content-media-grid__column-body{place-content:center}
    #svolta-section,#sviluppo-section{padding-top:0}


@media(max-width:1279px){
    #page-intro h2{font-size:3.2rem}
    p{font-size:1.6rem;line-height:1.6}
}


/* WELCOME */
#team{text-align:center;}
#team h3{place-content:center;flex-direction:column;gap:2.4rem}


#team-grid{margin-top: 4.4rem;display: flex;flex-wrap: wrap;gap: 2.4rem;flex-direction:column}
#team-grid img{width:100%;height:auto;border-radius:1.6rem}
#team-grid > figure{display:block;margin:0}
#team-grid > figure:first-of-type img{aspect-ratio:81/59;object-fit:cover}
#team-grid figcaption,
.content-media-grid__column-img figcaption{text-align:left;font-family:var(--ff-heading);color:#555;font-size:1.6rem;margin-top: .6rem;}        
#team-grid figcaption b{font-family:var(--ff-heading)}

#team-grid figure{width: 100%;}


@media(min-width:768px){
    #team-grid figcaption,
    .content-media-grid__column-img figcaption{font-size: 1.8rem;}
    #team img:not(.pappaloop-prefix-title){aspect-ratio:auto}
}

@media(min-width:992px){
    #team-grid{flex-direction:row}
    #team-grid figure{width: calc(50% - 1.2rem);}
    #team-grid figure:first-of-type{width:100%;}
}

@media(min-width:1280px) {
    #team{padding-bottom:8.8rem}
    #team p{width:calc(((100% - (12 - 1) * 2.4rem) / 12) * 10 + (10 - 1) * 2.4rem);margin:auto;font-size:1.8rem;margin-top:2.4rem}
    #team-grid{flex-direction:row}
    #team-grid figure,#team-grid figure:first-of-type{width: calc(50% - 1.2rem);}
    #team-grid figure:nth-of-type(3),
    #team-grid figure:nth-of-type(4),
    #team-grid figure:nth-of-type(5){width: calc((100% - 4.8rem) / 3);}
}

@media(min-width:1440px){
    #team h2{font-size:6.4rem}
    #team .button{width:calc(((100% - (12 - 1) * 2.4rem) / 12) * 2 + (2 - 1) * 2.4rem);}
}

@media(min-width:1920px) {
    #team p{width:calc(((100% - (12 - 1) * 2.4rem) / 12) * 8 + (8 - 1) * 2.4rem);margin:auto;font-size:1.8rem;margin-top:2.4rem}
}


#end-section{padding: 8.8rem 0;border-radius: 6.4rem 6.4rem 0 0;}
#end-section .max-width p:first-of-type{text-align: center;font-size: 3.2rem;line-height: 1.2;color: var(--primary-color);}
#end-section .max-width p:last-of-type{text-align: center;color: var(--primary-color);font-size: 2.4rem;font-style: italic;line-height:1.2}


@media(min-width:1280px){
    #end-section .max-width p:first-of-type{width: calc(((100% - (12 - 1) * 2.4rem) / 12) * 8 + (8 - 1) * 2.4rem);margin: auto;font-size: 4.8rem;}
    #end-section .max-width p:last-of-type{width: calc(((100% - (12 - 1) * 2.4rem) / 12) * 8 + (8 - 1) * 2.4rem);margin-left: auto;margin-right:auto}
}


@media(min-width:1440px){
    #end-section .max-width p:first-of-type{font-size: 5.6rem;}
    #end-section .max-width p:last-of-type{font-size: 2.4rem;}
}


