/* Newsletter footer + inline blocks */

.rb-nl-block {
    box-sizing: border-box;
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--rb-text, #111);
}
.rb-nl-block[hidden] { display: none; }

.rb-nl-footer {
    max-width: 1100px;
    margin: 32px auto;
    padding: 24px;
    background: var(--rb-bg-elevated, #fff);
    border: 1px solid var(--rb-border, #e5e7eb);
    border-radius: 16px;
}
.rb-nl-footer__title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.3rem;
    margin: 0 0 8px;
}
.rb-nl-footer__sub {
    font-size: 0.95rem;
    color: var(--rb-text-muted, #555);
    margin: 0 0 16px;
}
.rb-nl-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.rb-nl-form input[type="email"] {
    flex: 1;
    min-width: 220px;
    padding: 10px 14px;
    border: 1px solid var(--rb-border, #e5e7eb);
    border-radius: 999px;
    font: inherit;
}
.rb-nl-form button {
    padding: 10px 20px;
    background: #f97316;
    color: #fff;
    border: none;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}
.rb-nl-form button:hover { background: #ea580c; }
.rb-nl-status { margin-top: 8px; font-size: 0.9rem; min-height: 1em; }
.rb-nl-status--ok { color: #059669; }
.rb-nl-status--err { color: #b91c1c; }
.rb-nl-honeypot { position: absolute; left: -9999px; opacity: 0; }

/* Inline (condition pages) */
.rb-nl-inline {
    max-width: 800px;
    margin: 48px auto;
    padding: 32px;
    background: linear-gradient(135deg, #fff7ed, #fff);
    border: 1px solid #ffedd5;
    border-radius: 24px;
    text-align: center;
}
.rb-nl-inline .rb-nl-footer__title { font-size: 1.5rem; }

[data-theme="dark"] .rb-nl-footer { background: #1a1626; border-color: #2a2536; }
[data-theme="dark"] .rb-nl-inline { background: linear-gradient(135deg, #2a1810, #1a1626); border-color: #2a2536; }
[data-theme="dark"] .rb-nl-form input[type="email"] { background: #13111a; color: #e5e5e5; border-color: #2a2536; }
