/* Стили для ленты */
.feed-container {
    margin-top: 30px;
    padding-bottom: 50px;
}

.feed-container {
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feed-container:nth-child(1) {
    animation-delay: 0.4s;
}

.feed-title {
    color: white;
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

/* .feed-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
} */

/* .feed-post {
    background: #2b2b2b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    position: relative;
} */

/* .feed-post:hover {
    transform: translateY(-5px);
} */

.feed-media-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.feed-media-container img,
.feed-media-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feed-post-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    padding: 15px;
    color: white;
}

.feed-post-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.feed-post-stats {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #bbb;
}

.feed-post-btn {
    display: block;
    width: 100%;
    background: white;
    color: #222;
    text-align: center;
    padding: 10px;
    font-weight: 600;
    border: none;
    border-radius: 0 0 12px 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.feed-post-btn:hover {
    background: #e0e0e0;
}

.loading-indicator {
    display: flex;
    justify-content: center;
    padding: 30px;
    display: none;
}

.goto-post-btn {
            background: #f0f2f5;
            border: none;
            border-radius: 20px;
            padding: 8px 20px;
            font-weight: 500;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .goto-post-btn:hover {
            background: #e4e6e9;
        }