@font-face {
	font-family: 'THRYVE Inter';
	src: url('./fonts/inter-latin-400.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

@font-face {
	font-family: 'THRYVE Inter';
	src: url('./fonts/inter-latin-500.woff2') format('woff2');
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}

@font-face {
	font-family: 'THRYVE Noto Sans Arabic';
	src: url('./fonts/noto-sans-arabic-400.woff2') format('woff2');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}

/* Keep the introductory copy aligned to the form without changing its content. */
body.page-id-189 .thryve-contact-intro {
	box-sizing: border-box;
	width: min(calc(100% - 32px), 760px);
	max-width: 760px;
	margin-inline: auto;
	font-family: 'THRYVE Inter', Arial, sans-serif;
}

body.page-id-189 .thryve-contact-intro p,
body.page-id-189 .thryve-contact-intro a {
	font-family: 'THRYVE Inter', Arial, sans-serif;
}

body.page-id-2480 .elementor-element-7543d96 {
	box-sizing: border-box;
	width: min(calc(100% - 32px), 760px);
	max-width: 760px;
	margin-inline: auto;
}

/* The two known WPForms instances are the only form elements styled here. */
:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) {
	--thryve-form-ink: #410d09;
	--thryve-form-accent: #59120c;
	--thryve-form-line: #d7c7ba;
	box-sizing: border-box;
	width: min(calc(100% - 32px), 760px) !important;
	max-width: 760px !important;
	margin: 28px auto 76px !important;
	padding: clamp(24px, 3vw, 42px) !important;
	border: 1px solid var(--thryve-form-line);
	border-radius: 4px;
	background: #fffdf9;
	box-shadow: 0 18px 42px rgb(65 13 9 / 4%);
	color: var(--thryve-form-ink);
	font-family: 'THRYVE Inter', Arial, sans-serif !important;
}

body.page-id-2480 #wpforms-3056 {
	direction: rtl;
	font-family: 'THRYVE Noto Sans Arabic', Tahoma, sans-serif !important;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) *,
:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) *::before,
:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) *::after {
	box-sizing: border-box;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-field-container {
	display: grid;
	gap: 22px;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-field {
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-field-label {
	display: block;
	margin: 0 0 8px !important;
	color: var(--thryve-form-ink) !important;
	font-family: 'THRYVE Inter', Arial, sans-serif !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	line-height: 1.5 !important;
	letter-spacing: 0 !important;
}

body.page-id-2480 #wpforms-3056 .wpforms-field-label {
	font-family: 'THRYVE Noto Sans Arabic', Tahoma, sans-serif !important;
	font-size: 15px !important;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) :is(input:not([type='hidden']), select, textarea) {
	display: block;
	width: 100% !important;
	max-width: none !important;
	min-height: 50px !important;
	margin: 0 !important;
	padding: 12px 14px !important;
	border: 1px solid var(--thryve-form-line) !important;
	border-radius: 3px !important;
	background: #fff !important;
	box-shadow: none !important;
	color: #302725 !important;
	font-family: 'THRYVE Inter', Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.5 !important;
}

body.page-id-2480 #wpforms-3056 :is(input:not([type='hidden']), select, textarea) {
	font-family: 'THRYVE Noto Sans Arabic', Tahoma, sans-serif !important;
	text-align: right;
}

body.page-id-2480 #wpforms-3056 :is(input[type='email'], input[type='tel']) {
	direction: ltr;
	text-align: left;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) textarea {
	min-height: 154px !important;
	resize: vertical;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) :is(input:not([type='hidden']), select, textarea):focus-visible {
	border-color: var(--thryve-form-accent) !important;
	outline: 2px solid #a56b22 !important;
	outline-offset: 2px;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-field-description {
	margin-top: 8px !important;
	color: #655c57 !important;
	font-family: 'THRYVE Inter', Arial, sans-serif !important;
	font-size: 13px !important;
	line-height: 1.5 !important;
}

body.page-id-2480 #wpforms-3056 .wpforms-field-description {
	font-family: 'THRYVE Noto Sans Arabic', Tahoma, sans-serif !important;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-required-label,
:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-error {
	color: #9b3527 !important;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-submit-container {
	margin: 0 !important;
	padding: 28px 0 0 !important;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-submit {
	min-width: 260px !important;
	min-height: 52px !important;
	padding: 13px 26px !important;
	border: 1px solid var(--thryve-form-accent) !important;
	border-radius: 3px !important;
	background: var(--thryve-form-accent) !important;
	box-shadow: none !important;
	color: #fffaf3 !important;
	font-family: 'THRYVE Inter', Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 500 !important;
	line-height: 1.4 !important;
	cursor: pointer;
}

body.page-id-2480 #wpforms-3056 .wpforms-submit {
	font-family: 'THRYVE Noto Sans Arabic', Tahoma, sans-serif !important;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-submit:hover {
	background: #410d09 !important;
}

:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-submit:focus-visible {
	outline: 3px solid #a56b22 !important;
	outline-offset: 3px;
}

/* Keep the map from visually running into the form on the English page. */
body.page-id-189 .elementor-element-691303b6 {
	padding-top: 18px;
	border-top: 1px solid #e9ddd1;
}

@media (max-width: 767px) {
	:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) {
		width: calc(100% - 24px) !important;
		margin-block: 20px 56px !important;
		padding: 24px 20px !important;
	}

	:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-field-container {
		gap: 19px;
	}

	:is(body.page-id-189 #wpforms-3047, body.page-id-2480 #wpforms-3056) .wpforms-submit {
		width: 100% !important;
		min-width: 0 !important;
	}
}
