/* Shared by generated pages and the hand-authored static pages. */
.site-footer {
    --footer-text-color: #595959;
    color: var(--footer-text-color);
}

.contact-footer {
    --footer-text-color: #d1d1d1;
    color: var(--footer-text-color);
}

.site-footer p,
.contact-footer p,
.site-footer a:not(.social-icon),
.contact-footer a:not(.social-icon) {
    color: var(--footer-text-color);
    opacity: 1;
}

.footer-copyright,
.footer-notice,
.footer-actions {
    font-family: var(--font-main, 'Inter', sans-serif);
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.6;
}

.footer-notice {
    max-width: 36rem;
    margin: 0.65rem auto 0;
}

.footer-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 1.25rem;
    margin-top: 0.55rem;
}

.contact-footer .footer-links {
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}

.site-footer .footer-text-link,
.contact-footer .footer-text-link {
    color: var(--footer-text-color);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.footer-actions a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
    border-radius: 2px;
}

@media (max-width: 600px) {
    /* Keep footer links above the existing floating support widget. */
    .site-footer,
    .contact-footer {
        padding-bottom: 6rem;
    }
}
