.find-a-rep {
	--find-a-rep-icon-contractor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v1.5'/%3E%3Cpath d='M7.5 9.5a4.5 4.5 0 0 1 9 0'/%3E%3Cpath d='M6.5 9.5h11'/%3E%3Cpath d='M8.75 11a3.25 3.25 0 0 0 6.5 0'/%3E%3Cpath d='M5.5 21l1.3-4.4a1 1 0 0 1 1-.7h8.4a1 1 0 0 1 1 .7l1.3 4.4'/%3E%3C/svg%3E");
	--find-a-rep-icon-architect: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13'/%3E%3Cpath d='m8 6 2-2'/%3E%3Cpath d='m18 16 2-2'/%3E%3Cpath d='m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17'/%3E%3Cpath d='M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z'/%3E%3Cpath d='m15 5 4 4'/%3E%3C/svg%3E");
	--find-a-rep-icon-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
	--find-a-rep-icon-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
	padding: var(--wp--preset--spacing--sm) 0 var(--wp--preset--spacing--xl);
	background: var(--global-palette8);
	color: var(--global-palette3);
}
.find-a-rep [hidden] {
	display: none !important;
}
.find-a-rep__inner {
	width: calc(100% - 2 * var(--wp--preset--spacing--md));
	max-width: 788px;
	margin-inline: auto;
}
.find-a-rep .find-a-rep__title {
	margin: 0 0 var(--wp--preset--spacing--xs);
	color: var(--global-palette3);
	font-family: var(--global-heading-font-family);
	font-size: clamp(2.625rem, 2.0485rem + 2.4595vw, 5rem);
	font-weight: 700;
	line-height: 0.95;
	text-align: center;
	text-transform: uppercase;
	text-wrap: balance;
}
.find-a-rep__intro {
	margin-bottom: var(--wp--preset--spacing--gap-md);
	text-align: center;
	text-wrap: balance;
}
.find-a-rep__intro > :last-child {
	margin-bottom: 0;
}
.find-a-rep__form {
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--gap-md);
}
/* Google fills this only for some answers, and an empty flex item would add a second gap. */
.find-a-rep__attribution:empty {
	display: none;
}
.find-a-rep__audiences {
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
	min-width: 0;
	margin: 0;
	padding: 4px;
	border: 0;
	background: var(--global-palette7);
}
/* The roles stack whenever the group is too narrow for both labels on one line. */
.find-a-rep__audience {
	position: relative;
	flex: 1 1 calc((39rem - 100%) * 999);
	min-width: 0;
	cursor: pointer;
}
.find-a-rep__audience input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}
/* Martel Sans draws its capitals about 0.125em above the middle of the line, so the padding and icons follow the capitals. */
.find-a-rep__audience span {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 100%;
	min-height: 50px;
	padding: 14px 8px 10px;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
}
.find-a-rep__audience span::before {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background: var(--global-palette2);
	content: "";
	-webkit-mask: var(--find-a-rep-icon, linear-gradient(transparent 0 0)) center / contain no-repeat;
	mask: var(--find-a-rep-icon, linear-gradient(transparent 0 0)) center / contain no-repeat;
	translate: 0 -0.125em;
}
.find-a-rep__audience input[value="contractor"] + span {
	--find-a-rep-icon: var(--find-a-rep-icon-contractor);
}
.find-a-rep__audience input[value="architect"] + span {
	--find-a-rep-icon: var(--find-a-rep-icon-architect);
}
.find-a-rep__audience input:checked + span {
	background: var(--global-palette3);
	color: var(--global-palette9);
}
.find-a-rep__audience input:focus-visible + span,
.find-a-rep button:focus-visible {
	outline: 2px solid var(--global-palette3);
	outline-offset: 3px;
}
/* The Echelon Gravity Forms styles force a focus ring on every text input with important. */
.find-a-rep input.find-a-rep__input:focus-visible {
	outline: 2px solid var(--global-palette3) !important;
	outline-offset: 3px;
}
.find-a-rep__location {
	position: relative;
}
.find-a-rep input.find-a-rep__input {
	width: 100%;
	min-height: 58px;
	padding: 12px 64px 12px 16px;
	border: 1px solid var(--global-palette5);
	border-radius: 0;
	background: var(--global-palette9);
	color: var(--global-palette3);
}
.find-a-rep__input[aria-invalid="true"] {
	border-width: 2px;
}
.find-a-rep__suggestions {
	position: absolute;
	z-index: 10;
	top: 100%;
	width: 100%;
	border: 1px solid var(--global-palette5);
	background: var(--global-palette9);
}
.find-a-rep__suggestions ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.find-a-rep__suggestions [role="option"] {
	padding: 12px 16px;
	cursor: pointer;
}
.find-a-rep__suggestions [role="option"]:hover,
.find-a-rep__suggestions [aria-selected="true"] {
	background: var(--global-palette4);
	color: var(--global-palette9);
}
.find-a-rep__suggestions img {
	display: block;
	margin: 8px 16px;
}
.find-a-rep button.find-a-rep__locate,
.find-a-rep button.find-a-rep__clear {
	position: absolute;
	top: 50%;
	right: 12px;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	transform: translateY(-50%);
	background: transparent;
	color: var(--global-palette3);
	font-size: 26px;
}
.find-a-rep button.find-a-rep__search {
	width: 100%;
	min-height: 58px;
	border: 0;
	border-radius: 0;
	background: var(--global-palette2);
	color: var(--global-palette3);
}
.find-a-rep button.find-a-rep__search:hover {
	background: var(--global-palette1);
	color: var(--global-palette9);
}
.find-a-rep__status p {
	margin: var(--wp--preset--spacing--sm) 0;
}
.find-a-rep__results {
	display: grid;
	gap: var(--wp--preset--spacing--xs);
	margin-top: var(--wp--preset--spacing--lg);
}
@supports selector(:has(*)) {
	.find-a-rep__results:not(:has(> .find-a-rep__card:not([hidden]))) {
		margin-top: 0;
	}
}
.find-a-rep__card {
	display: flex;
	gap: var(--wp--preset--spacing--sm);
	padding: var(--wp--preset--spacing--xs);
	background: var(--global-palette9);
}
.find-a-rep__photo {
	flex: 0 0 128px;
}
.find-a-rep__photo img {
	width: 128px;
	height: 128px;
	object-fit: cover;
}
.find-a-rep__contact {
	display: grid;
	align-content: start;
	justify-items: start;
	gap: 8px;
	min-width: 0;
}
.find-a-rep .find-a-rep__contact h3 {
	margin: 0;
	font-family: var(--global-body-font-family);
	font-size: var(--wp--preset--font-size--large);
	font-weight: 600;
	line-height: 1.3;
	text-transform: none;
}
.find-a-rep__job-title {
	margin: 0;
}
.find-a-rep__contact a {
	display: inline-flex;
	align-items: flex-start;
	gap: 8px;
	max-width: 100%;
	color: inherit;
	text-decoration: underline;
	overflow-wrap: anywhere;
}
.find-a-rep__contact a::before {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	margin-top: calc((1lh - 16px) / 2);
	background: currentcolor;
	content: "";
	-webkit-mask: var(--find-a-rep-icon, linear-gradient(transparent 0 0)) center / contain no-repeat;
	mask: var(--find-a-rep-icon, linear-gradient(transparent 0 0)) center / contain no-repeat;
	translate: 0 -0.125em;
}
.find-a-rep__contact a[href^="mailto:"] {
	--find-a-rep-icon: var(--find-a-rep-icon-mail);
}
.find-a-rep__contact a[href^="tel:"] {
	--find-a-rep-icon: var(--find-a-rep-icon-phone);
}
/* Forced colors drop the selected background, the masked icons and the authored focus color, so all three get system colors. */
@media (forced-colors: active) {
	.find-a-rep__audience input:checked + span {
		forced-color-adjust: none;
		background: Highlight;
		color: HighlightText;
	}
	.find-a-rep__audience span::before,
	.find-a-rep__contact a::before {
		forced-color-adjust: none;
		background: CanvasText;
	}
	.find-a-rep__audience input:checked + span::before {
		background: HighlightText;
	}
	.find-a-rep__audience input:focus-visible + span {
		outline-color: CanvasText;
	}
}
@media (max-width: 600px) {
	.find-a-rep__card {
		flex-direction: column;
	}
	.find-a-rep__photo {
		flex-basis: auto;
	}
}
