.blog-content { line-height: 1.625; font-size: 1.125rem; color: #000; max-width: 56rem; margin: 0 auto; }
.blog-content h1 {
  font-size: 2em;
  font-weight: 700;
  margin-top: 0.8em;
  margin-bottom: 0.4em;
  line-height: 1.1;
}


.blog-content h2 {
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 0.8em;
  margin-bottom: 0.4em;
  line-height: 1.3;
}

.blog-content h3 {
  font-size: 1.25em;
  font-weight: 600;
  margin-top: 0.6em;
  margin-bottom: 0.3em;
  line-height: 1.4;
}

.blog-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.blog-content ul,
.blog-content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

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

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

.blog-content ol li::marker {
  font-weight: 500;
  /* You can also add color or specific font-family here if needed */
}

.blog-content li {
  margin-bottom: 0.25rem;
}

.blog-content li p {
  margin-bottom: 0 !important;
  display: block;
}

.blog-content blockquote {
  border-left: 4px solid #e2e8f0;
  padding-left: 1rem;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 1rem;
  font-style: italic;
  color: #64748b;
}

.blog-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #0ea5e9;
  cursor: pointer;
  font-weight: 500;
}

/* --- Embedded Images in Article Content --- */
.blog-content img {
  display: block;
  float: none;
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}
.blog-content img[data-wrap="left"] { float: left; margin: 0 1.5rem 1rem 0; max-width: 50%; }
.blog-content img[data-wrap="right"] { float: right; margin: 0 0 1rem 1.5rem; max-width: 50%; }

.blog-content::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 768px) {
  .blog-content img[data-wrap] {
    float: none;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}

/* --- Colored Text (inline style preservation) --- */

/* --- Text Alignment --- */
.blog-content p[style*="text-align: center"],
.blog-content h1[style*="text-align: center"],
.blog-content h2[style*="text-align: center"],
.blog-content h3[style*="text-align: center"] {
  text-align: center;
}

.blog-content p[style*="text-align: right"],
.blog-content h1[style*="text-align: right"],
.blog-content h2[style*="text-align: right"],
.blog-content h3[style*="text-align: right"] {
  text-align: right;
}

.blog-content p[style*="text-align: left"],
.blog-content h1[style*="text-align: left"],
.blog-content h2[style*="text-align: left"],
.blog-content h3[style*="text-align: left"] {
  text-align: left;
}

/* --- Bold should inherit color (for colored bold text) --- */
.blog-content strong {
  font-weight: 700;
  color: inherit;
}
