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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h2 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
}

.blog-content h2 a {
    color: #333;
    text-decoration: none;
}

.blog-content h2 a:hover {
    color: #4CAF50;
}

.blog-content p {
    color: #666;
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.blog-meta {
    display: flex;
    gap: 15px;
    color: #888;
    font-size: 0.9rem;
}

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

/* Blog post styles */
.blog-post {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.post-header {
    margin-bottom: 2rem;
    text-align: center;
}

.post-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.post-meta > * {
    position: relative;
}

.post-meta > *:not(:last-child)::after {
    content: "•";
    position: absolute;
    right: -0.7rem;
}

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

.post-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #444;
}

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

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

.post-content ul,
.post-content ol {
    margin: 1rem 0 1.5rem 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.call-to-action {
    background: #f5f5f5;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
    text-align: center;
}

.call-to-action h3 {
    color: #333;
    margin-bottom: 1rem;
}

.post-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.share-buttons button {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.share-buttons button:hover {
    background: #f5f5f5;
}

.related-posts {
    margin-top: 2rem;
}

.related-posts h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
}

.related-posts ul {
    list-style: none;
    padding: 0;
}

.related-posts li {
    margin-bottom: 0.5rem;
}

.related-posts a {
    color: #4CAF50;
    text-decoration: none;
}

.related-posts a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .blog-post {
        margin: 1rem auto;
    }

    .post-header h1 {
        font-size: 2rem;
    }

    .post-content {
        font-size: 1rem;
    }

    .post-meta {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .post-meta > *:not(:last-child)::after {
        display: none;
    }
} 