/* Comments */

.nsi-single-post__comments,
.nsi-single-recipe__comments {
	padding: 4rem 0;
	background-color: transparent;
}

.comments-area {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
	padding: 1.5rem;
	background-color: #fff;
	border: 1px solid #dfe5ec;
	border-radius: 1.5rem;
}

/* Titles */

.comments-area .comments-title,
.comments-area .comment-reply-title {
	margin-bottom: 1.5rem;
	color: #1e4488;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
}

/* Existing Comments */

.comments-area .comment-list {
	margin: 0 0 3rem;
	padding: 0;
	list-style: none;
}

.comments-area .comment-list .children {
	margin-top: 1rem;
	margin-left: 2rem;
	padding-left: 0;
	list-style: none;
}

.comments-area .comment-body {
	position: relative;
	margin-bottom: 1rem;
	padding: 1.5rem;
	background-color: #f7f9fc;
	border-radius: 1.25rem;
}

.comments-area .comment-meta {
	margin-bottom: 1rem;
}

.comments-area .comment-author {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	margin-bottom: 0.3rem;
}

.comments-area .comment-author .avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.comments-area .comment-author .fn {
	color: #1e4488;
	font-style: normal;
	font-weight: 700;
}

.comments-area .comment-metadata {
	margin-left: 3.25rem;
	font-size: 0.72rem;
}

.comments-area .comment-metadata a {
	color: #7a8390;
	text-decoration: none;
}

.comments-area .comment-content {
	color: #4f5965;
	font-size: 0.9rem;
	line-height: 1.65;
}

.comments-area .comment-content p:last-child {
	margin-bottom: 0;
}

.comments-area .reply {
	margin-top: 1rem;
}

.comments-area .comment-reply-link {
	display: inline-flex;
	align-items: center;
	padding: 0.35rem 0.75rem;
	background-color: #effaff;
	border-radius: 999px;
	color: #3070c7;
	font-size: 0.72rem;
	font-weight: 700;
	text-decoration: none;
}

.comments-area .comment-reply-link:hover,
.comments-area .comment-reply-link:focus {
	background-color: #3070c7;
	color: #fff;
	text-decoration: none;
}

/* Comment Form */

.comments-area .comment-respond {
	margin: 0;
	padding: 0;
}

.comments-area .comment-list + .comment-respond {
	margin-top: 2rem;
}

.comments-area .comment-notes,
.comments-area .logged-in-as {
	margin-bottom: 1.5rem;
	color: #8a94a1;
	font-size: 0.82rem;
	line-height: 1.5;
}

.comments-area .logged-in-as a {
	color: #3070c7;
	font-weight: 700;
	text-decoration: none;
}

.comments-area .logged-in-as a:hover,
.comments-area .logged-in-as a:focus {
	color: #1e4488;
	text-decoration: none;
}

/* Required Fields */

.comments-area .required-field-message {
	color: #a6aeb8;
	font-size: 0.8rem;
}

.comments-area .required {
	color: #a6aeb8;
}

/* Form */

.comments-area .comment-form p {
	margin-bottom: 1rem;
}

.comments-area .comment-form label {
	display: block;
	margin-bottom: 0.45rem;
	color: #1e4488;
	font-size: 0.82rem;
	font-weight: 700;
}

/* Fields */

.comments-area .comment-form input[type="text"],
.comments-area .comment-form input[type="email"],
.comments-area .comment-form input[type="url"],
.comments-area .comment-form textarea {
	display: block;
	width: 100%;
	padding: 0.85rem 1rem;
	background-color: #f7f9fc;
	border: 1px solid #dfe5ec;
	border-radius: 0.8rem;
	color: #1c1c1d;
	font: inherit;
	outline: none;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease;
}

.comments-area .comment-form textarea {
	min-height: 170px;
	resize: vertical;
}

.comments-area .comment-form input[type="text"]:focus,
.comments-area .comment-form input[type="email"]:focus,
.comments-area .comment-form input[type="url"]:focus,
.comments-area .comment-form textarea:focus {
	background-color: #fff;
	border-color: #3070c7;
	box-shadow: 0 0 0 3px rgba(48, 112, 199, 0.1);
}

/* Cookies */

.comments-area .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
}

.comments-area .comment-form-cookies-consent input {
	margin-top: 0.25rem;
}

.comments-area .comment-form-cookies-consent label {
	margin: 0;
	color: #8a94a1;
	font-size: 0.78rem;
	font-weight: 400;
	line-height: 1.45;
}

/* Submit */

.comments-area .form-submit {
	margin-top: 1.5rem;
	margin-bottom: 0;
}

.comments-area .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.7rem 1.5rem;
	background-color: #3db3e3 !important;
	border: 3px solid #3db3e3 !important;
	border-radius: 999px !important;
	color: #fff !important;
	font-size: 0.9rem;
	font-weight: 700 !important;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.2s ease,
		border-color 0.2s ease;
}

.comments-area .submit:hover,
.comments-area .submit:focus {
	background-color: #1fa3d8 !important;
	border-color: #1fa3d8 !important;
	color: #fff !important;
}

/* Responsive */

@media (max-width: 767.98px) {
	.nsi-single-post__comments,
	.nsi-single-recipe__comments {
		padding: 3rem 1rem;
	}

	.comments-area {
		padding: 1.25rem;
		border-radius: 1.25rem;
	}

	.comments-area .comment-list .children {
		margin-left: 1rem;
	}

	.comments-area .comment-body {
		padding: 1.25rem;
	}
}

@media (max-width: 575.98px) {
	.comments-area .comments-title,
	.comments-area .comment-reply-title {
		font-size: 1.5rem;
	}

	.comments-area .comment-list .children {
		margin-left: 0.5rem;
	}

	.comments-area .comment-metadata {
		margin-left: 0;
		margin-top: 0.5rem;
	}
}