/* Branded Content Widget */
.wmbc-widget {
    width: 100%;
    background: #fff;
    box-sizing: border-box;
    padding: 40px;
    color: #111;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Section Title */
.wmbc-section-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #111;
}

.wmbc-section-title a {
    text-decoration: none;
    color: inherit;
}

.wmbc-section-title a:hover {
    text-decoration: underline;
}

/* Grid: 2 columns */
.wmbc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 24px;
}

/* Each Item: title left, thumbnail right */
.wmbc-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e6e6e6;
}

.wmbc-item:nth-last-child(-n+2) {
    border-bottom: 0;
    padding-bottom: 0;
}

/* Post Title */
.wmbc-item-title {
    flex: 1;
    min-width: 0;
}

.wmbc-item-title a {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
    text-decoration: none;
    display: block;
}

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

/* Thumbnail */
.wmbc-item-thumb {
    flex: 0 0 200px;
    max-width: 200px;
}

.wmbc-item-thumb a {
    display: block;
}

.wmbc-item-thumb img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* Responsive: single column on mobile */
@media (max-width: 768px) {
    .wmbc-widget {
        padding: 20px;
    }

    .wmbc-grid {
        grid-template-columns: 1fr;
    }

    .wmbc-item:nth-last-child(-n+2) {
        border-bottom: 1px solid #e6e6e6;
        padding-bottom: 24px;
    }

    .wmbc-item:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .wmbc-item-thumb {
        flex: 0 0 140px;
        max-width: 140px;
    }

    .wmbc-item-thumb img {
        height: 100px;
    }
}
