/* ============================================================
   Newsletter Subscribe Widget – subscribe.css
   ============================================================ */

/* ── FULL WIDTH BREAKOUT ── */
.elementor-widget-nsp_subscribe {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
}

.elementor-widget-nsp_subscribe .elementor-widget-container {
    padding: 0 !important;
    margin:  0 !important;
}

/* ── SECTION ── */
.nsp-section {
    position: relative;
    width: 100%;
    height: 140px;          /* fixed height so BG image shows correctly */
    min-height: 281px;
    overflow: hidden;
    background: #111 center/cover no-repeat;
    font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
    box-sizing: border-box;
}

.elementor-element.elementor-element-c3137a9.e-con-full.e-flex.e-con.e-parent.e-lazyloaded {
    display: contents;
}
.nsp-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* ── INNER FLEX ROW ── */
.nsp-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0 32px;        /* vertical padding removed — rely on height:140px */
    width: 100%;
    height: 100%;           /* fill the fixed section height */
    box-sizing: border-box;
}

/* ── Left headings ── */
.nsp-headings {
    flex: 0 0 auto;
    min-width: 200px;
}

.nsp-title {
    margin: 0 0 4px;
    font-size: 28px;
    line-height: 1;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
}

.nsp-bold   { font-weight: 900; color: #fff; }
.nsp-normal { font-weight: 300; color: #fff; }

.nsp-arrow {
    color: #f26522;
    font-size: 26px;
    font-weight: 900;
}

.nsp-sub {
    margin: 0;
    font-size: 13px;
    letter-spacing: 2px;
    color: #ccc;
    text-transform: uppercase;
}

/* ── Middle fields ── */
.nsp-fields {
    flex: 1 1 0;            /* flex-basis:0 so it doesn't over-expand */
    min-width: 0;           /* prevent grid from busting flex container */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
    align-items: center;
}

.nsp-row {
    width: 100%;
    min-width: 0;
}

.nsp-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 136, 204, 0.7);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    padding: 6px 2px;
    outline: none;
    letter-spacing: 0.5px;
    transition: border-color 0.25s;
    box-sizing: border-box;
    display: block;
}

.nsp-input::placeholder { color: rgba(255,255,255,0.55); }
.nsp-input:focus { border-bottom-color: #f26522; }

/* ── Right button ── */
.nsp-action {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.nsp-btn {
    background: #f26522;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 40px;
    font-size: 14px;
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.25s, transform 0.15s;
}

.nsp-btn:hover  { background: #d9561e; transform: scale(1.03); }
.nsp-btn:active { transform: scale(0.98); }

.nsp-btn.loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-top-color: transparent;
    border-radius: 50%;
    animation: nsp-spin 0.7s linear infinite;
    margin-left: 8px;
    vertical-align: middle;
}

@keyframes nsp-spin { to { transform: rotate(360deg); } }

/* ── Messages ── */
.nsp-msg {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.nsp-msg.success { color: #4cff91; background: rgba(0,200,80,0.15); }
.nsp-msg.error   { color: #ff5c5c; background: rgba(220,0,0,0.15);  }

/* ── Bottom accent line ── */
.nsp-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #f26522;
    z-index: 3;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .nsp-section {
        height: auto;
        min-height: 200px;
    }
    .nsp-inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 16px;
        height: auto;
    }
    .nsp-fields {
        grid-template-columns: 1fr;
        width: 100%;
    }
    .nsp-action { width: 100%; align-items: stretch; }
    .nsp-btn    { width: 100%; }
}
