/* Preserve Soul Aspect's form layouts using native MgmCMS form controls. */
form.mgm-contact-form {
    --soul-form-gap: 20px; --mgm-form-accent: #dfa293; --mgm-form-focus: #dfa293;
    display: grid !important; grid-template-columns: minmax(0, 1fr); gap: var(--soul-form-gap) !important;
    width: 100%; min-width: 0; margin: 0; color: inherit;
}
form.mgm-contact-form .mgm-form-fields { display: contents; }
form.mgm-contact-form .mgm-form-fields > .soul-form-grid {
    display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--soul-form-gap); margin: 0;
}
form.mgm-contact-form .soul-form-grid > * { grid-column: 1 / -1; min-width: 0; }
form.mgm-contact-form .soul-form-grid > .soul-field-half { grid-column: auto; }
form.mgm-contact-form .soul-form-grid input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
form.mgm-contact-form .soul-form-grid select,
form.mgm-contact-form .soul-form-grid textarea {
    width: 100%; margin: 0; box-sizing: border-box;
    padding: 15px; border-radius: 10px; border: 1px solid rgba(131,131,131,.3);
    font: 15px Arial, sans-serif; background: #fff; color: #222;
}
form.mgm-contact-form .soul-form-grid textarea { min-height: 110px; }
form.mgm-contact-form .mgm-form-fields > .soul-form-submit { order: 2; margin: 0; }
form.mgm-contact-form .mgm-form-captcha { order: 1; margin: 0; max-width: 100%; }
form.mgm-contact-form .mgm-captcha-note, form.mgm-contact-form noscript { order: 1; }
form.mgm-contact-form .mgm-form-response { order: 3; margin: 0; min-width: 0; }
form.mgm-contact-form button.mgm-form-submit {
    margin: 0; background: #dfa293; color: #fff; border: 2px solid #665e69;
    padding: 15px 30px; font: 600 16px Arial, sans-serif; border-radius: 10px;
    width: fit-content; max-width: 100%; cursor: pointer; transition: background .3s ease;
}
form.mgm-contact-form button.mgm-form-submit:hover { background: #665e69; }
body.contactPage form.mgm-contact-form { --soul-form-gap: 15px; }
body.contactPage form.mgm-contact-form .soul-form-submit, body.contactPage form.mgm-contact-form .mgm-form-captcha { justify-self: end; }
.counsellingServicesLanding .innerBanner .blockTwo form.mgm-contact-form { --soul-form-gap: 10px; }
.counsellingServicesLanding .innerBanner .blockTwo form.mgm-contact-form .soul-form-grid :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select, textarea) {
    padding: 10px; background: rgba(255,255,255,.4); border: none; border-radius: 0; color: #fff; font-size: 16px;
}
.counsellingServicesLanding .innerBanner .blockTwo form.mgm-contact-form .soul-form-grid :is(input,textarea)::placeholder { color: #fff; }
.counsellingServicesLanding .innerBanner .blockTwo form.mgm-contact-form select option { color: #222; background: #fff; }
.counsellingServicesLanding .innerBanner .blockTwo form.mgm-contact-form button.mgm-form-submit { background: #fff; color: #665e69; border-color: #fff; padding: 12px 20px; }
.counsellingServicesLanding .innerBanner .blockTwo form.mgm-contact-form .mgm-field-error { color: #fff; }
.counsellingLanding .meetSection .meetForm form.mgm-contact-form { --soul-form-gap: 10px; }
.counsellingLanding .meetSection .meetForm form.mgm-contact-form .soul-form-grid :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]), select) {
    height: 40px; min-height: 40px; padding: 0 10px; border: 1px solid #ccc; border-radius: 5px;
}
.counsellingLanding .meetSection .meetForm form.mgm-contact-form .soul-form-grid textarea { padding: 10px; border-radius: 5px; height: 100px; min-height: 100px; }
.counsellingLanding .meetSection .meetForm form.mgm-contact-form button.mgm-form-submit { background: #665e69; border: 0; padding: 10px 20px; border-radius: 5px; }
@media (max-width: 600px) {
    form.mgm-contact-form .mgm-form-fields > .soul-form-grid { grid-template-columns: minmax(0, 1fr); }
    form.mgm-contact-form .soul-form-grid > .soul-field-half { grid-column: 1 / -1; }
}
