/* Blog Post Typography Styles */
.blog-content {
  line-height: 1.7;
  color: #374151;
}

.blog-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #111827;
  line-height: 1.2;
}

.blog-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #111827;
  line-height: 1.3;
}

.blog-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #111827;
  line-height: 1.4;
}

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

.blog-content h5 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
  line-height: 1.4;
}

.blog-content h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #111827;
  line-height: 1.4;
}

.blog-content p {
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.blog-content strong {
  font-weight: 600;
  color: #111827;
}

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

.blog-content ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}

.blog-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  list-style-type: decimal;
}

.blog-content li {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.blog-content li > ul,
.blog-content li > ol {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

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

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

.blog-content blockquote {
  border-left: 4px solid #3b82f6;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #6b7280;
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.blog-content code {
  background-color: #f1f5f9;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  color: #dc2626;
}

.blog-content pre {
  background-color: #1f2937;
  color: #f9fafb;
  padding: 1.5rem;
  border-radius: 0.5rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

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

.blog-content a {
  color: #3b82f6;
  text-decoration: underline;
  text-decoration-color: rgba(59, 130, 246, 0.3);
  text-underline-offset: 2px;
  transition: all 0.2s ease;
}

.blog-content a:hover {
  color: #1d4ed8;
  text-decoration-color: #1d4ed8;
}

.blog-content hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 3rem 0;
}

.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
}

.blog-content th,
.blog-content td {
  border: 1px solid #e5e7eb;
  padding: 0.75rem;
  text-align: left;
}

.blog-content th {
  background-color: #f9fafb;
  font-weight: 600;
  color: #111827;
}

.blog-content img {
  max-width: 100%;
  height: auto;
  margin: 1.5rem 0;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Special styling for pricing/cost information */
.blog-content .cost-range {
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-weight: 600;
  color: #047857;
  display: inline-block;
  margin: 0.25rem 0;
}

/* Special styling for feature lists */
.blog-content .feature-list {
  background-color: #f8fafc;
  border-left: 3px solid #3b82f6;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
  border-radius: 0 0.5rem 0.5rem 0;
}

/* Special styling for checkmarks and highlights */
.blog-content .highlight {
  background-color: #fef3c7;
  padding: 0.125rem 0.25rem;
  border-radius: 0.25rem;
}

/* Better spacing for first elements */
.blog-content > *:first-child {
  margin-top: 0;
}

.blog-content > *:last-child {
  margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .blog-content h1 {
    font-size: 2rem;
  }
  
  .blog-content h2 {
    font-size: 1.75rem;
  }
  
  .blog-content h3 {
    font-size: 1.375rem;
  }
  
  .blog-content p,
  .blog-content li {
    font-size: 1rem;
  }
  
  .blog-content ul,
  .blog-content ol {
    padding-left: 1.25rem;
  }
}