/* Section */
.lob-news-section {
    max-width: 1216px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Heading */
.lob-news-title {
    font-family: var(--font-poppins);
    font-weight: 700;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.5px;
    color: #101828;
    margin: 0;
}

/* Grid */
.lob-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Card — align shell + hover with .lob-card (lob-overzicht.css) */
.lob-news-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s;
}

.lob-news-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Image */
.lob-news-image {
    position: relative;
    aspect-ratio: 16/9;
    height: auto;
    overflow: hidden;
}

.lob-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Category badge */
.lob-news-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #EE0015;
    /* Default Teal */
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 8px;
}

.lob-news-badge.red {
    background: #E30613;
}

.lob-news-badge.pink {
    background: #E91E63;
}

.lob-news-badge.orange {
    background: #FC792C;
}

/* Content */
.lob-news-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    /*gap: 12px;*/
    flex-grow: 1;
}

/* Title — match .lob-card .wp-block-post-title */
.lob-news-title-card {
    font-family: var(--font-poppins);
    font-weight: 500;
    font-size: 18px;
    line-height: 29px;
    color: var(--color-black);
    margin: 0;
    padding-bottom: 10px;
    margin-top: 24px;
}

.lob-news-title-card a {
    color: var(--color-black);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Meta row */
.lob-news-meta {
    display: flex;
    gap: 16px;
    font-size: 14px;
    color: var(--color-gray-600);
    align-items: center;
    margin-bottom: 15px;
}

.lob-news-meta p {
    margin: 0;
}

.lob-news-date,
.lob-news-views {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--color-gray-600);
    gap: 8px;
}

/* Description — match .lob-card excerpt / .lob-card-description */
.lob-news-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* Responsive */
@media (max-width:1024px) {
    .lob-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:640px) {
    .lob-news-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lob-news-grid {
        grid-template-columns: 1fr;
    }
}