/* ============================================================
   NEWVIB NEWSLETTER — Inline + Popup
   ============================================================ */

/* ── Inline Newsletter Block ─────────────────────────────── */
.nv-newsletter {
    display: flex;
    align-items: flex-start;
    gap: var(--nv-space-5);
    padding: var(--nv-space-8);
    background: linear-gradient(135deg, var(--nv-ink) 0%, #1a1a2e 100%);
    border-radius: var(--nv-radius-lg);
    margin: var(--nv-space-10) 0;
    position: relative;
    overflow: hidden;
}
.nv-newsletter::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200,57,43,0.2), transparent 70%);
    pointer-events: none;
}

.nv-newsletter__icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    color: #fff;
    margin-top: 4px;
}

.nv-newsletter__body { flex: 1; }
.nv-newsletter__title {
    font-family: var(--nv-font-display);
    font-size: var(--nv-scale-xl);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: var(--nv-space-2);
}
.nv-newsletter__subtitle {
    font-size: var(--nv-scale-sm);
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--nv-space-5);
    line-height: var(--nv-lh-normal);
}

/* Form */
.nv-newsletter__form { }
.nv-newsletter__input-wrap {
    display: flex;
    gap: var(--nv-space-2);
}
.nv-newsletter__input {
    flex: 1;
    padding: var(--nv-space-3) var(--nv-space-4);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--nv-radius);
    color: #fff;
    font-family: var(--nv-font-body);
    font-size: var(--nv-scale-base);
    transition: border-color 0.2s ease, background 0.2s ease;
    min-width: 0;
}
.nv-newsletter__input::placeholder { color: rgba(255,255,255,0.45); }
.nv-newsletter__input:focus {
    outline: none;
    border-color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.15);
}
.nv-newsletter__btn {
    flex-shrink: 0;
    white-space: nowrap;
}

.nv-newsletter__privacy {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    margin-top: var(--nv-space-3);
    font-family: var(--nv-font-ui);
}

/* Message */
.nv-newsletter__message {
    margin-top: var(--nv-space-3);
    font-size: var(--nv-scale-sm);
    font-family: var(--nv-font-ui);
    font-weight: 600;
    min-height: 20px;
}
.nv-newsletter__message--success { color: #4ade80; }
.nv-newsletter__message--error   { color: #f87171; }

/* Variant: sidebar */
.nv-newsletter--sidebar {
    flex-direction: column;
    padding: var(--nv-space-6);
}
.nv-newsletter--sidebar .nv-newsletter__title { font-size: var(--nv-scale-lg); }
.nv-newsletter--sidebar .nv-newsletter__input-wrap { flex-direction: column; }
.nv-newsletter--sidebar .nv-newsletter__btn { width: 100%; justify-content: center; }

/* Newsletter popup removed */

@media (max-width: 640px) {
    .nv-newsletter { flex-direction: column; }
    .nv-newsletter__input-wrap { flex-direction: column; }
    .nv-newsletter__btn { width: 100%; justify-content: center; }
}
