.bizzfed-feed {
    --bizzfed-columns: 3;
    display: grid;
    gap: 1rem;
    width: 100%;
}

.bizzfed-feed--cards {
    grid-template-columns: repeat(var(--bizzfed-columns), minmax(0, 1fr));
}

.bizzfed-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    min-height: 420px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bizzfed-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.04);
    color: #667085;
    font-weight: 700;
    text-decoration: none;
}

.bizzfed-card__image--empty {
    background: linear-gradient(135deg, rgba(0,0,0,.04), rgba(0,0,0,.08));
}

.bizzfed-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bizzfed-card__body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.bizzfed-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-bottom: .65rem;
    color: #667085;
    font-size: .875rem;
}

.bizzfed-card__title {
    margin: 0 0 .65rem;
    font-size: 1.1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bizzfed-card__title a,
.bizzfed-card__link {
    text-decoration: none;
}

.bizzfed-card__content {
    color: #1f2937;
    font-size: .98rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bizzfed-card__content p:first-child { margin-top: 0; }
.bizzfed-card__content p:last-child { margin-bottom: 0; }

.bizzfed-card__link {
    display: inline-flex;
    margin-top: auto;
    padding-top: .9rem;
    font-weight: 700;
}

.bizzfed-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    justify-content: center;
    margin-top: 1.25rem;
}

.bizzfed-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.25rem;
    min-height: 2.25rem;
    padding: .35rem .7rem;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 999px;
    background: #fff;
    text-decoration: none;
}

.bizzfed-pagination__link.is-current {
    font-weight: 700;
    background: rgba(0,0,0,.06);
}

.bizzfed-feed-notice {
    padding: .85rem 1rem;
    border-left: 4px solid #d63638;
    background: #fff5f5;
    color: #3c434a;
}

.bizzfed-feed-notice--debug {
    border-left-color: #2271b1;
    background: #f0f6fc;
}

.bizzfed-feed-wrapper { width: 100%; }
.bizzfed-feed-section + .bizzfed-feed-section { margin-top: 2rem; }
.bizzfed-feed-section__title { margin: 0 0 1rem; font-size: 1.35rem; line-height: 1.3; }

@media (max-width: 1024px) {
    .bizzfed-feed--cards { grid-template-columns: repeat(min(var(--bizzfed-columns), 2), minmax(0, 1fr)); }
}

@media (max-width: 640px) {
    .bizzfed-feed--cards { grid-template-columns: 1fr; }
}


.bizzfed-feed-debug {
    margin-top: .75rem;
    padding: .85rem 1rem;
    border-left: 4px solid #2271b1;
    background: #f0f6fc;
    color: #1d2327;
}
.bizzfed-feed-debug summary {
    cursor: pointer;
    font-weight: 700;
}
.bizzfed-feed-debug code {
    white-space: normal;
    overflow-wrap: anywhere;
}
