/* Newsletter sign-up (home band, footer, result pages). Loaded only when the feature is enabled. Uses site.css tokens. */
.nl-form { display: grid; gap: 10px; min-width: 0; }
.nl-form label { font-weight: 600; }
.nl-row { display: flex; gap: 10px; align-items: stretch; min-width: 0; }
.nl-row input { flex: 1 1 auto; min-width: 0; min-height: 48px; padding: 12px 13px; border: 1px solid var(--ink); border-radius: var(--radius-sm); background: var(--paper); color: var(--ink); font: inherit; font-size: 16px; caret-color: var(--rust); }
.nl-row input::placeholder { color: #6b6878; opacity: 1; }
.nl-row .button { flex: none; cursor: pointer; }
.nl-row input:focus-visible, .nl-row .button:focus-visible { outline: 3px solid var(--rust); outline-offset: 2px; }
.nl-note { margin: 0; font-size: 14px; color: var(--muted); max-width: 60ch; }
.nl-note a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.nl-form [hidden] { display: none !important; }

/* Home band, below the selection criteria. */
.nl-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px 48px; align-items: center; margin: 48px 0 0; padding: 28px; background: var(--lime); border: 1px solid var(--ink); border-radius: var(--radius); }
.nl-band h2 { margin: 0 0 8px; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); overflow-wrap: anywhere; }
.nl-band p { margin: 0; max-width: 52ch; }
.nl-band .nl-note { color: var(--ink); }

/* Footer, compact. */
.footer-newsletter { padding-block: 22px; border-bottom: 1px dashed var(--line); }
.nl-compact { max-width: 560px; }
.nl-compact label { font-size: 15px; }

/* Result pages. */
.nl-page .nl-form, .nl-page .nl-unsubscribe { max-width: 520px; margin-block: 8px 20px; }

@media (max-width: 760px) {
    .nl-band { grid-template-columns: 1fr; padding: 20px 16px; margin-top: 36px; }
}
@media (max-width: 480px) {
    .nl-row { flex-direction: column; }
    .nl-row .button { width: 100%; }
}
