/* EAFPS — Newsletter (toggle button + collapsible Mailchimp form). */

.eafps-nl {
    margin: 20px 0;
}

/* ── Toggle button ──────────────────────────── */
.eafps-nl__toggle {
    display: inline-block;
    padding: 14px 28px;
    background: var(--nectar-accent-color, #0f3a5f);
    color: #fff;
    border: 0;
    border-radius: 6px;
    font-family: "Inter", inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: opacity .12s ease, transform .12s ease;
}
.eafps-nl__toggle:hover {
    opacity: .92;
    transform: translateY(-1px);
}
.eafps-nl__toggle[aria-expanded="true"] {
    margin-bottom: 10px;
}

/* ── Collapsible panel ──────────────────────── */
.eafps-nl__panel {
    margin-top: 18px;
}
.eafps-nl__panel[hidden] {
    display: none;
}

/* ── Form ───────────────────────────────────── */
.eafps-nl__form {
    max-width: 560px;
    padding: 26px 28px;
    background: #f6f8fb;
    border-radius: 14px;
}
.eafps-nl__heading {
    margin: 0 0 8px;
    font-family: "Butler", serif;
    font-weight: 400;
    font-size: 26px;
    color: var(--eafps-brand, #0f3a5f);
}
.eafps-nl__intro {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: #4C4C4C;
}
.eafps-nl__required-note {
    margin: 0 0 16px;
    font-size: 13px;
    color: #6b7480;
}
.eafps-nl__required-note .asterisk,
.eafps-nl__field .asterisk {
    color: #c0392b;
}

.eafps-nl__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.eafps-nl__field label {
    font-family: "Butler", serif;
    font-weight: 300;
    font-size: 16px;
    color: #2a2a2a;
}
/* Inputs inherit the global eafps-styled-forms chrome (border / radius). */
.eafps-nl__field input {
    width: 100%;
}

.eafps-nl__gdpr {
    margin: 4px 0 18px;
}
.eafps-nl__gdpr-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #4C4C4C;
    cursor: pointer;
}
.eafps-nl__gdpr-label input {
    margin-top: 3px;
    flex: 0 0 auto;
}
.eafps-nl__gdpr-label a {
    color: var(--nectar-accent-color, #2e6da8);
}

.eafps-nl__submit-wrap {
    display: flex;
    justify-content: flex-end;
}
.eafps-nl__submit {
    padding: 12px 32px;
    background: var(--nectar-accent-color, #2e6da8);
    color: #fff;
    border: none;
    border-radius: 9999px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.05s ease;
}
.eafps-nl__submit:hover {
    background: var(--eafps-brand, #0f3a5f);
}
.eafps-nl__submit:active {
    transform: translateY(1px);
}

@media ( max-width: 690px ) {
    .eafps-nl__form { padding: 22px 18px; }
    .eafps-nl__heading { font-size: 22px; }
}
