.sb-social-feed {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(var(--sb-cols, 3), minmax(0, 1fr));
}
.sb-social-feed--cols-1 { --sb-cols: 1; }
.sb-social-feed--cols-2 { --sb-cols: 2; }
.sb-social-feed--cols-3 { --sb-cols: 3; }
.sb-social-feed--cols-4 { --sb-cols: 4; }
.sb-social-feed--cols-5 { --sb-cols: 5; }
.sb-social-feed--cols-6 { --sb-cols: 6; }

@media (max-width: 768px) {
    .sb-social-feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.sb-social-feed__item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #111;
    text-decoration: none;
    color: #fff;
}
.sb-social-feed__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease, opacity .25s ease;
}
.sb-social-feed__item:hover img {
    transform: scale(1.04);
    opacity: .85;
}
.sb-social-feed__badge {
    position: absolute;
    top: 8px;
    right: 8px;
    color: #fff;
    background: rgba(0, 0, 0, .45);
    padding: 4px;
    border-radius: 4px;
    line-height: 0;
    pointer-events: none;
}
.sb-social-feed__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: rgba(255, 255, 255, .85);
    text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
    pointer-events: none;
}
.sb-social-feed__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px 10px;
    font-size: 12px;
    line-height: 1.3;
    background: linear-gradient(to top, rgba(0, 0, 0, .8), rgba(0, 0, 0, 0));
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
