/* =========================
   BLOG GRID
========================= */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* altijd 3 kolommen */
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-card h3 {
    margin-bottom: 10px;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 900px) {
    .blog-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   SECTIONS in BLOG
========================= */

.blog-panel {
    width: 100%;
    height: auto;
    padding: 80px 0;
    display: block;
}

.blog-panel.light {
    background: #f5f5f5;
    color: #111;
}

.blog-panel.dark {
    background: #111;
    color: white;
}

.inner {
    width: 80%;
    margin: auto;
}

.inner p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
}

.blog-panel .inner h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.blog-panel .inner p {
    max-width: 800px;
}