/* Shared footer, including pages reached through HTMX. */
.site-footer {
    background: #fcf7f9;
    border-top: 1px solid #ecdde5;
    color: #62565d;
    padding: 32px 24px;
    font-size: 12px;
    line-height: 1.7;
}
.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.8fr) minmax(100px, .7fr) minmax(64px, .45fr);
    gap: 28px;
    max-width: 1100px;
    margin: auto;
    align-items: start;
}
.site-footer h2, .site-footer .footer-newsletter form > label:first-of-type {
    font-family: inherit;
    font-size: 13px !important;
    line-height: 1.5;
    font-weight: 600;
    color: #a50f68;
    margin: 0 0 10px;
}
.site-footer p { margin: 0; }
.site-footer .footer-copyright { margin-top: 7px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #62565d; text-decoration: none; }
.site-footer a:hover { color: #a50f68; text-decoration: underline; text-underline-offset: 3px; }
.footer-newsletter form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}
.site-footer .footer-newsletter form > * { margin: 0; }
.footer-newsletter form > label:first-of-type { grid-column: 1 / -1; }
.footer-newsletter input[type=email] {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    min-height: 40px;
    background: #fff;
    border: 1px solid #dccbd5;
    border-radius: 5px;
    font-size: 12px;
    padding: 9px 10px;
}
.footer-newsletter form > label:last-of-type {
    grid-column: 1 / -1;
    grid-row: 3;
    font-size: 10px;
    line-height: 1.5;
}
.footer-newsletter input[type=checkbox] { accent-color: #a50f68; flex-shrink: 0; }
.site-footer .footer-newsletter button {
    grid-column: 2;
    grid-row: 2;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #a50f68;
    border-radius: 5px;
    background: #a50f68;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.site-footer .footer-newsletter button:hover { background: #80104f; }
.site-footer :focus-visible { outline: 2px solid #a50f68; outline-offset: 3px; }
.footer-webview { text-align: center; }
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 540px) {
    .site-footer { padding: 28px 20px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-about, .footer-newsletter { grid-column: 1 / -1; }
}
