.aew-ft {
	--aew-ft-fade: 36px;
	--aew-ft-fade-color: #ffffff;
	--aew-ft-duration: 520ms;
	--aew-ft-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--aew-ft-icon: 18px;
	position: relative;
	width: 100%;
}

.aew-ft-clip {
	position: relative;
	overflow: hidden;
}

.aew-ft.is-ready:not(.is-open) .aew-ft-clip {
	max-height: var(--aew-ft-collapsed, none);
}

.aew-ft.is-ready.is-open .aew-ft-clip {
	max-height: var(--aew-ft-expanded, none);
}

.aew-ft.is-ready .aew-ft-clip {
	transition: max-height var(--aew-ft-duration) var(--aew-ft-ease);
}

.aew-ft-body {
	margin: 0;
	color: #5c5c5c;
	line-height: 1.85;
}

.aew-ft-body > *:first-child {
	margin-top: 0;
}

.aew-ft-body > *:last-child {
	margin-bottom: 0;
}

.aew-ft.has-fade .aew-ft-clip::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: var(--aew-ft-fade);
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--aew-ft-fade-color));
	pointer-events: none;
	opacity: 0;
	transition: opacity calc(var(--aew-ft-duration) * 0.7) ease;
}

.aew-ft.has-fade.is-ready:not(.is-open):not(.is-short) .aew-ft-clip::after {
	opacity: 1;
}

.aew-ft-toggle-wrap {
	display: flex;
	justify-content: center;
	margin-top: 14px;
}

.aew-ft-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #8a8a8a;
	cursor: pointer;
	line-height: 1;
	transition: color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.aew-ft-toggle:hover {
	color: #4a4a4a;
}

.aew-ft-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.aew-ft-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: var(--aew-ft-icon);
	height: var(--aew-ft-icon);
	transition: transform var(--aew-ft-duration) var(--aew-ft-ease), opacity 0.2s ease;
}

.aew-ft-icon i,
.aew-ft-icon svg {
	width: 1em;
	height: 1em;
	font-size: var(--aew-ft-icon);
	display: block;
}

.aew-ft-icon svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.aew-ft-icon.is-shared {
	transform: rotate(0deg);
}

.aew-ft.is-open .aew-ft-icon.is-shared {
	transform: rotate(180deg);
}

.aew-ft-icon.is-less {
	display: none;
}

.aew-ft.is-open .aew-ft-icon.is-more:not(.is-shared) {
	display: none;
}

.aew-ft.is-open .aew-ft-icon.is-less {
	display: inline-flex;
}

.aew-ft.is-short .aew-ft-toggle-wrap {
	display: none;
}

.aew-ft-empty {
	padding: 16px;
	border: 1px dashed rgba(127, 127, 127, 0.35);
	border-radius: 10px;
	color: #888;
	text-align: center;
}

@media (prefers-reduced-motion: reduce) {
	.aew-ft.is-ready .aew-ft-clip,
	.aew-ft-icon,
	.aew-ft.has-fade .aew-ft-clip::after {
		transition: none;
	}
}
