/* Appartementen Parkzicht - Table of contents for standard posts */
.ap-post-toc {
	background: var(--e-global-color-apbglite, #F4EFE6);
	border-radius: 5px;
	padding: 24px 32px;
}

.ap-post-toc__summary {
	align-items: center;
	color: var(--e-global-color-aptitle1, #2E2B26);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	list-style: none;
}

.ap-post-toc__summary::-webkit-details-marker {
	display: none;
}

.ap-post-toc__title {
	font-family: var(--e-global-typography-aph40001-font-family), serif;
	font-size: var(--e-global-typography-aph40001-font-size);
	font-style: var(--e-global-typography-aph40001-font-style);
	font-weight: var(--e-global-typography-aph40001-font-weight);
	letter-spacing: var(--e-global-typography-aph40001-letter-spacing);
	line-height: var(--e-global-typography-aph40001-line-height);
	text-transform: var(--e-global-typography-aph40001-text-transform);
}

.ap-post-toc__chevron {
	fill: currentColor;
	flex: 0 0 24px;
	height: 24px;
	transition: transform 180ms ease;
	width: 24px;
}

.ap-post-toc[open] .ap-post-toc__chevron {
	transform: rotate(180deg);
}

.ap-post-toc__content {
	margin-top: 16px;
}

.ap-post-toc__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ap-post-toc__item {
	border-bottom: 1px solid var(--e-global-color-apborder, #D8CFC2);
	margin: 0;
	padding: 16px 0;
}

.ap-post-toc__item:last-child {
	border-bottom: 0;
}

.ap-post-toc__item a {
	align-items: flex-start;
	color: var(--e-global-color-apbody01, #4A433A);
	display: flex;
	font-family: var(--e-global-typography-apbodymd-font-family), sans-serif;
	font-size: var(--e-global-typography-apbodymd-font-size);
	font-style: var(--e-global-typography-apbodymd-font-style);
	font-weight: var(--e-global-typography-apbodymd-font-weight);
	gap: 8px;
	letter-spacing: var(--e-global-typography-apbodymd-letter-spacing);
	line-height: var(--e-global-typography-apbodymd-line-height);
	text-decoration: none;
	text-transform: var(--e-global-typography-apbodymd-text-transform);
}

.ap-post-toc__item a::before {
	background: var(--e-global-color-apaccent, #6F9CAF);
	border-radius: 50%;
	content: '';
	flex: 0 0 8px;
	height: 8px;
	margin-top: calc((var(--e-global-typography-apbodymd-line-height, 28px) - 8px) / 2);
	width: 8px;
}

.ap-post-toc__item a:hover,
.ap-post-toc__item a:focus-visible {
	color: var(--e-global-color-apsecond, #B56F4D);
}

.ap-post-toc__summary:focus-visible,
.ap-post-toc__item a:focus-visible {
	outline: 2px solid var(--e-global-color-apprimary, #6F4A37);
	outline-offset: 3px;
}

.single-post .article h2,
.single-post .article h3,
.single-post .article h4,
.single-info .article h2,
.single-info .article h3,
.single-info .article h4 {
	scroll-margin-top: 112px;
}

@media (prefers-reduced-motion: reduce) {
	.ap-post-toc__chevron {
		transition: none;
	}
}
