.supt-chapters-nav {
	position: fixed;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: $z-index-chapters-nav;

	padding: 14px 10px;

	@media (min-width: $breakpoint-md) {
		padding: 0;
		bottom: 24px;
		left: 32px;
		right: auto;
	}

	&__inner {
		overflow-x: auto;

		/* Hide scrollbar */
		&::-webkit-scrollbar {
			display: none;
		}

		@media (min-width: $breakpoint-md) {
			overflow-x: hidden;
		}
	}

	&__list {
		display: flex;
		gap: $spacing-4;
	}

	&__item {
		position: relative;
	}

	&__link {
		font-family: $font-primary;
		color: $color-white;
		font-size: 12px;
		line-height: 18px;
		letter-spacing: 0.4px;
		text-transform: uppercase;

		display: flex;
		gap: $spacing-1;

		opacity: 0.5;
		transition: opacity $transition-fast;

		&:hover {
			color: $color-white;
			opacity: 1;
		}

		&.-is-active {
			opacity: 1;
		}
	}

	&__link__title {
		white-space: nowrap;

		@media (min-width: $breakpoint-md) {
			will-change: opacity, max-width;
			opacity: 0;
			max-width: 0;
			overflow: hidden;
		}
	}

	&__progress {
		margin-top: $spacing-1-5;
		height: 2px;
		background-color: rgb(255 255 255 / 50%);

		position: absolute;
		top: 0;
		left: 0;
		right: 0;

		@media (min-width: $breakpoint-md) {
			position: relative;
			width: 100%;
			margin-top: $spacing-1-5;
		}

		&__bar {
			position: absolute;
			top: 0;
			left: 0;
			height: 100%;
			width: 1px;
			background-color: $color-white;

			transform-origin: left;
			transform: scaleX(0);
		}
	}
}
