.images-with-captions {
    padding: 10px 20px 0;
}

.images-with-captions__header {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.images-with-captions__title {
    margin-right: 20px;
    font: 400 32px/1.25 'Pluto Sans DPD', sans-serif;
    color: #DC0032;
}

.images-with-captions__link {
    margin-top: 5px;
    font: 400 16px/1.5 'Pluto Sans DPD', sans-serif;
    color: #414042;
    text-transform: capitalize;
    text-decoration: underline!important;
    text-underline-offset: 1px;
}

.images-with-captions__list {
    margin: 0 -10px 32px;
    display: flex;
    flex-wrap: wrap;
}

.image-with-caption {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(50% - 20px);
    margin: 0 10px 20px;
}

.image-with-caption__image-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: 5px;
    display: flex;
    flex: 1;
    justify-content: center;
    overflow: hidden;
}

.image-with-caption__image-wrapper img {
    display: block;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.2s ease;
    border-radius: 20px;
}

.image-with-caption:hover .image-with-caption__image-wrapper img {
    transform: scale(1.005);
}

.image-with-caption__caption {
    margin-top: 10px;
    font: 400 14px/1.5 'Pluto Sans DPD', sans-serif;
    text-align: center;
    color: #414042;
    transition: color 0.2s ease;
}

.image-with-caption__caption:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.image-with-caption__caption br {
    display: none;
}

.image-with-caption:hover .image-with-caption__caption {
    color: #DC0032;
}


@media screen and (min-width: 768px) {
    .images-with-captions {
        padding: 0 20px;
    }

    .images-with-captions__header {
        margin-bottom: 20px;
    }

    .images-with-captions__list {
        margin: 0 -25px 55px;
    }

    .image-with-caption {
        width: calc(25% - 50px);
        margin: 0 25px;
    }

    .image-with-caption__caption {
        font-size: 20px;
    }

    .image-with-caption__image-wrapper {
        margin-bottom: 15px;
    }
}