footer {
    background-color: var(--grey0);
    color: var(--grey4);
    padding: 25px 0;
}
footer.improvement-projects {
    background-color: var(--white);
}
footer p {
    color: var(--white);
    padding-bottom: 0;
}
footer a {
    color: var(--grey4) !important;
    text-decoration: underline;
}
footer a:hover {
    color: var(--blue-md) !important;
}

/* FOOTER COPYRIGHT */
footer .footer-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}
footer .footer-content #logo img {
    max-width: 150px;
}
footer .footer-content-block#footer-links {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    width: 50%;
}
footer .footer-content-block#footer-links a {
    color: var(--white);
    font-size: 12px;
}
footer .footer-content-block#footer-links .link-set {
    display: flex;
    column-gap: .8rem;
    row-gap: 0; /* vertical spacing (smaller) */
    flex-wrap: wrap;
    white-space: nowrap;
}
footer .footer-content-block#footer-links .link-set:first-of-type {
    /*margin-bottom: 0.2rem; !* spacing between link sets *!*/
    justify-content: right;
}
/*footer .footer-content-block#footer-links .link-set .footer-link a::after {*/
/*    content: " |";   !* add a pipe after each link *!*/
/*    margin-left: 0.2rem; !* optional spacing *!*/
/*}*/

/* remove pipe after the last link */
footer .footer-content-block#footer-links .footer-link:last-child a::after {
    content: "";
}
footer .footer-content-block#copyright {
    display: flex;
    align-items: center;
    flex-basis: 50%;
}
footer .footer-content #copyright-text {
    font-size: 12px;
    line-height: 16px;
}

@media only screen and (max-width: 1012px) {
    footer .footer-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    footer .footer-content-block#footer-links {
        width: 100%;
    }
    footer .footer-content-block#footer-links .link-set:first-of-type {
        flex-direction: column;
        justify-content: left;
        gap: .5rem;
    }
    footer .footer-content-block#copyright {
        flex-basis: 100%;
    }
}