/* The shadow belongs to the real photograph, never to its empty letterbox. */
.photo-box{height:244px;padding:12px;box-sizing:border-box}
.photo-box img,.gallery-image{width:auto;height:auto;max-width:100%;max-height:100%;min-width:0;min-height:0;object-fit:contain;background:transparent;box-shadow:0 5px 12px rgba(23,33,59,.19),0 1px 3px rgba(23,33,59,.12);border-radius:3px;justify-self:center;align-self:center}
.gallery-slide{inset:12px;display:grid;place-items:center;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr)}
@media(max-width:700px){.photo-box{height:254px}}
