/**
 * Tron Token Generator — Blog Styles
 * blog.css — loaded after style.css on blog/article pages
 */

/* ── Global overflow guard ─────────────────────────────────────────────────── */
html, body { overflow-x: hidden; }

/* ── Reading Progress Bar ──────────────────────────────────────────────────── */
.reading-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient);
  z-index: 1100;
  transition: width .08s linear;
}

/* ── Breadcrumb ────────────────────────────────────────────────────────────── */
.breadcrumb-wrap {
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: 0;
}
.breadcrumb { padding: 0; }
.breadcrumb-list {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap; list-style: none; margin: 0; padding: 0;
}
.breadcrumb-list li { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-4); }
.breadcrumb-list a { color: var(--text-3); text-decoration: none; transition: color .2s; }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-sep { color: var(--border); font-size: 10px; opacity: .6; }

/* ── Blog Page Breadcrumb Bar ──────────────────────────────────────────────── */
.blog-breadcrumb-bar {
  display: flex; align-items: center;
  padding: 10px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  margin-bottom: 36px;
}

/* ── Blog Hero ─────────────────────────────────────────────────────────────── */
.blog-hero {
  padding: calc(var(--nav-h) + 56px) 0 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(255,10,40,.1) 0%, transparent 70%);
  pointer-events: none;
}
.blog-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .12em;
  background: rgba(255,10,40,.08); border: 1px solid rgba(255,10,40,.2);
  padding: 6px 14px; border-radius: 20px;
  margin-bottom: 24px;
}
.blog-hero h1 {
  font-size: clamp(28px, 5vw, 52px); font-weight: 900;
  line-height: 1.1; letter-spacing: -.03em;
  max-width: 700px; margin: 0 auto 20px;
}
.blog-hero p {
  font-size: clamp(15px, 2vw, 18px); color: var(--text-3);
  max-width: 560px; margin: 0 auto; line-height: 1.6;
  padding: 0 16px;
}

/* ── Blog Post Grid ────────────────────────────────────────────────────────── */
.blog-section { padding: 48px 0 80px; }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

/* ── Post Card ─────────────────────────────────────────────────────────────── */
.post-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  display: flex; flex-direction: column;
  transition: transform .22s, border-color .22s, box-shadow .22s;
  overflow: hidden;
}
.post-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,10,40,.45);
  box-shadow: 0 18px 52px rgba(255,10,40,.12);
}
.post-card-icon-wrap {
  height: 72px;
  display: flex; align-items: center;
  padding: 0 24px;
  background: linear-gradient(135deg, rgba(255,10,40,.13) 0%, rgba(255,107,43,.06) 100%);
  border-bottom: 1px solid rgba(255,10,40,.1);
  font-size: 24px; color: var(--primary);
  transition: background .22s;
}
.post-card:hover .post-card-icon-wrap {
  background: linear-gradient(135deg, rgba(255,10,40,.2) 0%, rgba(255,107,43,.1) 100%);
}
.post-card-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.post-card-title {
  font-size: 16px; font-weight: 700; line-height: 1.42;
  margin-bottom: 10px; color: var(--text);
  text-decoration: none; display: block;
  transition: color .2s;
}
.post-card-title:hover { color: var(--primary); }
.post-card-excerpt { font-size: 13.5px; color: var(--text-3); line-height: 1.68; flex: 1; margin-bottom: 18px; }
.post-card-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  font-size: 12px; color: var(--text-4);
  border-top: 1px solid var(--border-2); padding-top: 14px; margin-top: auto;
}
.post-card-meta i { color: var(--primary); font-size: 10px; }
.post-card-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--primary);
  text-decoration: none; margin-top: 14px;
  transition: gap .2s, color .2s;
}
.post-card-read-more:hover { gap: 10px; }

/* ── Blog SEO Block ────────────────────────────────────────────────────────── */
.blog-seo-block {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 32px;
}
.blog-seo-block h2 { font-size: 17px; font-weight: 700; margin-bottom: 12px; color: var(--text); }
.blog-seo-block p { font-size: 14px; color: var(--text-3); line-height: 1.75; margin-bottom: 10px; }
.blog-seo-block p:last-child { margin-bottom: 0; }
.blog-seo-block strong { color: var(--text); }

/* ── Article Layout ────────────────────────────────────────────────────────── */
.article-page-wrap { padding: 36px 0 80px; }
.article-grid {
  display: grid;
  grid-template-columns: 1fr 296px;
  gap: 48px;
  align-items: start;
}

/* ── Article Header ────────────────────────────────────────────────────────── */
.article-header { margin-bottom: 32px; }
.article-cat-pill {
  display: inline-block;
  font-size: 11px; font-weight: 700; color: var(--primary);
  background: rgba(255,10,40,.1); border: 1px solid rgba(255,10,40,.2);
  padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px;
}
.article-header h1 {
  font-size: clamp(24px, 3.5vw, 42px); font-weight: 900;
  line-height: 1.18; letter-spacing: -.03em; margin-bottom: 22px;
  word-break: break-word;
}
.article-meta {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--text-4);
  padding-bottom: 28px; border-bottom: 1px solid var(--border-2);
}
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-meta i { color: var(--primary); }
.article-meta strong { color: var(--text-3); font-weight: 600; }
.article-meta-sep { width: 1px; height: 14px; background: var(--border-2); flex-shrink: 0; }
.article-share { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.share-btn {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-2); background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 13px; text-decoration: none;
  transition: color .2s, border-color .2s, background .2s; flex-shrink: 0;
}
.share-btn:hover { color: var(--primary); border-color: var(--primary); background: rgba(255,10,40,.08); }

/* ── Article Body ──────────────────────────────────────────────────────────── */
.article-body {
  font-size: 16px; line-height: 1.82; color: var(--text-3);
  overflow-x: hidden; word-break: break-word; overflow-wrap: break-word;
  min-width: 0;
}
.article-body h2 {
  font-size: clamp(18px, 2.4vw, 25px); font-weight: 800;
  color: var(--text); margin: 48px 0 18px;
  line-height: 1.25; letter-spacing: -.02em;
  padding-top: 20px; border-top: 1px solid var(--border-2);
  scroll-margin-top: calc(var(--nav-h) + 24px);
  word-break: break-word;
}
.article-body h2:first-child { border-top: none; margin-top: 0; padding-top: 0; }
.article-body h3 {
  font-size: clamp(16px, 2vw, 19px); font-weight: 700; color: var(--text);
  margin: 32px 0 12px; line-height: 1.3;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}
.article-body p { margin-bottom: 20px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { color: var(--text); font-weight: 600; }
.article-body a { color: var(--primary); text-decoration: underline; text-decoration-color: rgba(255,10,40,.4); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.article-body a:hover { text-decoration-color: var(--primary); }
.article-body ul, .article-body ol { margin: 0 0 22px 0; padding-left: 22px; }
.article-body li { margin-bottom: 9px; line-height: 1.7; }
.article-body blockquote {
  border-left: 3px solid var(--primary);
  background: rgba(255,10,40,.04); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px; margin: 24px 0;
  font-size: 15px; font-style: italic; color: var(--text-3);
}
.article-body code {
  font-family: 'JetBrains Mono', monospace; font-size: 13px;
  background: var(--surface-2); color: var(--primary);
  padding: 2px 6px; border-radius: 4px;
  word-break: break-all;
}
.article-body pre {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 18px 20px;
  overflow-x: auto; margin-bottom: 24px; max-width: 100%;
}
.article-body pre code { background: none; padding: 0; color: var(--text-3); font-size: 13px; word-break: normal; }

/* ── Comparison Grid ───────────────────────────────────────────────────────── */
.compare-grid {
  margin: 24px 0 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border-2);
  overflow: hidden;
}
.compare-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  background: var(--surface-2);
  padding: 10px 14px;
  gap: 8px;
  align-items: center;
}
.ch-chain { text-align: center; }
.chain-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
  white-space: nowrap;
}
.chain-tron { background: rgba(255,10,40,.15); color: var(--primary); border: 1px solid rgba(255,10,40,.3); }
.chain-eth  { background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.1); }
.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 11px 14px;
  gap: 8px;
  align-items: center;
  border-top: 1px solid var(--border-2);
  font-size: 13.5px;
}
.compare-row:hover { background: rgba(255,255,255,.02); }
.cr-highlight { background: rgba(255,10,40,.04); }
.cr-highlight .cr-feature { font-weight: 700; }
.cr-feature { color: var(--text); font-weight: 500; font-size: 13px; }
.cr-tron { color: rgba(255,255,255,.85); }
.cr-eth  { color: rgba(255,255,255,.5); }
.cr-tron .check, .cr-eth .check { color: #14F195; font-weight: 700; }
.cr-tron .cross, .cr-eth .cross { color: var(--primary); font-weight: 700; }
@media (max-width: 600px) {
  .compare-head { display: none; }
  .compare-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
  }
  .cr-feature {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.4);
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    margin-bottom: 2px;
  }
  .cr-tron::before { content: "TRON  "; font-weight: 700; color: var(--primary); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
  .cr-eth::before  { content: "ETH  ";  font-weight: 700; color: rgba(255,255,255,.35); font-size: 10px; text-transform: uppercase; letter-spacing: .05em; }
}

/* ── Feature Cards Grid ────────────────────────────────────────────────────── */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0 28px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 18px;
}
.feature-card-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}
.feature-card-desc {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.55;
  margin: 0 0 10px;
}
.feature-card-use {
  font-size: 12px;
  color: rgba(255,255,255,.38);
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 8px;
}
.use-label { font-weight: 700; color: rgba(255,255,255,.55); }
@media (max-width: 600px) {
  .feature-cards { grid-template-columns: 1fr; }
}

/* ── Step Items ────────────────────────────────────────────────────────────── */
.steps-list { margin: 0 0 24px; }
.step-item {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); padding: 20px;
  margin-bottom: 12px; display: flex; gap: 16px; align-items: flex-start;
  transition: border-color .2s;
}
.step-item:hover { border-color: rgba(255,10,40,.3); }
.step-num {
  width: 34px; height: 34px; min-width: 34px;
  border-radius: 50%; background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 13px; color: white; flex-shrink: 0;
}
.step-content { min-width: 0; }
.step-content h3 { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--text); }
.step-content p { margin: 0; font-size: 14px; color: var(--text-3); line-height: 1.65; word-break: break-word; }
.step-content a { color: var(--primary); }

/* ── Callout Boxes ─────────────────────────────────────────────────────────── */
.callout {
  border-radius: var(--radius); padding: 16px 20px;
  margin: 24px 0; display: flex; gap: 14px; align-items: flex-start;
}
.callout-info  { background: rgba(14,165,233,.07);  border-left: 3px solid #0ea5e9; }
.callout-warn  { background: rgba(245,158,11,.07);  border-left: 3px solid #f59e0b; }
.callout-good  { background: rgba(20,241,149,.07);  border-left: 3px solid #14F195; }
.callout-icon { font-size: 16px; margin-top: 2px; flex-shrink: 0; }
.callout-info .callout-icon  { color: #0ea5e9; }
.callout-warn .callout-icon  { color: #f59e0b; }
.callout-good .callout-icon  { color: #14F195; }
.callout-body { font-size: 14px; color: var(--text-3); line-height: 1.65; min-width: 0; word-break: break-word; }
.callout-body strong { color: var(--text); }

/* ── Inline CTA Boxes ──────────────────────────────────────────────────────── */
.article-cta-box {
  background: linear-gradient(135deg, var(--surface-2) 0%, var(--surface) 100%);
  border: 1px solid rgba(255,10,40,.3);
  border-radius: var(--radius-lg); padding: 32px 28px;
  text-align: center; margin: 40px 0;
  position: relative; overflow: hidden;
}
.article-cta-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,10,40,.08) 0%, transparent 65%);
  pointer-events: none;
}
.article-cta-box h3 {
  font-size: clamp(18px, 2.5vw, 22px); font-weight: 800;
  color: var(--text); margin-bottom: 10px; position: relative;
}
.article-cta-box p {
  color: var(--text-3); margin-bottom: 24px;
  font-size: 15px; line-height: 1.6; position: relative;
}
/* CTA box button: solid bright red so it stands out clearly */
.article-cta-box .btn-primary {
  background: #FF0A28;
  color: #fff;
  box-shadow: 0 6px 28px rgba(255,10,40,.55);
  position: relative;
  font-size: 15px;
}
.article-cta-box .btn-primary:hover {
  background: #e00020;
  color: #fff;
  box-shadow: 0 10px 36px rgba(255,10,40,.7);
  transform: translateY(-2px);
}
.article-cta-box .cta-note {
  display: block; margin-top: 14px;
  font-size: 12px; color: var(--text-4); position: relative;
}

/* ── Table of Contents ─────────────────────────────────────────────────────── */
.toc-sidebar {
  position: sticky; top: calc(var(--nav-h) + 20px);
  max-height: calc(100vh - var(--nav-h) - 40px);
  overflow-y: auto;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
}
.toc-sidebar::-webkit-scrollbar { width: 3px; }
.toc-sidebar::-webkit-scrollbar-track { background: transparent; }
.toc-sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.toc-inner { padding: 20px; }
.toc-title {
  font-size: 10px; font-weight: 700; color: var(--text-4);
  text-transform: uppercase; letter-spacing: .12em; margin-bottom: 14px;
  display: flex; align-items: center; gap: 8px;
}
.toc-title i { color: var(--primary); }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list li { margin-bottom: 2px; }
.toc-list a {
  font-size: 13px; color: var(--text-3); text-decoration: none;
  display: block; padding: 5px 0 5px 14px;
  border-left: 2px solid var(--border-2);
  transition: color .15s, border-color .15s, background .15s;
  line-height: 1.45; border-radius: 0 4px 4px 0;
}
.toc-list a:hover { color: var(--text); border-left-color: rgba(255,10,40,.5); background: rgba(255,255,255,.02); }
.toc-list a.active { color: var(--primary); border-left-color: var(--primary); background: rgba(255,10,40,.05); font-weight: 600; }
.toc-list .toc-h3 > a { padding-left: 26px; font-size: 12px; color: var(--text-4); }
.toc-list .toc-h3 > a:hover { color: var(--text-3); }
.toc-list .toc-h3 > a.active { color: var(--primary); }
.toc-divider { height: 1px; background: var(--border-2); margin: 16px 0; }
.toc-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #FF0A28; color: #fff;
  padding: 11px 14px; border-radius: var(--radius);
  font-size: 13px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 16px rgba(255,10,40,.35);
  transition: background .2s, box-shadow .2s, transform .15s;
}
.toc-cta-btn:hover {
  background: #e00020; color: #fff;
  box-shadow: 0 6px 24px rgba(255,10,40,.55);
  transform: translateY(-1px);
}
.toc-cta-btn i { font-size: 11px; }

/* ── Author Box ────────────────────────────────────────────────────────────── */
.author-box {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius-lg); padding: 24px; margin: 48px 0 0;
}
.author-avatar {
  width: 60px; height: 60px; min-width: 60px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,10,40,.2), rgba(255,107,43,.1));
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--primary); flex-shrink: 0;
}
.author-info { min-width: 0; }
.author-info h4 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.author-role { font-size: 12px; color: var(--primary); font-weight: 600; display: block; margin-bottom: 8px; }
.author-info p { font-size: 13px; color: var(--text-3); line-height: 1.6; margin: 0; }

/* ── Related Articles ──────────────────────────────────────────────────────── */
.related-articles {
  margin-top: 48px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
}
.related-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.related-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.related-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-3);
  text-decoration: none;
  transition: color .2s;
}
.related-list li a i { color: var(--primary); font-size: 13px; flex-shrink: 0; }
.related-list li a:hover { color: var(--primary); }

/* ── Back to Blog ──────────────────────────────────────────────────────────── */
.back-to-blog {
  margin-top: 48px; padding-top: 36px;
  border-top: 1px solid var(--border-2);
  text-align: center;
}
.back-to-blog a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--text-3);
  text-decoration: none; padding: 10px 20px;
  border: 1px solid var(--border-2); border-radius: var(--radius);
  transition: color .2s, border-color .2s, background .2s;
}
.back-to-blog a:hover { color: var(--primary); border-color: var(--primary); background: rgba(255,10,40,.04); }

/* ── Back to Top ───────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 110px; right: 24px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface); border: 1px solid var(--border-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); font-size: 15px;
  cursor: pointer; z-index: 500;
  opacity: 0; pointer-events: none;
  transition: opacity .2s, transform .2s, color .2s, border-color .2s;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-3px); }

/* ── FAQ (Article) ─────────────────────────────────────────────────────────── */
.article-faq-list { margin-top: 20px; }
.article-faq-item {
  background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
}
.article-faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--text);
  transition: color .2s; user-select: none; gap: 12px;
  word-break: break-word;
}
.article-faq-q:hover { color: var(--primary); }
.faq-chevron { color: var(--primary); font-size: 12px; transition: transform .2s; flex-shrink: 0; }
.article-faq-item.open .faq-chevron { transform: rotate(180deg); }
.article-faq-a { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s; }
.article-faq-item.open .article-faq-a { max-height: 600px; padding: 0 18px 16px; }
.article-faq-a p { font-size: 14px; color: var(--text-3); line-height: 1.7; margin: 0; }
.article-faq-a a { color: var(--primary); }

/* ══════════════════════════════════════════════════════════════════════════════
   RESPONSIVE — Mobile First
   ══════════════════════════════════════════════════════════════════════════════ */

/* 1200px */
@media (max-width: 1200px) {
  .article-grid { grid-template-columns: 1fr 260px; gap: 36px; }
}

/* 1024px — single column, ToC moves to top */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; gap: 0; }
  .toc-sidebar { position: static; max-height: none; margin-bottom: 32px; }
  .toc-inner { padding: 18px; }
}

/* 768px */
@media (max-width: 768px) {
  .blog-section { padding: 36px 0 60px; }
  .article-page-wrap { padding: 28px 0 60px; }
  .article-cta-box { padding: 24px 20px; }
  .article-cta-box h3 { font-size: 18px; }
  .blog-seo-block { padding: 24px; }
  .author-box { flex-direction: column; }
}

/* 640px */
@media (max-width: 640px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: calc(var(--nav-h) + 36px) 0 40px; }
  .blog-hero p { font-size: 15px; }

  .article-meta { gap: 8px; font-size: 12px; }
  .article-meta-sep { display: none; }
  .article-share { margin-left: 0; width: 100%; }

  .step-item { flex-direction: column; gap: 12px; padding: 16px; }
  .step-num { width: 30px; height: 30px; min-width: 30px; font-size: 12px; }

  .callout { padding: 14px 16px; gap: 10px; }
  .callout-body { font-size: 13px; }

  .article-cta-box { padding: 20px 16px; margin: 28px 0; }
  .article-cta-box p { font-size: 14px; margin-bottom: 18px; }
  .article-cta-box .btn-primary { font-size: 14px; padding: 12px 20px; width: 100%; justify-content: center; }

  .article-faq-q { font-size: 14px; padding: 14px 16px; }
  .article-faq-a { padding: 0 16px; }
  .article-faq-item.open .article-faq-a { padding: 0 16px 14px; }

  .toc-sidebar { margin-bottom: 24px; }
  .back-to-blog a { font-size: 13px; }
  .breadcrumb-wrap { padding-top: calc(var(--nav-h) + 16px); }
  .blog-seo-block { padding: 20px; }
  .post-card-body { padding: 16px 18px 18px; }
  .post-card-icon-wrap { height: 60px; font-size: 20px; padding: 0 18px; }
}

/* 480px */
@media (max-width: 480px) {
  .article-body { font-size: 15px; line-height: 1.78; }
  .article-body h2 { margin: 36px 0 14px; padding-top: 16px; }
  .article-body th, .article-body td { padding: 9px 10px; font-size: 13px; }
  .article-header h1 { letter-spacing: -.02em; }
  .article-cta-box { border-radius: var(--radius); }
  .author-box { padding: 18px; }
  .author-avatar { width: 48px; height: 48px; min-width: 48px; font-size: 18px; }
}

/* 375px */
@media (max-width: 375px) {
  .blog-hero h1 { font-size: 26px; }
  .post-card-body { padding: 14px 16px 16px; }
  .post-card-icon-wrap { height: 54px; font-size: 18px; padding: 0 16px; }
  .post-card-title { font-size: 15px; }
  .article-body { font-size: 14px; }
  .step-content h3 { font-size: 14px; }
  .article-cta-box h3 { font-size: 16px; }
}
