/* ===== Photo hero (hero-photo): a Cover block, photo under a blue overlay. Two classes beat the core Cover styles,
   which print after this file. The overlay keeps white text above AA over the brightest part of the photo. ===== */
.ig-section.ig-hero-photo {
	min-height: 0;
	padding: 72px 0;
	color: var(--wp--preset--color--white);
}
.ig-hero-photo .wp-block-cover__inner-container { width: 100%; }
.ig-hero-photo__inner { max-width: 1222px; }
.ig-hero-photo h1 {
	max-width: 820px;
	margin-top: 14px;
	color: var(--wp--preset--color--white);
}
.ig-hero-photo .ig-sub {
	max-width: 640px;
	margin-top: 18px;
	color: var(--wp--preset--color--white);
	font-size: 18px;
	line-height: 1.6;
}
.ig-hero-photo .wp-block-buttons { margin-top: 28px; }
@media (min-width: 782px) {
	.ig-section.ig-hero-photo { padding: 112px 0; }
}
/* One height for every photo hero on desktop (homepage, Municipalities, Unions & Associations), so the pages line up
   when you move between them: the tallest one's, Unions with its five-line H1 and long intro (936px at 960px wide,
   800px from 1232px). The Cover block centres the content in it. Below 960px the heroes stack (text, then phone)
   and keep their own height. If a hero's copy grows, raise these numbers. */
@media (min-width: 960px) {
	.ig-section.ig-hero-photo { min-height: clamp(800px, calc(1416px - 50vw), 940px); }
}
