/* =====================================================================
 * BSH Newsletter Signup
 * ===================================================================== */

.bsh-newsletter {
    --nl-blue: #4283c4;
    --nl-blue-dark: #1b3a61;
    --nl-orange: #eb6a05;
    --nl-text: #000;
    --nl-muted: rgba(0, 0, 0, .78);
    --nl-border: rgba(0, 0, 0, .10);

    position: relative;
    padding: 100px 0;
    background: var(--light-bg, #f4f7fb);
    overflow: hidden;
}

.bsh-newsletter__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right -60px bottom -60px;
    opacity: .04;
    pointer-events: none;
}

.bsh-newsletter__container {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 32px;
}

.bsh-newsletter__wrap {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 48px;
    background: #fff;
}

.bsh-newsletter__content {
    padding-right: 0;
}

.bsh-newsletter__kicker {
    color: var(--nl-orange);
    font-weight: 700;
    letter-spacing: .08em;
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
}

.bsh-newsletter__title {
    margin: 0 0 14px;
    font-size: clamp(32px, 3vw, 42px);
    line-height: 1.12;
    color: var(--nl-text);
    font-weight: 700;
}

.bsh-newsletter__text {
    margin: 0;
    color: var(--nl-text);
    line-height: 1.75;
    max-width: 60ch;
    font-size: 16px;
}



.bsh-newsletter__form {
    display: grid;
    gap: 16px;
    max-width: 500px;
}

.bsh-newsletter__row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.bsh-newsletter__input {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 0;
    font-size: 16px;
    color: var(--nl-text);
    background: #fff;
    outline: none;
    transition: border-color 0.2s ease;
}

.bsh-newsletter__input::placeholder {
    color: rgba(0, 0, 0, 0.55);
}

.bsh-newsletter__input:focus {
    border-color: var(--nl-blue);
}

.bsh-newsletter__btn {
    min-height: 50px;
    padding: 0 28px;
    border: none;
    border-radius: 50px 0 50px 0;
    background: var(--nl-orange);
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.bsh-newsletter__btn:hover,
.bsh-newsletter__btn:focus-visible {
    background: var(--nl-blue-dark);
}

.bsh-newsletter__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: var(--nl-text);
    font-size: 13px;
    line-height: 1.6;
}

.bsh-newsletter__consent input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    border-radius: 0;
    accent-color: var(--nl-orange);
    cursor: pointer;
    flex-shrink: 0;
}

.bsh-newsletter__consent a,
.bsh-newsletter__note a {
    color: var(--nl-blue-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bsh-newsletter__note {
    margin: 0;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.62);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .bsh-newsletter__wrap {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .bsh-newsletter {
        padding: 64px 0;
    }
}

@media (max-width: 600px) {
    .bsh-newsletter {
        padding: 42px 0;
    }

    .bsh-newsletter__container {
        padding: 0 16px;
    }

    .bsh-newsletter__wrap {
        padding: 28px 22px;
        gap: 28px;
    }

    .bsh-newsletter__title {
        font-size: 26px;
    }

    .bsh-newsletter__text {
        font-size: 15px;
    }

    .bsh-newsletter__row {
        grid-template-columns: 1fr;
    }

    .bsh-newsletter__btn {
        width: 100%;
        min-height: 48px;
    }

    .bsh-newsletter__form {
        max-width: none;
    }

    .bsh-newsletter__input {
        min-height: 48px;
    }
}

/* Honeypot – visually and semantically invisible */
.bsh-newsletter__hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Status messages */
.bsh-newsletter__msg {
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.5;
    border-radius: 2px;
}

.bsh-newsletter__msg--success {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 3px solid #2e7d32;
}

.bsh-newsletter__msg--error {
    background: #ffebee;
    color: #c62828;
    border-left: 3px solid #c62828;
}
