/**
 * Contact page enquiry form (Gravity Forms inside .ite-gf).
 * Figma: labels 20px Ink, white fields 58px tall with 5px radius,
 * placeholder #CFCFD7, enquiry box 256px, orange pill submit.
 */

.ite-gf .gform_wrapper.gravity-theme .gform_fields,
.ite-gf .gform_wrapper .gform_fields {
	row-gap: 26px !important;
	column-gap: 28px !important;
}

.ite-gf .gform_wrapper .gfield_label,
.ite-gf .gform_wrapper .gform-field-label {
	font-family: "General Sans", sans-serif;
	font-size: 20px !important;
	font-weight: 400 !important;
	line-height: 1.79 !important;
	color: #0d1421 !important;
	margin-bottom: 4px !important;
	padding: 0 !important;
}

/* Hide the "(Required)" text; the fields stay required. */
.ite-gf .gform_wrapper .gform_heading {
	display: none !important;
}

.ite-gf .gform_wrapper input[type="text"],
.ite-gf .gform_wrapper input[type="email"],
.ite-gf .gform_wrapper input[type="tel"],
.ite-gf .gform_wrapper textarea {
	width: 100% !important;
	min-height: 58px;
	padding: 11px 13px !important;
	background-color: #ffffff !important;
	border: 1px solid transparent !important;
	border-radius: 5px !important;
	box-shadow: none !important;
	font-family: "General Sans", sans-serif;
	font-size: 20px !important;
	line-height: 1.4 !important;
	color: #0d1421 !important;
	transition: border-color 0.2s ease;
}

.ite-gf .gform_wrapper textarea {
	height: 256px !important;
	max-height: 256px !important;
	min-block-size: 256px !important;
	resize: vertical;
}

.ite-gf .gform_wrapper input::placeholder,
.ite-gf .gform_wrapper textarea::placeholder {
	color: #cfcfd7 !important;
	opacity: 1;
}

.ite-gf .gform_wrapper input:focus,
.ite-gf .gform_wrapper textarea:focus {
	outline: none !important;
	border-color: #1b2d3f !important;
}

/* Submit enquiry: orange pill, navy on hover (matches site buttons). */
.ite-gf .gform_wrapper .gform_footer,
.ite-gf .gform_wrapper .gform_page_footer {
	margin-top: 33px !important;
	padding: 0 !important;
}

.ite-gf .gform_wrapper .gform_footer input[type="submit"],
.ite-gf .gform_wrapper .gform_footer button,
.ite-gf .gform_wrapper .gform_button {
	min-width: 260px;
	min-height: 66px;
	padding: 24px 82px !important;
	background-color: #FF5B03 !important;
	border: 1px solid #FF5B03 !important;
	border-radius: 50px !important;
	font-family: "General Sans", sans-serif;
	font-size: 16px !important;
	font-weight: 400 !important;
	line-height: 1 !important;
	color: #ffffff !important;
	cursor: pointer;
	transition: background-color 0.3s ease-out, color 0.3s ease-out;
}

.ite-gf .gform_wrapper .gform_footer input[type="submit"]:hover,
.ite-gf .gform_wrapper .gform_footer button:hover,
.ite-gf .gform_wrapper .gform_button:hover {
	background-color: #fff !important;
	/* border-color: #ff3303 !important; */
	color: #1b2d3f !important;
}

/* Validation + confirmation messages. */
.ite-gf .gform_wrapper .gfield_validation_message,
.ite-gf .gform_wrapper .validation_message {
	font-size: 15px !important;
	color: #ff3303 !important;
	background: none !important;
	border: 0 !important;
	padding: 6px 0 0 !important;
}

.ite-gf .gform_confirmation_message {
	font-family: "General Sans", sans-serif;
	font-size: 20px;
	line-height: 1.6;
	color: #0d1421;
}

.table-of-contents .elementor-toc__list-item-text-wrapper {
	align-items: flex-start !important;
	gap: 10px;
}

.table-of-contents .elementor-toc__list-item-text-wrapper > svg,
.table-of-contents .elementor-toc__list-item-text-wrapper > i {
	flex-shrink: 0 !important;
	margin-top: 0.7em;
}

@media (max-width: 767px) {
	.ite-gf .gform_wrapper .gfield_label,
	.ite-gf .gform_wrapper .gform-field-label {
		font-size: 17px !important;
	}

	.ite-gf .gform_wrapper input[type="text"],
	.ite-gf .gform_wrapper input[type="email"],
	.ite-gf .gform_wrapper input[type="tel"],
	.ite-gf .gform_wrapper textarea {
		font-size: 17px !important;
	}

	.ite-gf .gform_wrapper textarea {
		height: 180px !important;
	}
}
