.custom-social-media .tile-wrap {
    padding: 25px 25px 200px 25px
}

.custom-social-media a .social-media-post {
    position: relative;
    height: 0;
    width: 100%;
    padding: 25px;
    background-color: #000;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 1;
    display: block;
    padding: 0 0 95% 0;
}

.custom-social-media a .social-media-post .info-wrap {
    position: absolute;
    width: 100%;
    height: 100%;
}

.custom-social-media a .social-media-post .info-wrap .gradient-box {
    position: relative;
    bottom: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    transition: width 0.25s ease-out, height 0.25s ease-out 0.25s;
    transition: all 0.5s ease 0s;
    opacity: 1;
    border: 4px solid transparent;
    border-image: linear-gradient(45deg, rgba(218, 218, 218, 0) 0%, rgba(218, 218, 218, 0.4));
    border-image-slice: 1;
}

.custom-social-media a:hover .social-media-post .info-wrap .gradient-box {
    opacity: 0;
}

@media(min-width:992px) {
    .custom-social-media .tile-wrap:nth-child(3) {
        padding-top: 10%;
    }

    .custom-social-media .tile-wrap:nth-child(4) {
        padding-top: 17%;
    }
}

.custom-social-media-header .btn {
    margin: unset;
    padding: unset;
    background-color: unset
}

@media (min-width:769px) {
    .custom-social-media-header {
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: end
    }
}