/* Shared Gravity Forms responsive — all site forms
   -------------------------------------------------------------------------- */

.footer-cta .rma-form--footer,
.rma-form--apt-modal,
.project-contact .rma-form--project,
.contact-card .rma-form--contact,
.rma-form--light,
.float-contact__form,
.job-apply .job-apply__plugin,
.job-apply .gform_wrapper {
	max-width: 100%;
	min-width: 0;
}

.footer-cta .rma-form--footer .gform_wrapper,
.rma-form--apt-modal .gform_wrapper,
.project-contact .rma-form--project .gform_wrapper,
.contact-card .rma-form--contact .gform_wrapper,
.rma-form--light .gform_wrapper,
.float-contact__form .gform_wrapper,
.job-apply .gform_wrapper {
	width: 100% !important;
	max-width: 100% !important;
}

@media (max-width: 1024px) {
	.footer-cta .rma-form--footer input[type="text"],
	.footer-cta .rma-form--footer input[type="tel"],
	.footer-cta .rma-form--footer input[type="email"],
	.footer-cta .rma-form--footer textarea,
	.footer-cta .rma-form--footer .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.footer-cta .rma-form--footer .gform_wrapper textarea,
	.footer-cta .rma-form--footer .gform_button,
	.footer-cta .rma-form--footer input[type="submit"],
	.project-contact .rma-form--project input[type="text"],
	.project-contact .rma-form--project input[type="tel"],
	.project-contact .rma-form--project input[type="email"],
	.project-contact .rma-form--project textarea,
	.project-contact .rma-form--project .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.project-contact .rma-form--project .gform_wrapper textarea,
	.project-contact .rma-form--project .gform_button,
	.project-contact .rma-form--project input[type="submit"],
	.contact-card .rma-form--contact input[type="text"],
	.contact-card .rma-form--contact input[type="tel"],
	.contact-card .rma-form--contact input[type="email"],
	.contact-card .rma-form--contact select,
	.contact-card .rma-form--contact textarea,
	.contact-card .rma-form--contact .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.contact-card .rma-form--contact .gform_wrapper textarea,
	.contact-card .rma-form--contact .gform_wrapper select,
	.contact-card .rma-form--contact .gform_button,
	.contact-card .rma-form--contact input[type="submit"],
	.job-apply input[type="text"],
	.job-apply input[type="tel"],
	.job-apply input[type="email"],
	.job-apply textarea,
	.job-apply .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.job-apply .gform_wrapper textarea,
	.job-apply .gform_button,
	.job-apply input[type="submit"] {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
}

@media (max-width: 767px) {
	.footer-cta .rma-form--footer form,
	.footer-cta .rma-form--footer .gform_fields,
	.footer-cta .rma-form--footer .gform_footer,
	.project-contact .rma-form--project form,
	.project-contact .rma-form--project .gform_fields,
	.project-contact .rma-form--project .gform_footer,
	.contact-card .rma-form--contact form,
	.contact-card .rma-form--contact .gform_fields,
	.contact-card .rma-form--contact .gform_footer,
	.job-apply form,
	.job-apply .gform_fields,
	.job-apply .gform_footer {
		gap: 12px;
	}

	.footer-cta .rma-form--footer input[type="text"],
	.footer-cta .rma-form--footer input[type="tel"],
	.footer-cta .rma-form--footer input[type="email"],
	.footer-cta .rma-form--footer textarea,
	.footer-cta .rma-form--footer .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.footer-cta .rma-form--footer .gform_wrapper textarea,
	.project-contact .rma-form--project input[type="text"],
	.project-contact .rma-form--project input[type="tel"],
	.project-contact .rma-form--project input[type="email"],
	.project-contact .rma-form--project textarea,
	.project-contact .rma-form--project .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.project-contact .rma-form--project .gform_wrapper textarea,
	.contact-card .rma-form--contact input[type="text"],
	.contact-card .rma-form--contact input[type="tel"],
	.contact-card .rma-form--contact input[type="email"],
	.contact-card .rma-form--contact select,
	.contact-card .rma-form--contact textarea,
	.contact-card .rma-form--contact .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.contact-card .rma-form--contact .gform_wrapper textarea,
	.contact-card .rma-form--contact .gform_wrapper select,
	.job-apply input[type="text"],
	.job-apply input[type="tel"],
	.job-apply input[type="email"],
	.job-apply textarea,
	.job-apply .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.job-apply .gform_wrapper textarea {
		min-height: 46px !important;
		font-size: 16px !important;
		padding-inline: 16px !important;
	}

	.footer-cta .rma-form--footer textarea,
	.footer-cta .rma-form--footer .gform_wrapper textarea,
	.contact-card .rma-form--contact textarea,
	.contact-card .rma-form--contact .gform_wrapper textarea {
		min-height: 96px !important;
		height: 96px;
	}

	.footer-cta .rma-form--footer .gform_button,
	.footer-cta .rma-form--footer .gform_footer input[type="submit"],
	.footer-cta .rma-form--footer input[type="submit"],
	.footer-cta .rma-form--footer button[type="submit"],
	.project-contact .rma-form--project .gform_button,
	.project-contact .rma-form--project input[type="submit"],
	.contact-card .rma-form--contact .gform_button,
	.contact-card .rma-form--contact input[type="submit"],
	.job-apply .gform_button,
	.job-apply input[type="submit"] {
		width: 100% !important;
		min-height: 48px !important;
		height: auto;
		padding: 12px 16px !important;
		font-size: 15px !important;
		line-height: 1.2 !important;
		white-space: normal;
	}

	.footer-cta .rma-form--footer .gchoice label,
	.footer-cta .rma-form--footer .gform-field-label--type-inline,
	.project-contact .rma-form--project .gchoice label,
	.contact-card .rma-form--contact .gchoice label,
	.job-apply .gchoice label,
	.job-apply .gform-field-label--type-inline {
		font-size: 13px !important;
	}
}

@media (max-width: 480px) {
	.footer-cta .rma-form--footer input[type="text"],
	.footer-cta .rma-form--footer input[type="tel"],
	.footer-cta .rma-form--footer input[type="email"],
	.footer-cta .rma-form--footer textarea,
	.footer-cta .rma-form--footer .gform_wrapper input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="hidden"]):not([type="file"]),
	.contact-card .rma-form--contact input[type="text"],
	.contact-card .rma-form--contact input[type="tel"],
	.contact-card .rma-form--contact input[type="email"],
	.contact-card .rma-form--contact select,
	.contact-card .rma-form--contact textarea,
	.job-apply input[type="text"],
	.job-apply input[type="tel"],
	.job-apply input[type="email"],
	.job-apply textarea,
	.project-contact .rma-form--project input[type="text"],
	.project-contact .rma-form--project input[type="tel"],
	.project-contact .rma-form--project input[type="email"],
	.project-contact .rma-form--project textarea {
		font-size: 15px !important;
	}

	.footer-cta .rma-form--footer .gform_button,
	.footer-cta .rma-form--footer .gform_footer input[type="submit"],
	.footer-cta .rma-form--footer input[type="submit"],
	.footer-cta .rma-form--footer button[type="submit"],
	.contact-card .rma-form--contact .gform_button,
	.contact-card .rma-form--contact input[type="submit"],
	.job-apply .gform_button,
	.job-apply input[type="submit"],
	.project-contact .rma-form--project .gform_button,
	.project-contact .rma-form--project input[type="submit"] {
		font-size: 14px !important;
		line-height: 1.2 !important;
	}
}
