/* Голосование за комментарии */
.news-comments__meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    min-width: 0;
}

.news-comments__date {
    color: #777;
    font-weight: normal;
    font-size: 13px;
    white-space: nowrap;
}

.news-comments__votes {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: normal;
    user-select: none;
}

.news-comments__vote-count {
    font-size: 12px;
    font-family: Verdana, Geneva, sans-serif;
    min-width: 1.2em;
    text-align: center;
    line-height: 1;
}

.news-comments__vote-count--like {
    color: var(--main-template-color, #ff6600);
    text-align: left;
}

.news-comments__vote-count--dislike {
    color: #9a9a9a;
    text-align: right;
}

.news-comments__vote-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    border-radius: 4px;
    background: transparent;
    color: #9a9a9a;
    font-size: 15px;
    line-height: 1;
    cursor: pointer;
}

.news-comments__vote-btn .fa {
    pointer-events: none;
}

.news-comments__vote-btn:hover {
    background: #f3f3f3;
    color: #666;
}

.news-comments__vote-btn--like {
    color: var(--main-template-color, #ff6600);
}

.news-comments__vote-btn--like:hover {
    color: var(--main-template-color, #ff6600);
    background: rgba(255, 102, 0, 0.12);
}

.news-comments__vote-btn--dislike {
    color: #9a9a9a;
}

.news-comments__vote-btn--dislike:hover {
    color: #6e6e6e;
    background: #efefef;
}

.news-comments__vote-btn--like.is-active {
    color: var(--main-template-color, #ff6600);
    background: rgba(255, 102, 0, 0.16);
}

.news-comments__vote-btn--dislike.is-active {
    color: #6e6e6e;
    background: #e8e8e8;
}

.news-comments__text--bad {
    color: #ccc;
}

.news-comments__admin-votes {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 4px;
    max-width: 280px;
}

.news-comments__admin-btn {
    border: 1px dashed #999;
    background: #fff8e7;
    color: #666;
    font-size: 11px;
    line-height: 1.2;
    padding: 2px 5px;
    border-radius: 3px;
    cursor: pointer;
}

.news-comments__admin-btn:hover {
    background: #ffe8b0;
    color: #333;
}

@media (max-width: 575px) {
    .news-comments__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-comments__meta {
        align-items: flex-start;
        width: 100%;
    }

    .news-comments__admin-votes {
        justify-content: flex-start;
        max-width: none;
    }
}
