.avokado-toc {
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 24px;
	margin-bottom: 32px;
	background-color: #fafafa;
}

.avokado-toc__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 0;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
}

.avokado-toc__header:hover,
.avokado-toc__header:focus,
.avokado-toc__header:active {
	background: transparent;
	color: #333;
	outline: none;
}

.avokado-toc__header .title {
	font-size: 20px;
	line-height: 1.4;
	font-weight: 700;
	color: #333;
}

.avokado-toc__arrow {
	transition: transform 0.3s ease;
	color: #333;
	flex-shrink: 0;
}

.avokado-toc__header[aria-expanded="false"] .avokado-toc__arrow {
	transform: rotate(-90deg);
}

.avokado-toc__content {
	margin: 16px 0 0;
	padding-left: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.3s ease, margin 0.3s ease;
	max-height: 2000px;
	opacity: 1;
	list-style: none;
}

.avokado-toc__content.is-collapsed {
	max-height: 0;
	opacity: 0;
	margin-top: 0;
}

.avokado-toc li {
	color: #666;
	line-height: 1.55;
	padding: 4px 0;
}

.avokado-toc button[data-id] {
	display: flex;
	align-items: baseline;
	gap: 4px;
	padding: 0;
	white-space: normal;
	background-color: transparent;
	border: none;
	text-decoration: none;
	color: inherit;
	text-align: left;
	cursor: pointer;
	font-size: inherit;
	font-family: inherit;
	font-weight: inherit;
}

.avokado-toc__number {
	flex-shrink: 0;
}

.avokado-toc button[data-id]:hover,
.avokado-toc button[data-id]:focus,
.avokado-toc button[data-id]:active {
	color: #333;
	background-color: transparent;
}
