.detail img.detail-cover {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-width: min(100%, 320px);
    max-height: 220px;
    margin: 12px auto 20px;
    object-fit: contain;
}

@media (max-width: 480px) {
    .detail img.detail-cover {
        max-width: min(100%, 240px);
        max-height: 160px;
    }
}
