.site-footer {
    background: var(--color-footer-background);
    color: var(--color-footer-text);
}

.site-footer__inner {
    max-width: 1440px;
    margin: auto;
    padding: 28px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.site-footer p {
    margin: 0;
}

.site-footer a {
    color: var(--color-footer-link);
    text-decoration: none;
    text-underline-offset: 4px;
    transition: color 0.25s ease;
}

.site-footer a:hover {
    color: var(--color-footer-link-hover);
    text-decoration: underline;
}

/* Sticky footer layout */
html {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    margin: 0;
}

body > main {
    flex: 1 0 auto;
}

.site-footer {
    margin-top: auto;
    flex-shrink: 0;
}