/* Blog Page Styles */
.blog-page {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

.blog-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1000;
}

.nav-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #888;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.blog-main {
    padding-top: 100px;
    padding-bottom: 80px;
}

.blog-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.blog-header {
    margin-bottom: 50px;
}

.blog-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

.blog-header p {
    color: #888;
    font-size: 1.1rem;
}

.blog-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 28px 30px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.blog-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.blog-card h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
}

.blog-card p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.blog-footer {
    text-align: center;
    padding: 30px 20px;
    color: #555;
    font-size: 0.85rem;
}

/* Blog Post Page */
.blog-post-page {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

.post-container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}

.post-header {
    padding-top: 100px;
    margin-bottom: 40px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 30px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--accent-color);
}

.post-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 15px;
}

.post-subtitle {
    font-size: 1.1rem;
    color: #888;
    line-height: 1.6;
    margin-bottom: 20px;
}

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.post-tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #888;
}

/* Article Content */
.post-content {
    padding-bottom: 60px;
}

.post-content h2 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff;
    margin-top: 40px;
    margin-bottom: 15px;
}

.post-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ddd;
    margin-top: 30px;
    margin-bottom: 12px;
}

.post-content p {
    color: #bbb;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.post-content ul,
.post-content ol {
    color: #bbb;
    margin-bottom: 18px;
    padding-left: 25px;
}

.post-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.post-content code {
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: var(--accent-color);
}

.post-content pre {
    background: #141414;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.post-content pre code {
    background: none;
    padding: 0;
    color: #ccc;
}

.post-content a {
    color: var(--accent-color);
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.post-content a:hover {
    border-bottom-color: var(--accent-color);
}

.post-content strong {
    color: #fff;
    font-weight: 600;
}

/* Post Footer */
.post-footer {
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
}

.author-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-box img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.author-info h4 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

.author-info p {
    color: #666;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-card {
        padding: 22px 20px;
    }
    
    .blog-card h2 {
        font-size: 1.15rem;
    }
    
    .post-header h1 {
        font-size: 1.6rem;
    }
    
    .post-content h2 {
        font-size: 1.25rem;
    }
}