/*
 * 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 styles for markdown-rendered content
 * Provides styled headings, lists, paragraphs, links, and code blocks
 * for changelog and other markdown content areas.
 */

.prose {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #374151;
  /* gray-700 */
}

.prose h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.75rem;
  color: #111827;
  /* gray-900 */
}

.prose h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
  /* gray-900 */
}

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

.prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
  color: #111827;
  /* gray-900 */
}

.prose p {
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

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

.prose ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.prose ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

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

.prose li::marker {
  color: #6b7280;
  /* gray-500 */
}

.prose a {
  color: #2563eb;
  /* blue-600 */
  text-decoration: underline;
}

.prose a:hover {
  color: #1d4ed8;
  /* blue-700 */
}

.prose code {
  font-size: 0.875em;
  background-color: #f3f4f6;
  /* gray-100 */
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.prose pre {
  background-color: #1f2937;
  /* gray-800 */
  color: #f9fafb;
  /* gray-50 */
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
}

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

.prose blockquote {
  border-left: 4px solid #d1d5db;
  /* gray-300 */
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  color: #6b7280;
  /* gray-500 */
  font-style: italic;
}

.prose hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  /* gray-200 */
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.prose strong {
  font-weight: 600;
  color: #111827;
  /* gray-900 */
}

.prose em {
  font-style: italic;
}

/* prose-sm modifier - already base size is small */
.prose-sm {
  font-size: 0.875rem;
}

/* max-w-none - remove max-width constraint */
.prose.max-w-none {
  max-width: none;
}