.comment-list-wrap {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
    box-sizing: border-box;
    max-width: 100%;
    overflow-x: hidden;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.comment-list li {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 15px;
    padding-bottom: 15px;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.comment-body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    word-break: break-word;
}

.comment-author {
    font-weight: 600;
    color: #333;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.comment-author img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-content {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin-top: 4px;
    word-break: break-word;
    width: 100%;
}

.reply-btn {
    display: inline-block;
    font-size: 13px;
    color: #007bff;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s;
    margin-top: 5px;
}

.reply-btn:hover {
    text-decoration: underline;
    color: #0056b3;
}

.comment-list .children {
    margin-left: 40px;
    padding-left: 15px;
    border-left: 2px dashed #ddd;
    box-sizing: border-box;
}

.custom-comment-form {
    margin-top: 30px;
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
}

.custom-comment-form textarea {
    width: 100%;
    height: 100px;
    padding: 10px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    resize: vertical;
    box-sizing: border-box;
}

.custom-comment-form button {
    margin-top: 10px;
    padding: 10px 25px;
    background-color: #007bff;
    border: none;
    color: white;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.custom-comment-form button:hover {
    background-color: #0056b3;
}
