footer {
    background: var(--primary-400);
    position: relative;
    padding: 80px 0px 45px
}

footer>img {
    position: absolute
}

footer *,
footer a {
    color: var(--white);
    text-decoration: unset;
}

footer>img.top {
    top: 0;
    right: 0
}

footer>img.bottom {
    bottom: 0;
    left: 0;
    transform: rotate(180deg)
}

footer .row {
    justify-content: space-between
}

@media (max-width: 1400px) {
    footer .row {
        flex-direction:column;
        margin-bottom: var(--gap2)
    }
}

@media (max-width: 1400px) {
    footer .column {
        margin-bottom:var(--gap2)
    }

    footer .column:nth-child(2) {
        margin-bottom: 0
    }
}

footer .ctnr>.row:first-child {
    padding-bottom: 60px
}

@media (max-width: 768px) {
    footer .ctnr>.row:first-child {
        padding-bottom:0
    }
}

footer .ctnr>.row:nth-child(2) {
    border-top: 1px solid var(--white);
    padding-top: var(--gap2)
}

@media (max-width: 1400px) {
    footer .ctnr>.row:nth-child(2) .column:nth-child(1) {
        order:3
    }

    footer .ctnr>.row:nth-child(2) .column:nth-child(2) {
        order: 2
    }

    footer .ctnr>.row:nth-child(2) .column:nth-child(3) {
        order: 1
    }
}

footer .social {
    max-width: 100%;
    width: auto;
    justify-content: flex-start;
    align-items: center;
    column-gap: 25px
}

@media (max-width: 768px) {
    footer .social {
        margin-bottom:var(--gap2)
    }
}

.single-post footer .social img {
    width: unset
}

footer .social a {
    position: relative
}

#menu-footer-1 li.menu-item-object-custom a,#menu-footer-2 li.menu-item-object-custom a {
    position: relative
}

#menu-footer-1 li.menu-item-object-custom:not(.menu-item-1525) a:after,#menu-footer-2 li.menu-item-object-custom:not(.menu-item-1525) a:after {
    position: absolute;
    content: "";
    width: 16px;
    height: 16px;
    right: -25px;
    top: 0;
    background-image: url("/wp-content/uploads/2023/07/open-in-window.svg")
}

footer li {
    line-height: 150%;
    margin-bottom: 12px
}

footer .form .title {
    font-weight: bold;
    line-height: 150%;
    margin-bottom: var(--gap15)
}

footer .logo {
    padding-right: 40px
}

footer .logo img {
    height: auto
}

footer .column:last-child {
    max-width: 400px
}

@media (max-width: 768px) {
    footer .column:last-child {
        margin-bottom:0px
    }
}

footer #menu-legal {
    display: flex
}

@media (max-width: 768px) {
    footer #menu-legal {
        margin-bottom:var(--gap2)
    }
}

footer #menu-legal li {
    margin-right: var(--gap1)
}

footer #menu-legal li:last-child {
    margin-right: 0
}