/* Simple LinkedIn Feed – frontend grid */

.slf-feed {
    display: grid;
    gap: 24px;
    width: 100%;
    margin: 1.5em 0;
}

.slf-feed.slf-columns-1 {
    grid-template-columns: 1fr;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.slf-feed.slf-columns-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.slf-feed.slf-columns-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.slf-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.slf-item iframe {
    display: block;
    width: 100%;
    border: 0;
}

.slf-empty {
    padding: 1em;
    background: #f6f7f7;
    border-left: 4px solid #c3c4c7;
    color: #50575e;
}

/* Stack to one column on tablets and below */
@media (max-width: 900px) {
    .slf-feed.slf-columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .slf-feed.slf-columns-2,
    .slf-feed.slf-columns-3 {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin-left: auto;
        margin-right: auto;
    }
}
