.post-container{
max-width:850px;
margin:auto;
padding:20px;
}

/* CARD */

.post-card{
background:#fff;
border-radius:12px;
box-shadow:0 3px 12px rgba(0,0,0,0.08);
margin-bottom:35px;
overflow:hidden;
transition:0.3s;
}

.post-card:hover{
transform:translateY(-3px);
box-shadow:0 6px 20px rgba(0,0,0,0.12);
}

/* HEADER */

.post-header{
padding:15px 20px;
border-bottom:1px solid #eee;
}

.post-date{
font-size:14px;
color:#777;
display:flex;
align-items:center;
gap:6px;
}

/* DESCRIPTION */

.post-description{
padding:18px 20px;
font-size:16px;
line-height:1.6;
color:#333;
}

/* IMAGE */

.post-image{
background:#fafafa;
text-align:center;
}

.post-image img{
width:100%;
height:auto;
display:block;
object-fit:contain;
}

/* STATS */

.post-stats{
display:flex;
justify-content:space-between;
padding:12px 20px;
font-size:14px;
color:#666;
border-top:1px solid #eee;
}

.like-count i{
color:#e63946;
}

.comment-count i{
color:#555;
}

/* ACTION BAR */

.post-actions{
display:flex;
justify-content:space-around;
border-top:1px solid #eee;
border-bottom:1px solid #eee;
background:#fafafa;
}

.action-btn{
flex:1;
padding:12px;
text-decoration:none;
font-weight:600;
color:#333;
display:flex;
justify-content:center;
align-items:center;
gap:6px;
cursor:pointer;
border:none;
background:none;
transition:0.2s;
}

.action-btn:hover{
background:#f0f0f0;
}

.like-btn i{
color:#1877f2;
}

.disabled{
color:#aaa;
cursor:not-allowed;
}

/* COMMENTS */

.post-comments{
padding:15px 20px;
border-bottom:1px solid #eee;
}

.comment{
background:#f6f7f9;
border-radius:8px;
padding:10px 12px;
margin-bottom:10px;
}

.comment-user{
font-weight:600;
font-size:14px;
}

.comment-text{
font-size:14px;
color:#444;
}

.no-comments{
color:#999;
font-size:14px;
}

/* COMMENT FORM */

.comment-form{
display:flex;
gap:10px;
padding:15px 20px 20px;
}

.comment-form input{
flex:1;
padding:10px;
border:1px solid #ddd;
border-radius:8px;
}

.comment-form button{
background:#1877f2;
color:white;
border:none;
padding:10px 16px;
border-radius:8px;
font-weight:600;
cursor:pointer;
}

.comment-form button:hover{
background:#0d63d6;
}

/* PAGINATION */

.pagination{
display:flex;
justify-content:center;
align-items:center;
gap:10px;
margin:40px 0;
flex-wrap:wrap;
}

.pagination a{
padding:8px 14px;
border-radius:6px;
background:#f2f2f2;
text-decoration:none;
color:#333;
font-weight:500;
}

.pagination a:hover{
background:#e6e6e6;
}

.current-page{
font-weight:600;
}

/* RESPONSIVE */

@media (max-width:768px){

.post-container{
padding:10px;
}

.post-description{
font-size:15px;
}

.comment-form{
flex-direction:column;
}

.comment-form button{
width:100%;
}

}