/*
 * FSE public hero system.
 *
 * The component owns layout and proportions. Page-specific plugins only own
 * copy, colours and the inner content of each card.
 */
:root {
	--fse-site-hero-min-height: clamp(270px, 25vw, 350px);
	--fse-site-hero-padding-y: clamp(34px, 3.6vw, 54px);
	--fse-site-hero-padding-x: clamp(22px, 4.5vw, 72px);
	--fse-site-hero-gap: clamp(28px, 5vw, 88px);
	--fse-site-hero-title-size: clamp(54px, 7.05vw, 92px);
	--fse-site-hero-card-width: 132px;
	--fse-site-hero-card-height: 190px;
	--fse-site-hero-card-radius: 5px;
	--fse-site-hero-ink: #111;
}

html body .fse-site-hero.fse-site-hero {
	display: grid !important;
	grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr) !important;
	min-height: var(--fse-site-hero-min-height) !important;
	box-sizing: border-box !important;
	align-items: center !important;
	gap: var(--fse-site-hero-gap) !important;
	margin: 0 !important;
	padding: var(--fse-site-hero-padding-y) var(--fse-site-hero-padding-x) !important;
	border: 0 !important;
	border-bottom: 1px solid var(--fse-site-hero-ink) !important;
	background: #fff !important;
	color: var(--fse-site-hero-ink) !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__content {
	min-width: 0 !important;
	max-width: 1120px;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__title {
	max-width: 1120px !important;
	margin: 0 !important;
	font-family: Blinker, Inter, sans-serif !important;
	font-size: var(--fse-site-hero-title-size) !important;
	font-weight: 700 !important;
	line-height: .91 !important;
	letter-spacing: -.066em !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__cards {
	position: relative !important;
	width: min(100%, 390px) !important;
	height: 218px !important;
	min-height: 0 !important;
	align-self: center !important;
	justify-self: end !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	overflow: visible !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__card,
html body .fse-site-hero.fse-site-hero .fse-site-hero__card:visited {
	position: absolute !important;
	display: flex !important;
	box-sizing: border-box !important;
	width: var(--fse-site-hero-card-width) !important;
	height: var(--fse-site-hero-card-height) !important;
	min-height: 0 !important;
	flex-direction: column !important;
	justify-content: space-between !important;
	margin: 0 !important;
	padding: 14px !important;
	border: 1px solid var(--fse-site-hero-ink) !important;
	border-radius: var(--fse-site-hero-card-radius) !important;
	color: var(--fse-site-hero-ink) !important;
	text-decoration: none !important;
	box-shadow: none !important;
	transition: transform .25s cubic-bezier(.2,.8,.2,1), filter .2s ease, box-shadow .2s ease !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__card:nth-child(1) {
	left: 3% !important;
	top: 20px !important;
	z-index: 3 !important;
	transform: rotate(-7deg) !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__card:nth-child(2) {
	left: 31% !important;
	top: 4px !important;
	z-index: 2 !important;
	transform: rotate(3deg) !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__card:nth-child(3) {
	left: 59% !important;
	top: 27px !important;
	z-index: 1 !important;
	transform: rotate(9deg) !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__card:hover,
html body .fse-site-hero.fse-site-hero .fse-site-hero__card:focus-visible,
html body .fse-site-hero.fse-site-hero .fse-site-hero__card:focus-within {
	z-index: 20 !important;
	filter: saturate(1.05) brightness(.99) !important;
	transform: translateY(-8px) rotate(0) !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__cards:hover .fse-site-hero__card:not(:hover):nth-child(1) {
	transform: translate(-8px,-5px) rotate(-9deg) !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__cards:hover .fse-site-hero__card:not(:hover):nth-child(2) {
	transform: translateY(-9px) rotate(1deg) !important;
}

html body .fse-site-hero.fse-site-hero .fse-site-hero__cards:hover .fse-site-hero__card:not(:hover):nth-child(3) {
	transform: translate(8px,-3px) rotate(11deg) !important;
}

/* Product landings keep their eyebrow and summary, but not a separate grid. */
html body .fse-site-hero.fse-site-hero--product .fse-site-hero__content {
	display: flex !important;
	min-height: 0 !important;
	box-sizing: border-box !important;
	flex-direction: column !important;
	justify-content: center !important;
}

html body .fse-site-hero.fse-site-hero--product .fse-site-hero__cards {
	justify-self: end !important;
}

html body .fse-site-hero.fse-site-hero--product .fse-os-product-public-hero__reviews {
	display: grid !important;
	min-width: 0 !important;
	min-height: 218px !important;
	padding: 0 !important;
	place-items: center !important;
	background: transparent !important;
}

html body .fse-site-hero.fse-site-hero--product .fse-os-product-public-hero__media {
	display: grid !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	place-items: center !important;
	overflow: hidden !important;
	background: transparent !important;
}

html body .fse-site-hero.fse-site-hero--product .fse-os-product-public-hero__media img {
	max-height: 240px !important;
}

/* The text inside a card varies; its outer geometry never does. */
html body .fse-site-hero.fse-site-hero .fse-site-hero__card blockquote {
	margin: 0 !important;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 6;
}

@media (max-width: 900px) {
	:root {
		--fse-site-hero-card-width: 116px;
		--fse-site-hero-card-height: 174px;
	}

	html body .fse-site-hero.fse-site-hero {
		grid-template-columns: minmax(0, 1.45fr) minmax(270px, .8fr) !important;
	}
}

@media (max-width: 680px) {
	html body .fse-site-hero.fse-site-hero {
		grid-template-columns: 1fr !important;
		min-height: 0 !important;
		padding-block: 38px 30px !important;
	}

	html body .fse-site-hero.fse-site-hero .fse-site-hero__title {
		font-size: clamp(46px, 14vw, 65px) !important;
	}

	html body .fse-site-hero.fse-site-hero .fse-site-hero__cards {
		display: none !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	html body .fse-site-hero.fse-site-hero .fse-site-hero__card {
		transition: none !important;
	}
}
