/* -------------------------- ALL -------------------------- */

#footer  {
    display: flex;
    flex-direction: column;
    gap: 27px;   
    padding-bottom: 16px; 
}

#footer .logo {
    max-width: 155px;
    width: 100%;
    height: auto;
    aspect-ratio: 155/69;
    margin-bottom: 24px;
}

#footer .menu {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

#footer .menu > li:not(.contactLink) {
    display: block;
}

#footer .menu a:not(.contactLink > a),
#footer .menu a:not(.contactLink > a):hover,
#footer .menu a:not(.contactLink > a):visited {
    color: var(--black);
    font-size: 1.125rem;
    line-height: normal;
    font-family: var(--ffMRe);
}

#footer .menu > li.contactLink > a {
    width: fit-content;
    font-size: 1.0625rem;
    line-height: normal;
    font-family: var(--ffMRe);
    gap: 5px;
    padding: 10px 15px;
}

#footer .menu > li.contactLink > a::before {
    width: 29px;
    background-size: 17px;
}

#footer .footer__bottom > p,
#footer .footer__bottom > p a,
#footer .footer__bottom > p a:hover,
#footer .footer__bottom > p a:visited {
    font-size: .875rem;
    line-height: normal;
    font-family: var(--ffMRe);
    color: #A2A2AD;
}

#footer .lineBack {
    display: block;
    margin-top: 14px;
}

@media (width > 767px) {
    #footer .menu {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    #footer .footer__bottom > p {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #footer .lineBack {
        margin-top: unset;
    }
}

@media (width > 991px) {
    #footer {
        gap: 23px;
        margin-bottom: 23px;
    }

    #footer .footer__top {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    #footer .logo {
        max-width: 110px;
        aspect-ratio: 110/49;
        margin-bottom: unset;
        object-fit: contain;
    }

    #footer .menu a:not(.contactLink > a),
    #footer .menu a:not(.contactLink > a):hover,
    #footer .menu a:not(.contactLink > a):visited,
    #footer .menu > li.contactLink > a {
        font-size: 14px;
    }

    #footer .menu > li.contactLink > a::before {
        width: 24px;
        background-size: 14px;
    }

    #footer .footer__bottom > p,
    #footer .footer__bottom > p a,
    #footer .footer__bottom > p a:hover,
    #footer .footer__bottom > p a:visited {
        justify-content: flex-start;
        font-size: .75rem;
        line-height: normal;
    }

    #footer .footer__bottom {
        position: relative;
    }

    #footer .lineBack {
        position: absolute;
        right: 0;
    }
}

@media (width > 1199px) {
    #footer {
        max-width: 1800px;
        padding-inline: 30px;
    }
}

@media (width > 1459px) {
    #footer {
        margin-inline: auto;
    }
}

@media (pointer: fine) {
    #footer .menu a:not(.contactLink > a):hover {
        color: var(--primary);
        text-decoration: underline!important;
        transition: all .5s ease;
    }

    #footer .menu > li.contactLink > a:hover {
        padding-inline: 18px 12px;
        transition: all .5s ease;
    }
}