body {
    font-family: 'DSans', Helvetica, sans-serif;
    line-height: 1.6;
    background: #f5f5f5;
    color: #1a1a1a;
    margin: 0;
    padding: 0;
}

header {
    background: #222;
    color: white;
    padding: 1rem;
    text-align: center;
}

main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

#blog-posts {
    margin-top: 2rem;
}

/* Blog card styles */
.blog-post {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: white;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

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

.blog-post .post-content {
    flex: 1;
    margin-right: 1rem;
}

.blog-post img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 50%;
}

.blog-post h2 a {
    color: #1a1a1a;
    text-decoration: none;
}

.blog-post h2 a:hover {
    color: #007acc;
    text-decoration: underline;
}

.blog-post .date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.blog-post .content {
    margin-top: 0.5rem;
}

.grey-text {
    color: #a6a6a6;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    .blog-post {
        flex-direction: column;
        align-items: flex-start;
    }

    .blog-post .post-content {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .blog-post img {
        width: 100%;
        height: auto;
        border-radius: 8px;
    }
}