.comments-tree-list{
    padding-inline-start: 0;
}

.comments-tree-item{
    display: block;
}

#dle-comments-list>.comments-tree-list>.comments-tree-item{
    background-color: var(--main-bg-color);
    border: 1px solid var(--border--color);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

/* Основной контейнер комментария */
.comment-item {
}

/* Заголовок комментария */
.comment-item__title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

/* Заголовок админского комментария */
.comment-item__header--admin {
    border-left: 4px solid #ff4f4f;
    padding-left: 10px;
}

/* Шапка комментария */
.comment-item__header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

/* Аватарка пользователя */
.comment-item__img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.comment-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Метаданные комментария */
.comment-item__meta {
    flex-grow: 1;
}

.comment-item__author {
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.comment-item__author a{
    color: white;
}
.comment-item-value{
    margin-right: 40px;
}

.comment-item__date ws-nowrap{
    font-size: 14px;
    font-weight: 600;
    color: var(--text-grey-color);
}

.comment-item__date {
    font-size: 12px;
    color: #777;
}

/* Рейтинг комментария */
.comment-item__rating {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #555;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-item__rating span {
    margin-right: 5px;
}

.comment-item__rating-caption {
    margin-right: 10px;
    font-weight: bold;
}

/* Основной текст комментария */
.comment-item__main {
    font-weight: 400;
    font-size: 16px;
    line-height: 21.6px;
    color: white;
    margin-bottom: 10px;
}

/* Изображения в комментарии */
.signature {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 10px 0;
}

.clrfix {
    clear: both;
}

/* Футер комментария */
.comment-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /*border-top: 1px solid #e0e0e0;*/
    padding-top: 10px;
    margin-top: 10px;
}

.comment-item__reply {
    font-size: 14px;
    color: #007bff;
    cursor: pointer;
    transition: color 0.3s ease;
}

.comment-item__reply:hover {
    color: #0056b3;
}

.comment-item__controls {
    list-style: none;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    gap: 15px;
    font-size: 12px;
    color: #555;
}

.comment-item__controls li {
    display: inline;
}

.comment-item__controls .checkbox {
    margin-left: auto;
}

/* Адаптивные стили */
@media (max-width: 768px) {
    .comment-item {
        padding: 10px;
    }

    .comment-item__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-item__footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .comment-item__controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .comment-item__reply {
        margin-bottom: 10px;
    }
}
/* Основной контейнер цитаты */
.quote_block {
    border-left: 4px solid #007bff;
    background-color: #f9f9f9;
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Заголовок цитаты (кто и когда написал) */
.title_quote {
    font-size: 14px;
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
    display: block;
}

/* Текст цитаты */
.quote_body {
    font-size: 14px;
    color: #333;
}

.quote_body p {
    margin: 5px 0;
}

/* Ссылки на пользователя внутри цитаты */
.quote_body .comments-user-profile {
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
}

.quote_body .comments-user-profile:hover {
    text-decoration: underline;
}

/* Дополнительные стили для мобильных устройств */
@media (max-width: 768px) {
    .quote_block {
        padding: 8px 10px;
    }

    .title_quote {
        font-size: 13px;
    }

    .quote_body {
        font-size: 13px;
    }
}
