.newses-section {
    background: #0d2c411a;
    padding-bottom: 100px;
    min-height: 100vh;
}

.newses-wrapper {
    margin-top: 120px;
    margin-bottom: 10px;
}

.news {
    display: flex;
    background: #ffffff;
    padding: 8px;
    /* box-shadow: 0px 3px 8px 0px #0b2c411a; */
    border-radius: 20px;
    justify-content: space-between;
    /* border: 1px solid #0d2c410a; */
    margin-bottom: 30px;
}

.news.not-found {
    background: #eccc7c;
    padding: 20px;
}

.news.not-found p {
    font-weight: 700;
    font-size: 15px;
}

.news .image-part {
    overflow: hidden;
    border-radius: 15px;
    width: 250px;
    min-height: 200px;
    max-height: 250px;
    height: auto;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
}

.news .news-part {
    height: auto;
    width: calc(100% - 250px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px 10px 10px 15px;
}


.news .headline {
    font-size: 25px;
    font-weight: 700;
    line-height: 28px;
    display: block;
}

.news .summary {
    font-size: 16px;
    font-weight: 500;
    color: #0d2c41ba;
    line-height: 22px;
    display: block;
}

.news .news-link {
    font-size: 15px;
    font-weight: 700;
    color: var(--site-primary-color);
    text-decoration: none;
    line-height: 19px;
    display: block;
}

.news .news-link .icon {
    width: 22px;
    height: 19px;
    object-fit: cover;
}

.news .news-time {
    font-size: 16px;
    font-weight: 500;
    color: var(--site-primary-color);
    text-decoration: none;
    margin: 0;
}

.headline-link {
    text-decoration: none;
    color: unset;
}

.headline-link:hover {
    color: rgb(20, 135, 100);
}

.news-time-and-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 991px) {
    .user-interaction-part {
        order: 3;
        margin: auto;
        margin-top: 12px;
    }


}


@media (max-width: 767px) {
    .news {
        flex-direction: column;
    }

    .news .image-part {
        width: 100%;
        height: 300px;
    }

    .news .news-part {
        width: 100%;
        padding: 10px 6px;
    }

    .news .headline {
        font-size: 18px;
        line-height: 22px;
    }

    .news .summary {
        font-size: 14px;
        line-height: 18px;
    }

    .news-link-wrapper {
        max-width: 60%;
    }


    .newses-wrapper {
        margin-top: 90px;
    }
}

@media (max-width: 390px) {
    .news .news-time {
        font-size: 12px;
    }
}


/* user interaction css start  */

.user-interaction-part {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.user-interaction-part .buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.interaction-button {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.interaction-button .icon {
    width: 12px;
    height: 12px;
}

.interaction-button .icon {
    width: 12px;
    height: 12px;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

.like-button .icon {
    background: url(../icons/like.png);
}
.like-button .icon.active {
    background: url(../icons/liked.png);
}

.share-button .icon {
    background: url(../icons/share.png);
}

.bookmark-button .icon {
    background: url(../icons/bookmark.png);
}
.bookmark-button .icon.active {
    background: url(../icons/bookmarked.png);
}

.comment-button .icon {
    background: url(../icons/comment.png);
}

.interaction-counts {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.interaction-counts .item {
    font-size: 12px;
    color: #535353;
}

@media (max-width: 991px) {
    .user-interaction-part {
        flex-direction: column;
        gap: 2px;
    }
}

/* user interaction css end  */


/* comment modal css start  */

#commentModal .modal-header {
    padding: 10px 20px;
    background: #bcf4ff;
    align-items: start;
    padding: 12px 16px;
}

#commentModal .modal-header .comment-news-img {
    width: 70px;
    height: 50px;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: cover !important;
    margin-right: 12px;
}

#commentModal .modal-footer {
    background: #c8c8c8;
}

#commentModal .modal-title {
    font-weight: bold;
    flex-grow: 1;
    font-size: 15px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

#commentModal .modal-header.bg-danger .modal-title,
#commentModal .modal-header.bg-success .modal-title {
    color: #ffffff;
}

#commentModal .comment-item {
    display: flex;
    width: 100%;
    align-items: start;
    margin-bottom: 12px;
}

#commentModal .comment-item .image-part {}

#commentModal .comment-item .image-part img {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 50%;
    margin-right: 12px;
}

#commentModal .comment-item .comment-part {
    display: flex;
    justify-content: left;
    flex-direction: column;
    width: auto;
    flex-grow: 1;
}

#commentModal .comment-item .comment-part .name-part {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
}

#commentModal .comment-item .comment-part .name-part .name {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 0;
}

#commentModal .comment-item .comment-part .name-part .time {
    font-size: 12px;
    font-weight: normal;
    color: #3a3a3a;
    margin-bottom: 0;
}

/* #commentModal .comment-item .comment-part .comment {
    font-size: 14px;
    font-weight: normal;
    color: #4c4c4c;
} */

#commentModal .comment-item .comment-part .comment-part {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2px;
    flex-direction: row;
}
#commentModal .comment-item .comment-part .comment {
    font-size: 14px;
    font-weight: normal;
    color: #4c4c4c;
}
#commentModal .comment-item .comment-part .delete-button {
    max-height: 15px;
    max-width: 15px;
    padding: 0;
}
#commentModal .comment-item .comment-part .delete-button img{
    max-width: 100%;
    max-height: 100%;
    display: block;
}


#commentModal .modal-footer {
    padding: 12px 16px;
}

#commentModal .comment-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin: 0;
}

#commentModal .profile-image {
    height: 30px;
    width: 30px;
    margin-right: 12px;
    border-radius: 50%;
}

#commentModal .textarea-wrapper {
    display: inline-block;
    width: 100%;
    min-height: 35px;
    padding: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 0px;
    background: #fff;
    margin-right: 12px;
    font-size: 14px;
    line-height: 16px;
    padding: 7px;
    max-height: 58px;
    overflow-y: auto;
}

#commentModal .textarea-wrapper[contenteditable="true"]:empty:before {
    content: attr(placeholder);
    color: #aaa;
}


#commentModal .submit-button {
    padding: 9px 15px;
    border-radius: 50px;
    background-color: #000;
    color: #ffffff;
    font-size: 15px;
    line-height: 15px;
}

#commentModal .comment-submit-alert{
    font-size: 14px;
    font-weight: normal;
    text-align: center;
    line-height: 14px;
    padding: 5px;
    color: #fff;
    width: 100%;
    margin: 0;
    margin-top: -7px;
    margin-bottom: 5px;
}



/* comment modal css end  */