/**
 * STORDIS Table of Contents Styles
 */
 
/* TOC Container */
.stordis-toc {
  /*background: var(--gray-lightest);
  border-left: 4px solid #4a90e2;
  border-radius: 3px;
  padding: 16px 20px;
  margin: 24px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  */
  padding: 5px 5px;
  margin: 24px 0;
  
}

/* TOC Title */
.stordis-toc h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 18px;
  font-weight: 600;
  color: #0a2540;
  border-bottom: 1px solid #4a90e2;
  padding-bottom: 8px;
}

/* Reset all list styles */
.stordis-toc ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* All list items */
.stordis-toc li {
  position: relative;
  padding-left: 20px;
  margin: 8px 0;
}

/* All list items before content */
.stordis-toc li::before {
  position: absolute;
  left: 0;
  color: #4a90e2;
  font-weight: bold;
}

/* H3 level bullets (first level items) */
.stordis-toc li:has(a[href*="h3"])::before,
.stordis-toc .toc-h3::before {
  content: "•";
}

/* H4 level indentation and bullets */
.stordis-toc li:has(a[href*="h4"]),
.stordis-toc .toc-h4 {
  margin-left: 30px; /* This adds the extra indentation */
}

.stordis-toc li:has(a[href*="h4"])::before,
.stordis-toc .toc-h4::before {
  content: "-";
}

/* TOC Links */
.stordis-toc a {
  text-decoration: none;
  color: #4a90e2;
  transition: color 0.2s ease;
}

.stordis-toc a:hover {
  color: #4a90e2;
  border-bottom: 1px dotted #4a90e2;
}