
@media (max-width: 768px) {
    .instagram-widget.columns-3>a {
        width: calc(33.33% - 0px);
        /* padding-bottom: 0px!important; */
        min-width: calc(33.33% - 0px);
        max-width: calc(33.33% - 0px);
    }
    .custom-footer__instagram .instagram-widget {
        margin: 0 -8px;
        width: calc(100% + 16px);
        max-width: 100%;
        margin: 0 auto;
    }
    .instagram-widget>a:nth-child(n+7) {
    display: none;
}
}
@media (min-width: 769px) {

.custom-footer__instagram {
    width: 100% !important;
    padding: 0 !important;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 0;
    margin-top: 5px;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    -ms-flex-order: -1;
    order: -1;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 50px 0 70px !important;
    border: none;
}

.instagram-widget>a img {
    position: absolute;
    height: 50%;
    position: absolute;
    top: 10%;
    width: 100%;
    height: -webkit-fill-available;
    object-fit: cover;
    max-width: 100% !important;
    transform: scale(1);
    transition: .3s;
    transform-origin: center;
    padding: 0;
}

.instagram-widget.columns-3>a {height: auto;padding: 0;width: calc(16.66% - 0px);padding-bottom: calc(20% - 24px) !important;margin-bottom: 0 !important;overflow: hidden;position: relative;}

.instagram-widget {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% + 24px);
    max-width: inherit;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0;
    box-shadow: none;
    background: transparent;
    border-radius: 0;
    margin: 0 -12px;
}

}
.instagram-widget>a:nth-child(n+7) {
    display: none;
}

.custom-footer__instagram h4 {
    margin: 0 0 30px;
    height: auto;
    font-size: 2em;
    letter-spacing: 0;
    padding-right: 20px;
    text-transform: none;
    text-align: center;
}



.custom-footer__instagram .instagram-follow-btn {display: none}



