.ppro-y26-c-insight-toc {
    --ppro-insight-toc-bar: 2px;
    --ppro-insight-toc-indent: 0.875rem;
    display: block;
}

.ppro-y26-c-insight-toc__list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.375rem;
    margin: 0;
    padding: 0 0 0 calc(var(--ppro-insight-toc-bar) + var(--ppro-insight-toc-indent));
    list-style: none;
}

.ppro-y26-c-insight-toc__list::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--ppro-insight-toc-bar);
    background: currentColor;
    opacity: 0.1;
}

.ppro-y26-c-insight-toc__item {
    margin: 0;
    padding: 0;
}

.ppro-y26-c-insight-toc .ppro-y26-c-insight-toc__link {
    position: relative;
    display: block;
    padding-block: 0.25rem;
    font-family: var(--ppro-font-body);
    font-weight: var(--ppro-font-weight-body);
    font-size: 1.125rem;
    line-height: 1.5rem;
    letter-spacing: var(--ppro-tracking-tight);
    max-width: 15.5rem;
    color: inherit;
    text-decoration: none;
    opacity: 0.3;
    transition: opacity 0.2s ease;
}

.ppro-y26-c-insight-toc .ppro-y26-c-insight-toc__link::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(-1 * (var(--ppro-insight-toc-bar) + var(--ppro-insight-toc-indent)));
    width: var(--ppro-insight-toc-bar);
    background: currentColor;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.ppro-y26-c-insight-toc .ppro-y26-c-insight-toc__link:hover,
.ppro-y26-c-insight-toc .ppro-y26-c-insight-toc__link:focus-visible {
    opacity: 0.6;
}

.ppro-y26-c-insight-toc .ppro-y26-c-insight-toc__link.is-active {
    opacity: 1;
}

.ppro-y26-c-insight-toc .ppro-y26-c-insight-toc__link.is-active::before {
    opacity: 1;
}

@media (max-width: 1023px) {
    .ppro-y26-c-insight-toc,
    .ppro-y26-c-insight-article-v3__sidebar-before:has(> .ppro-y26-c-insight-toc:only-child) {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ppro-y26-c-insight-toc .ppro-y26-c-insight-toc__link,
    .ppro-y26-c-insight-toc .ppro-y26-c-insight-toc__link::before {
        transition: none;
    }
}
