.rnp-related {
	box-sizing: border-box;
	clear: both;
	margin-block: 2.5rem 1.5rem;
	width: 100%;
}

.rnp-related *,
.rnp-related *::before,
.rnp-related *::after {
	box-sizing: inherit;
}

.rnp-related .rnp-related__heading {
	font-family: inherit !important;
	font-size: clamp(1.3rem, 1.18rem + 0.45vw, 1.6rem) !important;
	font-style: normal !important;
	font-weight: 700 !important;
	letter-spacing: -0.025em !important;
	line-height: 1.25 !important;
	margin: 0 0 1rem !important;
	text-transform: none !important;
}

.rnp-related__grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rnp-related__item {
	margin: 0;
	min-width: 0;
}

.rnp-related__link {
	color: inherit;
	display: block;
	text-decoration: none;
}

.rnp-related__media {
	background: #e8edf2;
	border-radius: 14px;
	display: block;
	overflow: hidden;
	position: relative;
}

.rnp-related__media::before {
	content: "";
	display: block;
	padding-top: 62.5%;
}

.rnp-related__image,
.rnp-related__placeholder {
	display: block;
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition: transform 180ms ease;
	width: 100%;
}

.rnp-related__placeholder {
	align-items: center;
	background: linear-gradient(135deg, #edf2f7, #dbe4ec);
	display: flex;
	justify-content: center;
}

.rnp-related__placeholder svg {
	fill: none;
	height: 42%;
	stroke: #748395;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 3;
	width: 42%;
}

.rnp-related .rnp-related__grid .rnp-related__item .rnp-related__title {
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	color: inherit;
	display: -webkit-box !important;
	font-family: inherit !important;
	font-size: 0.95rem !important;
	font-style: normal !important;
	font-weight: 600 !important;
	letter-spacing: -0.012em !important;
	line-height: 1.42 !important;
	margin: 0.65rem 0 0 !important;
	overflow: hidden;
	overflow-wrap: anywhere;
	text-transform: none !important;
	word-break: normal !important;
}

.rnp-related__link:hover .rnp-related__image,
.rnp-related__link:focus-visible .rnp-related__image {
	transform: scale(1.035);
}

.rnp-related__link:hover .rnp-related__title {
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.15em;
}

.rnp-related__link:focus-visible {
	border-radius: 14px;
	outline: 3px solid currentColor;
	outline-offset: 4px;
}

@media (max-width: 860px) {
	.rnp-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.rnp-related__grid {
		gap: 1rem 0.75rem;
	}

	.rnp-related .rnp-related__grid .rnp-related__item .rnp-related__title {
		font-size: 0.875rem !important;
		line-height: 1.4 !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rnp-related__image {
		transition: none;
	}
}
