.fb-feed-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.fb-feed {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}
@media (max-width: 900px) {
    .fb-feed { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .fb-feed { grid-template-columns: 1fr; }
}

.fb-post-card {
    background: #fff;
    border: 1px solid #e4e6ea;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    color: #1c1e21;
}

.fb-post-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 10px;
}

.fb-post-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1877f2;
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.fb-post-meta {
    flex: 1;
    min-width: 0;
}

.fb-post-page-name {
    font-weight: 600;
    font-size: 13.5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fb-post-date {
    font-size: 12px;
    color: #65676b;
    display: block;
    margin-top: 1px;
}

.fb-post-view-link {
    font-size: 12px;
    color: #1877f2;
    text-decoration: none;
    white-space: nowrap;
    padding: 4px 8px;
    border: 1px solid #1877f2;
    border-radius: 4px;
    flex-shrink: 0;
    transition: background .15s;
}
.fb-post-view-link:hover {
    background: #e7f0fd;
}

.fb-post-message {
    padding: 4px 14px 12px;
    line-height: 1.5;
    word-break: break-word;
}

.fb-post-message p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.fb-post-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f0f2f5;
}

.fb-post-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.fb-post-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

.fb-post-footer {
    padding: 8px 14px;
    border-top: 1px solid #e4e6ea;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.fb-post-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #65676b;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 6px;
    transition: background .15s;
}
.fb-post-share-btn:hover {
    background: #f0f2f5;
    color: #1c1e21;
}

.fb-feed-empty {
    color: #65676b;
    font-style: italic;
}

.fb-load-more-wrap {
    margin-top: 32px;
    text-align: center;
}


.fb-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: #f0f0f0;
    border-radius: 6px;
    color: #1c1e21;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.fb-load-more-btn:hover:not(:disabled) {
    background: #1c1e21;
    color: #fff;
}
.fb-load-more-btn:disabled {
    opacity: .65;
    cursor: default;
}

.fb-load-more-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: fb-spin .6s linear infinite;
}
@keyframes fb-spin {
    to { transform: rotate(360deg); }
}
