﻿/* footer.css : footer styles */

footer {
    margin-top: var(--space-5);
    padding-top: var(--space-3);
    border-top: 1px solid var(--faint);
    color: var(--muted);
    font-size: .85rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .75rem;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: .5rem;
    align-items: center;
}

    .footer-links a {
        color: var(--muted);
        border-bottom: 1px solid transparent;
        transition: color .2s ease, border-bottom-color .2s ease;
    }

        .footer-links a:hover {
            color: var(--fg);
            border-bottom-color: var(--fg);
        }

/* Desktop footer layout: copyright left, links right */

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-links a {
        transition: none;
    }
}