.cms-article-comments {
    margin-top: 2rem;
    padding: 1.5rem 2rem 2rem;
    background: #ffffff;
    border-radius: 0 0 0.5rem 0.5rem;
    color: #111827;
}

.cms-article-comments__title {
    margin: 0 0 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #111827;
}

.cms-article-comments .comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cms-article-comments .comment-item {
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
}

.cms-article-comments .comment-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.cms-article-comments .comment-info {
    flex: 1;
    min-width: 0;
}

.cms-article-comments .comment-author {
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

.cms-article-comments .comment-author:hover {
    text-decoration: underline;
}

.cms-article-comments .comment-date {
    display: block;
    font-size: 0.8rem;
    color: #6b7280;
}

.cms-article-comments .comment-content {
    margin: 0;
    line-height: 1.5;
    color: #374151;
}

.cms-article-comments .comment-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.cms-article-comments .comment-reply-btn,
.cms-article-comments .comment-delete-btn {
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.cms-article-comments .comment-reply-btn:hover,
.cms-article-comments .comment-delete-btn:hover {
    color: #111827;
    background: #e5e7eb;
}

.cms-article-comments .comment-delete-form {
    margin-left: auto;
}

.cms-article-comments .comment-replies {
    margin-left: 2.5rem;
    margin-top: 0.75rem;
    padding-left: 0.75rem;
    border-left: 2px solid #e5e7eb;
}

.cms-article-comments .comment-form {
    margin-top: 1.25rem;
}

.cms-article-comments .comment-textarea,
.cms-article-comments .reply-textarea {
    width: 100%;
    min-height: 5rem;
    padding: 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    resize: vertical;
    font-family: inherit;
    background: #ffffff;
    color: #111827;
}

.cms-article-comments .comment-textarea:focus,
.cms-article-comments .reply-textarea:focus {
    outline: none;
    border-color: #9ca3af;
}

.cms-article-comments .comment-form-footer,
.cms-article-comments .comment-reply-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.cms-article-comments .comment-char-count,
.cms-article-comments .comment-reply-char-count {
    font-size: 0.75rem;
    color: #6b7280;
}

.cms-article-comments .comment-login-prompt {
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
    color: #374151;
}

.cms-article-comments .comments-empty {
    color: #6b7280;
    text-align: center;
    padding: 1.25rem;
}

.cms-article-comments .comment-reply-form {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: #ffffff;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
}

.cms-article-comments .comment-reply-submit-btn {
    padding: 0.375rem 0.75rem;
    background: #111827;
    border: none;
    border-radius: 0.25rem;
    color: #ffffff;
    font-size: 0.8rem;
    cursor: pointer;
}

.cms-article-comments .comment-reply-submit-btn:hover {
    background: #374151;
}

.cms-article-comments .comment-reply-cancel-btn {
    padding: 0.375rem 0.75rem;
    background: none;
    border: none;
    color: #6b7280;
    font-size: 0.8rem;
    cursor: pointer;
    margin-right: 0.5rem;
}

.cms-article-comments .mg2025-btn-primary {
    background: #111827 !important;
    color: #ffffff !important;
}

.cms-article-comments .mg2025-btn-primary:hover {
    background: #374151 !important;
}

@media (max-width: 767.98px) {
    .cms-article-comments {
        padding: 1rem;
        border-radius: 0;
    }

    .cms-article-comments .comment-replies {
        margin-left: 1rem;
    }
}
