.menu__footer {
    margin: 0;
    padding: 0;
}

.menu__footer li {
    list-style: none;
}

.menu__footer li::before {
    display: none;
}

[class*="menu__"] .current-menu-ancestor > a,
[class*="menu__"] .current-menu-item > a {
    color: #50a0f0 !important;
}

.footer {
    background-image:
        url("/wp-content/themes/kn/img/footer_pattern.webp"),
        linear-gradient(to bottom, #211f23, #211f23);
    color: #fff;
    font-size: 16px;
    margin-top: auto;
    position: relative;
    z-index: 5;
    padding-top: 140px;
    padding-bottom: 80px;

    @media screen and (max-width: 992px) {
        padding-top: 80px;
        padding-bottom: 40px;
    }

    &::before,
    &::after {
        content: "";
        position: absolute;
        z-index: -1;
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        opacity: 24%;
    }

    &::before {
        background-image: url("/wp-content/themes/kn/img/sign.webp");
        width: 320px;
        height: 341px;
        top: 50px;
        left: -100px;
    }

    &::after {
        background-image: url("/wp-content/themes/kn/img/eagle.webp");
        width: 280px;
        height: 450px;
        top: 160px;
        right: -160px;
    }
}

.footer strong {
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.footer p:last-child {
    margin-bottom: 0;
}

.footer a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
}

.footer a:hover {
    color: #c90b1c;
}

.footer__menus {
    display: flex;
    justify-content: flex-end;
    gap: 72px;

    @media screen and (max-width: 1200px) {
        gap: 40px;
    }

    @media screen and (max-width: 992px) {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    @media screen and (max-width: 576px) {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.footer__main-container {
    display: grid;
    grid-template-columns: 280px auto;
    margin-bottom: 59px;

    @media screen and (max-width: 1200px) {
        grid-template-columns: 200px auto;
    }

    @media screen and (max-width: 992px) {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    @media screen and (max-width: 576px) {
        gap: 40px;
    }
}

.footer__main-grid-col {
    max-width: 200px;
    width: auto;
    margin-bottom: 0 !important;

    @media screen and (max-width: 1200px) {
        max-width: 150px;
    }
}

.footer__main-nav {
    margin-bottom: 0 !important;
}

.footer__main-nav-title {
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer__main-menu {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__main-menu li a {
    color: #707070;
}

.menu__footer {
    display: flex;
    flex-direction: column;
    gap: 24px;

    @media screen and (max-width: 576px) {
        gap: 16px;
    }
}

.menu__footer .menu-item a {
    text-transform: uppercase;
    font-weight: 500;
    text-decoration: none;
}

.footer__agency {
    display: flex;
    flex-direction: column;
    gap: 40px;

    @media screen and (max-width: 576px) {
        gap: 20px;
    }
}

.footer__agency .footer__agency-presentation {
    color: #707070;
}

.footer__agency-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__agency-socials .socials__item a {
    background: #707070;
    border-radius: 100%;
    text-decoration: none;
    transition: all 0.3s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer__agency-socials .socials__item a:hover {
    background: #c90b1c;
    color: var(--white);
}

.footer__agency-socials-follow {
    text-align: left;
    margin-bottom: 0;
}

.footer__main [class*="col"] {
    margin-bottom: 1.5rem;
}

.footer__last {
    text-align: center;
}

.footer__last-container {
    display: flex;
    justify-content: space-between;
    padding: 20px 24px;
    background: #100f1180;
    border-radius: 8px;
    font-size: 16px;
    box-shadow: 0 0 0 4px #423f4754;

    @media screen and (max-width: 576px) {
        flex-wrap: wrap;
        gap: 16px;
    }
}

.footer__last-left {
    display: flex;
    gap: 20px;

    @media screen and (max-width: 576px) {
        flex-wrap: wrap;
        gap: 0;
    }
}

.footer__last-left .separator {
    @media screen and (max-width: 576px) {
        display: none;
    }
}