.newsletter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
}

/* Сама форма теперь имеет ЖЕСТКУЮ ширину на десктопе, чтобы плашки были одинаковыми */
.newsletter__form {
    padding: 1.5rem;
    width: 100%;
    /* Меняем max-width на width, чтобы обе формы были строго одного размера */
    width: 850px;
    background-color: hsl(0, 0%, 96%);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 5px 5px 15px 7px rgba(153, 153, 153, 0.49);
    box-sizing: border-box; /* Важно, чтобы паддинги не раздували форму */
}

/* Линейный ряд */
.newsletter__form-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 20px; /* Сделаем фиксированный зазор между элементами */
}

/* Заголовок: фиксируем в пикселях */
.newsletter__form-title {
    text-align: center;
    font-size: 16px; /* Чуть уменьшил, чтобы русский текст аккуратнее ложился в контейнер */
    font-weight: 700;
    white-space: normal;

    width: 240px; /* Жестко даем 240 пикселей под текст на обоих языках */
    flex-shrink: 0;
}

/* Текстовое поле: теперь оно займет ВСЁ оставшееся фиксированное место */
.newsletter__form-input {
    border: 1px solid hsl(0, 0%, 73%);
    border-radius: 20px;
    display: flex;
    flex: 1; /* Растягивается одинаково в обеих формах */
}

.newsletter__form-input input {
    font-size: 14px;
    color: black;
    height: 40px;
    width: 100%;
    padding: 0 19px;
    border-radius: 20px;
    border: none;
    outline: none;
}

.newsletter__form-input input::placeholder {
    font-size: 14px;
    font-weight: 300;
    color: black;
}

/* Кнопка: фиксируем ширину в пикселях, чтобы «Подписаться» влезало, а инпут не страдал */
.newsletter__form-button {
    background-color: #2e75b8;
    border-radius: 20px;
    width: 140px; /* Фиксированная ширина кнопки для обоих языков */
    flex-shrink: 0;
}

.newsletter__form-button button {
    height: 40px;
    width: 100%;
    padding: 0; /* Убираем паддинги, размер контролирует родитель */
    font-weight: 700;
    font-size: 14px;
    border-radius: 20px;
    color: white;
    border: none;
    cursor: pointer;
    text-align: center;
}

.newsletter__form-button button:hover {
    background-color: #21a038;
    transition: background-color 0.2s;
}

/* Капчи строго по центру */
.newsletter__form .g-recaptcha,
#recaptcha-newsletter-en {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: -10px;
}

/* Галочка согласия строго по центру */
.checkbox-label--newsletter {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-align: center;
    font-size: 14px;
}

/* Адаптив для мобильных устройств (планшеты и телефоны) */
@media (max-width: 1000px) {
    .newsletter__form {
        width: 100%; /* На мобилках сбрасываем жесткие 850px */
        max-width: 450px;
    }

    .newsletter__form-row {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .newsletter__form-title {
        width: 100%;
        text-align: center;
    }

    .newsletter__form-input {
        width: 100%;
    }

    .newsletter__form-button {
        width: 100%;
    }
}
