/**
 * Hero — Image Hero, About Hero, and Book Hero variants share the .module.hero base; each sub-section below covers one variant.
 */

/*** Image Hero ***/

.module.hero.image-hero .container.grid {
	align-items: center;
}

.module.hero.image-hero .content {
	grid-column: 2 / span 5;
	grid-row: 1;
	margin-left: calc(var(--gap) * -1);
	padding: var(--module-spacing-large) 0;
	position: relative;
	z-index: 1;
}

.module.hero.image-hero .media {
	grid-column: 7 / -1;
	margin-left: calc(var(--gap) * -1);
}

.module.hero.image-hero .media img {
	display: block;
	height: auto;
	width: 100%;
}

.module.hero.image-hero .heading-1 {
	color: var(--deep-maroon);
}

.module.hero.image-hero .content > * + * {
	margin-top: var(--text-spacing-medium);
}

.module.hero.image-hero .content > .eyebrow + .heading-1 {
	margin-top: var(--text-spacing-xsmall);
}

.module.hero.image-hero .buttons {
	display: flex;
	gap: var(--text-spacing-xsmall);
}

.module.hero.image-hero .photo-caption {
	grid-column: 2 / span 4;
	grid-row: 1;
	margin: 0 calc(var(--gap) * -1);
	padding: var(--module-spacing-large) 0;
}

/*** About Hero ***/

.module.hero.about-hero {
	text-align: center;
}

.module.hero.about-hero .heading-1 {
	color: var(--maroon);
	grid-column: 3 / -3;
	margin: 0 auto;
}

.module.hero.about-hero > .container.grid > .eyebrow {
	grid-column: 1 / -1;
}

.module.hero.about-hero > .container.grid > .eyebrow + .heading-1 {
	margin-top: var(--text-spacing-xsmall);
}

.module.hero.about-hero > .container.grid > .buttons {
	display: flex;
	gap: var(--text-spacing-xsmall);
	grid-column: 1 / -1;
	justify-content: center;
	margin-top: var(--text-spacing-large);
}

.module.hero.about-hero .people {
	grid-column: 2 / -2;
	grid-template-columns: 1fr 1fr;
	list-style: none;
	gap: var(--module-spacing-medium);
	margin: var(--module-spacing-xsmall) 0 0;
	padding: 0;
}

.module.hero.about-hero .people > li {
	text-align: center;
}

.module.hero.about-hero .people .media {
	aspect-ratio: 1;
	border-radius: 50%;
	margin: 0 auto var(--text-spacing-small);
	overflow: hidden;
	max-width: 450px;
	width: 100%;
}

.module.hero.about-hero .people .media img {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

/* Symmetric radial replaces the global directional fade for the centered circular portrait. */
.module.hero.about-hero .people .media.display-immersive::after {
	background: radial-gradient(50% 50% at 50% 50%, rgba(252, 219, 198, 0) 70%, var(--sand) 100%);
	mix-blend-mode: darken;
}

.module.hero.about-hero .people .eyebrow {
	margin-bottom: var(--text-spacing-xsmall);
}

/*** Book Hero ***/

.module.hero.book-hero .container.grid {
	align-items: center;
}

.module.hero.book-hero .media {
	grid-column: 2 / span 4;
}

.module.hero.book-hero .media img {
	display: block;
	height: auto;
	width: 100%;
}

.module.hero.book-hero .content {
	grid-column: 7 / -1;
	margin-left: calc(var(--gap) * -1);
}

.module.hero.book-hero .content > .eyebrow + .heading-2 {
	margin-top: var(--text-spacing-small);
}

.module.hero.book-hero .content > .heading-2 + .buttons {
	margin-top: var(--text-spacing-medium);
}

.module.hero.book-hero .content > .buttons + .review-preview {
	margin-top: var(--text-spacing-large);
}

.module.hero.book-hero .heading-2 {
	color: var(--deep-maroon);
}

.module.hero.book-hero .buttons {
	align-items: center;
	display: flex;
	gap: var(--text-spacing-small);
}

.module.hero.book-hero .review-preview {
	margin: 0;
}

.module.hero.book-hero .review-preview .quote-mark {
	color: var(--deep-maroon);
	display: block;
	margin-bottom: var(--text-spacing-xxsmall);
	opacity: 0.2;
}

.module.hero.book-hero .review-preview .quote-mark svg {
	display: block;
}

.module.hero.book-hero .review-quote {
	color: var(--maroon);
	font-style: italic;
	margin: 0 0 var(--text-spacing-xxsmall);
}

.module.hero.book-hero .stars {
	color: var(--gold);
	display: flex;
	font-size: calc(14rem / 16);
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/*
 * ====================================================================== *
 * MQ <=1200px — Laptop
 * ====================================================================== *
 */

@media only screen and (max-width: calc(1200rem / 16)) {

	.module.hero.image-hero .content {
		grid-column: 1 / span 6;
		margin-left: 0;
	}

	.module.hero.image-hero .media {
		margin-left: 0;
	}

}

/*
 * ====================================================================== *
 * MQ <=950px — Tablet
 * ====================================================================== *
 */

@media only screen and (max-width: calc(950rem / 16)) {

	.module.hero.image-hero .content,
	.module.hero.image-hero .media,
	.module.hero.image-hero .photo-caption {
		grid-column: 1 / -1;
		grid-row: auto;
		margin-left: 0;
		margin-right: 0;
	}

	.module.hero.image-hero .content {
		padding: var(--module-spacing-large) 0 0;
		text-align: center;
	}

	.module.hero.image-hero .media {
		max-width: 650px;
		margin: -100px auto;
		/*margin-top: var(--text-spacing-large);*/
		/*order: 1;*/
	}

	.module.hero.image-hero .content {
		order: 0;
	}

	.module.hero.about-hero .heading-1,
	.module.hero.about-hero .people {
		grid-column: 1 / -1;
	}

	.module.hero.book-hero .container.grid {
		gap: 0;
		text-align: center;
	}

	.module.hero.book-hero .media {
		grid-column: 1 / -1;
		max-width: 240px;
		margin: var(--text-spacing-large) auto 0;
		order: 1;
	}

	/* display: contents flattens .content's children into .container.grid so
	 * `order` can re-sequence them: content (eyebrow/heading/buttons) first,
	 * then book cover, then review at the bottom. */
	.module.hero.book-hero .content {
		display: contents;
	}

	.module.hero.book-hero .content > * {
		grid-column: 1 / -1;
		margin-left: 0;
		order: 0;
	}

	.module.hero.book-hero .content > .review-preview {
		order: 2;
	}

	.module.hero.book-hero .buttons {
		justify-content: center;
	}

	.module.hero.book-hero .review-preview .quote-mark {
		margin-left: auto;
		margin-right: auto;
		width: fit-content;
	}

	.module.hero.book-hero .stars {
		justify-content: center;
	}

}

/*
 * ====================================================================== *
 * MQ <=650px — Mobile
 * ====================================================================== *
 */

@media only screen and (max-width: calc(650rem / 16)) {

	.module.hero.about-hero .people > li {
		grid-column: 1 / -1;
	}

}
