.comments {
    box-sizing: border-box;
    background: #fff;
    color: #1c1e21;
    margin: 40px 0;
    font-size: 13px;
}
.comments a{
    text-decoration: none !important;
    border-bottom: 0;
}

.comments, .comments * {
    font-family: inherit;

}

.comments-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.comments-title span {
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #E31E24;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 14px;
    padding: 4px 8px;
}

.top-bar-comment {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0 5px 0;
    font-size: 14px;
    font-weight: 700;
}

.text-before-button {
    font-weight: 300;
    font-size: 14px;
    color: #666;
}

.comment-button {
    font-family: inherit;
    font-size: 14px;
    color: #1a1a1a;
    padding: 6px 10px 6px 10px;
    background: #fff ;
    -webkit-appearance: none;
    cursor: pointer;
    position: relative;
}
.comment-button svg{
    margin-left: 20px;
}

.login-box {
    margin: 15px 0;
}
.login-header{
    margin-bottom: 14px;
}
.login-header p{
    font-size: 16px;
    color: #1a1a1a;
    padding-bottom: 16px;
    border-bottom: 1px solid #DCDCE0;
}
.login-header p a{
    color: #0066cc;
    text-decoration: underline;
    font-weight: 700;
}
.login-avatar {
    flex-shrink: 0;
}

.login-avatar img {
    width: 46px;
    height: 46px;
    margin: 0;
    display: block;
}

.login-input-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    gap: 16px;
}

.login-input-container input {
    width: 100%;
    min-height: 80px;
    box-sizing: border-box; /* ВАЖНО */
    padding: 12px 14px;
    border:  1px solid #e0e0e0;
    font-size: 14px;
    background: #fff;
}

.login-button {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 6px;
    background: #E31E24;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: auto;
}

.login-button button {

    color: white;
    font-weight: bold;
    font-size: 14px;

}

.comment {
    margin-top: 20px;
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #eee;
}
#comments-list{
}
.comment a.avatar-link img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0;
}
.avatar-link{
    text-decoration: none;
    border-bottom: none;
}
.avatar-initials {
    width: 46px;
    height: 46px;


    color: #fff;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.comment-content {
    flex: 1;
    margin-bottom: 8px;
}
.comment-head{
    display: flex;
    gap: 12px;
    align-items: center;
}
.comment-name {
    font-weight: bold;
    color: #1a1a1a;
    font-size: 14px;
    margin-bottom: 5px;
}

.comment-name a {
    color: #1a1a1a;
}

.comment-body {
    font-size: 14px;
    margin: 2px 0 10px 0;
    line-height: 1.4;
    color: #333;
}

.comment-body img {
    width: 100%;
}

.comment-meta {
    font-size: 12px;
    color: #90949c;
    margin-top: 2px;
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: flex-end;
}

.comment-meta a {
    margin-right: 10px;
    color: #4267b2;
    font-weight: 700;
    text-decoration: none;
}

.comment-link-reply {
    color: #888!important;

}
.comment-link-reply img{
    width: 15px;
    margin-bottom: 0;
    display: block;
}

.comment-head .time {
    color: #999;
    margin-left: auto;
}

.reply {
}

.see-more {
    color: #365899;
    font-weight: bold;
    text-decoration: none;
    margin-left: 5px;
}

.comment.reply {
    margin-left: 24px;
}

.reply-count {
    font-size: 12px;

    color: #365899;
    font-weight: bold;
    margin-left: 58px;
    margin-top: 0;
    cursor: pointer;

    border-left: 1px dotted #d3d6db;
}

.reply-count .text {

    margin-left: 15px;
    background-color: #f6f7f9;
    padding: 10px 10px;
    height: auto;
}


.fb-footer {
    font-size: 11px;
    display: block;
    padding-top: 10px;
    border-top: 1px solid #e9ebee;
    color: #365899;
    cursor: pointer;
    font-weight: 700;
}

@media (max-width: 768px) {
    .comments {
        margin-block: 10px;
    }

    .comments-title {
        font-size: 24px;
    }

    .top-bar-comment {
        padding-top: 25px;
        padding-bottom: 15px;
    }

    .login-avatar {
        padding: 0 10px;
    }
}

.amount {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}
.amount img{
    width: 15px;
    border-radius: 0;
    margin: 0;
}
.commentPub{

}
.comReply{
    margin-right: auto !important;
    color: #000!important;
}