/* Le fotografie dei centri aprono la scheda A4 come i ritratti dello staff. */
@media screen and (min-width:901px) {
  html .vip-airport-page .vip-stage:not(:has(:is(#hangar,#torre-di-controllo):not([hidden]))) .vip-gates {
    grid-template-columns:repeat(10,minmax(0,1fr))!important;
  }
  .vip-gates #gate-J {min-width:0}
}
.vip-gates #gate-J {background:#175665;color:white;border:2px solid #aadce0}
.vip-gates #gate-J[aria-selected=true],.vip-gates #gate-J:hover {background:#d8f3f3;color:#103749}
.vip-gates #gate-J small,.vip-gates #gate-J span {color:inherit}
html body .vip-stage:has(#centri-oculistici-esterni:not([hidden])) {
  background:#e9f3f6!important;display:flex!important;flex-direction:column;align-items:stretch;
  box-sizing:border-box;padding:clamp(10px,1vw,20px);gap:10px;
  height:auto!important;min-height:calc(100dvh - var(--vip-header-height,84px));max-height:none!important;
  aspect-ratio:auto!important;overflow:visible!important
}
html body .vip-stage:has(#centri-oculistici-esterni:not([hidden])) :is(.vip-heading,.vip-gates,.vip-rosters){
  position:relative!important;inset:auto!important;width:auto!important;height:auto!important;transform:none!important;margin:0!important;
}
html body .vip-stage:has(#centri-oculistici-esterni:not([hidden])) .vip-heading{align-self:center}
html body .vip-stage:has(#centri-oculistici-esterni:not([hidden])) .vip-rosters{flex:1;min-height:0!important;max-width:none!important}
.vip-stage:has(#centri-oculistici-esterni:not([hidden])) :is(.vip-caption,.vip-fans,.vip-person-controls-v166){display:none!important}
html body #centri-oculistici-esterni.vip-panel:not([hidden]){
  display:block!important;position:relative!important;inset:auto!important;width:100%;height:auto!important;
  max-width:860px;box-sizing:border-box;margin:0 auto!important;padding:clamp(12px,2vw,30px);color:#173d52;
}
html body #centri-oculistici-esterni.vip-panel>h2,.centri-directory>h2 {
  display:block;position:static!important;transform:none!important;color:#163e54!important;background:none!important;
  text-shadow:none!important;text-align:left;border:0;letter-spacing:normal;font-size:clamp(22px,2vw,32px);margin:0 0 14px
}
.centri-directory{margin:28px 0;scroll-margin-top:1rem}
.centri-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:16px}
.centro-card{overflow:hidden;border:1px solid #bbd2dc;border-radius:12px;background:#fff;color:#163e54;text-align:left;max-width:800px}
.centro-card a{color:#164775}.centro-card a:focus-visible,.cnao-main a:focus-visible{outline:3px solid #dd8b00;outline-offset:-3px}
.centro-card .centro-open{display:grid;grid-template-columns:1.05fr 1fr;color:inherit;text-decoration:none}
.centro-open>img{width:100%;height:100%;min-height:145px;max-height:230px;object-fit:cover}
.centro-open>div{padding:clamp(14px,2vw,26px);align-self:center}
.centro-open h3{color:#123e56;font-size:clamp(20px,2vw,31px);margin:0 0 6px;line-height:1.15}
.centro-open p{margin:0 0 9px;line-height:1.4;font-size:16px}.centro-open strong{color:#184c79;font-size:15px;text-decoration:underline;text-underline-offset:3px}
.centro-card .centro-extra{padding:9px 16px;display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 16px;border-top:1px solid #d5e4ea;font-size:15px}
.centro-credit{color:#4c6270;font-size:12px;line-height:1.4}
.cnao-main figure{margin:0}.cnao-facade{width:100%;height:auto;border-radius:9px}
.cnao-main .scheda-print-hint{font-size:15px}.cnao-main h2{scroll-margin-top:16px}
.cnao-main .scheda-sidebar{display:block}.cnao-main .scheda-recapiti>a span{font-size:14px}.cnao-main .scheda-recapiti strong{font-size:20px}
.cnao-docs{display:flex;flex-wrap:wrap;gap:10px 20px;margin:12px 0 22px}.cnao-main li{margin-bottom:7px}
.cnao-preview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:700px}
.cnao-preview a{display:block;text-decoration:none;color:#173f5e;font-weight:600}
.cnao-preview img{width:100%;height:auto;display:block;margin-bottom:5px;border:1px solid #bdd2db;background:white}
.cnao-main .scheda-maps img{object-fit:contain;background:#f4f8fa}.cnao-main .scheda-sidebar address{font-style:normal;font-size:16px}
@media(max-width:760px){.centro-card .centro-open{grid-template-columns:1fr}.centro-open>img{min-height:0;max-height:175px}.cnao-main .scheda-layout{display:flex;flex-direction:column}.cnao-main .scheda-sidebar{width:100%}.cnao-main .cnao-facade{max-width:440px}.cnao-preview{gap:9px}}
