.nh-quote {
	display: flex;
	align-items: center;
	padding: 120px 0;
	margin-top: 90px;
	min-height: 630px;
	background: var(--nh-quote-background, #EFE3E1);
}

.nh-quote--no-margin-top {
	margin-top: 0;
}

.nh-quote--custom-mark {
	margin-top: 0;
}

.nh-quote__inner {
	width: 100%;
	max-width: var(--nh-container);
	margin: 0 auto;
	padding: 0 var(--nh-gutter);
	display: grid;
	grid-template-columns: 133px 1px minmax(0, auto);
	gap: 46px;
	justify-content: center;
	align-items: center;
}

.nh-quote__inner > .nh-quote__mark,
.nh-quote__inner > .nh-quote__rule,
.nh-quote__inner > .nh-quote__text {
	align-self: center;
}

.nh-quote__mark {
	width: 133px;
	height: 134px;
	display: block;
	object-fit: contain;
}

.nh-quote__rule {
	display: block;
	border: 0 !important;
	border-block: 0 !important;
	outline: none;
	margin: 0;
	min-height: 0;
	width: 1px;
	height: 92px;
	background: var(--nh-quote-rule-color, #000);
	box-sizing: border-box;
	align-self: center;
}

.nh-quote__text {
	margin: 0;
	font-family: var(--nh-serif);
	font-size: var(--nh-quote-text-size, 42px);
	line-height: 1.1;
	letter-spacing: -2px;
	max-width: 862px;
	text-align: left;
	color: var(--nh-fg);
}

.nh-quote__text-mask {
	display: block;
	overflow: hidden;
	padding: 0.18em 0.08em;
	margin: -0.18em -0.08em;
}

.nh-quote__text-inner {
	display: block;
	will-change: transform;
}

.newhome.nh-anim .nh-quote__mark,
.newhome.nh-anim .nh-quote__rule {
	opacity: 0;
	transition: opacity 1300ms cubic-bezier(0.65, 0, 0.35, 1);
	transition-delay: 100ms;
}

.newhome.nh-anim .nh-quote.is-visible .nh-quote__mark,
.newhome.nh-anim .nh-quote.is-visible .nh-quote__rule {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.newhome.nh-anim .nh-quote__mark,
	.newhome.nh-anim .nh-quote__rule {
		opacity: 1;
		transition: none;
	}
}

@media (min-width: 992px) {
	.nh-quote.nh-quote--custom-mark {
		display: flex;
		align-items: center;
	}

	.nh-quote--custom-mark .nh-quote__inner {
		width: 100%;
		max-width: var(--nh-container);
		padding: 0 var(--nh-gutter);
		grid-template-columns: minmax(240px, 388px) 1px minmax(0, 666px);
		gap: clamp(24px, 3.125vw, 45px);
		justify-content: center;
	}

	.nh-quote--custom-mark .nh-quote__mark {
		width: min(388px, 100%);
		height: auto;
	}

	.nh-quote--custom-mark .nh-quote__text {
		font-size: var(--nh-quote-text-size, 36px);
		line-height: 1.1;
		letter-spacing: -2.5px;
		max-width: 666px;
	}
}

@media (max-width: 991px) {
	.nh-quote {
		min-height: auto;
		padding: 142px 0 118px;
	}

	.nh-quote.is-visible {
		padding-top: 142px;
		padding-bottom: 118px;
	}

	.nh-quote__inner {
		display: block;
		padding: 0 30px;
	}

	.nh-quote__mark {
		width: 102px;
		height: 85px;
		margin: 0 0 28px;
	}

	.nh-quote--custom-mark .nh-quote__mark {
		width: min(388px, 100%);
		height: auto;
	}

	.nh-quote__rule {
		display: block;
		border: 0 !important;
		border-block: 0 !important;
		outline: none;
		margin: 0 0 30px;
		min-height: 1px;
		width: 100%;
		height: 1px;
		background: var(--nh-quote-rule-color, #000);
		box-sizing: border-box;
	}

	.nh-quote__text {
		font-size: var(--nh-quote-text-size, 32px);
		line-height: 1.1;
		letter-spacing: -2px;
		max-width: none;
	}
}

@media (max-width: 600px) {
	.nh-quote--mobile-text-inline .nh-quote__text br {
		display: none;
	}

	.nh-quote__mark {
		width: 102px;
		height: 85px;
	}

	.nh-quote--custom-mark .nh-quote__mark {
		width: min(300px, 100%);
		height: auto;
	}

	.nh-quote__text {
		font-size: 22px;
		line-height: 1.1;
		letter-spacing: -0.5px;
	}
}
