/**
 * Mudde AI — related reading block shown on non-indexed posts only.
 */

.mudde-related {
	margin-top: 34px;
	padding: 20px 22px;
	background: #f7f9fb;
	border: 1px solid var(--theme-palette-color-5, #e1e8ed);
	border-radius: 14px;
}

.mudde-related__title {
	margin: 0 0 10px;
	color: var(--theme-palette-color-4, #192a3d);
	font-family: inherit;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.mudde-related__links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 26px;
}

.mudde-related__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 44px;
	padding: 10px 0;
	border-bottom: 1px solid #e6edf3;
	color: var(--theme-palette-color-2, #1559ed);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.mudde-related__links a::after {
	content: "\2192";
	flex: 0 0 auto;
	color: #9aabbb;
	font-weight: 400;
	transition: color 0.2s ease, transform 0.2s ease;
}

.mudde-related__links a:hover,
.mudde-related__links a:focus-visible {
	color: var(--theme-palette-color-4, #192a3d);
	text-decoration: none;
}

.mudde-related__links a:hover::after,
.mudde-related__links a:focus-visible::after {
	color: var(--theme-palette-color-2, #1559ed);
	transform: translateX(3px);
}

.mudde-related__links a:last-child:nth-child(odd) {
	grid-column: 1 / -1;
}

@media (max-width: 640px) {
	.mudde-related {
		padding: 16px;
	}

	.mudde-related__links {
		grid-template-columns: 1fr;
	}

	.mudde-related__links a:last-child:nth-child(odd) {
		grid-column: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mudde-related__links a::after {
		transition-duration: 0.01ms !important;
	}
}
