/*
 * Career - FAQ.
 *
 * Read from cp-all-designer css/career.css:1366-1369, 1603-1628 (.crrfaq, .faq).
 *
 * Colour, type, padding and the measures arrive from the Style tab and are not
 * repeated here.
 */

/* career.css:1606, 1368 — one white leaf, centred */
.custom-career-faq .custom-career-faq__card {
	box-sizing: border-box;
	margin-right: auto;
	margin-left: auto;
	border-radius: 24px 4px 24px 4px;
	box-shadow: 0 6px 18px -6px rgba(22, 65, 140, 0.14);   /* --sh-sm, app.css:159 */
}

/* career.css:1608-1609 — a rule over each question, and under the last */
.custom-career-faq .custom-career-faq__item {
	margin: 0;
	padding: 0;
	border-top: 2px solid var(--custom-career-faq-rule, #EEF2F7);   /* career.css:1608 measures 1px */
}

.custom-career-faq .custom-career-faq__item:last-child {
	border-bottom: 2px solid var(--custom-career-faq-rule, #EEF2F7);
}

/* career.css:1610-1616 */
.custom-career-faq .custom-career-faq__question {
	position: relative;
	display: block;
	margin: 0;
	padding: 16px 40px 16px 0;
	font-weight: 500;
	line-height: 1.55;
	list-style: none;
	cursor: pointer;
	transition: color 200ms;
}

.custom-career-faq .custom-career-faq__question::-webkit-details-marker {
	display: none;
}

/* the Style tab writes the question's colour at (0,4,0): reached, it stands over it */
.custom-career-faq.custom-career-faq[data-custom-partner-band] .custom-career-faq__question:hover {
	color: var(--custom-career-faq-on, #50A3D5);
}

/* career.css:1617-1625 — the plus is two bars; the upright one turns away as the row opens */
.custom-career-faq .custom-career-faq__question::before,
.custom-career-faq .custom-career-faq__question::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 6px;
	background: var(--custom-career-faq-plus, #50A3D5);
	transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1),
	            opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.custom-career-faq .custom-career-faq__question::before {
	width: 14px;
	height: 2px;
	transform: translateY(-50%);
}

.custom-career-faq .custom-career-faq__question::after {
	right: 12px;
	width: 2px;
	height: 14px;
	transform: translateY(-50%);
}

.custom-career-faq .custom-career-faq__item[open] > .custom-career-faq__question::after {
	transform: translateY(-50%) rotate(90deg);
	opacity: 0;
}

/* career.css:1626-1628 */
.custom-career-faq .custom-career-faq__answer {
	font-weight: 300;
	line-height: 1.7;
}

.custom-career-faq .custom-career-faq__item .custom-career-faq__answer p {
	margin: 0;
	padding: 0 40px 18px 0;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	color: inherit;
}

.custom-career-faq .custom-career-faq__answer a {
	font-weight: 500;
	color: var(--custom-career-faq-link, #2D789E);
	text-decoration: underline;
	text-underline-offset: 4px;            /* career.css:1627 measures 3px */
}

.custom-career-faq .custom-career-faq__answer a:hover {
	color: var(--custom-career-faq-link-on, #16418C);
}

@media (prefers-reduced-motion: reduce) {
	.custom-career-faq .custom-career-faq__question,
	.custom-career-faq .custom-career-faq__question::before,
	.custom-career-faq .custom-career-faq__question::after {
		transition: none;
	}
}
