/* Legacy builder rows must fit inside the article beside trust navigation. */
body.ip-contact-page .corporate-page__article,
body.ip-contact-page .article-content { min-width: 0; max-width: 100%; }
body.ip-contact-page .article-content .vc_row,
body.ip-contact-page .article-content .vc_row.container,
body.ip-contact-page .article-content .wpb_column,
body.ip-contact-page .article-content .vc_column-inner,
body.ip-contact-page .article-content .wpb_wrapper {
    box-sizing: border-box;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    left: auto !important;
    right: auto !important;
}
body.ip-contact-page .article-content .vc_row { display: block !important; }
body.ip-contact-page .article-content .wpb_column { float: none !important; padding: 0 !important; }
body.ip-contact-page .article-content .vc_column-inner { padding-left: 0 !important; padding-right: 0 !important; }
body.ip-contact-page .article-content .kd-contact-form,
body.ip-contact-page .article-content .wpcf7,
body.ip-contact-page .article-content .wpcf7-form {
    box-sizing: border-box; width: 100% !important; max-width: 100% !important; min-width: 0; float: none !important;
}
body.ip-contact-page .article-content .wpcf7 label,
body.ip-contact-page .article-content .wpcf7-form-control-wrap { display: block; width: 100%; max-width: 100%; }
body.ip-contact-page .article-content .wpcf7 input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
body.ip-contact-page .article-content .wpcf7 textarea,
body.ip-contact-page .article-content .wpcf7 select {
    box-sizing: border-box; display: block; width: 100% !important; max-width: 100% !important; min-width: 0;
    padding: 12px 14px; border: 1px solid #bdc9d8; border-radius: 6px; font: inherit; color: inherit; background: #fff;
}
body.ip-contact-page .article-content .wpcf7 textarea { min-height: 180px; height: 180px; resize: vertical; }
body.ip-contact-page .article-content .wpcf7 input[type="submit"] { max-width: 100%; white-space: normal; float: none; }
body.ip-contact-page .article-content .wpcf7 .wpcf7-not-valid-tip,
body.ip-contact-page .article-content .wpcf7 .wpcf7-response-output {
    box-sizing: border-box; max-width: 100% !important; width: auto !important; min-width: 0;
    white-space: normal !important; overflow-wrap: anywhere; position: static; transform: none;
}
body.ip-contact-page .article-content .wpcf7 .wpcf7-response-output { margin: 20px 0; padding: 12px 14px; }
body.ip-contact-page .article-content .wpcf7 .wpcf7-not-valid-tip { line-height: 1.5; font-size: .9em; }
body.ip-contact-page .article-content .wpcf7 :is(input,textarea,select):focus-visible { outline: 3px solid #9bc7f5; outline-offset: 2px; }

/* Match the site's primary buttons with readable text in every state. */
body.ip-contact-page #primary .wpcf7 .wpcf7-submit {
    appearance: none;
    box-sizing: border-box;
    display: inline-block;
    width: auto !important;
    min-width: 144px;
    max-width: 100%;
    min-height: 48px;
    height: auto !important;
    padding: 12px 24px !important;
    border: 1px solid #1768ca !important;
    border-radius: 8px !important;
    background: #1768ca !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: normal !important;
    text-transform: none !important;
    text-align: center;
    text-shadow: none !important;
    white-space: normal;
    box-shadow: none !important;
    opacity: 1 !important;
    cursor: pointer;
}
body.ip-contact-page #primary .wpcf7 .wpcf7-submit:hover:not(:disabled) {
    background: #1257ab !important;
    border-color: #1257ab !important;
}
body.ip-contact-page #primary .wpcf7 .wpcf7-submit:focus-visible {
    outline: 3px solid #1768ca !important;
    outline-offset: 3px;
}
body.ip-contact-page #primary .wpcf7 .wpcf7-submit:disabled {
    background: #64748b !important;
    border-color: #64748b !important;
    cursor: not-allowed;
}
