.new-card{
    /* max-width: 480px; */
    display: flex;
    flex-direction: column;
    border: 1px solid #d9d9d9;
    /*margin: 15px 0;*/
    border-radius: 10px;
}

.new-card:first-child{
    margin-top: 0;
}

.new-card .top{
    padding: 8px 10px;
    gap: 15px;
}

.new-card .bottom{
    /*padding: 14px;
    padding-top: 14px;*/
}

.new-card .top{
    display: flex;
    align-items: center;
}

.new-card .top .main{
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    gap: 5px;
    justify-content: flex-start;
}

.new-card .top .main .user-image{
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-position: center;
    background-size: cover;
}

.new-card .top .main .main-info{
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.new-card .top .main .user-name a{
    color: black;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    display: block;
}

.new-card .top .main .publication-date{
    color: #a6a6a6;
    font-size: 11px;
}

.new-card .top .subscribe{
    font-size: 12px;
    color: #a6a6a6;
    cursor: pointer;
}

.new-card .top .subscribe:hover{
    color: black;
}


.new-card .top .more-btn{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 15px;
    cursor: pointer;
    position: relative;
}

.new-card .top .more-btn .dot{
    background-color: black;
    width: 3px;
    height: 3px;
    border-radius: 50%;
}

.new-card .top .more-btn .new-card-menu{
    position: absolute;
    text-align: left;
    top: 20px;
    right: -14px;
    z-index: 2;
    background: white;
    font-size: 13px;
    box-shadow: 2px 2px 4px 0px rgb(0 0 0 / 15%);
    transition: all 0.15s;
}

.new-card .top .more-btn .new-card-menu.hidden{
    opacity: 0;
    top: 35px;
    pointer-events: none;
}

.new-card .top .more-btn .new-card-menu div, .new-card .top .more-btn .new-card-menu a{
    padding: 8px 10px;
    display: block;
    text-decoration: none;
    color: black;
}

.new-card .top .more-btn .new-card-menu .disabled{
    color: grey;
    cursor: no-drop;
}

.new-card .top .more-btn .new-card-menu :hover{
    background-color: #419FD9;
    color: white;
}

.new-card .top .more-btn .new-card-menu .disabled:hover{
    color: grey;
    background-color: #e2e2e2;
}



.new-card img{
    display: block;
    width: 100%;
}

.new-card[data-format="SQUARE"] img{
    aspect-ratio: 1 / 1
}

.new-card[data-format="PORTRAIT"] img{
    aspect-ratio: 4 / 5
}

.new-card[data-format="LANDSCAPE"] img{
    aspect-ratio: 16 / 9
}

.new-card[data-format="STORY"] img{
    aspect-ratio: 9 / 16
}

.new-card .images{
    overflow: hidden;
    position: relative;
}

.new-card .images .swiper-pagination{
    width: auto;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 8px;
    color: white;
    font-size: 12px;
    background-color: rgba(0, 0, 0, 0.4);
    bottom: 10px;
    border-radius: 15px;
    display: none;
    transition: opacity 0.5s;
}

.new-card .images.swiper-initialized .swiper-pagination{
    display: block;
}



.new-card .bottom{
    /*display: flex;
    flex-direction: column;
    font-size: 14px;
    gap: 12px;*/
}

.new-card .bottom .body-top{
    /*height: 39px;*/
    overflow: hidden;
    /*position: relative;
    margin-bottom: 20px;*/
    display: flex;
    flex-direction: column;
    display: inline;
}

.new-card .bottom .more-text-btn{
    /*position: absolute;
    bottom: 3px;
    right: 0px;
    padding-left: 40px;
    background: linear-gradient(90deg, #ffffff00 0px, #ffffff 30px, #ffffff 32px);*/
    color: #a6a6a6;
    cursor: pointer;
    text-align: right;
    display: none;
    font-size: 13px;
}

.new-card .bottom .more-text-btn.show{
    display: none;
    margin-top: -10px;
    margin-bottom: -10px;
}

.new-card .bottom .description{
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.3em;
    display: inline;
}

.new-card .bottom .short{
    cursor: pointer;
}

.new-card .bottom .full{
    display: none;
}

.new-card .bottom .more{
    color: #a6a6a6;
}

.new-card .bottom .buttons, .new-card .bottom .buttons .bb-right{
    display: flex;
    gap: 15px;
    font-size: 14px;
    align-items: center;
}

.new-card .bottom .buttons .bb-left{
    flex: 1 1 auto;
    display: flex;
    gap: 15px;
    align-items: center;
}

.new-card .bottom .buttons .like{
    /*flex: 1 1 auto;*/
    background-image: url('/static/css/img/like.svg');
    /**width: 16px;*/
    height: 21px;
    background-position: left center;
    padding-left: 31px;
    display: flex;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.new-card .bottom .buttons .liked{
    background-image: url('/static/css/img/like-red.svg');
}

.new-card .bottom .buttons .bubble{
    background-image: url('/static/css/img/bubble.svg');
    width: 16px;
    height: 22px;
    background-position: left center;
    padding-left: 28px;
    display: flex;
    align-items: center;
    font-weight: bold;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.new-card .bottom .buttons .bookmark{
    background-image: url('/static/css/img/bookmark.svg');
    width: 18px;
    height: 20px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.new-card .bottom .buttons .bookmarked{
    background-image: url('/static/css/img/bookmarked.svg');
}

.new-card .bottom .buttons .share{
    background-image: url('/static/css/img/share.svg');
    width: 26px;
    height: 20px;
    cursor: pointer;
}


.new-card .bottom .body{
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.new-card .bottom .body .tags{
    display: inline;
}

.new-card .bottom .body .tags a{
    color: #419FD9;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3em;
}

.new-card .bottom .body .location{
    color: black;
    font-size: 13px;
}

.new-card .bottom .body .location::before{
    content: '';
    display: inline-block;
    margin-right: 3px;
    background-image: url('/static/css/img/location-marker.svg');
    width: 7px;
    height: 10px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.new-card .bottom .comments{
    border-top: 1px solid  #EEEEEE;
    font-size: 13px;
    padding-top: 10px;
    /* margin-top: 10px; */
    display: flex;
    justify-content: space-between;
}

.new-card .bottom .comments::after{
    content: '>';
    display: block;
}


@media screen and (max-width: 867px){
    .new-card{
        border: none;
        /*overflow: hidden;*/
    }

    .new-card .images{
        /*overflow: visible;*/
    }

}