/* =========================================================================
   Comments
   ========================================================================= */

.comments-section {
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--c-border-light);
}

.comments-title {
	font-family: var(--f-display);
	font-size: 22px;
	font-weight: 600;
	margin-bottom: 24px;
}

.comment-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 48px;
}

.comment {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.comment-avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	flex-shrink: 0;
	background: var(--c-surface-raised);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--f-display);
	font-weight: 600;
	font-size: 16px;
	color: var(--c-text-tertiary);
}

.comment-body {
	flex: 1;
}

.comment-header {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin-bottom: 4px;
}

.comment-author {
	font-weight: 600;
	font-size: 15px;
}

.comment-date {
	font-family: var(--f-mono);
	font-size: 12px;
	color: var(--c-text-tertiary);
}

.comment-text {
	font-size: 15px;
	color: var(--c-text-secondary);
	line-height: 1.6;
}

.comment-text p {
	margin-bottom: 8px;
}

.comment-text p:last-child {
	margin-bottom: 0;
}

.comment-reply-link,
.reply a {
	font-size: 13px;
	font-weight: 600;
	color: var(--c-text-tertiary);
	margin-top: 6px;
	display: inline-block;
}

.comment-reply-link:hover,
.reply a:hover {
	color: var(--c-primary);
}

.comment-respond {
	margin-top: 24px;
}

.comment-respond-title {
	font-family: var(--f-display);
	font-size: 18px;
	font-weight: 600;
	margin-bottom: 24px;
}

.comment-notes {
	font-size: 14px;
	color: var(--c-text-tertiary);
	margin-bottom: 24px;
}

/* WP comment form fields */
.comment-form-fields-wrap .comment-form-comment,
.comment-form-fields-wrap .comment-form-author,
.comment-form-fields-wrap .comment-form-email,
.comment-form-fields-wrap .comment-form-url {
	margin-bottom: 16px;
}

.comment-form-fields-wrap label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	color: var(--c-text);
	margin-bottom: 4px;
}

.comment-form-fields-wrap .required {
	color: var(--c-primary-brand);
}

.comment-form-fields-wrap input[type="text"],
.comment-form-fields-wrap input[type="email"],
.comment-form-fields-wrap input[type="url"],
.comment-form-fields-wrap textarea {
	font-family: var(--f-body);
	font-size: 15px;
	color: var(--c-text);
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 10px 14px;
	transition: border-color 0.15s, box-shadow 0.15s;
	width: 100%;
}

.comment-form-fields-wrap input:focus,
.comment-form-fields-wrap textarea:focus {
	outline: none;
	border-color: var(--c-primary-brand);
	box-shadow: 0 0 0 3px var(--c-primary-light);
}

.comment-form-fields-wrap textarea {
	min-height: 140px;
	resize: vertical;
	line-height: 1.6;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 16px 0 24px;
}

.comment-form-cookies-consent input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin-top: 2px;
	flex-shrink: 0;
	accent-color: var(--c-primary-brand);
}

.comment-form-cookies-consent label {
	font-size: 14px;
	color: var(--c-text-secondary);
	line-height: 1.4;
}

.comment-submit,
.form-submit .submit {
	font-family: var(--f-body);
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: var(--c-primary-brand);
	border: none;
	padding: 10px 24px;
	border-radius: 6px;
	cursor: pointer;
	transition: background 0.15s;
}

.comment-submit:hover,
.form-submit .submit:hover {
	background: var(--c-accent-hover);
}

.comment-submit:focus-visible,
.form-submit .submit:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 2px;
}

