:root {
    --footer-background: #10141d;
    --footer-text: rgb(255 255 255 / 0.7);
    --footer-link: #ffffff;
    --footer-link-hover: #d4e0f5;
}

body.theme-ana:not(.homepage) {
    display: flex;
    flex-direction: column;
    min-height: 100svh;
}

body.theme-ana:not(.homepage) > main {
    flex: 1 0 auto;
}

.iww-site-footer {
    background: var(--footer-background);
    color: var(--footer-text);
    font-family: "Poppins", sans-serif;
    font-size: 0.6875rem;
    letter-spacing: 0.08em;
    line-height: 1.4;
    text-transform: uppercase;
}

.iww-site-footer__inner {
    align-items: center;
    display: flex;
    gap: 1.5rem;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 90rem;
    padding: 1.5rem clamp(1.25rem, 4vw, 4rem);
}

.iww-site-footer__copyright {
    margin: 0;
}

.iww-site-footer__nav {
    display: flex;
    gap: clamp(1.25rem, 3vw, 2.5rem);
}

.iww-language-switcher {
    align-items: center;
    display: flex;
    gap: 0.75rem;
}

.iww-language-switcher a,
.iww-language-switcher__current {
    display: inline-block;
}

.iww-language-switcher__current {
    color: var(--footer-link);
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.3em;
}

.iww-site-footer a {
    color: var(--footer-link);
    text-decoration: none;
}

.iww-site-footer a:hover {
    color: var(--footer-link-hover);
}

.iww-site-footer a:focus-visible {
    border-radius: 0.125rem;
    outline: 2px solid var(--footer-link);
    outline-offset: 0.25rem;
}

@media (max-width: 40rem) {
    .iww-site-footer__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 1rem;
        padding-block: 1.75rem;
    }
}
