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

.blog-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.blog-content {
    padding: 20px;
}

.blog-category {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
}

.blog-card h2 {
    margin: 10px 0;
    font-size: 20px;
    color: var(--text-color);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-muted);
}

.post-header {
    text-align: center;
    margin: 40px 0;
}

.post-thumbnail img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 8px;
}

.post-content {
    max-width: 800px;
    margin: 40px auto;
    line-height: 1.8;
}

.related-posts {
    background: var(--bg-alt);
    padding: 60px 0;
    margin-top: 40px;
}

/* Add new styles for the back button */
.back-link {
    display: inline-block;
    margin: 20px 0;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary-color-dark);
} 