/*
 * Blog Post Page Styles
 * funcvibe - Professional Developer Tools
 */

/* Blog Post Main */
.blog-post-main {
    padding: 40px 0;
}

/* Post Header */
.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    line-height: 1.3;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.post-date,
.post-category,
.post-author {
    font-size: 1rem;
    color: var(--text-secondary);
}

.post-category {
    background: var(--primary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
}

/* Post Body */
.post-body {
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.7;
}

.post-body p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.post-body h2 {
    font-size: 1.8rem;
    margin: 40px 0 20px;
    color: var(--text-primary);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

.post-body h3 {
    font-size: 1.4rem;
    margin: 30px 0 15px;
    color: var(--text-primary);
}

.post-body ul,
.post-body ol {
    margin: 20px 0 20px 30px;
}

.post-body li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.post-body a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid var(--primary-color);
    transition: all 0.3s ease;
}

.post-body a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Post Navigation */
.post-navigation {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    margin-top: 50px;
}

.next-post {
    display: block;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    max-width: 600px;
}

.next-post:hover {
    color: var(--primary-color);
}

.next-post span {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.next-post h3 {
    margin: 5px 0 0;
    font-size: 1.4rem;
    font-weight: 600;
}

/* Blog Sidebar */
.blog-sidebar {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

.sidebar-widget {
    margin-bottom: 40px;
}

.sidebar-widget h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-primary);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color-light);
}

.sidebar-widget li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-widget a {
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    display: block;
}

.sidebar-widget a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post-main {
        padding: 20px 0;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .post-body {
        padding: 0 15px;
    }
    
    .post-body h2 {
        font-size: 1.6rem;
    }
    
    .post-body h3 {
        font-size: 1.3rem;
    }
    
    .post-body p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .post-header h1 {
        font-size: 1.6rem;
    }
    
    .post-body h2 {
        font-size: 1.4rem;
    }
    
    .post-body h3 {
        font-size: 1.2rem;
    }
}
