/* ============================================================
   VAPEROO BLOG STYLES
   ============================================================ */

/* Blog Header (shared across all blog pages) */
.blog-site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--surface2);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
.blog-site-header a { text-decoration: none; }
.blog-site-header .logo { display: flex; align-items: center; }
.blog-site-header .logo img { height: 32px; }
.blog-site-header nav { display: flex; gap: 1.5rem; align-items: center; }
.blog-site-header nav a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.blog-site-header nav a:hover { color: var(--text); }
.blog-site-header nav a.active { color: var(--teal); font-weight: 600; }

/* Blog Page Container */
.blog-page { max-width: 860px; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

/* Blog Hub Header */
.blog-header { text-align: center; padding: 3rem 0 2rem; border-bottom: 1px solid var(--surface2); margin-bottom: 3rem; }
.blog-header h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.blog-header p { color: var(--text-dim); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Article Cards (Hub Page) */
.article-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.article-card { background: var(--surface); border: 1px solid var(--surface2); border-radius: var(--card-radius); overflow: hidden; transition: var(--transition); text-decoration: none; display: block; }
.article-card:hover { border-color: var(--teal); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.article-card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.article-card-body { padding: 1.2rem 1.4rem 1.4rem; }
.article-card-tag { display: inline-block; background: rgba(244,123,32,0.12); color: var(--teal); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 0.6rem; text-transform: uppercase; letter-spacing: 0.5px; }
.article-card-title { color: var(--white); font-size: 1.15rem; margin-bottom: 0.4rem; line-height: 1.35; }
.article-card-desc { color: var(--text-dim); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0.8rem; }
.article-card-meta { color: var(--text-muted); font-size: 0.8rem; }
.article-card-read { color: var(--teal); font-size: 0.85rem; font-weight: 500; margin-top: 0.6rem; display: inline-block; }

/* Article Page */
.article-hero { width: 100%; max-height: 400px; object-fit: cover; border-radius: var(--card-radius); margin-bottom: 2rem; }
.article-back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--teal); text-decoration: none; font-size: 0.9rem; margin-bottom: 1.5rem; }
.article-back:hover { text-decoration: underline; }
.article-tag { display: inline-block; background: rgba(244,123,32,0.12); color: var(--teal); font-size: 0.75rem; font-weight: 600; padding: 3px 10px; border-radius: 20px; margin-bottom: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px; }
.article-title { font-size: 2rem; color: var(--white); margin-bottom: 0.5rem; line-height: 1.25; }
.article-meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--surface2); }

/* Article Content */
.article-content h2 { font-size: 1.4rem; color: var(--white); margin: 2.2rem 0 0.8rem; }
.article-content h3 { font-size: 1.15rem; color: var(--text); margin: 1.8rem 0 0.6rem; }
.article-content p { color: var(--text-dim); line-height: 1.8; margin-bottom: 1rem; font-size: 0.95rem; }
.article-content ul, .article-content ol { color: var(--text-dim); line-height: 1.8; margin: 0.5rem 0 1.2rem 1.5rem; font-size: 0.95rem; }
.article-content li { margin-bottom: 0.5rem; }
.article-content strong { color: var(--text); }

/* Inline Product Image */
.article-product-img { display: block; max-width: 280px; margin: 1.5rem auto; border-radius: 16px; }
.article-img-full { width: 100%; border-radius: var(--card-radius); margin: 1.5rem 0; }
.article-img-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin: 1.5rem 0; }
.article-img-row img { width: 140px; border-radius: 12px; }

/* Spec Table */
.spec-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.spec-table td { padding: 0.6rem 1rem; border-bottom: 1px solid var(--surface2); font-size: 0.9rem; }
.spec-table td:first-child { color: var(--text-muted); font-weight: 500; width: 40%; }
.spec-table td:last-child { color: var(--text); }

/* Step cards for How-to */
.step-card { background: var(--surface); border: 1px solid var(--surface2); border-radius: var(--card-radius); padding: 1.5rem; margin: 1.2rem 0; display: flex; gap: 1.2rem; align-items: flex-start; }
.step-num { background: var(--teal); color: #fff; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.step-body h4 { color: var(--white); margin-bottom: 0.3rem; font-size: 1rem; }
.step-body p { color: var(--text-dim); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* Blog CTA */
.blog-cta { background: var(--surface); border: 1px solid var(--surface2); border-radius: var(--card-radius); padding: 2rem; text-align: center; margin: 2.5rem 0; }
.blog-cta h3 { color: var(--white); margin-bottom: 0.5rem; }
.blog-cta p { color: var(--text-dim); margin-bottom: 1rem; }
.blog-cta .btn { display: inline-block; padding: 0.75rem 2rem; }

/* Flavor Grid */
.flavor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 0.8rem; margin: 1.2rem 0; }
.flavor-chip { background: var(--surface); border: 1px solid var(--surface2); border-radius: 12px; padding: 0.6rem 0.8rem; text-align: center; font-size: 0.85rem; color: var(--text); transition: var(--transition); }
.flavor-chip:hover { border-color: var(--teal); }
.flavor-chip .rank { font-weight: 700; color: var(--teal); font-size: 0.8rem; display: block; margin-bottom: 0.2rem; }

/* FAQ Section */
.faq-section-blog { margin: 2rem 0; }
.faq-section-blog h2 { font-size: 1.4rem; color: var(--white); margin-bottom: 1.2rem; }
.faq-item-blog { margin-bottom: 1rem; }
.faq-item-blog strong { color: var(--text); }
.faq-item-blog p { color: var(--text-dim); line-height: 1.75; font-size: 0.95rem; }

/* Blog Footer */
.blog-footer { text-align: center; padding: 2rem 0; border-top: 1px solid var(--surface2); margin-top: 2rem; }
.blog-footer p { color: var(--text-muted); font-size: 0.85rem; }
.blog-footer a { color: var(--teal); text-decoration: none; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 600px) {
  .blog-header h1 { font-size: 1.6rem; }
  .article-title { font-size: 1.5rem; }
  .article-cards { grid-template-columns: 1fr; }
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .step-card { flex-direction: column; align-items: center; text-align: center; }
  .article-img-row img { width: 100px; }
}
