/* Expose footer colors so the powered-by attribution can match */
:root {
    --footer-bg: var(--primary-color);
    --footer-text: var(--primary-contrast);
}

.site-footer {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    background: var(--primary-color);
    color: var(--primary-contrast);
    padding: 2.3rem 0 1.2rem 0;
    font-family: var(--font-sans);
    font-size: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--primary-color) 70%, black);
}

.footer-content {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2.3rem;
    margin-bottom: 0.7rem;
    flex-wrap: wrap;
    justify-content: center;
}

    .footer-links a {
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.18s, background 0.18s;
        padding: 0.1rem 0.5rem;
        border-radius: 0.2rem;
        background: none;
    }

        .tenant-theme .footer-links a:hover {
            color: var(--primary-color);
            background: var(--accent-color);
            opacity: 0.92;
        }

.footer-copy {
    font-size: 0.97rem;
    color: var(--primary-contrast);
    text-align: center;
}

@media (max-width: 600px) {
    .footer-content {
        padding: 0 1rem;
        gap: 0.6rem;
    }

    .footer-links {
        gap: 1.1rem;
    }
}
