/* Blog Hero */
.blog-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 80px 24px 60px; text-align: center; }
.blog-hero-inner { max-width: 700px; margin: 0 auto; }
.blog-hero-badge { display: inline-block; background: rgba(99,102,241,.15); color: #818cf8; font-size: 13px; font-weight: 600; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; letter-spacing: .5px; }
.blog-hero h1 { color: #fff; font-size: 32px; font-weight: 800; margin: 0 0 12px; line-height: 1.3; }
.blog-hero p { color: rgba(255,255,255,.5); font-size: 16px; margin: 0; line-height: 1.6; }

/* Blog Container */
.blog-container { max-width: 960px; margin: 0 auto; padding: 48px 24px 60px; }

/* Blog Grid */
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 640px) { .blog-grid { grid-template-columns: 1fr 1fr; } }

/* Blog Cards */
.blog-card { background: #fff; border-radius: 16px; border: 1px solid #e5e7eb; overflow: hidden; transition: all .25s ease; display: flex; flex-direction: column; }
.blog-card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,.08); border-color: #c7d2fe; }
.blog-card-featured { grid-column: 1 / -1; }
@media (min-width: 640px) {
    .blog-card-featured .blog-card-content { padding: 40px; }
    .blog-card-featured h2 { font-size: 26px; }
}
.blog-card-content { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.blog-card-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.blog-card-date, .blog-card-time { color: #94a3b8; font-size: 13px; }
.blog-card-dot { color: #cbd5e1; }
.blog-card h2 { margin: 0 0 12px; font-size: 20px; font-weight: 700; line-height: 1.4; }
.blog-card h2 a { color: #1e293b; text-decoration: none; transition: color .15s; }
.blog-card h2 a:hover { color: #6366f1; }
.blog-card-excerpt { color: #64748b; font-size: 14px; line-height: 1.7; margin-bottom: 16px; flex: 1; }
.blog-read-more { display: inline-flex; align-items: center; gap: 6px; color: #6366f1; text-decoration: none; font-weight: 600; font-size: 14px; transition: gap .2s; }
.blog-read-more:hover { gap: 10px; }

/* Blog CTA */
.blog-cta-section { margin-top: 48px; }
.blog-cta-card { background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: 16px; padding: 40px; text-align: center; }
.blog-cta-card h3 { color: #fff; font-size: 22px; font-weight: 700; margin: 0 0 8px; }
.blog-cta-card p { color: rgba(255,255,255,.5); font-size: 15px; margin: 0 0 20px; }
.blog-cta-btn { display: inline-block; background: #6366f1; color: #fff; padding: 12px 28px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 15px; transition: background .2s; }
.blog-cta-btn:hover { background: #4f46e5; }

/* Pagination */
.blog-pagination { text-align: center; margin-top: 40px; }
.blog-pagination a, .blog-pagination span { display: inline-block; padding: 8px 16px; margin: 0 4px; border-radius: 8px; text-decoration: none; font-size: 14px; }
.blog-pagination a { color: #6366f1; border: 1px solid #e5e7eb; transition: all .15s; }
.blog-pagination a:hover { background: #f1f5f9; }
.blog-pagination .current { background: #6366f1; color: #fff; border: 1px solid #6366f1; }

/* Post Hero */
.post-hero { background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%); padding: 80px 24px 48px; text-align: center; }
.post-hero-inner { max-width: 720px; margin: 0 auto; }
.post-hero-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; color: rgba(255,255,255,.4); font-size: 14px; }
.post-hero h1 { color: #fff; font-size: 30px; font-weight: 800; margin: 0; line-height: 1.35; }

/* Breadcrumb */
.breadcrumb { max-width: 800px; margin: 0 auto; padding: 16px 24px; font-size: 13px; color: #94a3b8; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: #6366f1; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb svg { opacity: .4; }

/* Post Content */
.post-container { max-width: 800px; margin: 0 auto; padding: 0 24px 60px; }
.post-content { background: #fff; border-radius: 16px; border: 1px solid #e5e7eb; padding: 40px; margin-bottom: 32px; }
@media (max-width: 640px) { .post-content { padding: 24px; } }
.post-content h2 { color: #1e293b; font-size: 22px; margin: 36px 0 16px; font-weight: 700; }
.post-content h2:first-child { margin-top: 0; }
.post-content h3 { color: #334155; font-size: 18px; margin: 28px 0 12px; font-weight: 600; }
.post-content p { color: #475569; font-size: 15px; line-height: 1.8; margin-bottom: 16px; }
.post-content ul, .post-content ol { color: #475569; font-size: 15px; line-height: 1.8; margin-bottom: 16px; padding-left: 24px; }
.post-content li { margin-bottom: 6px; }
.post-content a { color: #6366f1; text-decoration: none; font-weight: 500; }
.post-content a:hover { text-decoration: underline; }
.post-content pre { background: #0f172a; border-radius: 12px; padding: 20px; overflow-x: auto; font-size: 13px; color: #e2e8f0; margin: 16px 0; }
.post-content code { background: #f1f5f9; padding: 2px 8px; border-radius: 6px; font-size: 13px; color: #6366f1; font-weight: 500; }
.post-content pre code { background: none; padding: 0; color: #e2e8f0; font-weight: 400; }
.post-content table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 14px; border-radius: 12px; overflow: hidden; border: 1px solid #e5e7eb; }
.post-content th, .post-content td { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; text-align: left; }
.post-content th { background: #f8fafc; font-weight: 600; color: #1e293b; }
.post-content tr:last-child td { border-bottom: none; }
.post-content strong { color: #1e293b; }

/* Share */
.post-share { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.post-share span { color: #94a3b8; font-size: 14px; }
.share-btn { display: inline-block; padding: 6px 16px; border-radius: 8px; background: #f1f5f9; color: #475569; text-decoration: none; font-size: 13px; font-weight: 500; transition: all .15s; }
.share-btn:hover { background: #e2e8f0; color: #1e293b; }

/* Related Posts */
.related-posts { margin-bottom: 32px; }
.related-posts h3 { color: #1e293b; font-size: 18px; margin-bottom: 16px; font-weight: 700; }
.related-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .related-grid { grid-template-columns: 1fr 1fr 1fr; } }
.related-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; background: #f8fafc; border-radius: 12px; border: 1px solid #e5e7eb; text-decoration: none; transition: all .2s; }
.related-card:hover { border-color: #c7d2fe; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,.06); }
.related-date { color: #94a3b8; font-size: 12px; }
.related-title { color: #1e293b; font-size: 14px; font-weight: 600; line-height: 1.4; }

/* Post CTA */
.post-cta { background: linear-gradient(135deg, #0f172a, #1e293b); border-radius: 16px; padding: 32px; text-align: center; margin-bottom: 24px; }
.post-cta p { color: rgba(255,255,255,.6); font-size: 15px; margin: 0 0 16px; }

/* Post Nav */
.post-nav-bottom { text-align: center; }
.post-nav-bottom a { color: #6366f1; text-decoration: none; font-size: 14px; font-weight: 600; }
.post-nav-bottom a:hover { text-decoration: underline; }
