img.gdl-building-thumb,img.gdl-person-portrait,.gdl-building-picture img,img[data-gdl-photo],.gdl-buildings .gdl-place-thumb img,.g847-place img{object-fit:cover!important;object-position:50% 50%!important;cursor:zoom-in}
img.gdl-person-portrait{width:3rem;height:3.75rem}
img.gdl-person-portrait[src*="person-placeholder.svg"]{cursor:default}
.gdl-photo-preview{position:fixed;inset:0;margin:auto;box-sizing:border-box;max-width:calc(100vw - 1rem);max-height:calc(100vh - 1rem);max-height:calc(100dvh - 1rem);padding:.7rem;border:1px solid #a8becb;border-radius:.65rem;background:#fff;color:#19374b}
.gdl-photo-preview[open]{display:grid;justify-items:end;gap:.45rem}
.gdl-photo-preview::backdrop{background:rgb(13 30 42/.66)}
.gdl-photo-preview button{font:inherit;padding:.28rem .75rem}
.gdl-photo-preview img{display:block;max-width:calc(100vw - 3rem);max-height:calc(100vh - 6rem);max-height:calc(100dvh - 6rem);object-fit:contain;justify-self:center}
.gdl-preview-key{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;clip-path:inset(50%);overflow:hidden;white-space:nowrap;border:0!important}
img[data-gdl-preview-focus]{outline:3px solid #27597b;outline-offset:2px}
/* On published building cards the link covers the card. Keep the photograph and its credit above it. */
.gdl-buildings .gdl-place-thumb{position:relative;z-index:2;pointer-events:none}
.gdl-buildings .gdl-place-thumb img,.gdl-buildings .gdl-place-thumb button,.gdl-buildings .gdl-place-thumb a{pointer-events:auto}
.gdl-buildings .gdl-place-thumb img{display:block;width:100%;aspect-ratio:4/3;height:auto}
