.jvav-related-products {
	padding:100px 0 110px;
	background:var(--jvav-surface-soft);
}

.jvav-related-products__inner {
	width:var(--jvav-wrap);
	margin:0 auto;
}

.jvav-related-products__header {
	display:flex;
	align-items:flex-end;
	justify-content:space-between;
	gap:24px;
	margin-bottom:40px;
}

.jvav-related-products__header h2 {
	margin:0;
	color:var(--jvav-navy);
	font-size:var(--type-section-title);
	font-weight:var(--type-section-title-weight);
	letter-spacing:var(--type-section-title-letter-spacing);
	line-height:var(--type-section-title-line-height);
}

.jvav-related-products__all {
	color:var(--jvav-blue);
	font-size:var(--type-label);
	font-weight:var(--type-label-weight);
	letter-spacing:var(--type-label-letter-spacing);
	line-height:var(--type-label-line-height);
	text-decoration:none;
	text-transform:uppercase;
}

.jvav-related-products__all {
	padding-bottom:5px;
	border-bottom:1px solid currentColor;
}

.jvav-related-products__grid {
	display:grid;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:30px;
}

.jvav-related-products__card {
	display:flex;
	min-width:0;
	flex-direction:column;
	background:var(--jvav-white);
}

.jvav-related-products__media {
	display:flex;
	min-height:260px;
	align-items:center;
	justify-content:center;
	padding:26px;
	background:var(--jvav-white);
}

.jvav-related-products__media img {
	display:block;
	width:100%;
	height:208px;
	object-fit:contain;
	transition:transform 240ms ease;
}

.jvav-related-products__media:hover img,
.jvav-related-products__media:focus-visible img {
	transform:scale(1.035);
}

.jvav-related-products__media:focus-visible,
.jvav-related-products__content h3 a:focus-visible,
.jvav-related-products__all:focus-visible {
	outline:2px solid var(--jvav-blue);
	outline-offset:3px;
}

.jvav-related-products__content {
	padding:25px 26px 28px;
}

.jvav-related-products__content h3 {
	margin:0;
	color:var(--jvav-navy);
	font-size:var(--type-product-card-title);
	font-weight:var(--type-module-title-weight);
	letter-spacing:var(--type-module-title-letter-spacing);
	line-height:var(--type-module-title-line-height);
}

.jvav-related-products__content h3 a {
	color:inherit;
	text-decoration:none;
}

.jvav-related-products__content h3 a:hover,
.jvav-related-products__content h3 a:focus-visible,
.jvav-related-products__all:hover,
.jvav-related-products__all:focus-visible {
	color:var(--jvav-navy);
}

@media (max-width:980px) {
	.jvav-related-products__grid {
		grid-template-columns:repeat(2,minmax(0,1fr));
	}
}

@media (max-width:820px) {
	.jvav-related-products {
		padding:72px 0 76px;
	}

	.jvav-related-products__header {
		align-items:flex-start;
		flex-direction:column;
		margin-bottom:28px;
	}

	.jvav-related-products__grid {
		grid-template-columns:1fr;
		gap:20px;
	}

	.jvav-related-products__media {
		min-height:230px;
	}

	.jvav-related-products__media img {
		height:180px;
	}

	.jvav-related-products__content {
		padding:23px 24px 25px;
	}
}
