/* Blog Post Styles */

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 120px;
}

/* Post Header */
.post-header {
    margin-bottom: 3rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.post-date, .post-category {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.post-header h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #444;
}

.author-info h3 {
    margin-bottom: 0.2rem;
}

.author-info p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Featured Image */
.post-featured-image {
    height: 400px;
    background-color: #333;
    background-image: linear-gradient(45deg, #333, #555);
    border-radius: 8px;
    margin-bottom: 3rem;
}

/* Post Body */
.post-body {
    line-height: 1.8;
    margin-bottom: 3rem;
}

.post-intro {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.post-body h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1.5rem;
}

.post-body p {
    margin-bottom: 1.5rem;
}

/* Post Tags */
.post-tags {
    display: flex;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.post-tags h3 {
    margin-right: 1rem;
    margin-bottom: 0;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.prev-post, .next-post {
    max-width: 45%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.prev-post:hover {
    transform: translateX(-10px);
}

.next-post:hover {
    transform: translateX(10px);
}

.prev-post {
    text-align: left;
}

.next-post {
    text-align: right;
}

.nav-label {
    display: block;
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.post-title {
    font-weight: 500;
    color: var(--text-color);
}

/* Related Posts */
.related-posts {
    margin-bottom: 4rem;
}

.related-posts h2 {
    margin-bottom: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post {
    transition: transform 0.3s ease;
}

.related-post:hover {
    transform: translateY(-10px);
}

.related-post a {
    text-decoration: none;
    color: var(--text-color);
}

.related-image {
    height: 150px;
    background-color: #333;
    background-image: linear-gradient(45deg, #333, #555);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.related-image-2 {
    background-image: linear-gradient(45deg, #436, #658);
}

.related-image-3 {
    background-image: linear-gradient(45deg, #534, #756);
}

.related-post h3 {
    font-size: 1.1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post:hover h3 {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 768px) {
    .post-header h1 {
        font-size: 2.5rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .post-navigation {
        flex-direction: column;
        gap: 2rem;
    }
    
    .prev-post, .next-post {
        max-width: 100%;
    }
}