/* Real Social Feed Display */

.rsf-section {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 40px 20px;
    margin: 40px 0;
    border-radius: 10px;
}

.rsf-section h2 {
    color: #1a5f3a;
    text-align: center;
    font-size: 2em;
    margin: 0 0 30px 0;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Grid Layout */
.rsf-feed.rsf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
}

/* Platform Card */
.rsf-platform {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rsf-platform h3 {
    margin: 0;
    padding: 15px;
    font-size: 1.1em;
    font-weight: 600;
    border-bottom: 3px solid;
}

.rsf-facebook h3 {
    background: #f0f8ff;
    border-bottom-color: #1877f2;
    color: #1877f2;
}

.rsf-twitter h3 {
    background: #f0f8ff;
    border-bottom-color: #1da1f2;
    color: #1da1f2;
}

.rsf-youtube h3 {
    background: #fff0f0;
    border-bottom-color: #ff0000;
    color: #ff0000;
}

.rsf-instagram h3 {
    background: #fff0f5;
    border-bottom-color: #e4405f;
    color: #e4405f;
}

/* Posts Container */
.rsf-posts {
    padding: 15px;
    max-height: 600px;
    overflow-y: auto;
}

/* Single Post */
.rsf-post {
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 5px;
    margin-bottom: 10px;
    background: #fafafa;
    transition: all 0.2s ease;
}

.rsf-post:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.rsf-post:last-child {
    margin-bottom: 0;
}

.rsf-post img {
    width: 100%;
    height: auto;
    border-radius: 3px;
    margin-bottom: 10px;
    max-height: 200px;
    object-fit: cover;
}

.rsf-post p {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 0.95em;
    line-height: 1.4;
    word-wrap: break-word;
}

.rsf-post small {
    display: block;
    color: #999;
    font-size: 0.85em;
    margin-top: 8px;
}

.rsf-no-posts {
    text-align: center;
    color: #ccc;
    padding: 20px;
}

/* Scrollbar */
.rsf-posts::-webkit-scrollbar {
    width: 6px;
}

.rsf-posts::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.rsf-posts::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 3px;
}

.rsf-posts::-webkit-scrollbar-thumb:hover {
    background: #1a5f3a;
}

/* Mobile */
@media (max-width: 768px) {
    .rsf-section {
        padding: 25px 15px;
    }
    
    .rsf-section h2 {
        font-size: 1.4em;
    }
    
    .rsf-feed.rsf-grid {
        grid-template-columns: 1fr;
    }
    
    .rsf-posts {
        max-height: 400px;
    }
}

/* Carousel */
.rsf-feed.rsf-carousel {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
}

.rsf-feed.rsf-carousel .rsf-platform {
    flex: 0 0 300px;
}

/* List */
.rsf-feed.rsf-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rsf-feed.rsf-list .rsf-platform {
    width: 100%;
}
