/* The foyer (footer.php): newsletter and site footer. The review is in quote.css,
   "Bekijk ook" in show-cards.css. Spacing comes from .flow; no rules between parts. */

.newsletter {
    display: grid;
    gap: var(--heading-gap) var(--space-xl);
}

/* Upright and plain between the italic review and the DERF logo: contrast. */
.newsletter .section-heading {
    max-width: 18em;
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--text-xl);
    font-style: normal;
    font-weight: 500;
    letter-spacing: -0.01em;
}

@media (min-width: 1024px) {
    .newsletter .section-heading {
        font-size: var(--text-2xl);
    }
}

@media (min-width: 1024px) {
    .newsletter {
        grid-template-columns: 1fr 1fr;
        align-items: end;
    }
}

.site-footer {
    color: var(--muted-on-ink);
    font-size: var(--text-sm);
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

@media (min-width: 640px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer-logo {
    display: block;
    margin-bottom: var(--space-sm);
    font-family: var(--font-serif);
    font-size: 2rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--paper);
}

.footer-col p {
    max-width: 28em;
}

.footer-heading {
    margin-bottom: var(--space-sm);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--gold);
}

.footer-links li,
.footer-nav li {
    margin-bottom: var(--space-2xs);
}

/* Links underline on hover; the logo does not, as in the header. */
.site-footer a:not(.footer-logo) {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 0.25em;
}

.site-footer a:not(.footer-logo):hover {
    color: var(--paper);
    text-decoration-color: currentColor;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xs) var(--space-lg);
    margin-top: var(--space-2xl);
    font-size: var(--text-xs);
}

.footer-bottom p {
    margin: 0;
}

/* The maker's mark after the copyright: his monogram, small, in the house
   serif. On hover it turns gold and its title names him; a screen reader
   hears the name from aria-label. */
.site-footer a.footer-credit {
    display: inline-grid;
    place-items: center;
    width: 1.6em;
    height: 1.6em;
    margin-left: 0.35em;
    border: 1px solid var(--line-on-ink);
    border-radius: 50%;
    font-family: var(--font-serif);
    font-size: 0.8em;
    font-style: italic;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.02em;
    text-decoration: none;
    vertical-align: middle;
    transition: color var(--duration-normal) ease, border-color var(--duration-normal) ease;
}

.site-footer a.footer-credit:is(:hover, :focus-visible) {
    border-color: var(--gold);
    color: var(--gold);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
}
