/* Blog listing (/resources): text-only tiles, no images. */
#archive .grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: stretch;
}

@media (min-width: 700px) {
	#archive .grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1100px) {
	#archive .grid { grid-template-columns: repeat(3, 1fr); }
}

#archive .post--post {
	position: relative;
	display: flex;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.1);
	border-radius: 0.75rem;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

#archive .post--post:hover,
#archive .post--post:focus-within {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

#archive .post--post header {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	padding: 1.5rem;
}

#archive .post--post h2 {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
}

/* Make the whole tile clickable via the title link. */
#archive .post--post h2 a::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

#archive .post--post .meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0.75rem;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 0.875rem;
	opacity: 0.8;
}
