/* Keep the complete menu reachable even with a short landscape viewport. */
@media(max-width:700px){
 #main-menu{max-height:calc(100vh - 90px);max-height:calc(100dvh - 90px - env(safe-area-inset-bottom,0px));overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
 .admin-bar #main-menu{max-height:calc(100vh - 136px);max-height:calc(100dvh - 90px - var(--wp-admin--admin-bar--height,46px) - env(safe-area-inset-bottom,0px))}
}
@media(max-width:1024px){
 #flight-request input[name="prefisso"]{font-size:16px}
 .review-group-heading button{min-height:44px;min-width:64px;padding:8px 4px;font-size:12px}
 .page-flight-bottom a{min-height:44px}
}
/* A shorter text measure leaves room for the aircraft when a phone is rotated. */
@media(max-width:1024px) and (max-height:500px) and (orientation:landscape){
 #home .story-panel{padding-top:100px;padding-bottom:75px}
 #home .opening>div{width:76%;max-width:700px}
 #home .opening h1{font-size:clamp(26px,3.8vw,32px);line-height:1.15;letter-spacing:-1px}
 #home .welcome>div{width:86%;max-width:760px;padding:0;margin-top:0;background:none}
 #home .welcome h2{font-size:30px;margin-bottom:12px}
 #home .welcome p,#home .mountains p{font-size:14px;line-height:1.5}
 #home .costsharing>div,#home .mountains>div,#home .arrival>div{width:86%;padding:0}
 #home .costsharing h2{font-size:clamp(22px,3.2vw,28px);line-height:1.18}
 #home .arrival p{font-size:18px;line-height:1.5}
 .page-panorama-copy h1{font-size:34px;line-height:1.12}
 .admin-bar #home .flight-bottom,.admin-bar .page-flight-bottom{bottom:calc(20px + var(--wp-admin--admin-bar--height,32px))}
}
