.site-footer-bottom,
.footer-legal,
.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .75rem 1.5rem;
}

.site-footer-bottom {
    text-align: center;
}

.footer-legal {
    font-size: .75rem;
    line-height: 1.7;
}

.footer-legal-copyright,
.footer-legal-status {
    margin: 0;
}

.footer-legal-links {
    gap: .25rem 1rem;
}

body .footer .footer-legal-link {
    display: inline-block;
    padding: .35rem 0;
    border: 0;
    background: transparent;
    color: var(--landing-text, var(--text-secondary)) !important;
    font: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color .2s ease;
}

body .footer .footer-legal-link:hover,
body .footer .footer-legal-link:focus-visible {
    color: var(--landing-green, var(--text-primary)) !important;
    text-decoration: underline;
    text-underline-offset: .25em;
}

.footer-legal-link:focus-visible {
    outline: 2px solid var(--landing-green, var(--text-primary));
    outline-offset: 4px;
    border-radius: 2px;
}

.footer-legal-status {
    flex-basis: 100%;
}

.footer-legal-status:empty {
    display: none;
}

@media (min-width: 992px) {
    .site-footer-bottom,
    .footer-legal {
        justify-content: flex-start;
        text-align: left;
    }

    .footer-credits {
        margin-left: auto;
    }
}
