/* Help Center archive and category pages (moved out of an inline style block).
   The header panel itself (title, subtitle, awning) is styled by
   archive-header.css; this file keeps the page layout and article list. */
.esm-kb-archive {
	max-width: 52em;
	margin: 0 auto;
	padding: 2em 1em 4em;
}

.esm-kb-search-form {
	display: flex;
	gap: 0.5em;
	max-width: 30em;
	margin: 0;
}

.esm-kb-search-input {
	flex: 1 1 auto;
	padding: 0.6em 0.875em;
	font-size: 1em;
	border: 0.0625em solid #ccc;
	border-radius: 0.25em;
}

.esm-kb-search-submit {
	padding: 0.6em 1.25em;
	background: #3C3B6E;
	color: #fff;
	border: none;
	border-radius: 0.25em;
	font-size: 1em;
	cursor: pointer;

	&:hover {
		background: #6d6bc8;
	}
}

.esm-kb-search-context {
	text-align: center;
	margin-bottom: 2em;
	color: #555;
}

.esm-kb-no-results {
	text-align: center;
	padding: 3em 0;
	color: #777;
}

.esm-kb-groups {
	display: grid;
	gap: 2.5em;
}

.esm-kb-group-title {
	font-size: 1.25em;
	font-weight: 700;
	color: #3C3B6E;
	margin: 0 0 1em;
	padding-bottom: 0.5em;
	border-bottom: 0.125em solid #3C3B6E;
}

.esm-kb-article-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1em;
}

.esm-kb-article-link {
	font-size: 1.0625em;
	font-weight: 600;
	color: #3C3B6E;
	text-decoration: none;

	&:hover {
		color: #6d6bc8;
		text-decoration: underline;
	}
}

.esm-kb-article-excerpt {
	font-size: 0.9375em;
	color: #666;
	margin: 0.25em 0 0;
}

@media (max-width: 48em) {
	.esm-kb-search-form {
		flex-direction: column;
	}
	.esm-kb-search-submit {
		width: 100%;
	}
}
