/**
 * site-ui-newsletter-v1.css — the site's two newsletter forms (1.17.0).
 *
 * Its own file, loaded ONLY while plugin-newsletter says readers can
 * subscribe (AIPR_UI_Newsletter::open()). So installing the release that
 * brings it changes no byte of any page — nothing to purge — and the shell
 * stylesheet, which is on every URL and at the edge, keeps its name.
 * Opening signup changes the footer of every page anyway, and that is the
 * moment a Purge Everything is needed.
 *
 * THE FILENAME CARRIES THE DESIGN VERSION (Cloudflare ignores ?ver=): a
 * redesign ships as -v2 with AIPR_UI_Assets::CSS_NEWSLETTER changed.
 *
 * Loaded after site-ui-v7.css, so the tokens are given. Same grammar as the
 * rest of the site: 12px uppercase label, 15px short line, 17px field text
 * (never under 16px — iOS zooms a focused field below that), purple
 * only for interaction.
 */

/* ─── Footer: label, field and button on the dark band ────────── */

.aipr-ui-ftr-nl {
    max-width: 400px;
    margin: 0;
}
.aipr-ui-ftr-nl .aipr-ui-ftr-sub-label {
    display: block;
}
.aipr-ui-ftr-nl-row {
    display: flex;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 2px;
}
.aipr-ui-ftr-nl-row:focus-within {
    border-color: var(--aipr-ui-wedge);
    outline: 1px solid var(--aipr-ui-wedge);
}
/* Element + class: the base layer and any theme style bare inputs, and the
   footer's own reset does not reach them. */
.aipr-ui-ftr input.aipr-ui-ftr-nl-in {
    flex: 1;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 14px;
    border: 0 !important;
    border-radius: 0;
    outline: 0 !important;
    background: transparent;
    box-shadow: none;
    color: var(--aipr-ui-band-ink);
    font-family: var(--aipr-ui-sans);
    font-size: 17px;
    line-height: normal;
    -webkit-appearance: none;
    appearance: none;
}
.aipr-ui-ftr input.aipr-ui-ftr-nl-in::placeholder {
    color: var(--aipr-ui-band-mute);
    opacity: 1;
}
.aipr-ui-ftr button.aipr-ui-ftr-nl-go {
    flex: none;
    height: 42px;
    padding: 0 20px;
    background: var(--aipr-ui-wedge);
    color: var(--aipr-ui-band);
    font-size: 15px;
    font-weight: 600;
    transition: background 120ms ease;
}
.aipr-ui-ftr button.aipr-ui-ftr-nl-go:hover {
    background: #fff;
}

/* ─── Article: one list, after the body ────────────────────────
   The field and button are the search form's (.aipr-ui-sform, in the views
   sheet); only the block around them is new. */

.aipr-ui-nl {
    margin-top: 48px;
    padding-top: 16px;
    border-top: 2px solid var(--aipr-ui-ink);
}
.aipr-ui-nl-h {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.2;
    color: var(--aipr-ui-ink);
}
.aipr-ui-nl-dek {
    margin-top: 6px;
    max-width: 60ch;
    font-size: 15px;
    line-height: 1.55;
    color: var(--aipr-ui-mute);
}
.aipr-ui-v .aipr-ui-nl-form {
    max-width: 520px;
    margin-top: 16px;
}
.aipr-ui-v .aipr-ui-nl-form input.aipr-ui-sform-in {
    height: 46px;
    font-size: 17px;
}
/* The related rows follow with their own 2px rule; keep the two blocks
   apart rather than stacked rule on rule. */
.aipr-ui-nl + .aipr-ui-rel {
    margin-top: 48px;
}

@media (max-width: 600px) {
    .aipr-ui-ftr-nl {
        max-width: none;
    }
    .aipr-ui-ftr button.aipr-ui-ftr-nl-go {
        padding: 0 16px;
    }
    .aipr-ui-nl {
        margin-top: 40px;
    }
}
