/* =============================================================================
   HERO + SITE-BODY WRAPPER

   The hero scrolls with the page. It used to be position:fixed with the body
   offset 700px over it so it stayed pinned while the content slid across, but
   that treatment is off now: the hero is an ordinary block at the top of the
   flow, matching .cat-hero and .ind-hero, which were always in flow.

   The fixed header still floats over the hero's top 165px, which is how the
   design draws it — that needs no layout offset, only the hero being tall
   enough (700px) to sit behind it.

   Header height reference: 44px secondary + 16px + 89px + 16px = 165px.
   ============================================================================= */

/* ── CSS custom properties ──────────────────────────────────────────────────── */

:root {
	--hero-h: 700px;
	--header-h: 165px; /* 44 secondary + (16 + 89 + 16) primary — update if header changes */
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
	position: relative;
	height: var(--hero-h);
	z-index: 0;
	overflow: hidden;        /* contain child media */
}

/* ── Site body ────────────────────────────────────────────────────────────── */
/*
   .site-body wraps all content that follows the hero. It needs no offset when
   a hero precedes it — the hero occupies that space itself. Pages with no hero
   add .no-hero on <body> and offset by the fixed header instead.
*/

.site-body {
	position: relative;
	z-index: 1;
	background: #fff;
}

body.no-hero .site-body {
	margin-top: var(--header-h);
}

@media (max-width: 767px) {
	/* Mobile header is 93px (primary bar only, secondary hidden). */
	body.no-hero .site-body {
		margin-top: 93px;
	}
}
