/* Optional custom portal header. The body class is only assigned on the portal route. */
body.forumportal-hide-standard-header #page-header .headerbar {
	display: none;
}

.forumportal-custom-header {
	position: relative;
	display: flex;
	align-items: flex-end;
	margin: 6px 0 18px;
	overflow: hidden;
	border: 1px solid #d6d9dd;
	border-radius: 0;
	background: #17212a;
	box-sizing: border-box;
}

.forumportal-custom-header--standalone {
	margin-top: 10px;
}

.forumportal-custom-header__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.forumportal-custom-header__overlay {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: 28px 32px;
	background: linear-gradient(90deg, rgba(12, 22, 32, 0.76), rgba(12, 22, 32, 0.24), rgba(12, 22, 32, 0));
	color: #fff;
	box-sizing: border-box;
}

.forumportal-custom-header__title {
	max-width: 760px;
	margin: 0;
	color: #fff;
	font-size: 2.3em;
	line-height: 1.05;
	font-weight: 700;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.forumportal-custom-header__subtitle {
	max-width: 680px;
	margin: 8px 0 0;
	color: #eef3f7;
	font-size: 1.05em;
	line-height: 1.35;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.forumportal-page--font-portal .forumportal-custom-header__title {
	font-family: Georgia, "Times New Roman", serif;
}
