/* Scoped styles for wiki content.
 *
 * Extends .markdown-content with wiki-specific features.
 * All colors use CSS custom properties from Kiso theming so dark mode
 * works automatically. No `dark:` prefixes.
 */

/* ── Wiki links ───────────────────────────────────────────────── */

/* Existing page links — styled like normal links */
.wiki-content a.wiki-link {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

/* Non-existent page links — red/dashed to indicate "create me" */
.wiki-content a.wiki-link--new {
  color: var(--color-destructive, #dc2626);
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 2px;
}

.wiki-content a.wiki-link--new:hover {
  text-decoration-style: solid;
}

/* ── Wiki content sizing ──────────────────────────────────────── */

.wiki-content h1 { font-size: 1.5rem; }
.wiki-content h2 { font-size: 1.25rem; }
.wiki-content h3 { font-size: 1.125rem; }
