/* Source-owned responsive flags hide this section on every breakpoint. Only
 * restore its Elementor display value when Core actually rendered FAQ data. */
.imap-career-faq-section:has(.imap-careers-faq):is(
	.elementor-hidden-desktop,
	.elementor-hidden-laptop,
	.elementor-hidden-tablet,
	.elementor-hidden-mobile
) {
	display: var(--display, flex) !important;
}

.imap-careers-faq {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	font-family: "Roboto", sans-serif;
	gap: 23px;
	max-width: 100%;
	width: 100%;
}

.imap-careers-faq__item {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	width: 100%;
}

.imap-careers-faq__heading {
	font-family: "Be Vietnam Pro", sans-serif;
	max-width: 100%;
	margin: 0;
	width: 100%;
}

.imap-careers-faq__answer :is(h1, h2, h3, h4, h5, h6) {
	font-family: "Be Vietnam Pro", sans-serif;
}

.imap-careers-faq__trigger {
	align-items: center;
	appearance: none;
	background: #e0cba3;
	border: 0;
	border-radius: 28px;
	box-sizing: border-box;
	color: #000000;
	cursor: pointer;
	display: flex;
	font: inherit;
	justify-content: space-between;
	line-height: 1.265em;
	max-width: 100%;
	min-height: 91px;
	min-width: 0;
	padding: 5px 42px;
	text-align: left;
	width: 100%;
}

/* Keep the approved sand state against the site's generic button states. */
.imap-careers-faq__trigger,
.imap-careers-faq__trigger:hover,
.imap-careers-faq__trigger:focus,
.imap-careers-faq__trigger:active,
.imap-careers-faq__trigger:focus-visible {
	background-color: #e0cba3 !important;
	color: #000000 !important;
}

.imap-careers-faq__trigger:hover .imap-careers-faq__icon,
.imap-careers-faq__trigger:focus .imap-careers-faq__icon,
.imap-careers-faq__trigger:active .imap-careers-faq__icon,
.imap-careers-faq__trigger:focus-visible .imap-careers-faq__icon {
	color: #000000 !important;
}

.imap-careers-faq__trigger:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.imap-careers-faq__question {
	flex: 1 1 auto;
	font-family: "Be Vietnam Pro", sans-serif;
	font-size: 1.875rem;
	font-weight: 500;
	min-width: 0;
	overflow-wrap: anywhere;
	white-space: normal;
}

.imap-careers-faq__icon {
	color: #000000;
	display: block;
	flex: 0 0 31px;
	flex-shrink: 0;
	height: 31px;
	position: relative;
	width: 31px;
}

.imap-careers-faq__icon::before,
.imap-careers-faq__icon::after {
	background: currentColor;
	content: '';
	left: 50%;
	position: absolute;
	top: 50%;
	transform: translate(-50%, -50%);
}

.imap-careers-faq__icon::before {
	height: 2px;
	width: 100%;
}

.imap-careers-faq__icon::after {
	height: 100%;
	transition: transform 160ms ease;
	width: 2px;
}

.imap-careers-faq__item.is-open .imap-careers-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.imap-careers-faq__panel {
	background: #003e4c;
	box-sizing: border-box;
	color: #ffffff;
	padding: 24px 42px;
}

.imap-careers-faq__answer > :first-child {
	margin-top: 0;
}

.imap-careers-faq__answer > :last-child {
	margin-bottom: 0;
}

@media (min-width: 768px) and (max-width: 1366px) {
	.imap-careers-faq {
		gap: 22px;
	}

	.imap-careers-faq__trigger {
		padding-left: 30px;
		padding-right: 30px;
	}

	.imap-careers-faq__panel {
		padding-left: 30px;
		padding-right: 30px;
	}
}

@media (max-width: 767px) {
	.imap-careers-faq {
		gap: 24px;
	}

	.imap-careers-faq__trigger {
		border-radius: 12px;
		min-height: 51px;
		padding: 6px 21px;
	}

	.imap-careers-faq__question {
		font-size: 0.875rem;
	}

	.imap-careers-faq__icon {
		flex-basis: 18px;
		height: 18px;
		width: 18px;
	}

	.imap-careers-faq__panel {
		padding: 24px 21px;
	}
}
