/* ==========================
   SITE FOOTER
   Renders on every page (like header.css, the one exception to
   templates/ being conditionally loaded — see .instructions.md)
========================== */

.site-footer {
    flex-shrink: 0;
    background: var(--color-text-dark);
    color: var(--color-bg);
    padding: 1.5rem 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copyright {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1;
    color: var(--color-bg);
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    color: var(--color-bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--color-primary);
}

/* Labels for pages that don't exist/aren't published yet — visible so the
   footer's final layout is already in place, but visually not mistaken for a
   working link (no hover state, no pointer cursor). */
.footer-links__pending {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 253, 248, 0.6);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1;
    cursor: default;
}

@media (max-width: 480px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }
}
