/* ============================================================
   BLOG OVERVIEW
============================================================ */

.blog-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

/* BLOG ITEM CARD */
.blog-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.blog-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* IMAGE WRAPPER (belangrijk voor uniform formaat) */
.blog-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #f2f2f2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMAGE ZELF */
.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* zorgt voor crop, geen vervorming */
    object-position: center;
    display: block;
}

/* CONTENT */
.blog-item h2 {
    font-size: 18px;
    margin: 15px 15px 10px;
    line-height: 1.3;
}

.blog-item p {
    margin: 0 15px 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* LINK */
.blog-item a {
    margin: auto 15px 15px;
    display: inline-block;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.blog-item a:hover {
    text-decoration: underline;
}