/*!
 * Project Name: Morphos (morpht/morphos)
 * File: components/toc/toc.css
 * Copyright (c) 2026 Morpht Pty Ltd
 */

.toc .toc-list {
  padding-left: 0;
  list-style: none;
}

.toc .toc-list .toc-list {
  padding-left: 1rem;
}

.toc .toc-link {
  display: block;
  padding: 0.25rem 0;
  color: var(--foreground-weaker);
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.5;
}

.toc .toc-link:hover {
  color: var(--foreground);
}

.toc .is-active-link {
  color: var(--link);
  font-weight: 600;
}
