.new-card img{
    /*height: 220px;*/
    width: 100%;
    object-fit: cover;
    /*border-radius: 10px 10px 0 0;*/
    /*margin-bottom: 5px;*/
}

.new-card{
    background-color: white;
    border: 1px solid #dce1e6;
    /*padding: 12px;*/
    position: relative;
    box-shadow: 0px 0px 5px 0px #dce1e6;
    border-radius: 12px;
}

.new-card .title{
    font-weight: bold;
    margin: 7px 0;
    font-size: 16px;
}

.card-bottom-container{
    padding: 10px;
    padding-top: 8px;
}

.new-card .text{
    font-size: 14px;
    line-height: 1.5em;
    overflow-wrap: anywhere;
    white-space: pre-line;
}

.new-card .stat {
    margin: 10px 0;
    color: #a6a6a6;
    font-size: 13px;
}

.new-card .bottom{
    border-top: 1px solid #eeeeee;
    padding-top: 10px;
}

.new-card .bottom a{
    text-decoration: none;
    color: #419FD9;
    font-size: 12px;
}

.new-card .new-card-label{
    display: flex;
    gap: 10px;
    background-color: #E4F1F9;
    border-left: 3px solid #2E96D2;
    padding: 5px;
    font-size: 14px;
    justify-content: space-between;
    border-radius: 6px;
}

.new-card:first-child .new-card-label.template {
    display: none;
}

.new-card .new-card-label a{
    display: block;
    color: #2E96D2;
    margin-top: 5px;
    text-decoration: none;
    font-size: 12px;
    font-weight: bold;
}

.new-card .new-card-label.pink_label{
    background-color: #F9E9EF;
    border-left: 3px solid #D25381;
}

.new-card .new-card-label.pink_label a{
    color: #D25381;
}

.new-card .new-card-label a:hover{
    text-decoration: underline;
}

.new-card .new-card-label img{
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 6px;
}

.new-card .share{
    position: absolute;
    right: -37px;
    bottom: 7px;
    background-image: url(/static/css/pic/share.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 25px;
    height: 23px;
    opacity: 1;
}

.ya-share2__item_more .ya-share2__icon_more{
    background-image: none !important;
}

.ya-share2__link_more .ya-share2__badge{
    background: none !important;
}

.new-card .bubble{
    position: absolute;
    right: -34px;
    bottom: 40px;
    background-image: url(/static/css/pic/bubble.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 24px;
    height: 21px;
    cursor: pointer;
    padding-top: 27px;
    font-size: 12px;
    text-align: center;
    color: #b7bcbf;
    /*opacity: 0;*/
}

.new-card .bubble:empty{
    bottom: 27px;
}

.ad{
    position: sticky;
    top: 80px;
    background-color: gray;
    width: 100%;
    height: 450px;
    text-align: center;
    vertical-align: middle;
    line-height: 400px;
    opacity: 0;
}

.loader{
    background-image: url(/static/css/pic/load.svg);
    width: 90px;
    height: 90px;
    background-repeat: no-repeat;
    background-size: contain;
    align-self: center;
}




.reactions-menu-wrapper{
    position: fixed;
    top: 200px;
    left: 200px;

    width: 245px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s;

    background-color: white;
    box-shadow: 2px 2px 4px 0px rgb(0 0 0 / 15%);
    border-radius: 22px;
    padding: 8px;
    z-index: 25;
}

.reactions-menu{
    display: flex;
    flex-wrap: wrap;

    gap: 8px;
    height: 27px;
    overflow: hidden;

    max-height: 300px;
    scrollbar-width: none;
}

.reactions-menu div{
    height: 28px;
    width: 28px;
    border-radius: 8px;

    cursor: pointer;

    background-image: url('pic/64.png');
    background-size: 6100% 6100%;
    background-position: 55% 48.3333%;
}

.reactions-menu div:hover{
}

.reactions-menu-wrapper span{
    display: block;
    position: absolute;
    right: -50px;
    right: -50px;
    top: 0px;
    background-color: rgb(255, 255, 255, 0.9);
    box-shadow: 2px 2px 4px 0px rgb(0 0 0 / 15%);
    width: 43px;
    height: 43px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #7b7f98;

    background-image: url('pic/down.svg');
    background-position: center;
    background-repeat: no-repeat;
}



.reactions{
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 10px;
}

.reactions:empty{
    display: none;
}

.reactions div{
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 7px;
    border-radius: 25px;
    background-color: rgb(235, 243, 253);
    cursor: pointer;
    transition: background-color 0.3s;
    font-weight: bold;
    font-size: 12px;
    color: #2481cc;
}

.reactions div:hover{
    background-color: rgb(197, 222, 249);
}

.reactions div.selected{
    background-color: #6FB6EE;
    color: white;
}

.reactions div .icon{
    display: block;
    background-image: url(pic/64.png);
    background-size: 6100% 6100%;
    height: 20px;
    width: 20px;
    background-repeat: no-repeat;
}



.opinion{
    font-size: 13px;
    margin: 10px 0;
}

.opinion a{
    color: #555555;
    font-style: italic;
    text-decoration: none;
}






@media (max-width:768px){
    .new-card img{
        /*height: 170px;*/
        /*border-radius: 7px 7px 0 0;
        transform: scale(1.05) translateY(-3px);*/
    }

    .new-card .title{
        font-size: 14px;
    }

    .new-card .text{
        font-size: 16px;
        line-height: 1.3em;
    }

    .new-card .stat{
        font-size: 12px;
        color: #808080;
    }

    .new-card .bottom{
        font-size: 13px;
        color: #808080;
        line-height: 1.5em;
    }
}