/* ==================== Blog Details Page Styles ==================== */

.blog-hero-main { position: relative; z-index: 1; text-align: center; padding: 0 1rem; }
.blog-hero-badge { margin-bottom: 1rem; display: flex; justify-content: center; }
.blog-hero-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.25;
}
.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
    color: rgba(255,255,255,.7);
    font-size: .875rem;
}
.blog-hero-meta i { margin-right: .35rem; }

.blog-body-content { color: #374151; font-size: 1rem; line-height: 1.85; }
.blog-body-content p { margin-bottom: 1.25rem; }
.blog-body-content img { max-width: 100%; border-radius: 12px; margin: 1.5rem 0; }
.blog-body-content h2, .blog-body-content h3 { color: #111827; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem; }
.blog-body-content blockquote {
    border-left: 4px solid #4F46E5;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #F9FAFB;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #4B5563;
}
.blog-body-content ul, .blog-body-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.blog-body-content li { margin-bottom: .5rem; }
.blog-body-content a { color: #4F46E5; text-decoration: underline; }
.blog-body-content a:hover { color: #3730A3; }
.blog-body-content pre {
    background: #1F2937;
    color: #E5E7EB;
    padding: 1.25rem;
    border-radius: 12px;
    overflow-x: auto;
    font-size: .875rem;
    margin: 1.5rem 0;
}
.blog-body-content code { font-size: .875rem; }
.blog-body-content p code, .blog-body-content li code {
    background: #F3F4F6;
    padding: .2rem .5rem;
    border-radius: 6px;
    color: #7C3AED;
}

.blog-tags-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.blog-tag {
    padding: .35rem .9rem;
    background: #EEF2FF;
    color: #4F46E5;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 600;
    transition: all .2s;
}
.blog-tag:hover {
    background: #4F46E5;
    color: white;
    transform: translateY(-1px);
}

.upvote-btn-blog { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 8px; padding: 3px 10px; font-size: .78rem; color: rgba(255,255,255,.7); cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 4px; }
.upvote-btn-blog:hover { border-color: rgba(255,255,255,.5); color: white; background: rgba(255,255,255,.2); }
.upvote-btn-blog.upvoted { border-color: #6EE7B7; color: #6EE7B7; background: rgba(110,231,183,.15); font-weight: 600; }
.upvote-btn-blog i { font-size: .65rem; }

@media (max-width: 768px) {
    .blog-hero-meta { gap: .75rem; font-size: .8rem; }
    .blog-body-content { font-size: .9rem; }
}

[data-theme="dark"] .blog-body-content { color: #E2E8F0; }
[data-theme="dark"] .blog-body-content h2, [data-theme="dark"] .blog-body-content h3 { color: #F1F5F9; }
[data-theme="dark"] .blog-body-content blockquote { background: #1E293B; border-color: #818CF8; color: #94A3B8; }
[data-theme="dark"] .blog-body-content a { color: #818CF8; }
[data-theme="dark"] .blog-body-content a:hover { color: #A5B4FC; }
[data-theme="dark"] .blog-body-content pre { background: #0F172A; color: #E5E7EB; }
[data-theme="dark"] .blog-body-content p code, [data-theme="dark"] .blog-body-content li code { background: #334155; color: #A5B4FC; }
[data-theme="dark"] .blog-tag { background: rgba(129,140,248,0.2); color: #818CF8; }
[data-theme="dark"] .blog-tag:hover { background: #818CF8; color: #0F172A; }