/* 
-----------------------------------------
FOOTER
-----------------------------------------
*/
 
footer {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    background-color: var(--primary-color);
    background-position: right;
    background-size: auto calc(100% - 2rem);
    background-repeat: no-repeat;
}

footer > div {
    flex: 0 0 100%;
}

footer > div:not(:first-child) {
    padding-left: 1rem;
    border-left: 1px solid #FFFFFF;
}

@media (min-width: 768px) {

    footer > div {
        flex-basis: calc(33.33% - 1.5rem);
    }

    footer > div:first-child {
        flex-basis: 100%;
        order: 4;
    }
}

@media (min-width: 1200px) {
    footer > div {
        flex-basis: calc(25% - 1.5rem);
    }

    footer > div:first-child {
        order: unset;
        flex-basis: calc(25% - 1.5rem);
    }
}

footer .h3,
footer p,
footer li,
footer a {
    color: var(--text-white) !important;
    text-decoration: none;
}

footer p,
footer li,
footer a {
    font-size: 1rem;
}

footer a:focus-visible {
    outline: 3px dotted var(--text-white);
}

footer .h3 {
    margin-bottom: 0.875em;
}

footer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

footer li {
    line-height: 1;
    font-size: 1rem;
}

footer li + li {
    margin-top: 0.875em;
}

.footer-logo-wrap img {
    width: 200px;
    height: auto;
}

.footer-logo-wrap p {
    margin: 0;    
    font-size: clamp(1rem, calc(1rem + ((1vw - 0.36rem) * 0.1488)), 1.125rem);
}

.footer-logo-wrap a + p,
.footer-logo-wrap img + p {
    margin-top: 1.25em;
}
