.efa-accordion {
	--efa-speed: 0.3s;            /* icon + box height */
	--efa-ease: ease;
	--efa-height-ease: cubic-bezier(0.22, 0.61, 0.36, 1); /* box opens fast, then slows down */
	--efa-text-delay: 0.1s;       /* opening: text starts after the box is almost open */
	--efa-text-speed: 0.3s;       /* opening: text un-squeeze + fade in */
	--efa-text-close-speed: 0.2s; /* closing: text squeeze + fade out */
	width: 100%;
}

.efa-item + .efa-item {
	border-top: 1px dashed rgba(37, 30, 52, 0.60);
}

.efa-question,
.efa-question:hover,
.efa-question:focus,
.efa-question:active {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 24px 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	text-align: left;
	text-transform: none;
	cursor: pointer;
}

.efa-question-text {
	flex: 1 1 auto;
	color: #251e34;
}

.efa-icon {
	position: relative;
	flex: 0 0 14px;
	width: 14px;
	height: 14px;
	margin-left: 16px;
}

.efa-icon span {
	position: absolute;
	top: 50%;
	left: 0;
	width: 14px;
	height: 2px;
	margin-top: -1px;
	background-color: #251e34;
	transition: transform var(--efa-speed) var(--efa-ease);
}

.efa-icon span:last-child {
	transform: rotate(90deg);
}

.efa-item.is-open .efa-icon span:first-child {
	transform: rotate(180deg);
}

.efa-item.is-open .efa-icon span:last-child {
	transform: rotate(0deg);
}

/*
 * Answer
 * Opening: the box opens almost fully first, then the text fades in,
 *          un-squeezes (scaleY 0 -> 1) and moves up (translateY 20px -> 0).
 * Closing: the same in reverse, while the box collapses.
 */
.efa-answer {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows var(--efa-speed) var(--efa-ease);
}

.efa-item.is-open .efa-answer {
	grid-template-rows: 1fr;
	transition: grid-template-rows var(--efa-speed) var(--efa-height-ease);
}

.efa-answer-inner {
	min-height: 0;
	overflow: hidden;
	/* Closed answers must not be reachable with the keyboard */
	visibility: hidden;
	transition: visibility 0s linear var(--efa-speed);
}

.efa-item.is-open .efa-answer-inner {
	visibility: visible;
	transition-delay: 0s;
}

.efa-answer-content {
	padding: 32px 0 24px 0;
	opacity: 0;
	/* same values as the original: translate3d(0, 20px, 0) scale3d(1, 0, 1), origin 50% 0 */
	transform: translateY(20px) scaleY(0);
	transform-origin: 50% 0;
	/* closing */
	transition:
		opacity var(--efa-text-close-speed) var(--efa-ease),
		transform var(--efa-text-close-speed) var(--efa-ease);
}

.efa-item.is-open .efa-answer-content {
	opacity: 1;
	transform: translateY(0) scaleY(1);
	/* opening: starts with a delay */
	transition:
		opacity var(--efa-text-speed) var(--efa-ease) var(--efa-text-delay),
		transform var(--efa-text-speed) var(--efa-ease) var(--efa-text-delay);
}

.efa-answer-content > :first-child {
	margin-top: 0;
}

.efa-answer-content > :last-child {
	margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
	.efa-answer,
	.efa-answer-inner,
	.efa-answer-content,
	.efa-icon span {
		transition-duration: 0.01s;
		transition-delay: 0s;
	}
}