/*
 Theme Name:     DH child theme
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/

/* =Theme customization starts here
------------------------------------------------------- */
.et_mobile_menu li a {
	padding: 20px 5%;
}
.et-l--footer {
	position: relative;
    z-index: 0;
}
body {
	background-color: #FFFCF2;
}
#et-main-area {
	overflow-x: hidden;
}
@media (min-width:981px) {
	.et_pb_menu_0_tb_header .et_pb_menu_inner_container>.et_pb_menu__logo-wrap {
		max-width: 180px!important;
	}
	.et_pb_menu_0_tb_header ul.et-menu a {
		font-size: 17px!important;
	}
	.et_pb_menu .et-menu {
		margin: 0;
		column-gap: 50px;
	}
	.et_pb_menu .et-menu>li {
		padding: 0;
	}
	.et-menu li a:before {
		content: '';
		mask: url('data:image/svg+xml,<svg width="39" height="24" viewBox="0 0 39 24" fill="none" xmlns="http://www.w3.org/2000/svg"><mask id="a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="39" height="24"><path d="M38.366 9.875 3.528.802 0 14.35l34.838 9.073 3.528-13.548Z" fill="%23fff"/></mask><g mask="url(%23a)" fill="%23F1B51C"><path d="M24.413 15.808c-.037.02-.073.041-.11.066l.002-.008c.036-.02.072-.037.112-.057"/><path d="M26.233 15.928s-7.569-1.932-23.135-4.556c-1.196-.204-1.966-1.368-1.666-2.521L2.53 4.634c.339-1.299 1.798-1.8 3.036-1.218C9.47 5.253 27.17 12.214 27.17 12.214S25.878 7.664 27 7.14c2.175-1.02 9.843 8.284 9.627 9.416-.224 1.234-11.783 5.738-12.98 3.694-.576-1.382 2.587-4.322 2.587-4.322Z"/></g></svg>') no-repeat center;
		mask-size: cover;
		width: 39px;
		height: 24px;
		background-color: #F1B51C;
		transform: translate(-100%,-5px);
		margin-right: 3px;
		position: absolute;
		left:0;
		opacity: 0;
		transition: opacity 200ms ease;
	}
	.et-menu li:nth-child(even) a:before {
		mask-image: url('data:image/svg+xml,<svg width="36" height="19" viewBox="0 0 36 19" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M26.269 8.733s-7.288 2.81-21.495 9.692c-1.093.527-2.395.024-2.819-1.09L.407 13.264c-.477-1.255.421-2.51 1.768-2.753C6.42 9.746 24.88 5.163 24.88 5.163S21.19 2.203 21.8 1.126c1.182-2.09 12.823 1.05 13.303 2.097.532 1.135-6.28 11.504-8.439 10.53-1.27-.791-.396-5.02-.396-5.02Z" fill="%23CECB2A"/></svg>');
		width: 36px;
		height: 19px;
		transform: translate(-100%,5px);
	}
	.et-menu li:nth-child(2) a:before {
		background-color: #DD5934;
	}
	.et-menu li:nth-child(3) a:before {
		background-color: #00ADD4;
	}
	.et-menu li:nth-child(4) a:before {
		background-color: #CECB2A;
	}
	.et-menu li a:hover:before,
	.et-menu li.current_page_item a:before {
		opacity: 1;
	}
	body #page-container .et_pb_section a.arrow-right:after {
		all: unset;
		content: "";
		background: url(https://findyourpeople.tempurl.host/wp-content/uploads/2025/06/Beige-Arrows-Right.svg) no-repeat;
		width: 2011px;
		aspect-ratio: 814 / 148;
		display: block !important;
		position: absolute;
		left: calc(100% + 56px);
		top: -50px;
		pointer-events: none;
	}
	body #page-container .et_pb_section a.arrow-left:after {
		all: unset;
		content: "";
		background: url(https://findyourpeople.tempurl.host/wp-content/uploads/2025/06/Beige-Arrows-Left.svg) no-repeat;
		width: 1760px;
		aspect-ratio: 675/249;
		display: block !important;
		position: absolute;
		right: calc(100% + 25px);
        top: -100%;
        transform: translateY(-65%);
		pointer-events: none;
	}
	.arrow-violet h2,
	.arrow-red h2{
		width: fit-content;
		position: relative;
	}
	.arrow-violet h2:after,
	.arrow-red h2:after{
		content: '';
		width: 1791px;
		aspect-ratio: 542 / 228;
		display: block !important;
		position: absolute;
		left: calc(100% + 50px);
        top: -46px;
		pointer-events: none;
	}
	.arrow-violet h2:after {
		background: url(https://findyourpeople.tempurl.host/wp-content/uploads/2025/06/Color-Arrows-violet.svg) no-repeat;
	}
	.arrow-red h2:after {
		background: url(https://findyourpeople.tempurl.host/wp-content/uploads/2025/06/Color-Arrows-red.svg) no-repeat;
	}
}
@media (min-width: 1280px) {
	.et_pb_menu_0_tb_header ul.et-menu {
		column-gap:80px;
	}
	.et_pb_menu_0_tb_header ul.et-menu a {
		font-size: 20px!important;
	}
	
}
@media (max-width: 1280px) {
	#main-content .squiggle-line {
		background-image: none !important;
	}
}
@media (min-width: 1360px) {
	
	.et_pb_menu_0_tb_header .et_pb_menu_inner_container>.et_pb_menu__logo-wrap {
		max-width: 292px!important;
	}
}

.mwai-form-container {
	--field-color: #000;
	--field-bg: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
	.wp-block-ai-engine-form-field:nth-of-type(4n + 1) {
		--field-color: #b65689;
		--field-bg: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23B65689' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
	}
	.wp-block-ai-engine-form-field:nth-of-type(4n + 2) {
		--field-color: #dd5934;
		--field-bg: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%23DD5934' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
	}
	.wp-block-ai-engine-form-field:nth-of-type(4n + 3) {
		--field-color: #10998c;
		--field-bg: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%2310998C' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
	}
	.wp-block-ai-engine-form-field:nth-of-type(4n + 4) {
		--field-color: #00add4;
		--field-bg: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='%2300ADD4' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
	}
	.wp-block-ai-engine-form-field {
		margin-bottom: 32px;
		legend {
			font-size: 24px;
			font-weight: 600;
			line-height: 120%;
			margin-bottom: 15px;
			color: var(--field-color);
		}
		label {
			cursor: pointer;
		}
		.mwai-form-field-checkbox .mwai-form-field-container,
		.mwai-form-field-radio .mwai-form-field-container {
			display: flex;
			align-items: flex-start;
			margin-bottom: 5px;
		}
		input[type="checkbox"],
		input[type="radio"] {
			box-sizing: border-box;
			width: 100%;
			max-width: 20px;
			height: 20px;
			margin: 5px 15px 5px 0px;
			padding: 0;
			border: 1px solid #000;
			appearance: none;
			background-color: transparent;
			outline: none;
			transition: outline 0.1s;
			cursor: pointer;
		}
		input[type="checkbox"]:checked,
		input[type="radio"]:checked {
			border-color: var(--field-color);
			background-image: var(--field-bg);
		}
		input[type="checkbox"]:focus-visible,
		input[type="radio"]:focus-visible,
		select:focus-visible {
			outline: 2px solid var(--field-color);
		}
		.mwai-form-field-select select {
			border-color: #000;
			background-color: transparent;
			transition: outline 0.1s;
			font-size: 20px;
			font-weight: 600;
			padding: 5px;
			outline-offset: 2px;
		}
	}
	.mwai-form-submit-container {
		button {
			color: #fffcf2;
			border-radius: 10px;
			font-family: "Raleway", Helvetica, Arial, Lucida, sans-serif;
			font-weight: 600;
			background-color: #009080;
			padding: 16px 20px;
			font-size: 20px;
			line-height: 1;
			transition: background-color 300ms ease 0ms;
			border: none;
			cursor: pointer;
		}
		button:hover {
			background-color: #1c3f4e;
		}
		button:disabled {
			opacity: 0.5;
			cursor: not-allowed;
			background-color: #009080;
		}
	}
}
.mwai-form-output {
	padding-top: 60px;
	max-width: 900px;
	h2 {
		color: #10998c;
		font-size: 28px !important;
		text-wrap: balance;
		margin-bottom: 20px;
	}
	h3 {
		font-size: 22px !important;
		margin-top: 1em;
		margin-bottom: 0px;
	}
	a {
		display: block;
		max-width: fit-content;
		margin-top: 5px;
	}
	h3:nth-of-type(4n + 1) {
		color: #b65689;
	}
	h3:nth-of-type(4n + 2) {
		color: #dd5934;
	}
	h3:nth-of-type(4n + 3) {
		color: #10998c;
	}
	h3:nth-of-type(4n + 4) {
		color: #00add4;
	}
}

.mwai-form-submit:not(.mwai-loading):has(button:disabled):after {
	content: "Please complete the fields above to submit the form.";
	display: block;
	margin-top: 5px;
	color: #822b1a;
}
.mwai-form-submit.mwai-loading button {
	padding-right: 75px !important;
	position: relative;
}
.mwai-form-submit.mwai-loading button:after {
	content: "";
	display: block;
	position: absolute;
	right: 38px;
	top: 50%;
	transform: translateY(-50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #fff;
	box-shadow: 32px 0 #fff, -32px 0 #fff;
	animation: flash 0.5s ease-out infinite alternate;
}

@keyframes flash {
	0% {
		background-color: #fff2;
		box-shadow: 16px 0 #fff2, -16px 0 #fff;
	}
	50% {
		background-color: #fff;
		box-shadow: 16px 0 #fff2, -16px 0 #fff2;
	}
	100% {
		background-color: #fff2;
		box-shadow: 16px 0 #fff, -16px 0 #fff2;
	}
}
.et_pb_scroll_top.et-pb-icon {
	background: #F1B51C;
    border-radius: 100%;
	bottom: 10px;
	right: 10px;
	padding: 24px 25px;
}

.et_pb_scroll_top.et-pb-icon:before {
	all: unset;
    content: '';
	mask: url('data:image/svg+xml,<svg width="31" height="36" viewBox="0 0 31 36" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M13.5 33.5a2 2 0 1 0 4 0h-4Zm3.414-32.414a2 2 0 0 0-2.828 0L1.358 13.814a2 2 0 1 0 2.828 2.828L15.5 5.328l11.314 11.314a2 2 0 1 0 2.828-2.828L16.914 1.086ZM15.5 33.5h2v-31h-4v31h2Z" fill="%23000"/></svg>') no-repeat center;
	mask-size: cover;
	background-color: #000;
	width: 18px;
	display: block;
	margin: 0 auto;
	aspect-ratio: 31 / 36;
}
.et_pb_scroll_top.et-pb-icon:after {
	content: 'Back to Top';
	font-family: 'Raleway';
    font-size: 15px;
    font-weight: 700;
    color: #000;
	max-width: 50px;
	display: block;
	margin: 0 auto;
}
@media (min-width:981px) {
	.et_pb_scroll_top.et-pb-icon {
		padding: 29px 30px;
	}
	.et_pb_scroll_top.et-pb-icon:before {
		width: 31px;
	}
	.et_pb_scroll_top.et-pb-icon:after {
		font-size: 24px;
		max-width: 82px;
	}
}
@media (max-width: 980px) {
	.flip-stack {
		display: flex;
		flex-wrap: wrap;
	}
	.flip-stack > *:first-child {
		margin-bottom: 0px!important;
	}
	.flip-stack > *:last-child {
		order: -1;
		margin-bottom: 30px!important;
	}
}
.read-more-panel.init {
	height: 0px;
	overflow: hidden;
	transition: height 0.3s ease;
}
.read-more-panel.open {

}
.read-more-parent.active {
	border-bottom-left-radius: 0px;
	border-bottom-right-radius: 0px;
}
.read-more-parent.active .et_pb_button_module_wrapper:has(.read-more-button) {
	display:none;
}