/* Blog pages — loaded after site.css */
.blog-hero {
  text-align: center; padding: 72px 6vw 40px;
  background: radial-gradient(ellipse 800px 340px at 50% -10%, rgba(42,230,196,0.14), transparent 60%);
}
.blog-hero h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 12px; }
.blog-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }

.blog-index { max-width: 1120px; margin: 0 auto; padding: 0 6vw 96px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.chip {
  font: inherit; font-size: 0.85rem; font-weight: 600; cursor: pointer;
  color: var(--muted); background: var(--surface); border: 1px solid var(--stroke);
  padding: 7px 14px; border-radius: 999px;
}
.chip:hover { color: var(--text); }
.chip.active { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--surface); border: 1px solid var(--stroke); border-radius: var(--radius);
  padding: 24px; color: var(--text); text-decoration: none;
  transition: transform .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-3px); border-color: rgba(42,230,196,0.4); }
.post-card h3 { font-size: 1.12rem; line-height: 1.35; }
.post-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.post-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mint-text); }
.post-meta { font-size: 0.8rem; color: var(--muted-2); }

.article-wrap { max-width: 1120px; margin: 0 auto; padding: 48px 6vw 96px; }
.article { max-width: 720px; margin: 0 auto; }
.crumbs { position: static; display: block; height: auto; padding: 0; background: none; backdrop-filter: none; border: 0;
  font-size: 0.85rem; color: var(--muted-2); margin-bottom: 20px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--text); }
.article h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; }
.article-meta { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 36px; }
.article-body { font-size: 1.06rem; line-height: 1.75; color: #D6DEDF; }
.article-body p, .article-body ul, .article-body ol { margin-bottom: 20px; }
.article-body ul, .article-body ol { padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body h2 { font-size: 1.55rem; font-weight: 800; color: var(--text); margin: 44px 0 14px; line-height: 1.25; }
.article-body h3 { font-size: 1.2rem; font-weight: 700; color: var(--text); margin: 30px 0 10px; }
.article-body strong { color: var(--text); }
.article-body a { color: var(--mint-text); }
.callout {
  background: var(--surface); border-left: 4px solid var(--mint); border-radius: 12px;
  padding: 16px 20px; margin-bottom: 20px; color: var(--text);
}

.app-cta {
  display: flex; gap: 20px; align-items: flex-start; margin: 48px 0 24px;
  background: linear-gradient(135deg, rgba(42,230,196,0.12), rgba(39,183,240,0.10));
  border: 1px solid rgba(42,230,196,0.3); border-radius: var(--radius); padding: 28px;
}
.app-cta img { width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0; }
.app-cta h2 { font-size: 1.3rem; margin-bottom: 8px; }
.app-cta p { color: var(--muted); margin-bottom: 18px; }
.app-cta .btn-primary { display: inline-flex; }
.disclaimer { font-size: 0.82rem; color: var(--muted-2); border-top: 1px solid var(--stroke); padding-top: 16px; }

.related { margin-top: 72px; }
.related > h2 { font-size: 1.5rem; font-weight: 800; margin-bottom: 20px; }

@media (max-width: 600px) {
  .app-cta { flex-direction: column; }
  .post-grid { grid-template-columns: 1fr; }
}
