/* Стиль для заголовка */
#newsletter-form .widget-title {
    font-size: 24px;
    font-weight: bold;
    color: #6c4f3d; /* Темно-коричневый цвет */
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Стиль для полей ввода */
#newsletter-form input[type="text"],
#newsletter-form input[type="tel"],
#newsletter-form input[type="email"] {
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 2px solid #6c8fbd; /* Цвет границы - мягкий золотистый */
    background-color: #fff;
    font-size: 16px;
    font-family: 'Georgia', serif;
    color: #333;
    transition: border-color 0.3s ease-in-out;
    width: 100%; /* Обеспечиваем, что поля будут занимать всю доступную ширину */
}

/* Стиль для фокуса на полях ввода */
#newsletter-form input[type="text"]:focus,
#newsletter-form input[type="tel"]:focus,
#newsletter-form input[type="email"]:focus {
    border-color: #a78b59; /* Цвет границы при фокусе */
    outline: none;
}

/* Стиль для кнопки */
#newsletter-form input[type="submit"] {
    background-color: #446084; /* Золотисто-коричневый цвет */
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    transition: background-color 0.3s ease-in-out;
    width: 100%; /* Ширина кнопки будет равна ширине полей ввода */
    margin: 0 auto; /* Выравнивание кнопки по центру */
    display: block;
}

/* Стиль для кнопки при наведении */
#newsletter-form input[type="submit"]:hover {
    background-color: #6c4f3d; /* Темный оттенок золотисто-коричневого */
}

/* Стиль для сообщения */
#form-message {
    margin-top: 15px;
    text-align: center;
}

/* Стили для Google reCAPTCHA */
.g-recaptcha {
    margin-bottom: 15px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: 100%; /* Задаем ширину reCAPTCHA по аналогии с полями ввода */
    max-width: 100%; /* Убираем ограничения по ширине */
    box-sizing: border-box; /* Убедимся, что ширина включает padding и border */
}

/* Стиль для адаптивности reCAPTCHA */
@media (max-width: 768px) {
    #newsletter-form {
        padding: 15px;
        width: 90%;
    }

    #newsletter-form .widget-title {
        font-size: 20px;
    }

    #newsletter-form input[type="submit"] {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    #newsletter-form {
        padding: 10px;
    }

    #newsletter-form .widget-title {
        font-size: 18px;
    }

    #newsletter-form input[type="submit"] {
        font-size: 14px;
    }
}
