/* Blog-specific styles for consistent formatting across all blog posts */

/* Main content area styling */
.blog-content {
  line-height: 1.7;
}

/* Header styling with proper margins */
.blog-content h2 {
  font-size: 1.5rem; /* text-2xl */
  font-weight: 700; /* font-bold */
  margin-top: 2rem; /* mt-8 */
  margin-bottom: 1rem; /* mb-4 */
  color: #111827; /* text-gray-900 */
  line-height: 1.25; /* leading-tight */
}

.blog-content h3 {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600; /* font-semibold */
  margin-top: 1.5rem; /* mt-6 */
  margin-bottom: 0.75rem; /* mb-3 */
  color: #1f2937; /* text-gray-800 */
  line-height: 1.25; /* leading-tight */
}

.blog-content h4 {
  font-size: 1.125rem; /* text-lg */
  font-weight: 600; /* font-semibold */
  margin-top: 1rem; /* mt-4 */
  margin-bottom: 0.5rem; /* mb-2 */
  color: #374151; /* text-gray-700 */
}

/* Paragraph spacing */
.blog-content p {
  margin-bottom: 1rem; /* mb-4 */
  color: #374151; /* text-gray-700 */
}

/* List styling */
.blog-content ul {
  margin-bottom: 1.5rem; /* mb-6 */
  padding-left: 1rem; /* pl-4 */
}

.blog-content ul li {
  margin-bottom: 0.5rem; /* space-y-2 equivalent */
}

.blog-content ol {
  margin-bottom: 1.5rem; /* mb-6 */
  padding-left: 1rem; /* pl-4 */
}

.blog-content ol li {
  margin-bottom: 0.5rem; /* space-y-2 equivalent */
}

.blog-content li {
  color: #374151; /* text-gray-700 */
}

/* Ensure proper spacing after sections */
.blog-content section {
  margin-bottom: 2rem; /* mb-8 */
}

/* Special content boxes maintain their spacing */
.blog-content .bg-green-50,
.blog-content .bg-blue-50,
.blog-content .bg-yellow-50,
.blog-content .bg-gray-50 {
  margin-top: 1.5rem; /* my-6 */
  margin-bottom: 1.5rem;
}

/* CTA Section - Reusable call-to-action styling for blog posts */
.blog-cta {
  background-color: #2d7310; /* bg-primary-800 - matches website's primary CTA color */
  color: white;
  padding: 1.5rem; /* p-6 */
  border-radius: 0.5rem; /* rounded-lg */
  text-align: center;
  margin: 2rem 0; /* my-8 */
}

.blog-cta h3 {
  font-size: 1.25rem; /* text-xl */
  font-weight: 600; /* font-semibold */
  margin-bottom: 1rem; /* mb-4 */
  color: white; /* Override blog-content h3 color */
  margin-top: 0; /* Override blog-content h3 margin-top */
}

.blog-cta p {
  margin-bottom: 1.5rem; /* mb-6 */
  color: white; /* Override blog-content p color */
  opacity: 0.9;
}

.blog-cta .cta-button {
  display: inline-block;
  background-color: white;
  color: #2d7310; /* text-primary-800 - matches website's primary color */
  padding: 0.75rem 1.5rem; /* px-6 py-3 */
  border-radius: 0.5rem; /* rounded-lg */
  font-weight: 600; /* font-semibold */
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.blog-cta .cta-button:hover {
  background-color: #f9fafb; /* hover:bg-gray-100 */
  color: #2d7310;
}
