.lavori .flex {display: flex;flex-wrap: wrap;gap: 60px 30px;}
.lavori .flex .bl {width: 100%;}
.lavori .flex .bl img {width: 100%;aspect-ratio: 4/3;height: auto;object-fit: cover;}
.lavori .flex .bl .txt {margin: 10px 0 0;}
.lavori .flex .bl .txt h3 {color: #808080;display: -webkit-box;-webkit-box-orient: vertical;line-clamp: 2;-webkit-line-clamp: 2;overflow: hidden;}
.lavori .flex .bl .txt .cta {font-size: 16px;font-weight: 700;text-decoration: underline;color:#407caf;margin: 10px 0 0;}


.img-video {display: flex;flex-wrap: wrap;gap: 60px 30px;margin: 0 0 30px;}
.img-video .bl {width: 100%;}
.img-video .bl img, .img-video .bl iframe {width: 100%;aspect-ratio: 16/9;height: auto;object-fit: cover;}


.desc {margin: 0 0 60px;}
.desc h2, .desc h3, .desc h4, .desc h5 {font-family: 'Oswald', sans-serif;line-height: 1.2;margin: 20px 0 15px;}
.desc h2 {font-size: clamp(24px, 28px, 2.8vw);}
.desc h3 {font-size: clamp(22px, 26px, 2.6vw);}
.desc h4 {font-size: clamp(20px, 24px, 2.4vw);}
.desc h5 {font-size: clamp(18px, 22px, 2.2vw);}
.desc ul, .desc ol {margin: 10px 0;padding: 0;font-size: 16px;}
.desc ul, .desc ul li {list-style: inside disc;}
.desc ol, .desc ol li {list-style: inside decimal;}
.desc ul li::marker, .desc ol li::marker {color:#407caf;}
.desc p {font-size: 16px;}
.desc a {color: #407caf !important;font-weight: bold;text-decoration: underline;transition: all .3s;}
.desc a:hover {color: #F0542D !important;}


.gallery {display: flex;flex-wrap: wrap;gap: 30px;margin: 0 0 50px;}
.gallery .thumb {display: block;width: 100%;}
.gallery .thumb img {width: 100%;height: auto;aspect-ratio: 1/1;object-fit: cover;}


@media screen and (min-width:301px) {
    .gallery .thumb {width: calc(50% - 15px);}
}
@media screen and (min-width:481px) {
    .gallery .thumb {width: calc(33.33% - 20px);}
}

@media screen and (min-width:651px) {
    .lavori .flex .bl {width: calc(50% - 15px);}
    .img-video .bl {width: calc(50% - 15px);}
}
@media screen and (min-width:751px) {
    .gallery .thumb {width: calc(25% - 22.5px);}
}
@media screen and (min-width:901px) {
    .gallery .thumb {width: calc(20% - 24px);}
}
@media screen and (min-width:1025px) {
    .lavori .flex .bl {width: calc(33.33% - 20px);}
    .gallery .thumb {width: calc(16.66% - 25px);}
}

