/* Help site styles. Bootstrap 5.3.2 supplies the base look and light/dark. */

body.help-body {
	padding: 1rem;
}

.help-layout {
	display: grid;
	grid-template-columns: 14rem minmax(0, 1fr);
	gap: 2rem;
	align-items: start;
}

.help-sidebar-list .nav-link {
	padding: 0.25rem 0.5rem;
	border-radius: 6px;
}

.help-sidebar-list .nav-link.active {
	background-color: var(--bs-primary-bg-subtle);
	color: var(--bs-primary-text-emphasis);
}

.help-sidebar-section {
	margin-top: 0.75rem;
	padding: 0 0.5rem;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	color: var(--bs-secondary-color);
}

.help-content {
	max-width: 48rem;
}

.help-content img {
	max-width: 100%;
	height: auto;
	border: 1px solid var(--bs-border-color);
	border-radius: 8px;
}

.help-support {
	margin-top: 2.5rem;
	padding-top: 1rem;
	border-top: 1px solid var(--bs-border-color);
	color: var(--bs-secondary-color);
}

.help-reviewed {
	font-size: 0.85rem;
	color: var(--bs-secondary-color);
}

#help-search-results {
	margin-top: 0.75rem;
}

.help-sidebar-toggle {
	display: none;
}

@media (max-width: 767.98px) {
	.help-sidebar-toggle {
		display: block;
		width: 100%;
		text-align: left;
	}

	.help-layout > aside.help-sidebar-collapsed nav {
		display: none;
	}

	body.help-body {
		padding: 0.75rem;
	}

	.help-layout {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
}

.help-figure {
	margin: 1rem 0 1.5rem;
}

.help-figure figcaption {
	margin-top: 0.4rem;
	font-size: 0.85rem;
	color: var(--bs-secondary-color);
}
