/* Doc Article Typography Overrides */
.doc-article {
  --tw-prose-body: #d1d5db;
  --tw-prose-headings: #fafafa;
  --tw-prose-links: #FBBF24;
  --tw-prose-bold: #fafafa;
  --tw-prose-counters: #9ca3af;
  --tw-prose-bullets: #6b7280;
  --tw-prose-hr: #222222;
  --tw-prose-quotes: #d1d5db;
  --tw-prose-quote-borders: #333333;
  --tw-prose-code: #fafafa;
  --tw-prose-pre-code: #d1d5db;
  --tw-prose-pre-bg: #111111;
  --tw-prose-th-borders: #333333;
  --tw-prose-td-borders: #222222;
}

.doc-article h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 0.5em;
  border-bottom: 1px solid #222222;
  padding-bottom: 0.5em;
}

.doc-article h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 2em;
  margin-bottom: 0.75em;
  padding-bottom: 0.3em;
  border-bottom: 1px solid #1a1a1a;
}

.doc-article h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.doc-article a {
  color: #FBBF24;
  text-decoration: none;
  transition: opacity 0.15s;
}

.doc-article a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.doc-article p {
  line-height: 1.8;
  color: #b0b0b0;
}

.doc-article li {
  color: #b0b0b0;
}

.doc-article code:not(pre code) {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 0.15em 0.4em;
  font-size: 0.875em;
  color: #e5e5e5;
}

.doc-article pre {
  background: #111111 !important;
  border: 1px solid #222222;
  border-radius: 8px;
  padding: 1.25em;
  overflow-x: auto;
}

.doc-article pre code {
  background: transparent !important;
  border: none;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.7;
}

.doc-article img {
  display: block;
  width: auto;
  max-width: min(100%, 720px);
  max-height: 36rem;
  margin: 1.75rem auto;
  border-radius: 8px;
  border: 1px solid #222222;
  object-fit: contain;
}

.doc-article blockquote {
  border-left: 3px solid #333333;
  padding-left: 1em;
  color: #9ca3af;
  font-style: italic;
}

.doc-article hr {
  border-color: #222222;
}

.doc-article ul,
.doc-article ol {
  padding-left: 1.5em;
}

.doc-article table {
  width: 100%;
}

.doc-article th {
  font-weight: 600;
  text-align: left;
  border-bottom: 2px solid #333333;
}

.doc-article td {
  border-bottom: 1px solid #1a1a1a;
}
