.wpcf7 form.invalid .wpcf7-response-output {
    background: #fff3cd;
    color: var(--dark-gray);
    padding: 10px;
    margin: 1rem 0 0;
    border: none;
    font-size: 0.875rem;

}

.wpcf7-not-valid-tip {
    display: none !important;
}

.form-control:not(.wpcf7-submit) {
    padding: 8px 0;
    font-size: 1em;
    min-height: 30px;
    border: 0;
    border-bottom: 1px solid var(--black);
}


.form-control.wpcf7-not-valid {
    border-color: var(--red) !important;
}

.wpcf7-spinner {
    position: absolute !important;
    top: 12px;
    right: 10px;
}

.pre-footer-form {
    padding: clamp(1.125rem, 0.3854rem + 3.1556vw, 2.9375rem);
    border-radius: 20px;
}

.top-footer-subscribe-form .wpcf7 input[type="email"] {
    padding: 15px 25px;
    font-size: 1rem;
    background-color: var(--white);
    color: var(--gray-d);
    border-radius: 50px !important;
    border: 1px solid var(--gray-a);
}

@media (min-width: 768px) {
    .top-footer-subscribe-form input[type="submit"] {
        position: absolute;
        top: 0;
        right: 12px;
    }
}

@media (max-width: 768px) {
    .pre-footer {
        padding: 52px 0 67px;
    }

    .top-footer-subscribe-form input[type="submit"] {
        position: relative;
        top: 10px;
        width: 100%;
    }
}