.location-cards {
    position: relative;
    z-index: 1;
}

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

.location-cards__wrap {
    padding: 76px 0 82px 0;
    position: relative;
    background-color: rgba(5, 19, 101, 0.85);
}

.location-card-text {
    color: #fff;
}

.location-card-text .sub-heading,
.location-card-text .sub-heading i,
.location-card-text h2 {
    color: #fff;
}

.location-card-text__img {
    margin-top: 16px;
    margin-bottom: 22px;
}

.location-card-item {
    margin-top: 24px;
    padding-top: 12px;
    padding-bottom: 0;
    transition: all ease 300ms;
}

@media (min-width: 1200px) {
    .location-card-item:hover {
        margin: 62px 0 0 0;
        padding-bottom: 10px;
    }
    .location-card-item:hover svg {
        -webkit-filter: drop-shadow(5px 5px 5px rgb(0 0 0 / 1));
        filter: drop-shadow(5px 5px 5px rgb(0 0 0 / 1));
    }
    .location-card-item svg circle,
    .location-card-item svg ellipse {
        fill: #FFF;
        transition: all ease 300ms;
    }
    .location-card-item svg path {
        stroke: #2c86ef;
        fill: #2c86ef;
        transition: all ease 300ms;
    }


    .location-card-item:hover svg circle,
    .location-card-item:hover svg ellipse {
        fill: #2c86ef;
    }
    .location-card-item:hover svg path {
        stroke: #FFF;
        fill: #FFF;
    }
}

.location-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 16px rgba(37, 64, 81, 0.5);
}

.location-card:hover {
    box-shadow: 0 0 16px rgba(37, 64, 81, 0.85);
}

.location-card__img {
    margin: 0 auto 0;
    width: 120px;
    position: relative;
}

.location-card__img img {
    margin-top: -12px;
}

.video-image {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    border: none;
    position: absolute;
    top: -12px;
    left: 0;
    text-decoration: none;
    background: none;
    transition: all ease-in-out 300ms;
}

.video-image svg {
    width: 30px;
    height: auto;
}

.location-card__details {
    padding: 18px 30px 30px 30px;
}

.location-card__title {
    font-size: 18px;
    padding-bottom: 15px;
    color: #081542;
}

.location-card__location {
    position: relative;
    font-size: 16px;
    font-weight: 500;
    padding-left: 20px;
    padding-right: 20px;
}

.location-card__location::before {
    content: '\e90e';
    font-family: 'icomoon';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    font-weight: normal;
    color: #2C86EF;
}

.location-card__info {
    padding-top: 16px;
}

.location-card__info a {
    display: inline-block;
    border: none;
    position: relative;
    text-decoration: none;
}

.location-card__call {
    color: #171717;
    font-size: 16px;
    font-weight: 500;
    padding-left: 20px;
}

.location-card__call::before {
    content: '\e90d';
    font-family: 'icomoon';
    position: absolute;
    top: 0;
    left: 0;
    font-size: 16px;
    font-weight: normal;
    color: #2C86EF;
}

.location-card__direction {
    color: #2C86EF;
    font-size: 18px;
    font-weight: 700;
    padding-right: 18px;
    margin-top: 6px;
    font-family: 'Blinker', sans-serif;
}

.location-card__direction::before {
    content: '\e903';
    font-family: 'icomoon';
    position: absolute;
    top: 50%;
    right: 0;
    -webkit-transform: translate(0, -50%);
    transform: translate(0, -50%);
    font-size: 11px;
    font-weight: normal;
    color: #2C86EF;
    margin-top: 1px;
}

.location-card__img_fg {
    position: absolute !important;
    -webkit-mask-image: url("/wp-content/themes/keystonekoating/assets/img/mask-120.png");
    mask-image: url("/wp-content/themes/keystonekoating/assets/img/mask-120.png");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    left: 0;
    top: 0;
    width: 120px !important;
    height: 108px !important;
}

@media (min-width: 768px) {
    .location-cards__wrap {
        padding: 108px 0;
    }
    .location-card-text {
        margin: 0 -16px;
        display: flex;
        align-items: flex-start;
    }
    .location-card-text__content,
    .location-card-text__img {
        width: 50%;
        padding: 0 16px;
    }
    .location-card-text__content h2 {
        padding-bottom: 10px;
    }
    .location-card-text__img {
        margin: 0;
    }
    .location-card {
        display: flex;
        align-items: flex-start;
        padding: 0 37px;
    }
    .location-card__img {
        margin: 0;
        width: 170px;
    }
    .location-card__details {
        padding: 30px 0 30px 25px;
        width: calc(100% - 170px);
    }
    .location-card__title {
        font-size: 24px;
    }
    .location-card__details__flex {
        display: flex;
        justify-content: space-between;
    }
    .location-card__location {
        width: 230px;
        padding-right: 0;
        line-height: 1.5em;
        margin-top: 2px;
    }
    .location-card__info {
        width: 160px;
        padding: 0;
    }
    .video-image svg {
        width: 45px;
    }
    .location-card__direction {
        margin-top: 0;
    }
    .location-card-item {
        margin-top: 30px;
    }
    .location-card-text {
        padding-bottom: 20px;
    }
    .location-card__img_fg {
        position: absolute !important;
        -webkit-mask-image: url("/wp-content/themes/keystonekoating/assets/img/mask-222.png");
        mask-image: url("/wp-content/themes/keystonekoating/assets/img/mask-222.png");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        left: 0;
        top: 0;
        width: 170px !important;
        height: 154px !important;
    }
}

@media (min-width: 1200px) {
    .location-cards__wrap {
        padding: 100px 0;
    }
    .location-card-text {
        display: block;
    }
    .location-card-text__content,
    .location-card-text__img {
        width: 100%;
    }
    .location-card-text__content p {
        font-size: 18px;
        margin-bottom: 16px;
    }
    .location-card-item {
        margin: 72px 0 0 0;
    }
    .location-card {
        flex-wrap: wrap;
        padding: 0;
        height: 100%;
    }
    .location-card__img {
        max-width: 363px;
        width: 100%;
        margin: 0 auto;
    }
    .location-card__img_fg {
        position: absolute !important;
        -webkit-mask-image: url("/wp-content/themes/keystonekoating/assets/img/mask.png");
        mask-image: url("/wp-content/themes/keystonekoating/assets/img/mask.png");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        left: 0;
        width: 363px !important;
        height: 328px !important;
    }
    .location-card__img img {
        margin-top: -85px;
    }
    .video-image {
        align-items: flex-end;
        padding-bottom: 22px;
        transition: all ease-in-out 300ms;
    }
    .video-image span {
        line-height: 45px;
        color: #FFFFFF;
        font-weight: 700;
        font-size: 18px;
        font-family: 'Blinker', sans-serif;
        padding-right: 10px;
    }
    .location-card__details {
        width: 100%;
        padding: 14px 16px 30px 32px;
    }
}