.mie-text-form { background:var(--mie-navy,#0a2038); color:#fff; padding:clamp(40px,6vw,110px) var(--mie-gutter,24px); box-sizing:border-box; }
.mie-text-form .mie-text-form-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,5vw,88px); align-items:start; max-width:1760px; margin:0 auto; }
.mie-text-form .mie-text-form-image { display:block; width:100%; height:auto; max-height:420px; object-fit:contain; object-position:left center; border-radius:18px; margin:0 0 32px; }
.mie-text-form .mie-text-form-copy h1 { color:inherit; font-size:clamp(34px,3.4vw,60px); line-height:1.08; margin:0 0 24px; overflow-wrap:anywhere; }
.mie-text-form .mie-text-form-copy > .mie-text-form-eyebrow { margin:0 0 8px; color:var(--mie-cyan,#00d9ff); font-size:14px; font-weight:700; line-height:1.5; letter-spacing:.18em; text-transform:uppercase; overflow-wrap:anywhere; }
.mie-text-form .mie-text-form-text { font-size:clamp(18px,1.3vw,22px); line-height:1.6; }
.mie-text-form .mie-text-form-text p { margin:0 0 24px; }
.mie-text-form .mie-text-form-cta { display:inline-block; margin-top:12px; padding:15px 26px; border-radius:7px; background:var(--mie-red,#cf2030); color:#fff; font-weight:700; text-decoration:none; }
.mie-text-form .mie-text-form-cta:hover { background:#ab1927; }
.mie-text-form .mie-text-form-cta:focus-visible { outline:3px solid #00D9FF; outline-offset:4px; }
.mie-text-form .mie-text-form-card { background:#fff; color:var(--mie-ink,#17304d); border-radius:22px; padding:clamp(24px,3vw,48px); min-width:0; --hsf-global__color:#17304d; --hsf-button__background-color:#cf2030; --hsf-button__color:#fff; }
.mie-text-form .mie-text-form-card h2 { color:inherit; font-size:clamp(26px,2vw,36px); margin:0 0 24px; }
.mie-text-form .mie-text-form-target { min-height:180px; }
.mie-text-form .mie-text-form-target iframe { max-width:100%; border:0; }
.mie-text-form .mie-text-form-placeholder { border:1px dashed #98a7b7; padding:32px 24px; min-height:240px; display:flex; align-items:center; }
.mie-text-form .mie-text-form-status { font-size:16px; }
@media(max-width:781px) { .mie-text-form .mie-text-form-layout { grid-template-columns:minmax(0,1fr); } }

.mie-text-form .mie-text-form-badges { display:block; width:auto; max-width:100%; max-height:140px; height:auto; object-fit:contain; object-position:left center; margin-top:32px; }
.mie-text-form .mie-text-form-card {
 border:0; box-shadow:0 8px 28px rgba(5,19,35,.12);
 --hsf-global__font-family:'aptos',Arial,sans-serif;
 --hsf-global__font-size:16px;
 --hsf-global__color:var(--mie-ink,#17304d);
 --hsf-global-error__color:var(--mie-red,#cf2030);
 --hsf-background__background-color:transparent;
 --hsf-background__background-image:none;
 --hsf-background__border-style:none;
 --hsf-background__border-width:0px;
 --hsf-background__border-radius:0px;
 --hsf-background__padding:0px;
 --hsf-heading__font-family:'Babcock',Arial,sans-serif;
 --hsf-heading__color:var(--mie-ink,#17304d);
 --hsf-heading__text-shadow:none;
 --hsf-richtext__font-family:'aptos',Arial,sans-serif;
 --hsf-richtext__font-size:16px;
 --hsf-richtext__color:var(--mie-ink,#17304d);
 --hsf-field-label__font-family:'aptos',Arial,sans-serif;
 --hsf-field-label__font-size:16px;
 --hsf-field-label__color:var(--mie-ink,#17304d);
 --hsf-field-label-requiredindicator__color:var(--mie-red,#cf2030);
 --hsf-field-input__font-family:'aptos',Arial,sans-serif;
 --hsf-field-input__color:var(--mie-ink,#17304d);
 --hsf-field-input__background-color:#f2eeeb;
 --hsf-field-input__placeholder-color:#52647a;
 --hsf-field-input__border-width:0px;
 --hsf-field-input__border-style:none;
 --hsf-field-input__border-radius:7px;
 --hsf-field-input__padding:14px 16px;
 --hsf-field-textarea__font-family:'aptos',Arial,sans-serif;
 --hsf-field-textarea__color:var(--mie-ink,#17304d);
 --hsf-field-textarea__background-color:#f2eeeb;
 --hsf-field-textarea__border-width:0px;
 --hsf-field-textarea__border-style:none;
 --hsf-field-textarea__border-radius:7px;
 --hsf-field-textarea__padding:14px 16px;
 --hsf-button__font-family:'aptos',Arial,sans-serif;
 --hsf-button__font-size:16px;
 --hsf-button__background-color:var(--mie-red,#cf2030);
 --hsf-button__background-image:none;
 --hsf-button__color:#fff;
 --hsf-button__border-radius:var(--mie-button-radius, 100px);
 --hsf-button__padding:14px 26px;
 --hsf-button__box-shadow:none;
 --hsf-erroralert__font-family:'aptos',Arial,sans-serif;
 --hsf-erroralert__font-size:14px;
 --hsf-erroralert__color:var(--mie-red,#cf2030);
 --hsf-infoalert__font-family:'aptos',Arial,sans-serif;
 --hsf-infoalert__font-size:14px;
 --hsf-row__vertical-spacing:24px;
 --hsf-row__horizontal-spacing:20px;
 --hsf-module__vertical-spacing:24px;
}
/* Native markup from classic raw-HTML forms and editor preview. */
.mie-text-form :is(.mie-hubspot-form,.mie-text-form-preview) { font:16px/1.55 'aptos',Arial,sans-serif; color:var(--mie-ink,#17304d); }
.mie-text-form .mie-hubspot-form fieldset { max-width:none; border:0; padding:0; }
.mie-text-form .mie-hubspot-form .hs-form-field { margin-bottom:24px; }
.mie-text-form :is(.mie-hubspot-form,.mie-text-form-preview) label { display:block; font-size:16px; margin-bottom:8px; }
.mie-text-form :is(.mie-hubspot-form,.mie-text-form-preview) :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) {
 box-sizing:border-box; width:100%; min-height:48px; padding:14px 16px; border:0; border-radius:7px; background:#f2eeeb; color:var(--mie-ink,#17304d); font:16px/1.4 'aptos',Arial,sans-serif;
}
.mie-text-form .mie-hubspot-form :is(input[type=checkbox],input[type=radio]) { accent-color:var(--mie-red,#cf2030); }
.mie-text-form .mie-hubspot-form :is(input[type=submit],button[type=submit]) { padding:14px 26px; border:0; border-radius:var(--mie-button-radius, 100px); background:var(--mie-red,#cf2030); color:#fff; font:700 16px/1.3 'aptos',Arial,sans-serif; cursor:pointer; box-shadow:none; }
.mie-text-form .mie-hubspot-form :is(input[type=submit],button[type=submit]):hover { background:#ab1927; }
.mie-text-form .mie-hubspot-form :is(input,select,textarea,button):focus-visible { outline:3px solid var(--mie-cyan,#00d9ff); outline-offset:3px; }
.mie-text-form .mie-hubspot-form :is(.hs-error-msgs,.hs-form-required) { color:var(--mie-red,#cf2030); font-size:14px; }
.mie-text-form .mie-hubspot-form .hs-error-msgs { list-style:none; padding:0; }
.mie-text-form .mie-hubspot-form img { max-width:100%; height:auto; }
.mie-text-form .mie-hubspot-form a { color:var(--mie-ink,#17304d); text-decoration:underline; }
.mie-text-form .mie-text-form-placeholder { border:0; padding:0; min-height:0; margin-top:24px; font-size:14px; color:#52647a; }
.mie-text-form .mie-text-form-preview input { margin-top:8px; opacity:1; }
.editor-styles-wrapper .wp-block[data-type="acf/mie-text-with-form"] { width:100%; max-width:none; }

/* Editorial bullet lists use the shared MIE checklist icon. */
.mie-text-form .mie-text-form-text ul { list-style:none; padding-inline-start:0; }
.mie-text-form .mie-text-form-text ul > li { position:relative; padding-inline-start:2em; margin-block:1em; font-weight:600; line-height:1.6; }
.mie-text-form .mie-text-form-text ul > li::before {
 content:''; position:absolute; inset-inline-start:0; top:.25em;
 width:1.15em; height:1.15em; background:var(--mie-cyan,#00D9FF);
 -webkit-mask:url('../../../images/checkbox.svg') center / contain no-repeat;
 mask:url('../../../images/checkbox.svg') center / contain no-repeat;
}
.mie-text-form .mie-text-form-text li > p:last-child { margin-bottom:0; }

/* Jotform consent surface. */
.mie-jotform-consent [hidden] { display:none!important; }
.mie-text-form .mie-jotform-consent h3 { font:700 clamp(22px,2vw,28px)/1.25 'aptos',Arial,sans-serif; color:var(--mie-navy,#0a2038); margin:0 0 16px; }
.mie-text-form .mie-jotform-consent p,.mie-text-form .mie-jotform-consent noscript { font:400 16px/1.6 'aptos',Arial,sans-serif; color:var(--mie-navy,#0a2038); }
.mie-jotform-preferences { display:inline-block; max-width:100%; padding:16px 24px; border:0; border-radius:28px; background:#cf2030; color:white; font:700 16px/1.4 'aptos',Arial,sans-serif; cursor:pointer; }
.mie-jotform-preferences:hover { background:#a91928; }
.mie-jotform-preferences:focus-visible { outline:3px solid #185b8c; outline-offset:4px; }
.mie-text-form .mie-jotform-status { font-size:14px; margin:16px 0 0; }
.mie-jotform-status:empty { display:none; }
.mie-jotform-consent .mie-guide-jotform { display:block; width:100%; height:750px; border:0; }
