.blog-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.blog-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    font-size: 2.5rem;
}

.blog-post {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
    min-height: 300px;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post.featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.post-image {
    height: 100%;
    min-height: 300px;
}

.post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #333;
}

.post-content h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #333;
}

.post-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.post-meta span {
    margin-right: 1rem;
}

.post-excerpt {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.read-more {
    color: #007AFF;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #0056b3;
}

.recent-posts {
    margin-top: 4rem;
}

.recent-posts h2 {
    margin-bottom: 2rem;
    color: #333;
}

.posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin: 0 auto;
    width: 100%;
    max-width: 1000px;
}

/* Add back button styles */
.back-button {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0066CC;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    margin-right: auto; /* This will push other header items to the right */
}

.back-button:hover {
    color: #0077ED;
}

/* Update header styles if needed */
.header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-post {
        grid-template-columns: 1fr;
    }

    .post-image {
        height: 200px;
    }

    .post-content {
        padding: 1.5rem;
    }

    .blog-title {
        font-size: 2rem;
    }

    .post-content h2 {
        font-size: 1.5rem;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .back-button {
        font-size: 0.9rem;
    }
} 