/* Comments */

.rv-comments-area {
	max-width: 42rem;
	margin-inline: auto;
	padding-top: 2rem;
	border-top: 1px solid var(--wp--preset--color--rule);
}

.rv-comments .wp-block-comments-title,
.rv-comments .comment-reply-title {
	font-family: var(--wp--preset--font-family--serif-display);
	font-size: 1.5rem;
	font-weight: 400;
	margin-bottom: 1.5rem;
}

.rv-comment {
	list-style: none;
	margin: 0 0 1.5rem;
	padding: 0;
}

.rv-comment__body {
	border-bottom: 1px solid var(--wp--preset--color--rule);
	padding-bottom: 1.25rem;
}

.rv-comment__header {
	display: flex;
	gap: 0.75rem;
	align-items: center;
	margin-bottom: 0.75rem;
}

.rv-comment__avatar {
	border-radius: 0;
}

.rv-comment__author {
	font-family: var(--wp--preset--font-family--sans-ui);
	font-style: normal;
	font-weight: 600;
	font-size: 0.875rem;
}

.rv-comment__author a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.rv-comment__date {
	display: block;
	font-family: var(--wp--preset--font-family--sans-ui);
	font-size: 0.75rem;
	color: var(--wp--preset--color--ink-muted);
}

.rv-comment__content {
	font-size: 1rem;
	line-height: 1.65;
}

.rv-comment__content p {
	margin-top: 0;
}

.rv-comment__awaiting {
	font-family: var(--wp--preset--font-family--sans-ui);
	font-size: 0.8125rem;
	color: var(--wp--preset--color--accent);
}

.rv-comment__footer a {
	font-family: var(--wp--preset--font-family--sans-ui);
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-decoration: none;
}

.rv-comment-form label {
	font-family: var(--wp--preset--font-family--sans-ui);
	font-size: 0.8125rem;
}

.rv-comment-form textarea,
.rv-comment-form input[type="text"],
.rv-comment-form input[type="email"],
.rv-comment-form input[type="url"] {
	width: 100%;
	border: 1px solid var(--wp--preset--color--rule);
	background: transparent;
	padding: 0.65rem 0.85rem;
	font-family: var(--wp--preset--font-family--serif-body);
	font-size: 1rem;
}

.rv-comment-form__submit,
.rv-comment-form input[type="submit"] {
	border: 0;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--paper);
	padding: 0.65rem 1.25rem;
	font-family: var(--wp--preset--font-family--sans-ui);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	cursor: pointer;
}

.rv-comment-form__submit:hover,
.rv-comment-form input[type="submit"]:hover {
	background: var(--wp--preset--color--accent);
}

.children {
	margin-left: 1.5rem;
	padding-left: 1rem;
	border-left: 1px solid var(--wp--preset--color--rule);
}

@media (min-width: 782px) {
	.children {
		margin-left: 2.5rem;
	}
}
