.section-comments {
	padding-top: 36px;
	padding-bottom: 36px;
}

.section-comments .container {
	display: grid;
	gap: 28px;
}

.comments-list {
	display: grid;
	gap: 14px;
}

.comment-row {
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 12px;
	padding: 16px 18px;
	box-shadow: 0 10px 24px rgba(21, 35, 52, 0.05);
}

.comment-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 10px;
}

.comment-nickname {
	color: #1f2933;
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
}

.comment-right {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	color: #6b7785;
	font-size: 13px;
	line-height: 1.2;
}

.comment-best {
	display: inline-flex;
	align-items: center;
	padding: 3px 9px;
	border-radius: 999px;
	background: #eef6ff;
	border: 1px solid rgba(44, 104, 177, 0.24);
	color: #2c68b1;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
}

.comment-time {
	white-space: nowrap;
}

.comment-text {
	color: #2f3944;
	font-size: 15px;
	line-height: 1.6;
	word-break: break-word;
}

.all_comments {
	margin-top: 14px;
}

.all_comments a {
	color: #2c68b1;
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid rgba(44, 104, 177, 0.35);
	transition: color 0.2s ease, border-color 0.2s ease;
}

.all_comments a:hover {
	color: #224f89;
	border-color: rgba(34, 79, 137, 0.6);
}

.comments-add {
	border: 1px solid #ece8dd;
	border-radius: 14px;
	padding: 18px;
	box-shadow: 0 12px 30px rgba(18, 26, 35, 0.06);
}

.comments-add-title {
	margin-bottom: 14px;
	color: #1f2933;
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
}

.comments-add-form {
	display: grid;
	gap: 14px;
}

.comments-field {
	display: grid;
	gap: 6px;
}

.comments-add-form input,
.comments-add-form textarea {
	width: 100%;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	padding: 10px 12px;
	background: #fff;
	color: #1f2933;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comments-add-form textarea {
	min-height: 140px;
	resize: vertical;
}

.comments-add-form input::placeholder,
.comments-add-form textarea::placeholder {
	color: #8a94a0;
}

.comments-add-form input:focus,
.comments-add-form textarea:focus {
	outline: none;
	border-color: #86a8c0;
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.12);
}

.comments-add-form input.error,
.comments-add-form textarea.error {
	border-color: #d93025 !important;
}

.comments-add-form .warning-text {
	color: #d93025;
	font-size: 12px;
	line-height: 1.25;
	min-height: 15px;
	padding-left: 2px;
}

.comments-add-button {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 2px;
}

.comments-captcha {
	position: relative;
  margin: 20px 0px;
}

.comments-captcha .captcha-warning-text {
	display: block;
	text-align: left;
  position: absolute;
  left: 0;
  bottom: -20px;
}

@media (max-width: 767px) {
	.section-comments {
		padding-top: 26px;
		padding-bottom: 26px;
	}

	.comment-row {
		padding: 14px;
	}

	.comment-title {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 8px;
	}

	.comments-add {
		padding: 14px;
		border-radius: 12px;
	}

	.comments-add-title {
		font-size: 20px;
	}

	.comments-add-button {
		justify-content: stretch;
	}

	.comments-btn,
	.comments-btn .button {
		width: 100%;
	}

	.comments-btn .button {
		display: inline-flex;
		justify-content: center;
	}
}
