/* Blog Article Content Styling */

.article-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #374151;
}

/* Headings */
.article-content h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.3;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2937;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: #1f2937;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.article-content h5 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.5;
  color: #374151;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.article-content h6 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: #4b5563;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

/* Paragraphs */
.article-content p {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

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

.article-content p:last-child {
  margin-bottom: 0;
}

/* Blockquotes */
.article-content blockquote {
  border-left: 4px solid #207BFF;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #4b5563;
  background-color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.375rem;
}

.article-content blockquote p {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #6b7280;
  font-style: normal;
}

.article-content blockquote cite::before {
  content: "— ";
}

/* Lists */
.article-content ul,
.article-content ol {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
}

.article-content ul {
  list-style-type: disc;
}

.article-content ol {
  list-style-type: decimal;
}

.article-content li {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.article-content li::marker {
  color: #207BFF;
}

.article-content ul ul,
.article-content ol ol,
.article-content ul ol,
.article-content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Links */
.article-content a {
  color: #207BFF;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.article-content a:hover {
  color: #1d6ae5;
}

/* Images */
.article-content img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.article-content img:first-child {
  margin-top: 0;
}

.article-content img:last-child {
  margin-bottom: 0;
}

/* Strong and Emphasis */
.article-content strong {
  font-weight: 700;
  color: #111827;
}

.article-content em {
  font-style: italic;
}

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

.article-content pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.875rem;
  line-height: 1.75;
}

.article-content pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* Horizontal Rules */
.article-content hr {
  border: none;
  border-top: 2px solid #e5e7eb;
  margin: 3rem 0;
}

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

.article-content thead {
  background-color: #f9fafb;
}

.article-content th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #111827;
  border-bottom: 2px solid #e5e7eb;
}

.article-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.article-content tbody tr:hover {
  background-color: #f9fafb;
}

/* Definition Lists */
.article-content dl {
  margin: 1.5rem 0;
}

.article-content dt {
  font-weight: 600;
  color: #111827;
  margin-top: 1rem;
}

.article-content dd {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
  color: #4b5563;
}

/* First paragraph styling */
.article-content > p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #4b5563;
}

