/* Blog shared styles — matches subkun.com landing page */
:root {
  --brand-orange: #f97316;
  --brand-orange-dark: #ea580c;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --bg-white: #ffffff;
  --bg-light: #f9fafb;
  --border-light: #e5e7eb;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background: var(--bg-white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #fed7aa;
  color: #7c2d12;
}

.blog-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
  padding: 0.75rem 0;
}

.blog-nav .nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.blog-nav .logo {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-nav .logo img { width: 28px; height: 28px; }

.blog-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.blog-nav .nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.15s;
}

.blog-nav .nav-links a:hover { color: var(--text-primary); }

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-orange);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  text-decoration: none !important;
  transition: background 0.15s;
}

.cta-btn:hover { background: var(--brand-orange-dark); }
.cta-btn img { width: 18px; height: 18px; }

.blog-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

.blog-article .breadcrumb { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.blog-article .breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.blog-article .breadcrumb a:hover { color: var(--brand-orange); }

.blog-article h1 { font-size: 2.25rem; font-weight: 800; line-height: 1.25; margin-bottom: 1rem; letter-spacing: -0.02em; }
.blog-article .meta { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-light); }
.blog-article h2 { font-size: 1.5rem; font-weight: 700; margin-top: 2.5rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.blog-article h3 { font-size: 1.125rem; font-weight: 600; margin-top: 2rem; margin-bottom: 0.5rem; }
.blog-article p { margin-bottom: 1.25rem; color: var(--text-secondary); }
.blog-article ul, .blog-article ol { margin-bottom: 1.25rem; padding-left: 1.5rem; color: var(--text-secondary); }
.blog-article li { margin-bottom: 0.5rem; }
.blog-article a { color: var(--brand-orange); text-decoration: underline; text-underline-offset: 2px; }
.blog-article a:hover { color: var(--brand-orange-dark); }
.blog-article strong { color: var(--text-primary); font-weight: 600; }

.blog-article blockquote {
  border-left: 3px solid var(--brand-orange);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  background: #fff7ed;
  border-radius: 0 0.5rem 0.5rem 0;
}

.blog-article blockquote p { color: var(--text-primary); margin-bottom: 0; }

.blog-article .highlight-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 0.75rem;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.blog-article .highlight-box p { margin-bottom: 0; }

.blog-cta {
  text-align: center;
  padding: 3rem 1.5rem;
  margin: 2rem -1.5rem 0;
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border-radius: 1rem;
}

.blog-cta h2 { margin-top: 0; font-size: 1.375rem; }
.blog-cta p { color: var(--text-secondary); margin-bottom: 1.5rem; }

.blog-index { max-width: 860px; margin: 0 auto; padding: 3rem 1.5rem 5rem; }
.blog-index h1 { font-size: 2rem; font-weight: 800; margin-bottom: 0.5rem; }
.blog-index .subtitle { color: var(--text-secondary); margin-bottom: 2.5rem; }

.blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 1.5rem;
  border: 1px solid var(--border-light);
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.blog-card:hover { border-color: var(--brand-orange); box-shadow: 0 2px 12px rgba(249,115,22,0.08); }
.blog-card h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); }
.blog-card p { font-size: 0.9375rem; color: var(--text-secondary); margin-bottom: 0.5rem; }

.blog-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--brand-orange);
  background: #fff7ed;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
}

.blog-footer { border-top: 1px solid var(--border-light); padding: 2rem 0; text-align: center; font-size: 0.8125rem; color: var(--text-muted); }

@media (max-width: 640px) {
  .blog-article h1 { font-size: 1.75rem; }
  .blog-article h2 { font-size: 1.25rem; }
  .blog-nav .nav-links a.hide-mobile { display: none; }
}
