/* Blog Styles */

/* Blog Main Container */
.blog-main,
.blog-post-main {
  padding: 2rem 0;
  min-height: 60vh;
}

/* Blog Page Header */
.blog-page-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem 0;
}

.blog-page-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2D7D7D;
  margin-bottom: 1rem;
}

.blog-page-subtitle {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* Blog List */
.blog-list {
  max-width: 1200px;
  margin: 0 auto;
}

.blog-section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #2D7D7D;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #A8E6CF;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.blog-grid-featured {
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.blog-grid-related {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Blog Card */
.blog-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.blog-card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #2D7D7D;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  z-index: 1;
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2D7D7D;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-card-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.blog-card-category {
  background: #A8E6CF;
  color: #2D7D7D;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.blog-card-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-card-tag {
  background: #f5f5f5;
  color: #666;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
}

/* Blog Post */
.blog-post {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-post-header {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid #A8E6CF;
}

.blog-post-breadcrumb {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.blog-post-breadcrumb a {
  color: #2D7D7D;
  text-decoration: none;
}

.blog-post-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-post-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2D7D7D;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.blog-post-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1rem;
}

.blog-post-meta-item {
  display: flex;
  gap: 0.5rem;
}

.blog-post-meta-label {
  font-weight: 600;
  color: #2D7D7D;
}

.blog-post-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.blog-post-tag {
  background: #A8E6CF;
  color: #2D7D7D;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

.blog-post-content {
  line-height: 1.8;
  color: #333;
  font-size: 1.1rem;
}

.blog-post-content h2 {
  font-size: 2rem;
  font-weight: 600;
  color: #2D7D7D;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #A8E6CF;
}

.blog-post-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2D7D7D;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-post-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2D7D7D;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.blog-post-content p {
  margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

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

.blog-post-content a {
  color: #2D7D7D;
  text-decoration: underline;
}

.blog-post-content a:hover {
  color: #1a5a5a;
}

.blog-post-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #A8E6CF;
}

/* Blog Content Sections */
.blog-content-section {
  margin-bottom: 3rem;
}

.blog-hero {
  background: linear-gradient(135deg, #A8E6CF 0%, #2D7D7D 100%);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 3rem;
  color: white;
}

.blog-hero h2 {
  color: white;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 1rem;
}

.key-takeaways {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
}

.key-takeaways h2 {
  color: white;
  margin-bottom: 1rem;
}

.key-takeaways ul {
  list-style: none;
  padding-left: 0;
}

.key-takeaways li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
}

.key-takeaways li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: white;
  font-weight: bold;
}

/* Special Content Boxes */
.checklist-box,
.info-box,
.warning-box,
.red-flag-box,
.questions-box,
.testimonial-box {
  background: #f9f9f9;
  border-left: 4px solid #2D7D7D;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.warning-box {
  background: #fff3cd;
  border-left-color: #ffc107;
}

.red-flag-box {
  background: #f8d7da;
  border-left-color: #dc3545;
}

.testimonial-box {
  background: #e7f3f0;
  border-left-color: #A8E6CF;
  font-style: italic;
}

.testimonial-box blockquote {
  margin: 0;
  padding: 0;
}

.testimonial-box footer {
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  color: #2D7D7D;
}

.factor-card {
  background: #fff;
  border: 2px solid #A8E6CF;
  border-radius: 8px;
  padding: 2rem;
  margin: 2rem 0;
}

.factor-card h3 {
  color: #2D7D7D;
  margin-bottom: 1rem;
}

.checklist {
  margin: 1.5rem 0;
}

.checklist h4 {
  color: #2D7D7D;
  margin-bottom: 0.75rem;
}

.checklist ul {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2D7D7D;
  font-weight: bold;
}

/* Comparison Table */
.comparison-table {
  overflow-x: auto;
  margin: 2rem 0;
}

.comparison-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-table th {
  background: #2D7D7D;
  color: white;
  padding: 1rem;
  text-align: left;
  font-weight: 600;
}

.comparison-table td {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.comparison-table tr:hover {
  background: #f5f5f5;
}

/* Step Guide */
.step-guide {
  margin: 2rem 0;
}

.step {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 8px;
}

.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: #2D7D7D;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
}

.step-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* FAQ Section */
.faq-section {
  margin: 2rem 0;
}

.faq-item {
  background: #f9f9f9;
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  border-left: 4px solid #A8E6CF;
}

.faq-item h3 {
  color: #2D7D7D;
  margin-bottom: 0.75rem;
  margin-top: 0;
}

/* Sources List */
.sources-list {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
}

.sources-list ol {
  padding-left: 2rem;
}

.sources-list li {
  margin-bottom: 1rem;
}

.verification-note {
  background: #e7f3f0;
  padding: 1.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.verification-note p {
  margin-bottom: 0.5rem;
}

/* Blog Offers Section */
.blog-offers-section {
  margin: 2rem 0;
}

.disclaimer-text {
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  margin-top: 2rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 4px;
}

/* Related Posts */
.related-posts {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #A8E6CF;
}

.related-posts-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #2D7D7D;
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .blog-post-title {
    font-size: 2rem;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-post-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .step {
    flex-direction: column;
  }

  .step-number {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.2rem;
  }

  .comparison-table {
    font-size: 0.9rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 0.75rem;
  }
}

