.sibling-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start; /* optional: align left */
}

.sibling-links li {
  margin: 0;
}

.sibling-links a {
  color: blue;
  text-decoration: underline;
  font-size: var(--h2-font-size, 2rem);
}

/* Generic document content styling */
.document-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem 1rem;
  line-height: 1.6;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #222;
}

/* Headings */
.document-content h1,
.document-content h2,
.document-content h3,
.document-content h4,
.document-content h5,
.document-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 600;
}

.document-content h1 {
  font-size: 2.5rem;
}

.document-content h2 {
  font-size: 2rem;
}

.document-content h3 {
  font-size: 1.5rem;
}

/* Paragraphs */
.document-content p {
  margin: 1rem 0;
}

center {
  display: block;
  text-align: center;
  margin: 1rem 0;
}

/* Links */
.document-content a {
  color: #007BFF;
  text-decoration: underline;
}

.document-content a:hover {
  text-decoration: none;
}

/* Lists */
.document-content ul,
.document-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.document-content li {
  margin: 0.5rem 0;
}

/* Images */
.document-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

/* Tables */
.document-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.document-content th,
.document-content td {
  border: 1px solid #ccc;
  padding: 0.5rem;
  text-align: left;
}

/* Blockquotes */
.document-content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #555;
  font-style: italic;
}

/* Code blocks */
.document-content pre,
.document-content code {
  font-family: monospace;
  background-color: #f6f8fa;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.document-content pre {
  overflow-x: auto;
  padding: 1rem;
}

/* Wider layout for generated dashboard-like pages */
.document-content .wide-content {
  width: min(1400px, 96vw);
  margin-left: 50%;
  transform: translateX(-50%);
}

.document-content .wide-content table {
  font-size: 0.95rem;
}

/* Keep stats page comfortably wide too */
.document-content .visit-stats {
  width: min(1200px, 96vw);
  margin-left: 50%;
  transform: translateX(-50%);
}
