/**
 * Regular pages, 404, search results and article comments.
 *
 * The prototype has no legal-page or comment design, so these follow the article
 * treatment: narrow measure, the shared .ta-prose typography, and the same panel
 * and form primitives used everywhere else.
 */

.ta-page {
	background: var(--ta-surface-soft);
}

.ta-page__body {
	padding-block: 34px 80px;
}

.ta-page .ta-prose {
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--ta-border);
	border-radius: var(--ta-radius-panel);
	background: var(--ta-surface);
}

/* -- 404 ----------------------------------------------------------------- */

.ta-notice__code {
	display: block;
	color: var(--ta-brand);
	font-family: var(--ta-font-heading);
	font-size: clamp(56px, 9vw, 96px);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
}

/* -- Search field on the results page ------------------------------------ */

.ta-search--page {
	max-width: 420px;
	margin-top: 20px;
}

/* -- Comments ------------------------------------------------------------ */

.ta-comments {
	margin-top: 44px;
	padding-top: 34px;
	border-top: 1px solid var(--ta-border);
}

.ta-comments__title {
	font-size: 20px;
	font-weight: 600;
}

.ta-comments__list {
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.ta-comments__list ol.children {
	margin: 18px 0 0 26px;
	padding: 0;
	list-style: none;
}

.ta-comments__list .comment-body {
	padding: 20px;
	border: 1px solid var(--ta-border);
	border-radius: var(--ta-radius-card);
	background: var(--ta-surface);
}

.ta-comments__list .comment + .comment,
.ta-comments__list .comment-body + .comment-body {
	margin-top: 14px;
}

.ta-comments__list .comment {
	margin-top: 14px;
}

.ta-comments__list .comment:first-child {
	margin-top: 0;
}

.ta-comments__list .comment-author {
	display: flex;
	align-items: center;
	gap: 11px;
	font-size: 13.5px;
	font-weight: 600;
}

.ta-comments__list .comment-author img {
	width: 36px;
	height: 36px;
	border-radius: 50%;
}

.ta-comments__list .comment-meta,
.ta-comments__list .comment-metadata {
	margin-top: 6px;
	color: var(--ta-text-meta);
	font-size: 12px;
}

.ta-comments__list .comment-content {
	margin-top: 12px;
	color: var(--ta-text-secondary);
	font-size: 14.5px;
	line-height: 1.7;
}

.ta-comments__list .reply {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
}

.ta-comments__list .reply a {
	color: var(--ta-brand);
}

.ta-comments__closed {
	margin-top: 18px;
	color: var(--ta-text-meta);
	font-size: 13.5px;
}

.ta-comments .comment-respond {
	margin-top: 34px;
}

.ta-comments .comment-form input[type='text'],
.ta-comments .comment-form input[type='email'],
.ta-comments .comment-form input[type='url'],
.ta-comments .comment-form textarea {
	width: 100%;
	padding: 13px 14px;
	border: 1px solid var(--ta-border);
	border-radius: 10px;
	background: var(--ta-surface);
	color: var(--ta-text);
	font-family: inherit;
	font-size: 14.5px;
}

.ta-comments .comment-form label {
	display: block;
	margin-bottom: 7px;
	color: var(--ta-text-muted);
	font-size: 13px;
	font-weight: 500;
}

.ta-comments .comment-form p {
	margin-bottom: 14px;
}

.ta-comments .comment-notes,
.ta-comments .comment-form-cookies-consent {
	color: var(--ta-text-meta);
	font-size: 12.5px;
}
