.hvl-case-toc {
	--ct-side: 16px;
	position: fixed;
	right: 0;
	bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	left: 0;
	z-index: 40;
	padding: 0 var(--ct-side);
	opacity: 0;
	pointer-events: none;
	transform: translateY(12px);
	transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
	font-family: var(--e-global-typography-text-font-family), sans-serif;
}

.hvl-case-toc.is-on,
.hvl-case-toc:focus-within,
.elementor-editor-active .hvl-case-toc {
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.elementor-editor-active .hvl-case-toc {
	position: relative;
	bottom: auto;
	padding: 0;
}

@media (min-width: 810px) {
	.hvl-case-toc {
		--ct-side: 26px;
		bottom: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hvl-case-toc {
		transform: none;
	}
}

.hvl-case-toc .hvl-case-toc__in {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: fit-content;
	max-width: min(1056px, 100%);
	margin: 0 auto;
	overflow: hidden;
	border-radius: 999px;
	padding: 6px 6px 6px 16px;
	background-color: color-mix(in srgb, #f1f1f5 82%, transparent);
	box-shadow: inset 1px 1px 0 0 rgba(51, 51, 51, 0.08), inset -1px -1px 0 0 rgba(51, 51, 51, 0.08), 0 12px 32px -12px rgba(20, 22, 29, 0.28);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.hvl-case-toc .hvl-case-toc__lbl {
	flex: none;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--e-global-color-gris, #6a6f7d);
}

@media (max-width: 639px) {
	.hvl-case-toc .hvl-case-toc__lbl {
		display: none;
	}

	.hvl-case-toc .hvl-case-toc__in {
		padding-left: 6px;
	}
}

.hvl-case-toc ol {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
}

.hvl-case-toc ol::-webkit-scrollbar {
	display: none;
}

.hvl-case-toc li {
	margin: 0;
}

.hvl-case-toc a {
	display: block;
	border-radius: 999px;
	padding: 7px 13px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.5;
	white-space: nowrap;
	color: var(--e-global-color-text, #14161d);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.hvl-case-toc a:hover {
	color: var(--e-global-color-text, #14161d);
	background-color: rgba(20, 22, 29, 0.07);
}

.hvl-case-toc a[aria-current="true"] {
	color: #fff;
	background-color: #1d1d1f;
}

.hvl-case-toc a:focus-visible {
	outline: 2px solid var(--e-global-color-primary, #08739f);
	outline-offset: 2px;
}

.hvl-case-toc .hvl-case-toc__bar {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 2px;
	transform: scaleX(var(--p, 0));
	transform-origin: left;
	background-color: var(--e-global-color-primary, #08739f);
}
