/* Shared opening photo geometry across section pages. Profile portraits and
   article illustrations retain their dedicated editorial formats. */
body #main :is(.page-intro.with-image>.wrap,.news-hero,.insights-hero,.recruit-masthead-grid){grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;align-items:center}
body #main :is(.intro-image,.news-hero>figure,.insights-hero>figure,.recruit-studio-photo){width:100%;max-width:none;min-width:0;height:auto;margin:0;align-self:center;border-radius:12px;overflow:hidden}
body #main :is(.intro-image,.news-hero>figure,.insights-hero>figure){display:block}
body #main :is(.intro-image>img,.news-hero>figure>img,.insights-hero>figure>img){display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center top}
body #main :is(.intro-image,.news-hero>figure,.insights-hero>figure,.recruit-studio-photo)>figcaption{box-sizing:border-box;min-height:45px;padding:12px 16px;margin:0;font:400 13px/1.6 Arial,sans-serif;color:#dfbf83;background:#192633}
body #main .recruit-photo-frame{aspect-ratio:3/2;overflow:hidden}
/* Preserve the approved exclusion of the top 400 pixels of the real photo. */
body #main .recruit-photo-frame>img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center bottom;transform:scale(1.333334);transform-origin:center bottom}
@media(max-width:760px){
 body #main :is(.page-intro.with-image>.wrap,.news-hero,.insights-hero,.recruit-masthead-grid){grid-template-columns:minmax(0,1fr);gap:24px}
 body #main .news-hero>figure{margin:0}
}
/* One opening baseline below the shared back navigation. */
body #main>.breadcrumb:has(+.page-intro.with-image){display:none}
body #main .page-intro.with-image{padding:0;margin-top:0}
body #main .page-intro.with-image>.wrap{padding-top:32px;padding-bottom:36px;align-items:start}
body #main :is(.news-hero,.insights-hero){margin-top:32px;align-items:start}
body #main .recruit-masthead-photo{padding-top:32px}
body #main .recruit-masthead-grid{align-items:start}
body #main :is(.intro-image,.news-hero>figure,.insights-hero>figure,.recruit-studio-photo){align-self:start}
@media(max-width:760px){
 body #main .page-intro.with-image>.wrap{padding-top:24px}
 body #main :is(.news-hero,.insights-hero){margin-top:24px}
 body #main .recruit-masthead-photo{padding-top:24px}
}
@media(max-width:760px){
 body #main :is(.intro-image,.news-hero>figure,.insights-hero>figure,.recruit-studio-photo){order:-1}
}

body #main .news-hero>figure>img.news-corridor-photo{object-position:center 60%}

/* Testate News e Recruiting coordinate alla home antracite e oro. */
body #main .news-hero>figure>img.news-lecce-photo{object-position:center 54%}
body.page-recruiting #main .recruit-studio-photo{max-width:420px;margin-left:auto;border:1px solid #b79a6266;border-radius:0;background:#151617}
body.page-recruiting #main .recruit-photo-frame{aspect-ratio:2/3}
body.page-recruiting #main .recruit-photo-frame>img{transform:none;object-fit:contain;object-position:center}
@media(max-width:760px){body.page-recruiting #main .recruit-studio-photo{margin:0 auto;max-width:400px}}
