/* Component: typography — headings (section / module / page titles). Article text: prose.css. */

.hg-heading {
	margin: 0;
	font-weight: var(--hg-fw-bold);
}

/* Section (category) and module titles: brown, gold rule, trees on the right. */
.hg-heading--section,
.hg-heading--module {
	position: relative;
	font-size: var(--hg-fs-md);
	color: var(--hg-brown);
	border-bottom: 2px solid var(--hg-border-accent);
}

.hg-heading--section::after,
.hg-heading--module::after {
	content: url("../../img/trees.svg");
	position: absolute;
	top: -22px;
	right: 0;
}

.hg-heading--section {
	margin: 0 -8px 8px;
	padding-top: 30px;
	line-height: var(--hg-lh-heading);
}

.hg-heading--section::after {
	top: 22px;
}

.hg-heading--module {
	margin: 0 0 10px;
	line-height: var(--hg-lh-base);
}

/* Plain page title (about, contact). */
.hg-heading--page {
	font-size: var(--hg-fs-base);
	line-height: var(--hg-lh-heading);
	color: var(--hg-text-heading);
}
