/* Blog Listing Styles */
.blog-listing {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px;
  margin-top: 100px;
}
.blog-listing-title {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 24px;
  text-align: center;
}
.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}
.blog-card {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.blog-card-thumbnail {
  width: calc(100% - 16px);
  height: auto;
  display: block;
  margin: 8px auto 0;
}
.blog-card-body {
  padding: 16px;
}
.blog-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 8px 0;
  line-height: 1.3;
}
.blog-card-excerpt {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card-date {
  font-size: 12px;
  color: #999;
}
.blog-card-read {
  font-size: 14px;
  color: #006600;
  font-weight: 600;
  margin-top: 8px;
}

/* Blog Article Styles */
.blog-article {
  max-width: 800px;
  margin: 0 auto;
  margin-top: 100px;
  padding: 24px 16px 60px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #333;
  line-height: 1.7;
  text-align: left;
}
.blog-article h1 {
  font-size: 28px;
  font-weight: 800;
  color: #222;
  margin: 0 0 12px 0;
  line-height: 1.3;
}
.blog-article-meta {
  font-size: 14px;
  color: #888;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}
.blog-article h2 {
  font-size: 22px;
  font-weight: 700;
  color: #006600;
  margin: 32px 0 12px 0;
}
.blog-article h3 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 24px 0 8px 0;
}
.blog-article p {
  margin: 0 0 16px 0;
  font-size: 16px;
}
.blog-article ul, .blog-article ol {
  margin: 0 0 16px 0;
  padding-left: 24px;
}
.blog-article li {
  margin-bottom: 6px;
  font-size: 16px;
}
.blog-article img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Inline Product Card */
.blog-product-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f9fdf9;
  border: 1px solid #e0e8e0;
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.blog-product-card:hover {
  box-shadow: 0 4px 16px rgba(0,102,0,0.12);
}
.blog-product-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.blog-product-info {
  flex: 1;
}
.blog-product-name {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 4px 0;
}
.blog-product-price {
  font-size: 18px;
  font-weight: 700;
  color: #2e7d32;
  margin: 0 0 4px 0;
}
.blog-product-rating {
  font-size: 13px;
  color: #f9a825;
}
.blog-product-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff6d00, #e65100);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.blog-product-btn:hover {
  background: linear-gradient(135deg, #ff8f00, #ef6c00);
}

/* Info Box */
.blog-info-box {
  background: #f1f8e9;
  border-left: 4px solid #4caf50;
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  line-height: 1.6;
}
.blog-info-box strong {
  color: #2e7d32;
}

/* FAQ Section */
.blog-faq-section {
  margin: 32px 0;
}
.blog-faq-section h2 {
  margin-bottom: 16px;
}
.blog-faq-item {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}
.blog-faq-question {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  padding: 16px 20px;
  margin: 0;
  background: #fafafa;
  cursor: pointer;
}
.blog-faq-question::before {
  content: "Q: ";
  color: #006600;
}
.blog-faq-answer {
  font-size: 15px;
  color: #555;
  padding: 0 20px 16px;
  margin: 0;
  line-height: 1.6;
}
.blog-faq-answer::before {
  content: "A: ";
  font-weight: 600;
  color: #006600;
}

/* CTA Banner */
.blog-cta-banner {
  background: linear-gradient(135deg, #006600, #2e7d32);
  color: #fff;
  text-align: center;
  padding: 32px 24px;
  border-radius: 12px;
  margin: 32px 0;
}
.blog-cta-banner h3 {
  color: #fff;
  font-size: 20px;
  margin: 0 0 8px 0;
}
.blog-cta-banner p {
  font-size: 15px;
  margin: 0 0 16px 0;
  opacity: 0.9;
}
.blog-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #ff6d00, #e65100);
  color: #fff;
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,81,0,0.4);
}

/* Related Articles Section */
.blog-related-section {
  margin: 40px 0 0;
  padding-top: 32px;
  border-top: 2px solid #e8e8e8;
}
.blog-related-section h2 {
  text-align: center;
  margin-bottom: 20px;
}
.blog-related-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.blog-related-card {
  width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  display: block;
}
.blog-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
.blog-related-card img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  background: #f5f5f5;
}
.blog-related-card-body {
  padding: 12px;
}
.blog-related-card-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #333;
  margin: 0 0 6px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-related-card-body p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-article h1 {
    font-size: 22px;
  }
  .blog-article h2 {
    font-size: 19px;
  }
  .blog-article p, .blog-article li {
    font-size: 15px;
  }
  .blog-product-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  .blog-product-card img {
    width: 100px;
    height: 100px;
  }
  .blog-card {
    width: 100%;
    max-width: 400px;
  }
  .blog-related-card {
    width: 45%;
    min-width: 150px;
  }
  .blog-related-card img {
    height: 120px;
  }
  .blog-cta-banner {
    padding: 24px 16px;
  }
  .blog-cta-banner h3 {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .blog-article {
    margin-top: 130px;
    padding: 16px 12px 50px;
  }
  .blog-article h1 {
    font-size: 20px;
  }
  .blog-listing {
    margin-top: 130px;
    padding: 16px 12px;
  }
}