/* Tile grid reusing the shared .book-grid rules from main.less; only the year and
 * the tile spacing are page-specific. */
.werke-intro {
	margin: 0 0 14px;
	font-size: 0.95rem;
}

.werke-sort {
	margin: 0 0 14px;
	font-size: 0.9rem;
}

/* auto-fill, not auto-fit: a partly filled row stays left-aligned. */
.werke .book-grid {
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.werke-tile {
	display: flex;
	flex-direction: column;
}

.werke-year {
	margin-top: 2px;
	color: var(--davy-grey);
	font-size: 0.85rem;
	font-variant-numeric: tabular-nums;
}

/* Cover-sized (portrait) so tiles without an image keep aligning in the grid. */
.werke-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	max-width: 100%;
	aspect-ratio: 2 / 3;
	box-sizing: border-box;
	padding: 8px;
	background: var(--athens-grey);
	color: var(--dark-grey);
	font-size: 0.8rem;
	text-align: center;
}
