.img{position:relative;background-size:contain}.img,.img img{width:100%;height:auto;overflow:hidden;display:flex}.img img{-o-object-fit:contain;object-fit:contain;max-height:125vh;max-width:100%;transition:opacity .5s;opacity:1;background-size:100%}.img.thumb img{display:flex;max-height:250px;min-height:160px;-o-object-fit:cover;object-fit:cover;-o-object-position:top;object-position:top;aspect-ratio:1.7778}
