/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.prose {
  color: #374151;
  max-width: 65ch;
  line-height: 1.75;
}

.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
  color: #111827;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
}

.prose h1 { font-size: 2.25em; margin-top: 0; }
.prose h2 { font-size: 1.5em; }
.prose h3 { font-size: 1.25em; }
.prose h4 { font-size: 1em; }

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose p:first-child { margin-top: 0; }

.prose a {
  color: #00B5AD;
  text-decoration: underline;
}

.prose a:hover {
  color: #009A94;
}

.prose strong { font-weight: 600; color: #111827; }
.prose em { font-style: italic; }

.prose code {
  background-color: #f3f4f6;
  padding: 0.2em 0.4em;
  border-radius: 0.25rem;
  font-size: 0.875em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.prose pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1em;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5em 0;
}

.prose pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin: 1.25em 0;
}

.prose ul { list-style-type: disc; }
.prose ol { list-style-type: decimal; }

.prose li { margin: 0.5em 0; }
.prose li > ul, .prose li > ol { margin: 0.5em 0; }

.prose blockquote {
  border-left: 4px solid #00B5AD;
  padding-left: 1em;
  margin: 1.5em 0;
  color: #6b7280;
  font-style: italic;
}

.prose hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 2em 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
}

.prose th, .prose td {
  border: 1px solid #e5e7eb;
  padding: 0.5em 1em;
  text-align: left;
}

.prose th {
  background-color: #f9fafb;
  font-weight: 600;
}

.prose img {
  max-width: 100%;
  height: auto;
  margin: 1.5em 0;
}

.prose-sm {
  font-size: 0.875rem;
  line-height: 1.7;
}

.prose-sm h1 { font-size: 1.875em; }
.prose-sm h2 { font-size: 1.25em; }
.prose-sm h3 { font-size: 1.1em; }

.max-w-none { max-width: none; }
