/* Figma 7735:747, 7789:260/267/611. Section layout <700px; typography <1000px. */
.home-reviews {
	/* Scoped overrides leave the global 700/701px typography unchanged. */
	--furpsy-type-paragraph-highlight-size: 20px;
	--furpsy-type-paragraph-highlight-line-height: 32px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	margin: 0;
	background: var(--furpsy-color-grey-100);
}
.home-reviews__photo {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 60px;
	background: var(--furpsy-color-secondary-50);
}
.home-reviews__image-mask {
	width: 100%;
	max-width: 600px;
	aspect-ratio: 600 / 460;
	position: relative;
	overflow: hidden;
	mask: url('../../icons/review-mask-desktop.svg') center / 100% 100% no-repeat;
	-webkit-mask: url('../../icons/review-mask-desktop.svg') center / 100% 100% no-repeat;
}
.home-reviews__image-mask img {
	position: absolute;
	width: 170.6666667%;
	max-width: none;
	height: 148.4782609%;
	left: -48.6666667%;
	top: -29.3478261%;
}
.home-reviews__content {
	min-width: 0;
	min-height: 540px;
	position: relative;
	padding: 72px 100px 48px;
	display: flex;
	flex-direction: column;
	text-align: center;
}
.home-reviews:not(.furpsy-carousel) .home-reviews__content { padding-bottom: 48px; }
.home-reviews__label { margin: 0 0 24px; font-size: 13px; line-height: normal; color: var(--furpsy-color-secondary-50); }
.home-reviews__viewport { min-width: 0; }
.home-reviews__slide { display: flex; flex-direction: column; gap: 32px; }
.home-reviews__quote { margin: 0; color: var(--furpsy-color-grey-5); overflow-wrap: anywhere; }
.home-reviews__person { display: flex; flex-direction: column; align-items: center; }
/* Author and platform retain the exact Figma sizes in both layouts; mobile's
 * author references Desktop/UI/Body L and platform has no Text Style binding. */
.home-reviews__author { margin: 0; max-width: 100%; overflow-wrap: anywhere; font-family: var(--furpsy-font-body); font-weight: 400; font-size: 18px; line-height: 28px; color: var(--furpsy-color-opacity-white-100); }
.home-reviews__platform { margin: 0; font-family: var(--furpsy-font-body); font-weight: 400; font-size: 14px; line-height: 20px; color: var(--furpsy-color-grey-40); }
.home-reviews__stars { display: flex; gap: 2px; margin-top: 4px; }
.home-reviews__star {
	width: 16px;
	height: 16px;
	background: #ffd000; /* Original SVG export; no Figma color Variable. */
	mask: url('../../icons/review-star.svg') center / 16px 16px no-repeat;
	-webkit-mask: url('../../icons/review-star.svg') center / 16px 16px no-repeat;
}
.home-reviews__star--empty { background: var(--furpsy-color-grey-10); }
.home-reviews__navigation { margin-top: auto; padding-top: 56px; align-self: center; width: 331px; max-width: 100%; }
.home-reviews__navigation .furpsy-progressive-slider { display: flex; }
.home-reviews__quote-mark { position: absolute; pointer-events: none; }
.home-reviews__quote-mark img { display: block; max-width: none; }
.home-reviews__quote-mark--open { top: 100.5px; left: 56.5px; }
.home-reviews__quote-mark--close { top: 280.5px; right: 56.5px; }
.home-reviews__viewport:focus-visible { outline: 2px solid var(--furpsy-color-primary-30); outline-offset: 0; }

/* Only the immediate Homepage successor changes. Its old top padding supplied
 * 50/32px; do not add a second gap on the reviews section. */
main > .home-reviews + section { padding-top: 72px; }

@media (min-width: 1000px) {
	.home-reviews {
		--furpsy-type-paragraph-highlight-size: 32px;
		--furpsy-type-paragraph-highlight-line-height: 48px;
	}
	.home-reviews__label {
		font-size: var(--furpsy-type-body-regular-l-size);
		line-height: var(--furpsy-type-body-regular-l-line-height);
	}
}

@media (max-width: 699px) {
	.home-reviews { grid-template-columns: minmax(0, 1fr); }
	.home-reviews__photo { padding: 40px 16px; }
	.home-reviews__image-mask {
		aspect-ratio: 343 / 263.087;
		mask-image: url('../../icons/review-mask-mobile.svg');
		-webkit-mask-image: url('../../icons/review-mask-mobile.svg');
	}
	.home-reviews__content { min-height: 0; padding: 48px 16px 17px; }
	.home-reviews__label { margin-bottom: 16px; }
	.home-reviews__quote::before { content: '“'; }
	.home-reviews__quote::after { content: '”'; }
	.home-reviews__quote-mark--open { top: 47.5px; left: 15.5px; }
	.home-reviews__quote-mark--close { top: 200.5px; right: 15.5px; }
	.home-reviews__navigation { padding-top: 65px; }
	main > .home-reviews + section { padding-top: 48px; }
	main > .products-section:has(+ .home-reviews) { padding-bottom: 48px; }
}
