.he-toc {
	padding: 1.5rem;
	background-color: #61C8D1;
	border-radius: 20px;
	max-width: 50%;
}

.he-toc__title {
	margin: 0 0 1rem;
	color: #151515 !important;
	font-size: 1.125rem;
	font-weight: 700;
	line-height: 1.3;
}

.he-toc__list {
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.he-toc__item {
	margin: 0 0 0.6rem;
	padding: 0;
}

.he-toc__item:last-child {
	margin-bottom: 0;
}

.he-toc__link {
	display: flex;
	color: #fff;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition:
		color 0.2s ease,
		opacity 0.2s ease;
}

.he-toc__link:hover,
.he-toc__link:focus-visible {
	color: #151515 !important;
}

.he-toc__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

.he-toc-target {
	scroll-margin-top: 177px;
}


.he-toc__link::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 15px;
    margin-right: 15px;
    margin-top: 2px;
    pointer-events: none;
    -webkit-mask-image: url(/wp-content/themes/housing/blocks/content-list/../../assets/svg/double-arrow-right.svg);
    mask-image: url(/wp-content/themes/housing/blocks/content-list/../../assets/svg/double-arrow-right.svg);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: left top;
    mask-position: left top;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    background-color: #fff;
    transition: all 150ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.he-toc__link:hover::before,
.he-toc__link:focus-visible::before {
	background-color: #151515;
}

@media screen and (max-width: 640px){
	.he-toc {
		max-width: 100%;
	}
}