div.image-container {
    height: 240px;
    width: 40%;
    max-width: 400px;
    _border: 1px solid #ddd;

    img.offer-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* for screens < 768px */
@media (max-width: 767px) {
    div.image-container {
        width: 100%;
        max-width: none;
        height: 200px;
        margin-bottom: 15px;
        text-align: center !important;
        float: none !important;
    }
}

img.affiliate-logo {
    max-width: 60%;
    max-height: 200px;
}