.location-card {
    padding: 78px 0 88px;
    position: relative;
    background-color: #FFFFFF;
    z-index: 1;
}

.location-card-overlay {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1;
}

.location-card-heading h2 {
    padding: 0 0 40px;
    text-align: center;
}

.location-card-icon {
    width: 20px;
    margin-right: 11px;
}

.location-card-link {
    text-decoration: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    background-color: #FFFFFF;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.24);
    padding: 31px 35px;
    margin-bottom: 24px;
}

.location-card-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card-title h3 {
    font-size: 22px;
    color: #111111;
    padding-bottom: 0;
}

.location-card-link p {
    font-size: 16px;
    font-weight: 400;
    padding: 15px 0 0;
    color: #444444;
}

.location-card-link #location-icon {
    fill: #444444;
}

@media(min-width: 768px) {

    .location-card {
        padding: 110px 0 130px;
    }
    
    .location-card-link {
        width: 307px;
        margin: 0 16px 32px;
        padding: 31px 34px;
    }

    .location-card-wrapper {
        display: flex;
        flex-wrap: wrap;
        width: calc(100% + 32px);
        margin-left: -16px;
        justify-content: center;
    }

    .location-card-heading {
        width: 100%;
    }

    .location-card-icon {
        width: 40px;
        margin: 0 0;
    }

    .location-card-top {
        flex-direction: column;
    }

    .location-card-title h3 {
        font-size: 27px;
    }

    .location-card-link p {
        padding: 12px 0 0;
    }
}

@media(min-width: 1200px) {

    .location-card {
        padding: 110px 0 130px;
    }

    .location-card-link {
        width: 17%;
        padding: 30px 22px;
    }

    .location-card-link:hover {
        box-shadow: 0 0 16px rgba(178, 8, 27, 0.50);
    }

    .location-card-link:hover #location-icon {
        fill: url(#linear-gradient) #c0232b;
    }

    .location-card-overlay {
        height: 100%;
    }
}

.location-card-link:hover {
    background: #fff;
}
