.advimage {
    position: relative;
    /* margin-bottom: 1em; */
    margin-right: auto;
    margin-left: auto;
    max-width: 1140px;
}
.advimage .advimage-overlay {
    position: absolute;
    left: 0;
    background: linear-gradient(0, rgba(0,0,0,0.3), transparent 80%);
    bottom: 0;
    height: 100%;
    max-height: 120px;
    width: 100%;
}
.advimage .advimage-overlay .advimage-caption {
    position: absolute;
    bottom: 0;
    color: white;
    padding: 0.5em;
    margin-bottom: 0;
}

@media only screen and (max-width: 640px) {
    .advimage {
        overflow:hidden;
        margin-bottom: 0;
    }
    .advimage .advimage-caption {
        font-size: 1rem;
    }
    .advimage img {
        height: auto;
        width: 100%;
        max-width: unset;
    }
}