.blog-shell {
	background: #f8fafc;
}

.blog-section {
	padding: 3.5rem 0;
}

.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(16rem, 0.8fr);
	grid-template-rows: repeat(2, 13rem);
	gap: 1rem;
}

.hero-card {
	position: relative;
	min-height: 13rem;
	overflow: hidden;
	border-radius: 1.15rem;
	background: #cbd5e1 center / cover no-repeat;
	box-shadow: 0 12px 34px rgba(15, 23, 42, 0.1);
}

.hero-main {
	grid-row: 1 / 3;
}

.hero-side-stack {
	display: contents;
}

.card-overlay-dark,
.card-dark {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 15%, rgba(15, 23, 42, 0.88) 100%);
}

.hero-card-link {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: flex-end;
}

.hero-card-body {
	position: relative;
	z-index: 1;
	width: 100%;
	padding: clamp(1.25rem, 4vw, 2.25rem);
}

.hero-card h2,
.hero-card h3 {
	margin: 0;
	color: #fff;
}

.hero-card h2 {
	max-width: 44rem;
	font-size: clamp(1.75rem, 4vw, 3rem);
}

.hero-card h3 {
	font-size: clamp(1rem, 2vw, 1.3rem);
}

.meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin-bottom: 0.65rem;
	color: #e2e8f0;
	font-size: 0.72rem;
}

.meta-cat {
	padding: 0.25rem 0.55rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--primary) 88%, transparent);
	color: #fff;
	font-weight: 600;
}

.hero-mobile {
	display: none;
}

.section-label {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	color: var(--primary);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.section-rule {
	width: 2.5rem;
	height: 2px;
	background: currentColor;
}

.section-title {
	margin-top: 0.65rem;
	font-size: clamp(1.7rem, 4vw, 2.5rem);
}

.featured-card {
	position: relative;
	min-height: 25rem;
	overflow: hidden;
	border-radius: 1rem;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.09);
}

.card-bg,
.latest-thumb-inner,
.cat-img-inner {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	transition: transform 300ms ease;
}

.featured-card:hover .card-bg,
.latest-card:hover .latest-thumb-inner,
.cat-card:hover .cat-img-inner {
	transform: scale(1.035);
}

.featured-card-body {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1;
	padding: 1.5rem;
	color: #e2e8f0;
}

.featured-card h3 {
	color: #fff;
	font-size: 1.25rem;
}

.featured-card p {
	font-size: 0.82rem;
}

.fc-meta {
	margin-bottom: 0.6rem;
	font-size: 0.72rem;
}

.read-more {
	color: #fff;
	font-size: 0.82rem;
	font-weight: 700;
}

.cat-card,
.latest-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--color-border);
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
	transition: box-shadow 180ms ease, transform 180ms ease;
}

.cat-card:hover,
.latest-card:hover {
	box-shadow: 0 16px 38px rgba(15, 23, 42, 0.1);
	transform: translateY(-3px);
}

.cat-img,
.latest-thumb {
	position: relative;
	overflow: hidden;
	background: #e2e8f0;
}

.cat-img {
	aspect-ratio: 16 / 8;
}

.latest-thumb {
	aspect-ratio: 16 / 10;
}

.cat-card {
	padding: 0.75rem;
}

.cat-label,
.latest-cat {
	color: var(--primary);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.cat-meta {
	color: var(--color-muted);
	font-size: 0.7rem;
}

.cat-title {
	margin: 0.55rem 0 0;
	font-size: 1rem;
}

.latest-card-body {
	padding: 1.2rem;
}

.latest-title {
	margin: 0.55rem 0 1rem;
	font-size: 1.05rem;
}

.latest-date {
	color: var(--color-muted);
	font-size: 0.72rem;
}

@media (max-width: 991.98px) {
	.hero-grid {
		grid-template-columns: minmax(0, 1.35fr) minmax(14rem, 0.8fr);
	}
}

@media (max-width: 767.98px) {
	.blog-section {
		padding: 2.75rem 0;
	}

	.hero-grid.desktop-only {
		display: none;
	}

	.hero-mobile {
		position: relative;
		display: block;
		min-height: 24rem;
		overflow: hidden;
		border-radius: 1.1rem;
	}

	.hero-mobile .bg,
	.hero-mobile .overlay {
		position: absolute;
		inset: 0;
	}

	.hero-mobile .bg {
		background: linear-gradient(135deg, #cbd5e1, #64748b);
		background-position: center;
		background-size: cover;
	}

	.hero-mobile .overlay {
		background: linear-gradient(180deg, transparent, rgba(15, 23, 42, 0.92));
	}

	.hero-mobile-body {
		position: absolute;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 1;
		padding: 1.5rem;
	}

	.hero-mobile-body span {
		color: #bfdbfe;
		font-size: 0.72rem;
		font-weight: 700;
		text-transform: uppercase;
	}

	.hero-mobile-body h2 {
		margin-top: 0.55rem;
		color: #fff;
		font-size: 1.7rem;
	}

	.desktop-only {
		display: none !important;
	}

	.featured-card {
		min-height: 22rem;
	}
}
