.hero_form form{
  background-color: #fff;
  display: flex;
      padding: 3px;
      border-radius: 5px;
      max-width: 444px;
      width: 100%;
}

.hero_form .wpforms-field-container {
    width: 100%;
}
.hero_form .wpforms-submit-container{
    width: 162px;
    flex-shrink: 0;
}

.hero_form .email-field {
    padding: 0 !important;
    height: 100%;
}
.hero_form .email-field input {
    height: 48px;
    width: 100% !important;
    border: 0 !important;
    outline: 0;
    padding: 10px 20px;
    max-width: 100% !important;
    font-family: 'SFPro-Display', sans-serif !important;
    color: var(--neutrals-n-1-main, #021639) !important;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.hero_form .wpforms-field-label {
    display: inline-block !important;
    font-family: 'SFPro-Display', sans-serif !important;
    font-size: 16px;
    line-height: 24px;
    color: rgba(31, 34, 46, 0.64);
    background: transparent;
    width: auto !important;
    padding: 0px;
    font-weight: 400 !important;
    position: absolute;
    top: 13px;
    left: 20px;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
    z-index: 5;
}

.hero_form .wpforms-submit {
    margin: 0px !important;
    border-radius: 3px !important;
    height: 48px;
    padding: 15px !important;
    color: #FFF;
    font-size: 16px;
    font-weight: 600;
    line-height: 16px;
    font-family: 'SFPro-Display', sans-serif;
    text-transform: unset !important;
    cursor: pointer;
    width: 100%;
    background: #F4062A;
    border: 0;
}

.hero_form .wpforms-submit-spinner {
    position: absolute;
    right: 9px;
    top: 16px;
    width: 16px;
    margin: 0;
}

.wpforms-field-label.floating {
    top: -6px;
    font-size: 12px;
    color: rgba(31, 34, 46, 1);
  }

.hero_form .wpforms-submit:hover {
    background: #CA0220;
}

.hero_form em.wpforms-error,
.hero_form .mailcheck-error {
    top: calc(100% + 6px);
    left: 20px;
    position: absolute;
    font-family: 'SFPro-Display', sans-serif !important;
}
.hero_form a.mailcheck-suggestion {
    color: inherit !important;
    text-decoration: underline !important;
    font-family: 'SFPro-Display', sans-serif !important;
}

@media screen and (max-width: 1199px) {
    .hero_form form{
        margin: 0 auto;
    }
}
@media screen and (max-width: 767px) {
    .hero_form form {
        flex-direction: column;
        background-color: transparent;
        padding: 0;
        border-radius: 0;
        gap: 10px;
    }
    .hero_form .email-field input{
        border-radius: 5px;
        max-width: 100% !important;
    }
    .hero_form .wpforms-submit-container{
        max-width: 100% !important;
        width: 100% !important;
    }
    .hero_form em.wpforms-error {
        margin-top: 4px;
        position: static;
    }
}