/* ==========================================================================
   Prose Styles — Long-form article content
   Matches MDX component styling from Next.js
   ========================================================================== */

.prose {
  max-width: var(--max-width-prose);
  line-height: 1.75;
  color: var(--text-primary);
}

/* Headings */
.prose h1 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-heading);
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
}

/* Paragraphs */
.prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

/* Links */
.prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.prose a:hover {
  color: var(--gold-light);
}

/* Strong */
.prose strong {
  color: var(--text-heading);
}

/* Lists */
.prose ul {
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  list-style: disc;
}

.prose ol {
  margin-bottom: 1rem;
  margin-left: 1.5rem;
  list-style: decimal;
}

.prose li {
  line-height: 1.75;
  margin-bottom: 0.25rem;
}

.prose li + li {
  margin-top: 0.25rem;
}

/* Blockquotes */
.prose blockquote {
  margin: 1rem 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(201, 152, 95, 0.4);
  font-style: italic;
  color: var(--text-secondary);
}

.prose blockquote p {
  margin-bottom: 0;
}

/* Code */
.prose code {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--bg-elevated);
  padding: 0.125rem 0.375rem;
  border-radius: var(--radius);
}

.prose pre {
  margin-bottom: 1rem;
  overflow-x: auto;
  background: var(--bg-elevated);
  padding: 1rem;
  border-radius: var(--radius);
  font-family: var(--font-mono);
  font-size: 0.875rem;
}

.prose pre code {
  background: none;
  padding: 0;
}

/* Images */
.prose img {
  margin: 1rem 0;
  border-radius: var(--radius);
}

/* Horizontal rule */
.prose hr {
  margin: 2rem 0;
  border: none;
  border-top: 1px solid var(--border);
}

/* Tables */
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.prose th {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  color: var(--text-heading);
  font-weight: 500;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prose td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
