/*
 * Post and Page layout: title, deck, 16:9 image, date line (posts).
 * Body text styles are in content.css.
 */

.entry-title {
	margin: 0 0 18px;
	/* 42px at full width so long titles stay within 2 lines in the 640px column. Was clamp(34px, 3.4vw, 48px). */
	font-size: clamp(34px, 2.95vw, 42px);
	font-weight: var(--weight-display);
	line-height: 1.06;
	letter-spacing: -.04em;
	text-wrap: balance;
}
.entry-deck {
	margin: 0 0 32px;
	color: var(--text-muted);
	font-size: 21px;
	line-height: 1.5;
}

.entry-hero { margin: 0 0 40px; }
/* The image sits closer to the date line under it. */
.entry-hero:has(+ .entry-date) { margin-bottom: 14px; }

/* No image: the date follows the deck closely. */
.entry-header:has(+ .entry-date) .entry-deck,
.entry-header:has(+ .entry-date) .entry-title:last-child { margin-bottom: 12px; }

/* Date, small and quiet, under the image (or the deck when there is none). */
.entry-date {
	margin: 0 0 36px;
	color: var(--text-muted);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	text-transform: uppercase;
}
.entry-hero img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border: 1px solid var(--placeholder-border);
	border-radius: var(--card-radius);
	background: var(--placeholder);
}
.entry-hero figcaption { margin-top: 10px; color: var(--text-muted); font-size: 13px; }

.entry-end { height: 1px; }

.page-links { margin-top: 32px; display: flex; gap: 12px; font-weight: 600; }
.page-links a { color: var(--accent); }

