main,section#team{z-index:-1;top:0;width:100%}section#DIR,section#team>ul li{height:auto;flex-direction:column;display:flex}section#DIR section div:last-child p,section#team>ul li article section div:last-child p{color:var(--eggplant);font-weight:lighter;line-height:1.5;text-align:justify}body:has(section#team),body>header>div nav#nav>ul{background:0 0!important;filter:none!important}main{background:linear-gradient(to bottom,var(--fog) 15%,var(--white));height:380px;padding:0}section#DIR{flex-wrap:wrap;position:relative;top:0;padding-bottom:60px}section#DIR figure{width:100%;height:300px}section#DIR h5{padding-top:2%;padding-left:0;color:var(--eggplant)!important}section#DIR section{padding:0 3%}section#DIR section div:nth-child(2){margin-bottom:2%}section#team{padding:3% 0;background:linear-gradient(to bottom,var(--fog) 15%,var(--white) 100%);position:relative}section#team>ul{max-width:2000px;width:100%;margin:auto;display:grid;grid-template-columns:repeat(auto-fit,minmax(325px,1fr));padding:0 0 30px;gap:5px}section#team>ul li{list-style:none;width:auto;border:1px solid var(--fog);background-color:rgba(255,255,255,.6);align-items:center;justify-content:center;border-radius:10px;padding:7% 0}section#team>ul li article>figure{width:300px;height:275px;position:relative;margin-bottom:0}section#team>ul li article>figure img{width:300px;height:235px;object-fit:cover;object-position:top;border-radius:15px}section#team>ul li:nth-child(5) article>figure img{object-position:0 50%}section#team>ul li article>figure figcaption{position:relative;top:10px}section#team>ul li article>figure figcaption h5{color:var(--eggplant)!important;position:absolute;bottom:-25px}section#team>ul li article section{width:300px;height:18%;display:flex;flex-direction:column}section#team>ul li article section div:first-child{margin-bottom:3%;display:flex;justify-content:space-between;width:100%;border:1px soldi}section#team>ul li article section div:nth-child(2){font-weight:500;text-transform:uppercase;color:var(--eggplant);white-space:nowrap}section#team>ul li:nth-child(3) article section div:first-child a{display:none}section#team>ul li:nth-child(2) article section div:last-child p,section#team>ul li:nth-child(3) article section div:last-child p{overflow:unset}section#team>ul li:nth-child(4) article section div:nth-child(2) a:first-of-type{display:inline-block!important;margin-right:8px}section#team>ul li article section div:last-child p{white-space:normal}@media screen and (min-device-width:576px){main{height:335px}figure.banner{top:50px;margin-bottom:2%}section#DIR figure{margin:0;height:500px}section#DIR figure img{width:100%;margin:0}section#DIR section{width:100%}section#DIR section div:nth-child(2){margin:1.5% 0}section#team>ul{width:90%;grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}section#team>ul li{border-radius:25px}section#team>ul li article section,section#team>ul li article>figure,section#team>ul li article>figure img{width:375px}section#team>ul li article>figure{height:282px}section#team>ul li article>figure img{object-position:0 50%}section#team>ul li:first-child article>figure img{object-position:0 40%}section#team>ul li:nth-child(3) article>figure img{object-position:0 20%}}@media screen and (min-device-width:768px){main{height:300px}main>figure.banner{left:0;height:100px;margin-bottom:6%}main>figure.banner h1{top:0}main div.description{position:relative;left:.5%}section#DIR{flex-direction:row;width:100%;align-items:center;padding:3% 0 80px 5.5%}section#DIR figure{width:40%;height:auto;display:flex;align-items:center;margin:auto;justify-content:center}section#DIR figure img{border-radius:15px}section#DIR section{width:60%}section#DIR section h5{padding-left:0}section#DIR section div:nth-child(2){margin-bottom:2%}section#team>ul{grid-template-columns:repeat(auto-fit,minmax(340px,1fr))}section#team>ul li article section,section#team>ul li article>figure,section#team>ul li article>figure img{width:305px}section#team>ul li article section div:last-child p{max-height:130px;overflow:scroll}}@media screen and (min-device-width:992px){main div.description{top:20px}section#team>ul{grid-template-columns:repeat(auto-fit,minmax(400px,1fr))}section#team>ul li article section,section#team>ul li article>figure,section#team>ul li article>figure img{width:375px}}@media screen and (min-device-width:1200px){main>figure.banner{flex-flow:wrap-reverse;margin-bottom:5%}main>figure.banner h1{padding:1% 0 0}section#DIR{padding:3% 2% 80px 5%}section#team>ul{grid-template-columns:repeat(auto-fit,minmax(425px,1fr))}section#team>ul li article section,section#team>ul li article>figure,section#team>ul li article>figure img{width:400px}}@media screen and (min-device-width:1400px){section#team>ul li article section,section#team>ul li article>figure,section#team>ul li article>figure img{width:500px}}@media screen and (min-device-width:1600px){section#team>ul li article section,section#team>ul li article>figure,section#team>ul li article>figure img{width:400px}}@media screen and (min-device-width:2400px){main{height:200px}main div.description{top:-50px}}