/**
 * NovaCore Comments
 *
 * @package NovaCore
 */

.nc-comments {
	margin-top: 64px;
	padding: 36px 0 72px;
}

.nc-comments__inner {
	max-width: 820px;
	margin: 0 auto;
	padding: 36px;

	background: #ffffff;
	border: 1px solid rgba(15, 23, 42, 0.07);
	border-radius: 24px;

	box-shadow:
		0 18px 50px rgba(15, 23, 42, 0.07);
}


/* --------------------------------------------------------------
   Header
-------------------------------------------------------------- */

.nc-comments__header {
	margin-bottom: 30px;
}

.nc-comments__title {
	margin: 0;

	font-size: 28px;
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -0.025em;

	color: var(--nc-text, #0f172a);
}


/* --------------------------------------------------------------
   Comment List
-------------------------------------------------------------- */

.nc-comments__list {
	margin: 0;
	padding: 0;

	list-style: none;
}

.nc-comments__list .comment {
	margin: 0;
	padding: 24px 0;

	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.nc-comments__list .comment:last-child {
	border-bottom: 0;
}


/* --------------------------------------------------------------
   Comment Author
-------------------------------------------------------------- */

.nc-comments .comment-author {
	display: flex;
	align-items: center;
	gap: 12px;

	margin-bottom: 12px;
}

.nc-comments .comment-author img {
	width: 44px;
	height: 44px;

	border-radius: 50%;

	object-fit: cover;
}

.nc-comments .comment-author .fn {
	font-size: 15px;
	font-weight: 700;
	color: var(--nc-text, #0f172a);
}

.nc-comments .comment-author .says {
	display: none;
}


/* --------------------------------------------------------------
   Comment Meta
-------------------------------------------------------------- */

.nc-comments .comment-metadata {
	margin-bottom: 12px;
}

.nc-comments .comment-metadata a {
	font-size: 12px;
	color: var(--nc-muted, #64748b);
	text-decoration: none;
}


/* --------------------------------------------------------------
   Comment Body
-------------------------------------------------------------- */

.nc-comments .comment-content {
	font-size: 15px;
	line-height: 1.7;
	color: #475569;
}

.nc-comments .comment-content p {
	margin: 0 0 10px;
}

.nc-comments .comment-content p:last-child {
	margin-bottom: 0;
}


/* --------------------------------------------------------------
   Reply
-------------------------------------------------------------- */

.nc-comments .reply {
	margin-top: 12px;
}

.nc-comments .comment-reply-link {
	font-size: 13px;
	font-weight: 700;

	color: var(--nc-primary, #2563eb);
	text-decoration: none;
}

.nc-comments .comment-reply-link:hover {
	text-decoration: underline;
}


/* --------------------------------------------------------------
   Reply Form
-------------------------------------------------------------- */

.nc-comments__reply-title {
	margin: 36px 0 22px;

	font-size: 22px;
	font-weight: 750;

	color: var(--nc-text, #0f172a);
}

.nc-comment-form {
	margin-top: 32px;
}

.nc-comment-form label {
	display: block;

	margin-bottom: 8px;

	font-size: 14px;
	font-weight: 650;

	color: var(--nc-text, #0f172a);
}

.nc-comment-form textarea,
.nc-comment-form input[type="text"],
.nc-comment-form input[type="email"],
.nc-comment-form input[type="url"] {
	width: 100%;

	padding: 13px 15px;

	border: 1px solid #dbe3ef;
	border-radius: 12px;

	background: #f8fafc;
	color: var(--nc-text, #0f172a);

	font-size: 15px;

	transition:
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		background-color 0.2s ease;
}

.nc-comment-form textarea {
	min-height: 150px;
	resize: vertical;
}

.nc-comment-form textarea:focus,
.nc-comment-form input:focus {
	outline: none;

	background: #ffffff;
	border-color: var(--nc-primary, #2563eb);

	box-shadow:
		0 0 0 3px rgba(37, 99, 235, 0.10);
}

.nc-comment-form .form-submit {
	margin: 20px 0 0;
}

.nc-comment-form .submit {
	padding: 12px 22px;

	border: 0;
	border-radius: 12px;

	background: var(--nc-primary, #2563eb);
	color: #ffffff;

	font-size: 14px;
	font-weight: 700;

	cursor: pointer;

	transition:
		background-color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}

.nc-comment-form .submit:hover {
	background: #1d4ed8;

	transform: translateY(-1px);

	box-shadow:
		0 8px 20px rgba(37, 99, 235, 0.20);
}


/* --------------------------------------------------------------
   Mobile
-------------------------------------------------------------- */

@media (max-width: 640px) {

	.nc-comments {
		margin-top: 42px;
		padding-bottom: 48px;
	}

	.nc-comments__inner {
		padding: 24px 20px;
		border-radius: 18px;
	}

	.nc-comments__title {
		font-size: 24px;
	}

	.nc-comments__reply-title {
		font-size: 20px;
	}

}