.expandable {
	overflow: hidden;
	transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	height: 0;
}

.expandable.expanded {
	height: auto;
}

.expandable.collapsed {
	height: 0;
	transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.expand-trigger {
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	border-radius: 4px;
	transition: background-color 0.2s ease;
}

.expand-trigger:hover {
	background-color: rgba(0, 166, 81, 0.1);
}

.expand-trigger a {
	text-decoration: none;
	display: inline-block;
	position: relative;
}

.expand-trigger::after {
	content: '';
	position: relative;
	width: 0;
	height: 0;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-top: 14px solid var(--accent-color);
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	transform-origin: 50% 25%;
}

.expand-trigger[aria-expanded="true"]::after,
.expand-trigger.expanded::after {
	transform: rotate(180deg) translateY(-7px);
}

.expand-trigger::before,
.expand-trigger a::before {
	display: none;
}

.close-button:hover {
	background: #eee;
	color: #000;
}

@media (prefers-reduced-motion: reduce) {
	.expandable {
		transition-duration: 0.1s;
	}

	.expand-trigger::after {
		transition-duration: 0.1s;
	}
}