/*=====================================
RESET
=====================================*/


html{
    scroll-behavior:smooth;
}



/*=====================================
FEED CONTAINER
=====================================*/

.feed-container{
    width:100%;
    max-width:820px;
    margin:18px auto;
    padding:0 12px;
}


/*=====================================
CARD
=====================================*/

.feed-card{

    background:#fff;

    border-radius:10px;

    overflow:hidden;

    margin-bottom:6px;

    box-shadow:
    0 6px 18px rgba(0,0,0,.08);

    transition:.25s;

}

.feed-card:hover{

    transform:translateY(-2px);

    box-shadow:
    0 12px 30px rgba(0,0,0,.12);

}

.feed-link{

    display:block;

    color:inherit;

    text-decoration:none;

}


/*=====================================
BODY
=====================================*/

.feed-body{

    display:flex;

    align-items:flex-start;

    gap:16px;

    padding:18px;

}


/*=====================================
LEFT CONTENT
=====================================*/

.feed-content{

    flex:1;

    min-width:0;

}


/*=====================================
RIGHT IMAGE
=====================================*/

.feed-image{

    width:140px;

    flex-shrink:0;

}

.feed-image img{

    width:100%;

    aspect-ratio:4/3;

    object-fit:cover;

    border-radius:12px;

    display:block;

}


/*=====================================
MOBILE
=====================================*/

@media(max-width:768px){

.feed-container{

    padding:10px;

    margin:0 auto;

}

.feed-body{

    display:flex;

    gap:12px;
justify-content:space-between;
    align-items:flex-start;
    padding:14px;

}

.feed-image{

    width:105px;
    flex-shrink:0;
    margin-top:55px !important;

}

.feed-image img{

    width:105px;

    aspect-ratio:1;

}

}


/*=====================================
SMALL MOBILE
=====================================*/

@media(max-width:420px){

.feed-body{

    gap:10px;

    padding:12px;

}

.feed-image{

    width:95px;

}

.feed-image img{

    width:95px;

}

}



/*=====================================
AUTHOR
=====================================*/

.author-row{
    display:flex;
    align-items:center;
    margin-bottom:8px;
}

.author-photo{
    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;
    flex-shrink:0;
}

.author-info{
    margin-left:10px;
    min-width:0;
}

.author-name{
    font-size:15px;
    font-weight:700;
    color:#111;
    line-height:1.1;
}

.verified{
    color:#1d9bf0;
    font-size:13px;
    margin-left:3px;
}

.author-meta{
    margin-top:1px;
    font-size:12px;
    color:#777;
    line-height:1.2;
}


/*=====================================
TITLE
=====================================*/

.article-title{

    font-size:24px;

    font-weight:700;

    color:#111;

    line-height:1.28;

    margin-bottom:8px;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:2;

    overflow:hidden;

}


/*=====================================
PREVIEW
=====================================*/

.article-preview{

    font-size:15px;

    color:#555;

    line-height:1.55;

    display:-webkit-box;

    -webkit-box-orient:vertical;

    -webkit-line-clamp:3;

    overflow:hidden;

    margin-bottom:10px;

}


/*=====================================
READ MORE
=====================================*/

.read-more{

    display:inline-block;

    font-size:14px;

    font-weight:600;

    color:#0d6efd;

    transition:.25s;

}

.feed-card:hover .read-more{

    letter-spacing:.4px;

}


/*=====================================
IMAGE
=====================================*/

.feed-image img{

    transition:.35s;

}

.feed-card:hover .feed-image img{

    transform:scale(1.05);

}


/*=====================================
MOBILE
=====================================*/

@media(max-width:768px){

.author-photo{
    width:38px;
    height:38px;
}

.author-name{
    font-size:14px;
}

.author-meta{
    font-size:11px;
}

.article-title{
    font-size:20px;
    line-height:1.3;
}

.article-preview{
    font-size:14px;
    -webkit-line-clamp:2;
}

.read-more{
    font-size:13px;
}

}


/*=====================================
SMALL MOBILE
=====================================*/

@media(max-width:420px){

.article-title{
    font-size:18px;
}

.article-preview{
    font-size:13px;
}

}


/*=====================================
FOOTER
=====================================*/

.feed-footer{

    display:flex;

    align-items:center;

    justify-content:space-between;

    padding:12px 18px;

    border-top:1px solid #ececec;

    background:#fff;

}

.feed-stat{

    display:flex;

    align-items:center;

    gap:6px;

    color:#666;

    font-size:14px;

    transition:.25s;

    cursor:pointer;

}

.feed-stat i{

    font-size:16px;

}

.feed-stat:hover{

    color:#0d6efd;

}


/*=====================================
CARD ANIMATION
=====================================*/

.feed-card{

    transition:
    transform .25s ease,
    box-shadow .25s ease;

}

.feed-card:hover{

    transform:translateY(-2px);

    box-shadow:
    0 14px 35px rgba(0,0,0,.12);

}

.feed-card:active{

    transform:scale(.99);

}


/*=====================================
LINK
=====================================*/

.feed-link{

    text-decoration:none;

    color:inherit;

}


/*=====================================
IMAGE
=====================================*/

.feed-image{

    overflow:hidden;

    border-radius:12px;

}

.feed-image img{

    transition:
    transform .35s ease,
    opacity .35s ease;

}

.feed-card:hover .feed-image img{

    transform:scale(1.06);

}


/*=====================================
SCROLLBAR
=====================================*/

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#f3f3f3;

}

::-webkit-scrollbar-thumb{

    background:#c8c8c8;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#999;

}


/*=====================================
SELECTION
=====================================*/

::selection{

    background:#d7ebff;

    color:#111;

}


/*=====================================
MOBILE
=====================================*/

@media(max-width:768px){

.feed-footer{

    padding:10px 14px;

}

.feed-stat{

    font-size:13px;

    gap:4px;

}

.feed-stat i{

    font-size:15px;

}

}


/*=====================================
SMALL MOBILE
=====================================*/

@media(max-width:420px){

.feed-footer{

    padding:10px;

}

.feed-stat{

    font-size:12px;

}

.feed-stat i{

    font-size:14px;

}

}