/* ============================================================
   Page hero — shared full-bleed halftone banner.
   Rendered by template-parts/page-hero.php; used by the Library
   page and the Journal/Guides archive pages. ONE definition —
   the old .lib-hero / .arc-hero duplicates are consolidated here.
   Background image + position come inline from the partial args.
   ============================================================ */

.ms-hero {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	position: relative;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	background-color: #b9b3a6;
	padding: 60px 0;
	min-height: 336px;
	display: flex;
	align-items: center;
}
.ms-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(18,20,16,0.62) 0%, rgba(18,20,16,0.30) 55%, rgba(18,20,16,0.12) 100%);
}
.ms-hero__inner {
	position: relative;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}
.ms-hero__title {
	font-family: 'Young Serif', Georgia, serif;
	font-weight: 400;
	color: #fdfcf8;
	font-size: 40px;
	line-height: 1.1;
	margin: 0 0 14px 0;
	text-shadow: 0 1px 12px rgba(0,0,0,0.25);
	text-transform: uppercase;
	letter-spacing: 0.5px;
}
.ms-hero__subtitle {
	font-family: 'Young Serif', Georgia, serif;
	font-weight: 400;
	color: rgba(253,252,248,0.94);
	font-size: 20px;
	line-height: 1.45;
	margin: 0;
	max-width: 880px;
	/* Balance the wrap: without this, each page's subtitle broke at
	   whatever word fell nearest the cap, so line lengths looked
	   mismatched between pages (orphaned last words, ragged rags).
	   text-wrap: balance evens the lines out; older browsers just
	   fall back to a normal wrap. */
	text-wrap: balance;
	text-shadow: 0 1px 10px rgba(0,0,0,0.30);
}

@media (max-width: 560px) {
	.ms-hero__title { font-size: 28px; }
}
