/* Only the chosen city's optimized, same-origin photograph is requested. */
:root{
 --onto-city-hero-photo:url("assets/city-heroes/montreal-old-port-1600.webp");
}
#home-view .hero-search-only .hero-visual{
 background-image:linear-gradient(180deg,rgb(18 27 37 / 36%),rgb(18 27 37 / 46%)),var(--onto-city-hero-photo);
 background-position:center,center 48%;
 background-size:cover;
}
#home-view .hero-search-only .hero-visual[data-city-hero="montreal"]{
 background-position:center,84% 30%;
}
#home-view .hero-search-only .onto-hero-caption{
 position:absolute;right:24px;bottom:14px;max-width:calc(100% - 48px);color:#fff;
 font-size:.875rem;line-height:1.4;font-weight:500;text-shadow:0 1px 5px #000a;
 display:flex;align-items:center;justify-content:flex-end;gap:6px 12px;flex-wrap:wrap;pointer-events:auto;
}
#home-view .hero-search-only .onto-hero-credit{position:relative;font-size:.75rem;}
#home-view .hero-search-only .onto-hero-credit>summary{cursor:pointer;min-height:32px;display:flex;align-items:center;gap:5px;text-decoration:underline;text-underline-offset:3px;list-style:none;}
#home-view .hero-search-only .onto-hero-credit>summary::-webkit-details-marker{display:none;}
#home-view .hero-search-only .onto-hero-credit>summary::after{content:'ⓘ';text-decoration:none;}
#home-view .hero-search-only .onto-hero-credit-panel{position:absolute;z-index:65;right:0;bottom:calc(100% + 8px);width:min(320px,calc(100vw - 48px));max-height:min(310px,55dvh);overflow:auto;padding:13px 15px;border:1px solid #dddfe3;border-radius:8px;background:#fff;color:#343a43;text-shadow:none;box-shadow:0 7px 25px #0003;font-size:.8rem;line-height:1.5;overflow-wrap:anywhere;}
#home-view .hero-search-only .onto-hero-credit-panel p{margin:0 0 8px;}
#home-view .hero-search-only .onto-hero-credit-panel p:last-child{margin-bottom:0;}
#home-view .hero-search-only .onto-hero-credit-panel a{color:#9c2437;text-decoration:underline;text-underline-offset:2px;}
#home-view .hero-search-only .onto-hero-credit-note{font-size:.75rem;color:#626a76;}
#home-view .hero-search-only .onto-hero-credit>summary:focus-visible{
 outline:2px solid white;outline-offset:3px;background:#26333e;
}
#home-view .hero-search-only .onto-hero-credit-panel a:focus-visible{outline:2px solid #9c2437;outline-offset:3px;}
.footer-bottom .onto-place-credit{grid-column:1 / -1;font-size:.75rem;line-height:1.5;color:inherit;}
.footer-bottom .onto-place-credit a{color:inherit;text-underline-offset:3px;}
@media(max-width:680px){
 :root{--onto-city-hero-photo:url("assets/city-heroes/montreal-old-port-640.webp");}
 #home-view .hero-search-only .onto-hero-caption{right:18px;bottom:10px;max-width:calc(100% - 36px);font-size:.8125rem;}
}
