/* Profile overview: credentials and direct access before long narrative sections. */
.gg-profile-hero{padding:48px 0 56px}
.gg-profile-hero .gg-bio-grid{grid-template-columns:1.2fr .8fr;gap:52px;align-items:start}
.gg-profile-hero .gg-kicker{margin-bottom:14px}
.gg-profile-hero h1{font-size:clamp(40px,4.2vw,59px)}
.gg-profile-hero p.gg-lead{font-size:17px!important;line-height:1.65!important;margin-top:18px!important;max-width:660px}
.gg-profile-facts{list-style:none!important;padding:0!important;margin:24px 0 0!important;display:grid;grid-template-columns:1fr 1fr;gap:0 24px}
.gg-profile-facts li{list-style:none;margin:0!important;padding:13px 0!important;border-top:1px solid var(--gg-line);font-size:13px;line-height:1.55}
.gg-profile-facts strong{display:block;font-size:10px;text-transform:uppercase;letter-spacing:1px;color:var(--gg-moss);margin-bottom:5px}
.gg-profile-facts span{display:block;color:var(--gg-muted)}
.gg-profile-nav{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
.gg-profile-nav a{display:flex;justify-content:space-between;align-items:center;gap:8px;border:1px solid #b9c3b2;padding:13px 14px;min-height:48px;font-size:15px;line-height:1.4;background:#e8eadf}
.gg-profile-nav a:first-child{background:var(--gg-ink);border-color:var(--gg-ink);color:#fff}
.gg-profile-nav a:hover{background:#d9dfd0;color:var(--gg-ink)}
.gg-profile-hero .gg-bio-figure .gg-documentary-frame{max-height:520px;min-height:0!important;aspect-ratio:auto}
.gg-profile-hero .gg-bio-figure img{width:100%;height:520px;max-height:520px;object-fit:contain}
#attivita-scientifica,#pubblicazioni,#formazione,#come-lavoro{scroll-margin-top:110px}
#attivita-scientifica .gg-science-grid{display:block}
#attivita-scientifica .gg-congress-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
#attivita-scientifica .gg-congress-list>li{min-width:0}
#attivita-scientifica .gg-congress-list>li:last-child{grid-column:1/-1}
#attivita-scientifica .gg-congress-media figure{max-width:none}
#attivita-scientifica .gg-congress-media .gg-event-video{max-width:100%}
#attivita-scientifica .gg-congress-photo-wide{display:block;width:100%}
.gg-home-profile{padding:64px 0;border-bottom:1px solid var(--gg-line)}
.gg-home-profile .gg-doctor{grid-template-columns:.65fr 1.35fr;gap:52px}
.gg-home-profile .gg-documentary-frame{max-height:380px;min-height:0!important;aspect-ratio:auto}
.gg-home-profile .gg-documentary-frame img{width:100%;height:380px;max-height:380px;object-fit:contain}
.gg-home-profile .gg-kicker{margin-bottom:14px}
.gg-home-profile .gg-home-credentials{font-size:13px!important;color:var(--gg-ink);padding-top:17px!important;border-top:1px solid var(--gg-line)}
.gg-profile-home-links{display:flex;gap:12px 25px;flex-wrap:wrap;margin-top:15px}
.gg-profile-home-links a{min-height:44px}
@media(max-width:850px){
 .gg-profile-hero{padding:28px 0 36px}
 .gg-profile-hero .gg-bio-grid{grid-template-columns:1fr;gap:28px}
 .gg-profile-hero h1{font-size:clamp(32px,8.9vw,43px);letter-spacing:-1px!important}
 .gg-profile-hero p.gg-lead{font-size:15px!important;line-height:1.6!important;margin-top:15px!important}
 .gg-profile-facts{gap:0 18px;margin-top:19px!important}
 .gg-profile-facts li{font-size:12px;line-height:1.5;padding:11px 0!important}
 .gg-profile-facts strong{font-size:9px;letter-spacing:.8px}
 .gg-profile-nav{gap:8px;margin-top:16px}
 .gg-profile-nav a{padding:12px 10px;font-size:15px;min-height:52px}
 .gg-profile-hero .gg-bio-figure{display:block;width:100%;margin:0}
 .gg-profile-hero .gg-bio-figure .gg-documentary-frame{width:100%;height:440px;max-height:440px}
 .gg-profile-hero .gg-bio-figure img{height:440px;max-height:440px;object-fit:contain}
 #attivita-scientifica,#pubblicazioni,#formazione,#come-lavoro{scroll-margin-top:94px}
 #attivita-scientifica .gg-congress-list{grid-template-columns:1fr;gap:12px}
 .gg-home-profile{padding:40px 0}
 .gg-home-profile .gg-doctor{grid-template-columns:1fr;gap:24px}
 .gg-home-profile .gg-doctor>div:last-child{grid-row:1}
 .gg-home-profile h2{font-size:33px}
 .gg-home-profile p{font-size:14px!important;margin-top:16px!important}
 .gg-home-profile .gg-documentary-frame{max-height:440px;width:100%}
 .gg-home-profile .gg-documentary-frame img{height:440px;max-height:440px;object-fit:contain}
}
