/* Screen profiles mirror the consolidated V9. Printing opens the original PDF. */
html:has(.scheda-consolidata){height:auto;overflow:auto;scroll-behavior:smooth}
body.scheda-consolidata{height:auto;min-height:100dvh;overflow:visible;display:block;background:#f4f8fb;color:#193c55;font-size:16px;line-height:1.6}
.scheda-consolidata .info-head{position:relative}
.scheda-main{width:100%;max-width:1440px;margin:auto;padding:28px clamp(20px,4vw,64px) 48px;box-sizing:border-box}
.scheda-section-nav{display:flex;gap:10px 22px;flex-wrap:wrap;padding:0 0 22px;margin-bottom:24px;border-bottom:1px solid #c3d7e4;font-size:14px}
.scheda-section-nav a{color:#194b80;font-weight:600;text-decoration:none}.scheda-section-nav a:hover{text-decoration:underline}
.scheda-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:42px;align-items:start}
.scheda-sidebar{min-width:0}.scheda-portrait{height:300px;display:flex;align-items:end;justify-content:center;background:linear-gradient(150deg,#e3f2f5,#fff);border:1px solid #d6e3ec;border-radius:16px;overflow:hidden}
.scheda-portrait>img{height:100%;width:100%;object-fit:contain;object-position:center bottom}
.scheda-initials{align-self:center;color:#164782;font-size:72px;font-weight:600}.scheda-recapiti,.scheda-personal-site{margin-top:24px}
.scheda-sidebar h2{font-size:17px;line-height:1.3;margin:0 0 12px;color:#113c79}
.scheda-recapiti>a{display:flex;flex-direction:column;gap:3px;padding:12px 0;border-bottom:1px solid #d6e3ec;text-decoration:none;color:#04768e;overflow-wrap:anywhere}
.scheda-recapiti>a span{font-size:12px;line-height:1.45;color:#536b81}.scheda-recapiti strong{font-size:16px}
.scheda-personal-site>a{display:grid;grid-template-columns:1fr auto;align-items:center;color:#153e7b;text-decoration:none;background:white;border:1px solid #d6e3ec;padding:12px;border-radius:12px}
.scheda-personal-site>a>img{grid-column:2;grid-row:1/3}.scheda-personal-site>a>span:first-child{font-size:14px;font-weight:600}
.scheda-arrow{font-size:47px;line-height:1.2;color:#139cce;text-shadow:0 2px 0 #075b96,1px 3px 0 #0a447a,3px 5px 4px #203a5540}
.scheda-heading{padding-bottom:24px}.scheda-eyebrow{color:#04768e;font-size:12px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;margin:0 0 10px}
.scheda-heading h1,.directory-heading h1{color:#123b7b;font-size:clamp(30px,3.4vw,48px);line-height:1.15;margin:0 0 12px;letter-spacing:-.7px}
.scheda-role{color:#008198;font-size:20px;margin:0 0 16px;line-height:1.4}.scheda-heading p:not(.scheda-role):not(.scheda-eyebrow):not(.scheda-print-hint){max-width:70ch}
.scheda-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0 8px}.scheda-actions a{display:inline-flex;padding:11px 17px;border-radius:7px;text-decoration:none;border:1px solid #b4cedf;color:#153f7e;font-size:15px;font-weight:600}
.scheda-actions .scheda-print{color:white;background:#173f81;border-color:#173f81;box-shadow:0 3px 9px #0b31541a}.scheda-actions .scheda-print:hover{background:#0a658f}.scheda-print-hint{font-size:12px;color:#667b8d;margin:0}
.scheda-cv,.scheda-timeline,.scheda-locations{padding-top:26px;margin-top:20px;border-top:1px solid #c4d8e6;scroll-margin-top:24px}
.scheda-details h2{font-size:25px;line-height:1.25;color:#153f7e;margin:0 0 22px}.scheda-cv section{margin:20px 0}.scheda-cv h3{font-size:17px;line-height:1.4;color:#153f7e;margin:0 0 6px}.scheda-cv p{margin:0 0 16px}
.scheda-timeline ol{padding:12px 0 0;list-style:none;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:0;margin:28px 0 20px}
.scheda-timeline li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;min-width:0;padding:22px 5px 0;border-top:3px solid #90c4e5;line-height:1.35;font-size:12px}
.scheda-timeline li:before{content:'';position:absolute;top:-7px;width:11px;height:11px;border-radius:50%;background:#143f81;box-shadow:0 0 0 3px #f4f8fb}.scheda-timeline li:last-child:before{background:#008a9b}.scheda-timeline li strong{color:#153f7e;margin-bottom:5px;font-size:13px}.scheda-timeline>p{font-size:13px;text-align:center;padding:9px;background:#e0f1f6;border-radius:7px}
.scheda-office{background:#fff;border:1px solid #c8dce7;border-radius:12px;padding:22px;margin:0 0 24px;overflow:hidden}.scheda-office h3{font-size:23px;color:#153f7e;margin:0 0 8px;line-height:1.2}.scheda-office header>p{font-size:17px;font-weight:600;margin:0 0 3px}.scheda-office address{font-style:normal;color:#4e677d;font-size:14px}.scheda-office-phone{display:inline-block;margin-top:5px;color:#007b90;font-size:15px;font-weight:700;text-decoration:none}
.scheda-office-bottom{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:18px;margin-top:18px;align-items:center}.scheda-maps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.scheda-maps figure{margin:0}.scheda-maps img{width:100%;height:150px;object-fit:cover;border-radius:6px}.scheda-maps a{text-decoration:none;min-width:0}.scheda-maps figcaption{font-size:11px;color:#49657b;margin-top:4px}
.scheda-directions{display:flex;flex-direction:column;gap:6px;align-items:center;text-align:center;text-decoration:none;color:#153f7e;font-size:11px;line-height:1.4}.scheda-directions img{background:#fff;width:108px;height:108px;object-fit:contain}
.scheda-service{border:1px solid #b8d2e2;border-radius:14px;padding:24px;margin-top:44px;background:#fff;scroll-margin-top:24px}.scheda-service h2{font-size:17px;color:#153f7e;text-align:center;margin:0 0 24px}.service-contacts{display:grid;grid-template-columns:1fr 160px 1fr;gap:20px;align-items:center;margin-bottom:24px}.service-contacts h3{font-size:14px;color:#153f7e;margin:0 0 5px;line-height:1.4}.service-contacts address{font-style:normal;font-size:13px}.service-contacts>div:last-child{text-align:right}.service-contacts a{color:#007f91;text-decoration:none;font-size:15px;font-weight:700}.service-green img{width:100%;height:auto;object-fit:contain}
.service-qr{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}.service-qr a{display:flex;align-items:center;flex-direction:column;gap:8px;text-align:center;text-decoration:none;font-size:12px;color:#38566f;border-radius:8px;background:#eef5fa;padding:12px 5px}.service-qr a:nth-child(3){background:#fff7e2}.service-qr a:nth-child(n+4){background:#eaf6ed}.service-qr img{width:min(100%,128px);height:auto;object-fit:contain;background:#fff}
.directory-heading{max-width:760px;margin:0 0 36px}.directory-heading>p{font-size:17px}.directory-heading>a{color:#155386}.scheda-directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.scheda-directory article{border:1px solid #cbdce7;border-radius:12px;background:#fff;overflow:hidden;display:flex;flex-direction:column;justify-content:space-between}.directory-person{display:flex;align-items:start;gap:16px;padding:20px;text-decoration:none;color:#214b67}.directory-person img{width:80px;height:104px;object-fit:contain;object-position:bottom;background:#edf5f7;border-radius:8px;flex:none}.directory-person h2{font-size:19px;line-height:1.25;color:#153f7e;margin:0 0 7px}.directory-person p{font-size:13px;line-height:1.4;margin:0 0 10px}.directory-person>div>span{font-size:12px;font-weight:600;color:#087891}.directory-cities{color:#647c8d}.directory-initials{display:flex;align-items:center;justify-content:center;font-size:32px;color:#153f7e;width:80px;height:104px;flex:none;background:#edf5f7;border-radius:8px}.directory-pdf{padding:12px 20px;background:#edf4fa;color:#153f7e;font-size:13px;text-decoration:none;font-weight:600;border-top:1px solid #d7e4ed}
@media screen and (min-width:901px){.vip-airport-page #oculisti #pesce{left:92%!important;--body:min(32cqh,20vw);--floor:66%}.vip-airport-page #oculisti #pesce .vip-figure img{width:100%;height:100%;object-fit:contain;object-position:center bottom}}
@media(max-width:1100px){.scheda-layout{grid-template-columns:220px minmax(0,1fr);gap:26px}.scheda-portrait{height:275px}.scheda-directory{grid-template-columns:repeat(2,minmax(0,1fr))}.scheda-office-bottom{grid-template-columns:minmax(0,1fr) 98px}.scheda-directions img{width:90px;height:90px}.scheda-maps img{height:125px}.service-contacts{grid-template-columns:1fr 130px 1fr;gap:14px}}
@media(max-width:760px){.scheda-layout{grid-template-columns:1fr}.scheda-sidebar{display:grid;grid-template-columns:150px 1fr;gap:18px}.scheda-portrait{height:200px}.scheda-recapiti{margin:0}.scheda-personal-site{grid-column:1/-1;margin-top:0}.scheda-personal-site>a{grid-template-columns:1fr 70px;max-width:320px}.scheda-personal-site img{width:70px;height:70px}.scheda-section-nav{gap:9px 14px;font-size:12px}.scheda-directory{grid-template-columns:1fr}.service-contacts{grid-template-columns:1fr;justify-items:center;text-align:center}.service-green{width:150px;grid-row:1}.service-contacts>div:last-child{text-align:center}.service-qr{grid-template-columns:repeat(3,minmax(0,1fr))}.scheda-timeline{overflow-x:auto}.scheda-timeline ol{min-width:580px}.scheda-office{padding:16px}.scheda-office-bottom{grid-template-columns:1fr}.scheda-directions{flex-direction:row;justify-content:center}.scheda-maps img{height:125px}.scheda-heading h1{font-size:34px}}
@media print{.scheda-consolidata .info-head,.scheda-consolidata .info-footer,.scheda-section-nav,.scheda-actions,.scheda-service,.scheda-sidebar,.scheda-maps,.scheda-directions{display:none!important}.scheda-layout{display:block}.scheda-main{padding:0}.scheda-office,.scheda-cv section{break-inside:avoid}.scheda-print-hint{display:block!important}.scheda-print-hint:after{content:' · La versione approvata per la stampa è disponibile tramite il pulsante PDF della scheda.'}}

/* Shared professional profile: external site alongside the introductory portrait row. */
.scheda-heading.scheda-heading-with-site{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:22px;align-items:start}
.scheda-heading-with-site>.scheda-personal-site{margin:0;padding:0;align-self:start}
.scheda-heading-with-site>.scheda-personal-site h2{margin:0 0 10px;font-size:17px}
.scheda-heading-with-site>.scheda-personal-site a{margin:0;width:100%;box-sizing:border-box}
.scheda-heading-with-site .scheda-heading-copy{min-width:0}
@media(max-width:1000px){.scheda-heading.scheda-heading-with-site{grid-template-columns:minmax(0,1fr) 150px;gap:14px}}
@media(max-width:650px){.scheda-heading.scheda-heading-with-site{grid-template-columns:1fr}.scheda-heading-with-site>.scheda-personal-site{width:180px;justify-self:end}}

