.blog-page__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px 60px;
}

.blog-page__title {
	margin-bottom: 32px;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 28px;
}

.blog-card {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
	color: inherit;
}

.blog-card__image {
	aspect-ratio: 16 / 10;
	background: var(--global--color-light-gray, #f0f0f0);
	overflow: hidden;
}

.blog-card__image img {
	/* WordPress adds an inline style="width:...;height:...%;max-width:...px"
	   on featured images based on their own aspect ratio, which otherwise
	   overrides these rules and causes the letterboxing/wrong-ratio look -
	   !important is the only thing that beats an inline style. */
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	display: block;
}

.blog-card__body {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	padding: 18px 20px 20px;
	border-top: 1px solid #e2e2e2;
}

.blog-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 10px;
}

.blog-card__excerpt {
	font-size: 14px;
	line-height: 1.6;
	color: #555;
	margin: 0 0 16px;
	flex-grow: 1;
}

.blog-card__date {
	font-size: 13px;
	color: #4472c4;
	font-weight: 600;
}

.blog-loading {
	text-align: center;
	margin-top: 40px;
	color: #555;
	font-size: 14px;
}

#blog-load-sentinel {
	height: 1px;
}

.blog-page__empty {
	color: #555;
}
