.lf-comments,
.lf-template-comments {
	padding: 20px 36px 24px;
}

.lf-comments-title,
.lf-comments > h3,
.lf-template-comments > h3,
.comment-reply-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 18px;
	padding: 0 2px 10px;
	background: none;
	border-bottom: 2px solid rgba(46, 125, 50, 0.16);
	border-radius: 0;
	color: #243028;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.4;
}

.comment_list,
.comment_list ol {
	list-style: none;
	margin: 0;
	padding: 0;
}

.comment_list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.comment_list li {
	border: 0;
	margin: 0;
	padding: 0;
}

.lf-comment-card {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 14px 16px 10px;
	background: #f8fbf9;
	border: 1px solid rgba(36, 48, 40, 0.08);
	border-radius: 16px;
}

.bypostauthor > .lf-comment-card {
	background: linear-gradient(180deg, #f3faf4 0%, #ffffff 72%);
	border-color: rgba(46, 125, 50, 0.28);
}

.comment_list .avatar {
	float: none;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	margin: 2px 0 0;
	border-radius: 50%;
	overflow: hidden;
	box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(46, 125, 50, 0.28);
}

.comment_list .avatar img,
.comment_list img.avatar {
	display: block;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.lf-comment-card > .comment {
	flex: 1;
	min-width: 0;
	overflow: visible;
	padding: 0;
}

.comment_meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-bottom: 4px;
	overflow: visible;
}

.comment_meta cite,
.comment_meta cite a {
	font-style: normal;
	font-weight: 700;
	font-size: 15px;
	color: #1b3a24;
	text-decoration: none;
}

.comment_meta cite a:hover {
	color: #2e7d32;
}

.bypostauthor > .lf-comment-card .comment_meta cite::after {
	content: "作者";
	display: inline-block;
	margin-left: 8px;
	padding: 0 7px;
	border-radius: 999px;
	background: #2e7d32;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	line-height: 18px;
	vertical-align: 1px;
}

.comment_meta .time {
	padding: 0;
	color: #8a948c;
	font-size: 12px;
}

.comment_actions {
	display: flex;
	gap: 6px;
	margin-left: auto;
}

.comment_meta .reply,
.comment_meta .edit_link {
	float: none;
	margin: 0;
	padding: 0;
}

.comment_meta .reply a,
.comment_meta .edit_link a {
	display: inline-block;
	padding: 2px 10px;
	border-radius: 999px;
	background: rgba(46, 125, 50, 0.1);
	color: #2e7d32;
	font-size: 12px;
	line-height: 20px;
	text-decoration: none;
}

.comment_meta .reply a:hover,
.comment_meta .edit_link a:hover {
	background: #2e7d32;
	color: #fff;
}

.lf-comment-content p,
.comment_list .comment p {
	margin: 0 0 8px;
	padding: 0;
	color: #3d4a42;
	font-size: 14px;
	line-height: 1.75;
	text-indent: 0;
}

.lf-comment-pending {
	display: inline-block;
	margin-top: 2px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fff4e5;
	color: #b26a00;
	font-size: 12px;
}

.comment_list .children {
	margin: 10px 0 0 22px;
	padding: 0 0 0 14px;
	background: transparent;
	border: 0;
	border-left: 2px solid rgba(46, 125, 50, 0.22);
	border-radius: 0;
}

.comment_list .children li {
	padding: 0 0 10px;
}

.comment_nav {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 4px 0 18px;
}

.comment_nav a {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.85);
	color: #2e7d32;
}

.comment-respond {
	margin-top: 18px;
	padding: 16px 16px 8px;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(36, 48, 40, 0.08);
	border-radius: 16px;
}

.comment-respond form {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 14px;
}

.comment-respond p {
	clear: none;
	float: none;
	overflow: visible;
	margin: 0;
	text-indent: 0;
}

.comment-notes,
.logged-in-as,
.comment-form-comment,
.form-submit,
.comment-form-cookies-consent {
	flex: 1 1 100%;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
	flex: 1 1 200px;
}

.comment-respond label {
	display: block;
	padding: 0 0 6px;
	color: #4d5b53;
	font-size: 13px;
}

.comment-respond .required {
	color: #d32f2f;
}

.comment-respond .comment-notes,
.comment-respond .logged-in-as {
	color: #7b877f;
	font-size: 13px;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	float: none;
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 10px 12px;
	border: 1px solid #d7e0d9;
	border-radius: 10px;
	background: #fff;
	color: #243028;
	font-size: 14px;
	line-height: 1.6;
	outline: none;
	box-shadow: none;
}

.comment-respond textarea {
	min-height: 128px;
	resize: vertical;
}

.comment-respond input[type="text"]:focus,
.comment-respond input[type="email"]:focus,
.comment-respond input[type="url"]:focus,
.comment-respond textarea:focus {
	border-color: #43a047;
	box-shadow: 0 0 0 3px rgba(67, 160, 71, 0.16);
}

.comment-respond .form-submit {
	margin-top: 2px;
}

.comment-respond .submit {
	float: none;
	width: auto;
	padding: 8px 22px;
	border: 0;
	border-radius: 999px;
	background: #2e7d32;
	color: #fff;
	font-size: 14px;
	cursor: pointer;
}

.comment-respond .submit:hover {
	background: #1b5e20;
	color: #fff;
}

.comment-reply-title small,
.comment-reply-title small a {
	margin-left: 8px;
	font-size: 13px;
	font-weight: 500;
}

.comment-respond .form-allowed-tags {
	display: none;
}

.lf-template-comments p,
.comment-respond p {
	text-indent: 0;
}

@media (max-width: 767px) {
	.lf-comments,
	.lf-template-comments {
		padding: 12px;
	}

	.lf-comment-card {
		gap: 10px;
		padding: 12px;
	}

	.comment_list .children {
		margin-left: 8px;
		padding-left: 10px;
	}

	.comment_actions {
		margin-left: 0;
	}
}
