.feed-card{

    width:100%;

    max-width:340px;

    margin:0;

    background:#09142d;

    border:1px solid rgba(255,255,255,.08);

    border-radius:24px;

    overflow:hidden;

}

.feed-card-header{

    padding:18px;

}

.feed-user{

    display:flex;

    align-items:center;

    gap:12px;

}

.feed-user img{

    width:48px;

    height:48px;

    border-radius:50%;

    object-fit:cover;

}

.feed-user-name{

    font-weight:700;

    color:#fff;

}

.feed-post-date{

    font-size:12px;

    color:#8b93a7;

}

.feed-media{

    width:100%;

    aspect-ratio:1/1;

    max-height:340px;

    overflow:hidden;

    background:#000;

}

.feed-cover{

    width:100%;

    height:100%;

    object-fit:cover;

    display:block;

}

.feed-content{

    padding:18px 20px 24px 20px;

    color:#fff;

    font-size:15px;

    line-height:1.6;

}

.feed-actions{

    display:flex;

    align-items:center;

    gap:20px;

    padding:12px 18px;

    border-top:1px solid rgba(255,255,255,.08);

}

.feed-actions button{

    display:flex;

    align-items:center;

    gap:6px;

    background:none;

    border:none;

    color:#bfc8dc;

    cursor:pointer;

    font-size:13px;

    padding:0;

}

@media(max-width:768px){

    .feed-card{

        border-radius:18px;

    }

}

@media(max-width:768px){

    .feed-card{

        max-width:100%;

        border-radius:18px;

    }

}

#postsContainer{

    display:grid;

    grid-template-columns:
    repeat(
        auto-fill,
        minmax(
            340px,
            1fr
        )
    );

    gap:24px;

    align-items:start;

}

@media(max-width:1200px){

    #postsContainer{

        grid-template-columns:
        repeat(
            2,
            1fr
        );

    }

}

@media(max-width:768px){

    #postsContainer{

        grid-template-columns:
        1fr;

    }

}

.posts-feed-header{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:24px;

    padding-bottom:18px;

    border-bottom:
    1px solid rgba(
        255,
        255,
        255,
        .08
    );

}

.feed-media{

    position:relative;

    cursor:pointer;

}

.feed-more-media{

    position:absolute;

    right:12px;

    bottom:12px;

    z-index:10;

    background:
    rgba(
        0,
        0,
        0,
        .75
    );

    color:#fff;

    font-size:16px;

    font-weight:800;

    padding:8px 14px;

    border-radius:14px;

    backdrop-filter:
    blur(10px);

    box-shadow:
    0 8px 25px
    rgba(
        0,
        0,
        0,
        .35
    );

}

/* =========================================
   FEED GRID
========================================= */

#postsContainer,
#galleryFeedContainer,
#homeFeedContainer{

display:grid;

grid-template-columns:
repeat(
3,
minmax(0,1fr)
);

gap:24px;

align-items:start;

}

@media(max-width:1200px){

#postsContainer,
#galleryFeedContainer,
#homeFeedContainer{

grid-template-columns:
repeat(
2,
minmax(0,1fr)
);

}

}

@media(max-width:768px){

#postsContainer,
#galleryFeedContainer,
#homeFeedContainer{

grid-template-columns:
1fr;

}

}

.feed-card{

width:100%;

}