/* Blog Page Styles */
.blog-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-posts {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.blog-post {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.blog-post:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.blog-post img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.blog-content {
    padding: 2rem;
}

.blog-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.blog-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--hover-color);
}

/* Single Post View */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.single-post .blog-content {
    padding: 0;
}

.single-post .blog-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.single-post .blog-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.back-link:hover {
    color: var(--hover-color);
}

.empty-blog {
    text-align: center;
    padding: 3rem;
    color: var(--accent-color);
    background-color: var(--light-gray);
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2rem;
    }

    .blog-post img {
        height: 200px;
    }

    .blog-content {
        padding: 1.5rem;
    }

    .blog-content h2 {
        font-size: 1.5rem;
    }
}

