.accordion {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.accordion .a-btn {
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
}

.accordion .a-panel {
	max-height: 0;
	overflow: hidden;
	opacity: 0;
	transition: max-height 350ms ease, opacity 250ms ease;
}

.accordion .a-container.active .a-panel {
	max-height: 40rem;
	opacity: 1;
}

.accordion .a-btn > span:last-child {
	transition: transform var(--transition-standard);
}

.accordion .a-container.active .a-btn > span:last-child {
	transform: rotate(180deg);
}
