/* Keep a four-column hotel guide within the small Safari viewport where possible. */
/* Safari can replace viewport-sized fixed layers with a single toolbar tint.
   Paint the document canvas instead of a fixed layer or unrelated solid blue. */
html.wy-photo-page{
 --home-shade:linear-gradient(180deg,rgba(17,31,26,.12),rgba(17,31,26,.08) 42%,rgba(17,31,26,.6));
 min-height:100%;background-color:transparent!important;
 background-image:var(--home-shade),var(--home-photo)!important;
 background-repeat:no-repeat!important;background-size:cover!important;
 background-position:center center!important;background-attachment:scroll!important;
 overscroll-behavior-y:none
}
html.wy-photo-page:has(body[data-theme=sand]){--home-shade:linear-gradient(180deg,#9e7d4a22,#473c2c88)}
html.wy-photo-page:has(body[data-theme=forest]){--home-shade:linear-gradient(180deg,#123e2e55,#10281fee)}
body.institution-guest.has-home-photo{background:transparent!important;overscroll-behavior-y:none}
body.institution-guest.has-home-photo>.institution-backdrop,
body.institution-guest.has-home-photo:before{display:none!important}
/* Balance the guide between the welcome copy and the brand footer. */
body.wy-branded-guest.institution-guest .institution-header{flex:none!important;padding-bottom:16px!important}
body.wy-branded-guest.institution-guest .institution-grid{flex:1 0 auto!important;align-content:center!important}
body.wy-branded-guest.institution-guest .institution-footer{flex:none!important;margin-top:0!important;padding-top:16px!important}
@media(min-width:601px){
 body.wy-branded-guest.institution-guest #institution-app{padding-top:calc(14px + env(safe-area-inset-top))!important}
 body.wy-branded-guest.institution-guest .institution-logo:has(img[src*="laur-logo"]){width:160px!important;height:77px!important}
 body.wy-branded-guest.institution-guest .institution-logo img[src*="laur-logo"]{width:160px!important;height:160px!important;top:-42px!important}
}
@media(min-width:800px){
 body.wy-branded-guest.institution-guest .institution-logo:has(img[src*="laur-logo"]){width:200px!important;height:94px!important}
 body.wy-branded-guest.institution-guest .institution-logo img[src*="laur-logo"]{width:200px!important;height:200px!important;top:-52px!important}
}
@media(max-width:600px){
 body.wy-branded-guest.institution-guest{--guide-rows:5;--guide-dock:88px;--guide-cell:clamp(74px,calc((100svh - 195px - var(--guide-dock) - env(safe-area-inset-top) - env(safe-area-inset-bottom))/var(--guide-rows)),90px)}
 body.wy-branded-guest.institution-guest #institution-app{min-height:100svh!important;padding:calc(12px + env(safe-area-inset-top)) 12px calc(var(--guide-dock) + env(safe-area-inset-bottom))!important}
 body.wy-branded-guest.institution-guest .institution-header{padding:0 0 14px!important;flex:none!important}
 body.wy-branded-guest.institution-guest .institution-logo:has(img[src*="laur-logo"]){width:125px!important;height:60px!important}
 body.wy-branded-guest.institution-guest .institution-logo img[src*="laur-logo"]{width:125px!important;height:125px!important;top:-33px!important}
 body.wy-branded-guest.institution-guest .institution-welcome{margin:4px 0 0!important}
 body.wy-branded-guest.institution-guest .institution-welcome>span{font-size:9px!important;letter-spacing:2px!important}
 body.wy-branded-guest.institution-guest .institution-welcome p{font-size:10px!important;margin:2px 0 0!important;line-height:1.35!important}
 body.wy-branded-guest.institution-guest .institution-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-auto-rows:var(--guide-cell)!important;gap:5px 5px!important;padding:0!important;flex:1 0 auto!important;align-content:center!important}
 body.wy-branded-guest.institution-guest .institution-tile{gap:5px!important;padding:0 1px!important;justify-content:flex-start!important}
 body.wy-branded-guest.institution-guest .institution-orb{width:clamp(42px,calc(var(--guide-cell) - 33px),57px)!important;height:clamp(42px,calc(var(--guide-cell) - 33px),57px)!important;flex:none!important}
 body.wy-branded-guest.institution-guest .institution-orb svg{width:25px!important;height:27px!important}
 body.wy-branded-guest.institution-guest .institution-tile-label{font-size:10px!important;line-height:1.25!important;min-height:26px!important;max-width:100%!important}
 body.wy-branded-guest.institution-guest .institution-footer{margin:0!important;padding:14px 0 0!important;gap:1px!important;line-height:1.3!important}
 body.wy-branded-guest.institution-guest .institution-footer>span{display:none}
 body.wy-branded-guest.institution-guest .institution-footer a{font-size:8px!important}
 body.wy-branded-guest.institution-guest>.wy-guest-tabs{bottom:max(8px,env(safe-area-inset-bottom))!important;padding:5px!important}
 body.wy-branded-guest.institution-guest>.wy-guest-tabs :is(a,button){min-height:50px!important;padding:5px 1px!important}
 body.wy-branded-guest.institution-guest>.wy-guest-tabs small{font-size:9px!important}
}

/* Match the visible top inset with the gap below the welcome copy. Free height belongs below the guide. */
body.wy-branded-guest.institution-guest{--guide-edge-gap:28px}
body.wy-branded-guest.institution-guest #institution-app{padding-top:calc(var(--guide-edge-gap) + env(safe-area-inset-top))!important}
body.wy-branded-guest.institution-guest .institution-header{padding:0 0 var(--guide-edge-gap)!important}
body.wy-branded-guest.institution-guest .institution-grid{flex:0 0 auto!important;align-content:start!important;padding-top:0!important}
body.wy-branded-guest.institution-guest .institution-footer{margin-top:auto!important}
@media(max-width:600px){body.wy-branded-guest.institution-guest{--guide-edge-gap:24px}}
