.gallery-card {
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex-grow: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-align-items: flex-end;
    -webkit-box-align: flex-end;
    -ms-flex-align: flex-end;
    align-items: flex-end;
    padding: 20px 15px;
    -webkit-text-decoration: none;
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
}

.gallery-card:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .4) 76.6%, #000000);
    opacity: 0.6;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: background-color .3s;
    transition: background-color .3s;
    z-index: 1;
}

.gallery-card:hover:before {
    background-color: #000;
}

.gallery-card:after {
    content: "";
    width: 0;
    padding-top: 121.5%;
}

.gallery-card__preview {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-card__preview>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: -webkit-transform .75s ease-out;
    transition: transform .75s ease-out;
}

.gallery-card:hover .gallery-card__preview img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.gallery-card__title {
    position: relative;
    width: 100%;
    margin-bottom: 0;
    color: #fff;
    letter-spacing: 0;
    text-shadow: none;
    z-index: 1;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0,0,0);
    -ms-transform: translate3d(0,0,0);
    transform: translate3d(0, 0, 0);
    -webkit-transition: all .3s;
    transition: all .3s;
    text-transform: none;
}

.gallery-card__title:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    border-bottom: 1px solid currentColor;
    opacity: 0;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.gallery-card:hover .gallery-card__title {
    -webkit-transform: translateY(-51px);
    -moz-transform: translateY(-51px);
    -ms-transform: translateY(-51px);
    transform: translateY(-51px);
}

.gallery-card:hover .gallery-card__title:after {
    opacity: .3;
    -webkit-transform: translateY(20px);
    -moz-transform: translateY(20px);
    -ms-transform: translateY(20px);
    transform: translateY(20px);
}

.exclusive-properties {
    background-color: #555;
    max-width: 100vw;
}