/**
 * Blog page — reuses the homepage News section's own component
 * vocabulary (.news-card, .news-sidebar, .search-form, .latest-posts,
 * .why-card, .chevron-list, .page-hero) for everything that already
 * has an equivalent; the only genuinely new pieces here are the
 * featured/latest post card and the pagination control.
 */
.blog-featured {
	display: block;
	margin-bottom: 32px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--wp--preset--color--base);
	box-shadow: 0 20px 44px rgba(40, 40, 40, 0.12);
}
.blog-featured__media {
	position: relative;
	display: block;
	aspect-ratio: 16 / 8;
	overflow: hidden;
	background: var(--wp--preset--color--contrast);
}
.blog-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.blog-featured--logo .blog-featured__media {
	background: var(--wp--preset--color--paper);
}
.blog-featured--logo .blog-featured__media img {
	width: 50%;
	height: 50%;
	margin: 8% auto 0;
	object-fit: contain;
}
.blog-featured__media .date-badge {
	position: absolute;
	bottom: 16px;
	left: 16px;
	color: var(--wp--preset--color--base);
}
.blog-featured--logo .blog-featured__media .date-badge {
	background: rgba(40, 40, 40, 0.08);
	color: var(--wp--preset--color--contrast);
}
.blog-featured__body {
	padding: clamp(24px, 3vw, 36px);
}
.blog-featured__category {
	display: inline-block;
	margin-bottom: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(49, 161, 255, 0.1);
	color: var(--wp--preset--color--primary);
	font-size: 0.75rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}
.blog-featured__body h2 {
	margin: 0 0 12px;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 800;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
}
.blog-featured__body h2 a {
	color: inherit;
	text-decoration: none;
}
.blog-featured__body h2 a:hover {
	color: var(--wp--preset--color--primary);
}
.blog-featured__body p {
	margin: 0 0 22px;
	max-width: 640px;
	color: var(--wp--preset--color--muted);
	font-size: 1rem;
	line-height: 1.7;
}

.blog-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.blog-tags a {
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--wp--preset--color--paper);
	color: var(--wp--preset--color--muted);
	font-size: 0.8rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}
.blog-tags a:hover {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}

.blog-pagination {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 36px 0 0;
	padding: 0;
	list-style: none;
}
.blog-pagination .page-numbers {
	display: grid;
	place-items: center;
	min-width: 40px;
	height: 40px;
	padding: 0 4px;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--border);
	color: var(--wp--preset--color--contrast);
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.blog-pagination .page-numbers:hover {
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--primary);
}
.blog-pagination .page-numbers.current {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--base);
}
.blog-pagination .page-numbers.dots {
	border-color: transparent;
}

@media (max-width: 1024px) {
	.blog-featured__media {
		aspect-ratio: 16 / 9;
	}
}
