/* ============================================================
   NTM Article — Sunday Dispatch newsletter

   Cream-band CTA between the Read Next strip and the footer.
   Centered: teal eyebrow, serif headline, supporting sans
   copy, and a side-by-side email input + teal Subscribe pill.
   ============================================================ */

.ntm-article-newsletter {
    position: relative;
    background-color: var(--ntm-bg-cream, #efe6d6);
    color: var(--ntm-ink, #14323a);
    padding: clamp(56px, 7vw, 96px) clamp(24px, 5vw, 64px);
    overflow: hidden;
    isolation: isolate;
}

.ntm-article-newsletter__glow {
    position: absolute;
    top: 45%;
    left: 50%;
    width: clamp(420px, 55vw, 920px);
    height: clamp(420px, 55vw, 920px);
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(
        circle at center,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(255, 255, 255, 0.7) 18%,
        rgba(255, 255, 255, 0.4) 38%,
        rgba(255, 255, 255, 0.18) 60%,
        rgba(255, 255, 255, 0.05) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    filter: blur(18px);
}

.ntm-article-newsletter__inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: clamp(12px, 1.4vw, 20px);
}

.ntm-article-newsletter__eyebrow {
    margin: 0;
    font-family: var(--ntm-font-sans);
    font-weight: 600;
    font-size: clamp(0.75rem, 0.85vw, 0.9rem);
    line-height: 1;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--ntm-accent-teal);
}

.ntm-article-newsletter__title {
    margin: 0;
    font-family: var(--ntm-font-serif);
    font-weight: 400;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    color: var(--ntm-ink, #14323a);
    max-width: 14ch;
}

.ntm-article-newsletter__description {
    margin: 0;
    max-width: 52ch;
    font-family: var(--ntm-font-sans);
    font-weight: 400;
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.6;
    color: rgba(20, 50, 58, 0.7);
}

.ntm-article-newsletter__label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ntm-article-newsletter__form {
    margin-top: clamp(8px, 1.2vw, 14px);
    width: 100%;
    max-width: 480px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 560px) {
    .ntm-article-newsletter__form {
        grid-template-columns: 1fr auto;
        gap: 0;
        border: 1px solid rgba(20, 50, 58, 0.22);
        background-color: rgba(255, 255, 255, 0.6);
    }
}

.ntm-article-newsletter__input {
    border: 1px solid rgba(20, 50, 58, 0.22);
    padding: clamp(12px, 1.2vw, 16px) clamp(14px, 1.4vw, 18px);
    font-family: var(--ntm-font-sans);
    font-size: clamp(0.9rem, 1vw, 1rem);
    line-height: 1.4;
    color: var(--ntm-ink, #14323a);
    background-color: transparent;
    outline: none;
    transition: border-color 0.18s ease;
}

@media (min-width: 560px) {
    .ntm-article-newsletter__input {
        border: none;
        padding-right: clamp(10px, 1vw, 14px);
    }
}

.ntm-article-newsletter__input::placeholder {
    color: rgba(20, 50, 58, 0.42);
}

.ntm-article-newsletter__input:focus-visible {
    border-color: var(--ntm-accent-teal);
}

@media (min-width: 560px) {
    .ntm-article-newsletter__form:focus-within {
        border-color: var(--ntm-accent-teal);
    }
}

.ntm-article-newsletter__submit {
    border: none;
    padding: clamp(12px, 1.2vw, 16px) clamp(24px, 2.4vw, 36px);
    background-color: var(--ntm-accent-teal);
    color: #ffffff;
    font-family: var(--ntm-font-sans);
    font-weight: 600;
    font-size: clamp(0.72rem, 0.8vw, 0.82rem);
    line-height: 1;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.18s ease;
}

.ntm-article-newsletter__submit:hover,
.ntm-article-newsletter__submit:focus-visible {
    background-color: #14323a;
}
