/* Full-bleed hero media only; normal page content retains its existing width. */
.home .entry-content > .wp-block-cover.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

body.page-id-88 #content .ast-single-post-featured-section,
body.page-id-136 #content .ast-single-post-featured-section,
body.page-id-5660 #content .ast-single-post-featured-section,
body.page-id-93 #content .ast-single-post-featured-section {
	width: 100vw;
	max-width: 100vw;
	height: clamp(600px, 72vh, 820px);
	margin-top: -60px;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
	overflow: hidden;
}

body.page-id-88 #content .ast-single-post-featured-section img,
body.page-id-136 #content .ast-single-post-featured-section img,
body.page-id-5660 #content .ast-single-post-featured-section img,
body.page-id-93 #content .ast-single-post-featured-section img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

body.page-id-88 #content .ast-single-post-featured-section img {
	object-position: center 55%;
}

body.page-id-136 #content .ast-single-post-featured-section img {
	object-position: center 50%;
}

body.page-id-5660 #content .ast-single-post-featured-section img {
	object-position: center 45%;
}

body.page-id-93 #content .ast-single-post-featured-section img {
	object-position: center 48%;
}

@media (max-width: 767px) {
	/* The header overlays mobile hero media, so hero content starts at the viewport edge. */
	html,
	body {
		overflow-x: clip;
	}

	.home .entry-content > .wp-block-cover.alignfull {
		width: 100vw;
		max-width: 100vw;
		margin-right: calc(50% - 50vw);
		margin-left: calc(50% - 50vw);
	}

	html body.home .entry-content > .carevo-home-hero.wp-block-cover {
		min-height: clamp(700px, 76svh, 780px) !important;
		max-height: 780px;
		margin-top: 0 !important;
	}

	html body.home .carevo-home-hero .wp-block-cover__image-background {
		background-position: 66% center !important;
	}

	html body.home .carevo-home-hero .wp-block-cover__inner-container {
		top: auto !important;
		bottom: clamp(4rem, 10svh, 5.5rem) !important;
		left: 20px !important;
		width: calc(100% - 40px) !important;
		max-width: 25rem !important;
	}

	html body.home .carevo-hero-title {
		max-width: 19rem;
		font-size: clamp(2.75rem, 13vw, 3.625rem);
		line-height: 1.05;
	}

	html body.home .carevo-hero-copy {
		max-width: 20rem;
		margin-top: .9rem;
		font-size: clamp(1.25rem, 5.4vw, 1.5rem);
		line-height: 1.5;
	}

	body.page-id-88 #content .ast-single-post-featured-section,
	body.page-id-136 #content .ast-single-post-featured-section,
	body.page-id-5660 #content .ast-single-post-featured-section,
	body.page-id-93 #content .ast-single-post-featured-section {
		height: clamp(440px, 65svh, 560px);
		margin-top: 0;
	}
}

@media (min-width: 768px) and (max-width: 1024px) {
	.home .carevo-home-hero {
		min-height: clamp(660px, 74svh, 760px) !important;
	}

	.home .carevo-home-hero .wp-block-cover__inner-container {
		left: clamp(2rem, 6vw, 4rem);
		bottom: clamp(3.5rem, 7vh, 5rem);
	}

	.carevo-hero-title {
		font-size: clamp(2.6rem, 5.3vw, 3.125rem);
	}

	.home .carevo-hero-copy {
		font-size: clamp(1.125rem, 2.4vw, 1.3rem);
	}
}
