/*
 * 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.
 */

/* Markdown content styling */
.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
  font-weight: 600;
  color: #111827;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}
.markdown-content h1 { font-size: 1.25em; }
.markdown-content h2 { font-size: 1.125em; }
.markdown-content h3 { font-size: 1em; }
.markdown-content *:first-child { margin-top: 0; }

.markdown-content p {
  margin-bottom: 0.75em;
}

.markdown-content ul,
.markdown-content ol {
  padding-left: 1.5em;
  margin-bottom: 0.75em;
}
.markdown-content ul { list-style-type: disc; }
.markdown-content ol { list-style-type: decimal; }
.markdown-content li { margin-bottom: 0.25em; }

.markdown-content strong { font-weight: 600; }
.markdown-content em { font-style: italic; }

.markdown-content code {
  background-color: #f3f4f6;
  padding: 0.125em 0.375em;
  border-radius: 0.25em;
  font-size: 0.875em;
}

.markdown-content pre {
  background-color: #f3f4f6;
  padding: 0.75em 1em;
  border-radius: 0.375em;
  overflow-x: auto;
  margin-bottom: 0.75em;
}
.markdown-content pre code {
  background: none;
  padding: 0;
}

.markdown-content blockquote {
  border-left: 3px solid #d1d5db;
  padding-left: 1em;
  color: #6b7280;
  margin-bottom: 0.75em;
}

.markdown-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 1em 0;
}

.markdown-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.75em;
}
.markdown-content th,
.markdown-content td {
  border: 1px solid #e5e7eb;
  padding: 0.5em 0.75em;
  text-align: left;
}
.markdown-content th {
  background-color: #f9fafb;
  font-weight: 600;
}
