/* Compact original portraits: avoid magnifying the 196px source images. */
@media(min-width:761px){
 html body.about-page.about-page--home #team .about-team-home__grid{max-width:960px!important;margin-inline:auto!important;gap:22px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;}
}
html body.about-page.about-page--home #team .about-person-card__portrait{aspect-ratio:196/244!important;}
html body.about-page.about-page--home #team .about-person-card__portrait img{image-rendering:auto;}

html body.about-page.about-page--home #home h1 .about-hero-title-line{display:block!important;}

@media(min-width:901px){html body.youth-mode.about-page.about-page--home main#main section#home#home#home#home[data-desktop-gradient] h1 .about-hero-title-line{display:block!important;}}
html body.about-page.about-page--home #team .about-person-card__portrait{width:min(100%,196px)!important;margin-inline:auto!important;}

/* Shared blue photo-card overlay. Heroes and the pathway reference cards are excluded. */
html body[class] :is(#review-photo#review-photo-a#review-photo-b#review-photo-c#review-photo-d#review-photo-e,.mfe-photo-card:not(.audience-card))::after{
 background:var(--review-card-shade,linear-gradient(to top,#071b36 0%,rgba(7,27,54,.98) 18%,rgba(7,27,54,.90) 36%,rgba(7,27,54,.70) 49%,rgba(7,27,54,.25) 65%,rgba(7,27,54,0) 78%))!important;
}
html body.home-page :is(#esperienze,#guide) .mfe-photo-card{--review-card-shade:linear-gradient(to top,#071b36 0%,rgba(7,27,54,.93) 18%,rgba(7,27,54,.55) 33%,rgba(7,27,54,.15) 49%,rgba(7,27,54,0) 66%);}
html body.home-page #chi-siamo .team-service-card__copy{bottom:max(6px,calc(clamp(20px,2.2vw,28px) - .5cm))!important;}
html body.about-page #collabora-con-noi .about-why__grid{align-items:stretch!important;}
html body.about-page #collabora-con-noi .about-why__grid>article{height:100%!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;align-items:center!important;text-align:center!important;}
html body.about-page #collabora-con-noi .about-why__grid>article>span{align-self:center!important;margin-inline:auto!important;}
html body.about-page #collabora-con-noi .about-why__grid>article h3{min-height:3em!important;}
html body.about-page #collabora-con-noi .about-why__grid>article :is(a,button){margin-top:auto!important;}
html body.about-page [data-review-team-primary]{background:#c73531!important;color:#fff!important;border-color:#c73531!important;}
html body .official-english-flag{display:inline-block!important;width:24px!important;height:12px!important;flex:none!important;border-radius:1px!important;}
html body .teen-age-break{display:block!important;}
