/*
 * Comment area styles.
 * Only comment list, form and discussion UI adjustments belong here.
 */

#comments {
	max-width: 760px;
	margin: 40px auto 0;
	padding: 0 14px;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color: #1b2733;
}

#comments .comments-title {
	font-size: 1.6rem;
	font-weight: 800;
	text-align: left;
	color: #289dcc;
	margin: 0 0 24px;
	padding-bottom: 6px;
	border-bottom: 3px solid #e3f1f7;
	display: inline-block;
}

#comments .comments-title::before {
	content: "\1F4AC  ";
	font-size: 1.2em;
	vertical-align: middle;
}

#comments li.comment article.comment {
	position: relative;
	background: #fdfefe;
	border: 1px solid #e3f1f7;
	border-radius: 10px;
	padding: 10px 14px 12px;
	margin-bottom: 12px;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.02);
	transition: box-shadow 0.25s ease, border-color 0.25s ease;
	overflow: hidden;
}

#comments li.comment article.comment:hover {
	border-color: #c7e9f6;
	box-shadow: 0 6px 20px rgba(40, 157, 204, 0.08);
}

#comments .comment-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 6px;
}

#comments .comment-author img.avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid #d6edf5;
	object-fit: cover;
	transition: border-color 0.3s ease;
}

#comments li.comment article.comment:hover .comment-author img.avatar {
	border-color: #a8ddf1;
}

#comments .comment-author .fn a {
	font-weight: 600;
	color: #289dcc;
	font-size: 0.95em;
	text-decoration: none;
}

#comments .comment-author .fn a:hover {
	color: #1abc9c;
}

#comments .comment-content {
	line-height: 1.5;
	font-size: 14.5px;
	color: #24323d;
	margin-top: 2px;
	text-align: left;
}

#comments .comment-content p {
	margin: 0 0 5px 0;
}

#comments .comment-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 6px;
	font-size: 0.82em;
	color: #607d8b;
}

#comments .comment-metadata {
	margin: 0;
}

#comments .comment-metadata a.comment-permalink {
	display: none !important;
}

#comments .comment-reply-link {
	display: inline-block;
	margin-top: 8px;
	background: #289dcc;
	color: #fff;
	font-weight: 600;
	font-size: 12.5px;
	border-radius: 6px;
	padding: 4px 9px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.15s ease;
}

#comments .comment-reply-link:hover {
	background: #1abc9c;
	transform: translateY(-1px);
}

#respond {
	margin-top: 22px;
	padding: 16px 18px;
	background: #fff7fa;
	border-radius: 10px;
	border: 1px solid #f1cfe0;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

#respond h3.comment-reply-title {
	color: #d86e9a;
	font-weight: 800;
	margin: 0 0 8px;
	font-size: 1.15rem;
}

#respond .logged-in-as {
	display: none !important;
}

#respond textarea {
	width: 100%;
	border-radius: 8px;
	border: 1px solid #f0c6da;
	padding: 7px;
	font-size: 14px;
	line-height: 1.4;
	resize: vertical;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#respond textarea:focus {
	border-color: #d86e9a;
	box-shadow: 0 0 0 3px rgba(216, 110, 154, 0.2);
	outline: none;
}

#respond .form-submit input[type="submit"] {
	background: #d86e9a;
	color: #fff;
	border: none;
	border-radius: 8px;
	padding: 6px 14px;
	font-weight: 600;
	font-size: 13.5px;
	cursor: pointer;
	transition: background 0.2s ease, transform 0.15s ease;
}

#respond .form-submit input[type="submit"]:hover {
	background: #e57aaa;
	transform: translateY(-1px);
}
