/* Newsletter box below each article (newsletter.php). Frame and accent border come from .psm-single-newsletter-cta
   in content-slots.css; --psn-nl-accent / --psn-nl-on-accent are set per site on the box itself. */
.psm-single-newsletter-cta.psn-nl-cta {
    padding-block: clamp(10px, 1.25vw, 14px);
}

.psn-nl-cta .psn-nl-cta__title {
    margin: 0 0 6px;
    font-size: clamp(1.15rem, 1.8vw, 1.35rem);
    font-weight: 700;
    line-height: 1.3;
}

.psn-nl-cta .psn-nl-cta__text {
    margin: 0 0 10px;
    font-size: 1rem;
    line-height: 1.45;
}

.psn-nl-cta__form {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 480px;
    margin: 0;
}

.psn-nl-cta__label,
.psn-nl-cta .psn-newsletter-trap {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.psn-nl-cta .psn-newsletter-trap {
    left: -9999px;
}

.psn-nl-cta input.psn-nl-cta__email {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 14px;
    border: 1px solid rgba(20, 34, 56, 0.3);
    border-radius: 8px;
    background: #fff;
    color: #142238;
    font-size: 1rem;
    box-sizing: border-box;
}

.psn-nl-cta input.psn-nl-cta__email::placeholder {
    color: #8a93a0;
    opacity: 1;
}

.psn-nl-cta input.psn-nl-cta__email:focus {
    outline: 2px solid var(--psn-nl-accent, #f7eb09);
    outline-offset: 1px;
    border-color: #142238;
}

.psn-nl-cta button.psn-nl-cta__button {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 20px;
    border: 0;
    border-radius: 8px;
    background: var(--psn-nl-accent, #f7eb09);
    color: var(--psn-nl-on-accent, #142238);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.psn-nl-cta button.psn-nl-cta__button:hover,
.psn-nl-cta button.psn-nl-cta__button:focus-visible {
    filter: brightness(0.92);
}

.psn-nl-cta button.psn-nl-cta__button:focus-visible {
    outline: 2px solid #142238;
    outline-offset: 2px;
}

.psn-nl-cta button.psn-nl-cta__button:disabled {
    cursor: wait;
    opacity: 0.7;
}

.psn-nl-cta .psn-nl-cta__note {
    margin: 0;
    font-size: 11px;
    line-height: 1.4;
    color: #5a6472;
}

.psn-nl-cta .psn-nl-cta__note a {
    color: inherit;
    text-decoration-thickness: 1px;
}

.psn-nl-cta .psn-nl-cta__status {
    margin: 4px 0 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}

/* Phones from 375 px: the full placeholder fits; the typed text stays at 16px (no zoom on iOS). */
@media (max-width: 480px) {
    .psm-single-newsletter-cta.psn-nl-cta {
        padding-left: 14px;
        padding-right: 14px;
    }

    .psn-nl-cta input.psn-nl-cta__email {
        padding: 10px;
    }

    .psn-nl-cta input.psn-nl-cta__email::placeholder {
        font-size: 0.75rem;
    }
}

/* Two classes: Blocksy's ":is(.is-layout-flow, …) > :where(…)" (one class, later in the cascade) zeroes the top margin. */
.psn-nl-cta + .psn-nl-google {
    margin: 16px 0 var(--theme-content-spacing, 1.5em);
    line-height: 0;
}

.psn-nl-google a {
    display: inline-block;
    border-radius: 12px;
}

.psn-nl-google a:focus-visible {
    outline: 2px solid #142238;
    outline-offset: 2px;
}

.psn-nl-google img {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
}
