/* BLV Related Logos - layout values (columns, gap, image height, accent) come from Settings > Related Logos. */
.blv-rp {
	--blv-rp-cols: 4;
	--blv-rp-gap: 20px;
	--blv-rp-img-h: 140px;
	--blv-rp-accent: #009776;
	clear: both;
	margin: 48px 0 16px;
}
.blv-rp__heading {
	margin: 0 0 20px;
	padding: 0 0 12px;
	border-bottom: 2px solid #eef2f1;
	position: relative;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	color: #1f2a28;
}
.blv-rp__heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 64px;
	height: 2px;
	background: var(--blv-rp-accent);
}
.blv-rp--h-center .blv-rp__heading { text-align: center; }
.blv-rp--h-center .blv-rp__heading::after { left: 50%; transform: translateX(-50%); }

.blv-rp__grid {
	display: grid;
	grid-template-columns: repeat(var(--blv-rp-cols), minmax(0, 1fr));
	gap: var(--blv-rp-gap);
	list-style: none;
	margin: 0;
	padding: 0;
}
.blv-rp__item {
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}
.blv-rp__item::before,
.blv-rp__item::marker { content: none; }

.blv-rp__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	box-sizing: border-box;
	padding: 18px 14px 16px;
	background: #fff;
	border-radius: 6px;
	text-decoration: none !important;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.blv-rp--bordered .blv-rp__card { border: 1px solid #e2e6e5; }
.blv-rp--shadow .blv-rp__card { box-shadow: 0 1px 3px rgba(16, 24, 22, .08), 0 4px 14px rgba(16, 24, 22, .06); }
.blv-rp--plain .blv-rp__card { padding-left: 4px; padding-right: 4px; }

.blv-rp__card:hover,
.blv-rp__card:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(16, 24, 22, .10);
}
.blv-rp--bordered .blv-rp__card:hover,
.blv-rp--bordered .blv-rp__card:focus-visible { border-color: var(--blv-rp-accent); }
.blv-rp--plain .blv-rp__card:hover { box-shadow: none; }
.blv-rp__card:focus-visible { outline: 2px solid var(--blv-rp-accent); outline-offset: 2px; }

.blv-rp__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--blv-rp-img-h);
}
.blv-rp__media img.blv-rp__img {
	display: block;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	margin: 0;
	border: 0;
	box-shadow: none;
}
.blv-rp__noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #eef2f1;
	color: var(--blv-rp-accent);
	font-size: 28px;
	font-weight: 700;
}
.blv-rp__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-top: 14px;
	font-size: 15px;
	line-height: 1.35;
	font-weight: 500;
	text-align: center;
	color: var(--blv-rp-accent);
	word-break: break-word;
}
@media (max-width: 767px) {
	.blv-rp { margin-top: 36px; }
	.blv-rp__heading { font-size: 20px; }
	.blv-rp__card { padding: 12px 8px; }
	.blv-rp__title { font-size: 13px; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
	.blv-rp__card { transition: none; }
	.blv-rp__card:hover { transform: none; }
}
