/* SellerLab blog / SEO articles — reuses brand tokens from /styles.css */
* { box-sizing: border-box; }
body.blog {
  margin: 0;
  /* light, airy brand gradient (dozed): a faint green glow top-center + a hint of
     violet top-right, fading into the base background. */
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
.blog-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- top bar ---------- */
.blog-topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 245, 246, 0.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--bd);
}
.blog-topbar .inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 64px; display: flex; align-items: center; justify-content: space-between; }
.blog-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; color: var(--ink); }
.blog-brand img { width: 30px; height: 30px; display: block; }
.blog-brand:hover { text-decoration: none; }
.blog-nav { display: flex; align-items: center; gap: 6px; }
.blog-nav a { color: var(--ink); font-size: 14px; font-weight: 560; padding: 8px 12px; border-radius: var(--r-sm); }
.blog-nav a:hover { background: var(--bg-sunk); text-decoration: none; }
.blog-nav a.cta { background: var(--grad-brand); color: #fff; border-radius: var(--r-full); height: 34px; padding: 0 15px; display: inline-flex; align-items: center; font-weight: 650; box-shadow: 0 8px 18px rgba(7, 139, 97, .22); }
.blog-nav a.cta:hover { filter: brightness(1.06); text-decoration: none; }
@media (max-width: 720px) { .blog-nav a.hide-sm { display: none; } }

/* ---------- buttons ----------
   Reuse the landing's .btn / .btn-primary / .btn-lg from styles.css (pill shape,
   --grad-brand gradient, brand shadow). Here we only keep anchors un-underlined
   and add the white-on-green variant used inside .cta-panel. */
a.btn, a.btn:hover { text-decoration: none; }
.btn-white { background: #fff; color: var(--accent-ink); border-color: #fff; box-shadow: 0 10px 22px rgba(8, 30, 24, .14); }
.btn-white:hover { background: #fff; color: var(--accent-press); box-shadow: 0 14px 28px rgba(8, 30, 24, .20); transform: translateY(-1px); }

/* ---------- breadcrumb ---------- */
.blog-back { display: inline-flex; align-items: center; gap: 7px; margin: 26px 0 4px; font-size: 14px; font-weight: 560; }

/* ---------- article hero ---------- */
.blog-hero { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 40px; align-items: center; padding: 26px 0 40px; }
.blog-hero .eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--accent-ink); background: var(--accent-soft); border: 1px solid var(--accent-soft-bd); padding: 5px 12px; border-radius: var(--r-full); margin-bottom: 16px; }
.blog-hero h1 { font-size: 40px; line-height: 1.12; letter-spacing: -0.025em; margin: 0 0 16px; }
.blog-hero .sub { font-size: 18px; color: var(--muted-ink); margin: 0 0 24px; }
.blog-hero .cta-cap { font-size: 13px; color: var(--muted-ink); margin-top: 12px; }

/* ---------- visual placeholder ---------- */
.visual-ph {
  position: relative; border: 1.5px dashed var(--bd-strong); border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--bg-sunk), var(--surface));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 28px; min-height: 240px; color: var(--muted-ink);
}
.visual-ph::before { content: "▦"; font-size: 30px; opacity: .35; margin-bottom: 10px; }
.visual-ph .vp-label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.visual-ph .vp-cap { font-size: 14px; max-width: 360px; }
.blog-hero .visual-ph { min-height: 320px; }
.blog-hero .hero-img { width: 100%; border-radius: var(--r-lg); display: block; border: 1px solid var(--bd); box-shadow: var(--sh-sm); }
.visual-inline { margin: 24px 0; }

/* ---------- hero chips ---------- */
.blog-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0 0 36px; }
.blog-chips .chip { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--bd); border-radius: var(--r-full); padding: 9px 16px; font-size: 14px; font-weight: 560; box-shadow: var(--sh-xs); }
.blog-chips .chip::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* ---------- layout: toc + body ---------- */
.blog-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; padding-bottom: 40px; }
.blog-toc { position: sticky; top: 84px; }
.blog-toc .toc-title { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted-ink); margin-bottom: 12px; }
.blog-toc a { display: block; font-size: 14px; color: var(--muted-ink); padding: 6px 0 6px 12px; border-left: 2px solid var(--bd); line-height: 1.4; }
.blog-toc a:hover { color: var(--ink); border-left-color: var(--accent); text-decoration: none; }

/* ---------- article typography ---------- */
.blog-article { max-width: 760px; font-size: 17px; }
.blog-article h2 { font-size: 28px; line-height: 1.2; letter-spacing: -0.02em; margin: 44px 0 16px; scroll-margin-top: 84px; }
.blog-article h2:first-child { margin-top: 0; }
.blog-article h3 { font-size: 20px; margin: 30px 0 10px; }
.blog-article p { margin: 0 0 16px; }
.blog-article ul, .blog-article ol { margin: 0 0 18px; padding-left: 22px; }
.blog-article li { margin-bottom: 8px; }
.blog-article strong { font-weight: 680; }
.blog-article hr { border: 0; border-top: 1px solid var(--bd); margin: 36px 0; }

/* ---------- two-column compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.compare .col { border: 1px solid var(--bd); border-radius: var(--r-lg); padding: 20px; background: var(--surface); }
.compare .col.bad { border-color: var(--err-soft); }
.compare .col.good { border-color: var(--accent-soft-bd); }
.compare .col h4 { margin: 0 0 10px; font-size: 16px; }

/* ---------- metric cards ---------- */
.metric-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 24px 0; }
.metric-row .m { border: 1px solid var(--bd); border-radius: var(--r-md); padding: 16px; background: var(--surface); }
.metric-row .m b { display: block; font-size: 15px; margin-bottom: 4px; }
.metric-row .m span { font-size: 14px; color: var(--muted-ink); }

/* ---------- CTA panel ---------- */
.cta-panel { background: var(--grad-brand, var(--accent)); color: #fff; border-radius: var(--r-xl); padding: 36px; margin: 40px 0; box-shadow: var(--sh-md); }
.cta-panel h2 { color: #fff; margin: 0 0 12px; font-size: 26px; }
.cta-panel p { color: rgba(255,255,255,.88); margin: 0 0 22px; font-size: 16px; }
.cta-panel .cap { color: rgba(255,255,255,.78); font-size: 13px; margin-top: 14px; }
.cta-panel.final ul { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.cta-panel.final li { color: rgba(255,255,255,.92); font-size: 14px; }
.cta-panel.final li::before { content: "✓ "; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { margin: 40px 0; }
.faq h2 { font-size: 28px; margin-bottom: 18px; }
.faq details { border: 1px solid var(--bd); border-radius: var(--r-md); background: var(--surface); margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--muted-ink); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details[open] summary { border-bottom: 1px solid var(--bd); }
.faq .ans { padding: 14px 0; color: var(--muted-ink); }

/* ---------- related ---------- */
.related { border-top: 1px solid var(--bd); padding: 32px 0; margin-top: 8px; }
.related h2 { font-size: 22px; margin: 0 0 18px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.related-grid a { display: block; border: 1px solid var(--bd); border-radius: var(--r-md); padding: 18px; background: var(--surface); color: var(--ink); font-weight: 560; box-shadow: var(--sh-xs); }
.related-grid a:hover { border-color: var(--accent-soft-bd); text-decoration: none; box-shadow: var(--sh-sm); }

/* ---------- footer ---------- */
.blog-footer { border-top: 1px solid var(--bd); padding: 28px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted-ink); font-size: 14px; }
.blog-footer a { color: var(--muted-ink); }

/* ---------- listing ---------- */
.list-hero { text-align: center; padding: 56px 0 36px; }
.list-hero h1 { font-size: 42px; letter-spacing: -0.025em; margin: 0 0 14px; }
.list-hero p { font-size: 18px; color: var(--muted-ink); max-width: 620px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 12px 0 60px; }
.blog-card { display: flex; flex-direction: column; border: 1px solid var(--bd); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--sh-xs); transition: box-shadow .15s, transform .15s; }
.blog-card:hover { box-shadow: var(--sh-md); transform: translateY(-2px); text-decoration: none; }
.blog-card .thumb { aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--accent-soft), var(--bg-sunk)); display: flex; align-items: center; justify-content: center; color: var(--accent-ink); position: relative; }
.blog-card .thumb .vp-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.blog-card .body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.blog-card h3 { font-size: 18px; line-height: 1.3; margin: 0 0 10px; color: var(--ink); }
.blog-card p { font-size: 14px; color: var(--muted-ink); margin: 0; flex: 1; }
.blog-card .more { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent-ink); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; gap: 0; }
  .blog-toc { display: none; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .blog-hero { grid-template-columns: 1fr; gap: 28px; }
  .blog-hero h1 { font-size: 32px; }
  .list-hero h1 { font-size: 32px; }
  .blog-grid { grid-template-columns: 1fr; }
  .compare { grid-template-columns: 1fr; }
  .blog-article { font-size: 16px; }
  .blog-article h2 { font-size: 24px; }
  .cta-panel { padding: 26px; }
}
