/* KUROFUNE LINK: related posts after the post body. Minimal on purpose; themes can override .kurofune-link*. */
.kurofune-link {
	margin: 2em 0 0;
}

.kurofune-link__heading {
	margin: 0 0 0.75em;
	font-weight: 700;
	font-size: 1.1em;
}

.kurofune-link__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 1em;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kurofune-link__item {
	margin: 0;
	padding: 0;
}

.kurofune-link__card {
	display: flex;
	flex-direction: column;
	gap: 0.5em;
	height: 100%;
	text-decoration: none;
	color: inherit;
}

.kurofune-link__thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	height: auto;
}

.kurofune-link__title {
	line-height: 1.5;
}

.kurofune-link__card:hover .kurofune-link__title,
.kurofune-link__card:focus .kurofune-link__title {
	text-decoration: underline;
}
