.blog-content {
  color: #334155;
  font-size: 1rem;
  line-height: 1.8;
  overflow-wrap: break-word;
}
.blog-content p {
  margin-bottom: 1.3rem;
  color: #334155;
  line-height: 1.8;
}
.blog-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.12;
}
.blog-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #0f172a;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.2;
}
.blog-content h4 {
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
}
.blog-content ul,
.blog-content ol {
  margin-top: 1rem;
  margin-bottom: 1.3rem;
  padding-left: 1.5rem;
  color: #334155;
}
.blog-content ul {
  list-style-type: disc;
}
.blog-content ol {
  list-style-type: decimal;
}
.blog-content li {
  margin-bottom: 0.65rem;
  padding-left: 0.375rem;
  line-height: 1.75;
}
.blog-content li::marker {
  color: #7c3aed;
  font-weight: 800;
}
.blog-content ul ul,
.blog-content ol ol,
.blog-content ul ol,
.blog-content ol ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.blog-content blockquote {
  margin: 1.75rem 0;
  border: 1px solid #ddd6fe;
  border-left: 5px solid #8b5cf6;
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #faf5ff 0%, #f8fafc 100%);
  padding: 1rem 1.25rem;
  color: #475569;
}
.blog-content blockquote p {
  margin-bottom: 0.75rem;
}
.blog-content blockquote p:last-child {
  margin-bottom: 0;
}
.blog-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 1.75rem 0;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  font-size: 0.9375rem;
  display: table;
}
@media (max-width: 768px) {
  .blog-content table {
    display: block;
    overflow-x: auto;
    border-radius: 1rem;
    -webkit-overflow-scrolling: touch;
  }
}
.blog-content thead {
  background-color: #f8fafc;
}
.blog-content th {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
  color: #0f172a;
  font-weight: 800;
}
.blog-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}
.blog-content tbody tr:hover {
  background-color: #f8fafc;
}
.blog-content tbody tr:last-child td {
  border-bottom: none;
}
.blog-content strong {
  color: #0f172a;
  font-weight: 800;
}
.blog-content em {
  font-style: italic;
  color: #475569;
}
.blog-content code {
  padding: 0.125rem 0.375rem;
  border-radius: 0.5rem;
  background-color: #f1f5f9;
  color: #be123c;
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.875em;
}
.blog-content pre {
  margin: 1.5rem 0;
  overflow-x: auto;
  border-radius: 1.25rem;
  background-color: #0f172a;
  padding: 1rem;
  color: #f8fafc;
  font-size: 0.875rem;
  line-height: 1.5;
}
.blog-content pre code {
  background-color: transparent;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.blog-content a {
  color: #7c3aed;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s, text-decoration-color 0.2s;
  text-decoration-line: underline;
  text-decoration-color: rgba(124, 58, 237, 0.25);
  text-underline-offset: 0.18em;
}
.blog-content a:hover {
  color: #c026d3;
  text-decoration-color: rgba(192, 38, 211, 0.45);
}
.blog-content img {
  width: 100%;
  height: auto;
  margin: 1.75rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}
.blog-content hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2.25rem 0;
}
.blog-content > *:first-child {
  margin-top: 0;
}
.blog-content > *:last-child {
  margin-bottom: 0;
}
