/* Blog hero
   ========================================================================== */

.blog-hub-hero {
	text-align: center;
}

/* Blog cards
   ========================================================================== */

.blog-card {
	text-decoration: none;
	color: inherit;
	display: block;
}

.blog-card-inner {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid #e0e6ed;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover .blog-card-inner {
	border-color: #0099ff;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-card-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: #fff;
}

.blog-card-badge-draft {
	background-color: #dc3545;
}

.blog-card-badge-scheduled {
	background-color: #0099ff;
}

/* When there's no featured image, the badge has nothing to sit on top of -
   push the title down so it doesn't render underneath it. Bootstrap's .p-4
   utility sets padding with !important, so padding-top can't be overridden
   here - use margin-top on the title instead. */
.blog-card-badge-no-image .blog-card-title {
	margin-top: 1.5rem;
}

.blog-card-img {
	position: relative;
	overflow: hidden;
}

.blog-card-img img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-img img {
	transform: scale(1.03);
}

.blog-card-title {
	color: #0099ff;
	font-weight: 600;
}

.blog-card-excerpt {
	font-size: 0.9rem;
	color: #444;
	margin-bottom: 0;
}

/* Pagination
   ========================================================================== */

.blog-pagination .page-link {
	color: #0099ff;
}

.blog-pagination .page-item.active .page-link {
	background-color: #0099ff;
	border-color: #0099ff;
	color: #fff;
}

.blog-pagination .page-item.disabled .page-link {
	pointer-events: none;
	opacity: 0.5;
}

@media (max-width: 767px) {
	.blog-card-title {
		font-size: 1rem;
	}
}
