/**
 * TuServerMu - artwork banner behind the page title box
 * (slogan + "Unread Posts" / "Updated Topics"). Owner request 2026-12-02.
 * Picture: Grok (floating sky citadel, no characters - the angel knight and the
 * elf archer are already in the page background), cropped to a 1792x660 strip.
 * Loaded after tsmu-header.css. The box is #header > .p-title.tsmu-banner
 * in index.template.php. Text and buttons sit on the calm blue sky on the left,
 * so the citadel on the right stays visible.
 */

#header .p-title.tsmu-banner {
	min-height: 270px;
	padding: 30px 34px;
	flex-direction: column;
	flex-wrap: nowrap;
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 12px;
	background-color: #2f62b3;
	background-image: url(../images/tsmu-banner/header-banner-v2-1800.jpg);
	background-image: image-set(url(../images/tsmu-banner/header-banner-v2-1800.webp) type("image/webp"), url(../images/tsmu-banner/header-banner-v2-1800.jpg) type("image/jpeg"));
	background-size: cover;
	background-position: center 38%;
	background-repeat: no-repeat;
	box-shadow: 0 16px 38px rgba(15, 35, 67, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Left accent bar stays, a little brighter on the picture. */
#header .p-title.tsmu-banner::before {
	z-index: 1;
	width: 5px;
	background: linear-gradient(180deg, #38b6ff 0%, #ffb02e 100%);
}

/* Light shade on the left only, so the white text reads well
   (replaces the small blue glow circle of the plain box). */
#header .p-title.tsmu-banner::after {
	inset: 0;
	top: 0;
	right: 0;
	width: auto;
	height: auto;
	border-radius: 0;
	background: linear-gradient(90deg, rgba(6, 22, 48, 0.5) 0%, rgba(6, 22, 48, 0.28) 32%, rgba(6, 22, 48, 0) 52%);
}

#header .p-title.tsmu-banner .tsmu-site-slogan {
	z-index: 2;
	gap: 16px;
	margin-right: 0;
}

#header .p-title.tsmu-banner .tsmu-site-slogan__icon {
	width: 58px;
	height: 58px;
	flex-basis: 58px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	font-size: 22px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

#header .p-title.tsmu-banner .tsmu-site-slogan__copy {
	gap: 6px;
}

#header .p-title.tsmu-banner .tsmu-site-slogan__copy strong {
	color: #ffffff;
	font-size: 34px;
	line-height: 1.1;
	text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5), 0 0 24px rgba(6, 22, 48, 0.55);
}

#header .p-title.tsmu-banner .tsmu-site-slogan__copy span {
	color: #eaf3ff;
	font-size: 15px;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}

/* Buttons under the title (left), not on the citadel. */
#header .p-title.tsmu-banner .p-title-pageAction {
	z-index: 2;
	margin-left: 74px;
	flex-wrap: wrap;
	gap: 10px;
}

#header .p-title.tsmu-banner .p-title-pageAction a.button {
	min-height: 42px;
	padding: 0 20px;
	font-size: 14px;
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
	#header .p-title.tsmu-banner {
		min-height: 180px;
		padding: 20px 18px;
		justify-content: flex-end;
		background-image: url(../images/tsmu-banner/header-banner-v2-1800.jpg);
		background-image: image-set(url(../images/tsmu-banner/header-banner-v2-960.webp) type("image/webp"), url(../images/tsmu-banner/header-banner-v2-1800.jpg) type("image/jpeg"));
		background-position: 70% 40%;
	}

	#header .p-title.tsmu-banner::after {
		background: linear-gradient(0deg, rgba(6, 22, 48, 0.55) 0%, rgba(6, 22, 48, 0.12) 55%, rgba(6, 22, 48, 0) 100%);
	}

	#header .p-title.tsmu-banner .tsmu-site-slogan__copy strong {
		font-size: 24px;
	}

	#header .p-title.tsmu-banner .tsmu-site-slogan__copy span {
		font-size: 13px;
	}

	#header .p-title.tsmu-banner .tsmu-site-slogan__icon {
		width: 46px;
		height: 46px;
		flex-basis: 46px;
		font-size: 18px;
	}

	#header .p-title.tsmu-banner .p-title-pageAction {
		margin-left: 0;
		width: auto;
	}

	#header .p-title.tsmu-banner .p-title-pageAction a.button {
		min-height: 38px;
		padding: 0 14px;
		font-size: 13px;
	}
}
