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