/* --- Custom Properties (Variables) - Keep consistent with main site --- */
:root {
  --primary-color: #007bff; /* A nice blue */
  --secondary-color: #6c757d; /* Muted gray */
  --accent-color: #28a745; /* Green for success/highlights */
  --text-color: #333;
  --light-text-color: #fff;
  --bg-color: #f8f9fa; /* Light background */
  --dark-bg-color: #2c3e50; /* Darker blue-gray */
  --light-gray: #f2f2f7;
  --dark-gray: #212529;

  --font-family-body: 'Inter', sans-serif;
  --font-family-heading: 'Inter', sans-serif; /* Could be Merriweather for a more classic blog feel */
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* --- Base Styles --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family-body);
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--bg-color);
}

.container {
  max-width: 900px; /* Narrower for blog readability */
  margin: 0 auto;
  padding: 0 20px;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-menu ul li a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1.05em;
}

.nav-menu ul li a:hover {
  color: var(--primary-color);
  background-color: white;
}

.nav-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: all var(--transition-speed) ease;
}

h1,
h2,
h3 {
  font-family: var(--font-family-heading);
  color: var(--dark-bg-color);
  line-height: 1.2;
  margin-bottom: 0.7em;
}

h1 {
  font-size: 2.8em;
  font-weight: 700;
  text-align: center;
}

h2 {
  font-size: 2.2em;
  font-weight: 600;
  margin-top: 1.5em;
}

h3 {
  font-size: 1.7em;
  font-weight: 600;
}

p {
  font-size: 1.05em;
  margin-bottom: 1.2em;
}

strong {
  font-weight: 600;
  color: var(--dark-gray);
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color var(--transition-speed) ease;
}

a:hover {
  color: #0056b3;
}

ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.2em;
}

ul li {
  margin-bottom: 0.5em;
}

hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 40px 0;
}

/* --- Buttons (Copied from main site, slightly adjusted) --- */
.btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: var(--border-radius);
  font-weight: 500;
  font-size: 1em;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background-color: #0056b3; /* Darker blue */
  border-color: #0056b3;
  color: var(--light-text-color);
}

.btn-primary-outline {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-primary-outline:hover {
  background-color: var(--primary-color);
  color: var(--light-text-color);
}

.btn-primary-large {
  padding: 15px 30px;
  font-size: 1.1em;
  background-color: var(--primary-color);
  color: var(--light-text-color);
  border: none;
  width: auto;
}

.btn-primary-large:hover {
  background-color: #0056b3;
}

/* --- Header --- */
.blog-header {
  background-color: #fff;
  padding: 15px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.blog-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-logo {
  font-size: 1.8em;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.blog-nav ul {
  display: flex;
  gap: 25px;
  align-items: center;
  margin-bottom: 0;
}

.blog-nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  font-size: 1em;
}

.blog-nav ul li a:hover {
  color: var(--primary-color);
}

/* --- Blog Post Main Content --- */
.blog-main {
  padding: 50px 0 80px;
}

.blog-post {
  background-color: #fff;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.post-title {
  margin-bottom: 20px;
  color: var(--dark-bg-color);
}

.post-meta {
  text-align: center;
  font-size: 0.95em;
  color: var(--secondary-color);
  margin-bottom: 40px;
}

.post-meta span {
  margin: 0 10px;
}

.post-meta .tags a {
  font-weight: 500;
  color: var(--secondary-color);
}

.post-meta .tags a:hover {
  color: var(--primary-color);
}

.post-hero-image {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  margin-bottom: 40px;
  object-fit: cover;
}

.post-content {
  text-align: left;
}

/* Specific styling for nested lists / checklists */
.checklist-items {
  list-style: none;
  padding-left: 0;
  margin-bottom: 2em;
}

.checklist-items li {
  margin-bottom: 1em;
  padding-left: 25px; /* Space for the icon */
  position: relative;
}

.checklist-items li strong {
  color: var(--dark-gray); /* Highlight topic headings within list */
}

.checklist-items ul {
  list-style: disc; /* Nested lists with bullet points */
  padding-left: 25px;
  margin-top: 0.5em;
}

.checklist-items ul li {
  margin-bottom: 0.3em;
  padding-left: 0;
  font-size: 0.95em;
}

.feature-category {
  background-color: var(--light-gray);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 30px;
}

.feature-category h3 {
  margin-top: 0;
  margin-bottom: 1em;
  color: var(--primary-color);
  font-size: 1.8em;
}

.feature-category .checklist-items li {
  padding-left: 40px; /* More space for check icon */
  color: var(--text-color);
  font-size: 1.05em;
}

.check-icon {
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--accent-color); /* Green checkmark */
  font-size: 1.2em;
}

/* --- Blog CTA --- */
.call-to-action-blog {
  background-color: var(--primary-color);
  color: var(--light-text-color);
  padding: 40px;
  border-radius: var(--border-radius);
  text-align: center;
  margin-top: 60px;
}

.call-to-action-blog h3 {
  color: var(--light-text-color);
  margin-bottom: 15px;
  font-size: 2em;
}

.call-to-action-blog p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-size: 1.1em;
}

/* --- Blog Footer --- */
.blog-footer {
  background-color: var(--dark-gray);
  color: rgba(255, 255, 255, 0.8);
  padding: 25px 0;
  font-size: 0.9em;
}

.blog-footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.blog-footer .footer-links a {
  color: rgba(255, 255, 255, 0.7);
  margin-left: 20px;
}

.blog-footer .footer-links a:hover {
  color: var(--light-text-color);
}

/* --- Responsive Adjustments for Blog Page --- */
@media (max-width: 768px) {
  .post-title {
    font-size: 2.2em;
  }
  h2 {
    font-size: 1.8em;
  }
  h3 {
    font-size: 1.5em;
  }
  .blog-post {
    padding: 25px;
  }
  .blog-nav {
    display: none; /* Can implement mobile toggle if needed, but for blog, keep simple */
  }
  .blog-header .container {
    justify-content: center; /* Center logo if no nav */
  }
  .post-meta {
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }
  .post-meta span {
    margin: 0;
  }
  .checklist-items li {
    padding-left: 0; /* Remove padding if no specific icon */
  }
  .check-icon {
    position: static; /* Place icon inline on small screens */
    margin-right: 10px;
    top: auto;
    left: auto;
  }
  .call-to-action-blog h3 {
    font-size: 1.5em;
  }
  .call-to-action-blog {
    padding: 30px 20px;
  }
  .blog-footer .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .blog-footer .footer-links {
    margin-top: 10px;
  }
  .blog-footer .footer-links a {
    margin: 0 10px;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 1.8em;
  }
  h2 {
    font-size: 1.5em;
  }
  h3 {
    font-size: 1.3em;
  }
}

/* Add these new styles to your blog-style.css */

/* General list styling for bullet points */
.standard-list {
  list-style: disc; /* Default bullet point */
  padding-left: 25px; /* Indent slightly */
  margin-bottom: 2em;
}

.standard-list li {
  margin-bottom: 0.8em;
  font-size: 1.05em;
  color: var(--text-color);
}

/* Style for the 'option-details' sections (like the OCR/Document AI explanations) */
.option-details {
  background-color: var(--light-gray);
  padding: 25px;
  border-radius: var(--border-radius);
  margin-bottom: 30px; /* Space between option blocks */
  text-align: left;
}

.option-details h3 {
  margin-top: 0;
  margin-bottom: 1em;
  color: var(--primary-color); /* Uses your primary color (now dark gray) */
  font-size: 1.8em;
}

/* For lists within option-details, without default bullets */
.option-details .no-bullet-list {
  list-style: none; /* Remove default bullets */
  padding-left: 0;
  margin-bottom: 0; /* No extra margin at end of list */
}

.option-details .no-bullet-list li {
  margin-bottom: 1em;
  font-size: 1em;
  color: var(--text-color);
  line-height: 1.6;
}

.option-details .no-bullet-list li strong {
  color: var(--primary-color); /* Highlight strong text within these lists */
}

/* For nested pros/cons lists to still have bullets */
.option-details .pros-cons-list {
  list-style: disc; /* Use bullets for pros/cons */
  padding-left: 25px;
  margin-top: 0.5em;
}

.option-details .pros-cons-list li {
  margin-bottom: 0.5em;
  font-size: 0.95em;
}

/* --- Ensure consistency with existing blog styles --- */
/* The general .post-content ul, ol etc. rules should still apply */
.post-content ul, .post-content ol {
    margin-bottom: 1.2em; /* Ensure consistent spacing */
    padding-left: 25px; /* Default indent for standard lists */
}