/* ==========================================================================
   Post Hero — Figma node 52341:13956
   Tokens: GT Flexa Bold 48px / Figtree SemiBold 14 / #2D4059 / #505869
   ========================================================================== */

/* ── Wrapper ── */

.post-hero {
	position: relative;
	background: var(--hdr-bg);
	padding: 100px 56px;
	text-align: center;
	overflow: hidden;
}

/* Homepage + category pages */
.blog-top-area .post-hero {
	padding: 60px 0 56px;
}

/* ── Gradient background overlay (10% opacity) ── */

.post-hero__bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		190deg,
		rgb(245, 56,  56)  0%,
		rgb(255, 212, 96)  41.67%,
		rgb(253, 176, 87)  100%
	);
	opacity: 0.10;
	pointer-events: none;
}

/* ── Inner content column ── */

.post-hero__inner {
	position: relative; /* stacks above ::before overlay */
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 24px;
	max-width: 860px;
	margin: 0 auto;
}

/* ── Category badge ── */

.post-hero__badge {
	display: inline-flex;
	align-items: center;
	height: 32px;
	padding: 0 16px;
	border-radius: 58px;
	background: linear-gradient(
		189deg,
		rgba(255, 129, 129, 0.20) 0%,
		rgba(253, 176,  87, 0.20) 100%
	);
	font-family: var(--font-figtree);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.1;
	color: var(--color-orange-hover); /* #F7761F */
	white-space: nowrap;
	text-decoration: none;
}
.post-hero__badge a {
	color: inherit;
	text-decoration: none;
}
.post-hero__badge a:hover {
	text-decoration: underline;
}

/* ── H1 title ── */

.post-hero__title {
	font-family: var(--font-heading); /* GT Flexa Bold */
	font-size: 48px;
	font-weight: 700;
	line-height: 53px;
	color: var(--nav-dark); /* #2D4059 */
	text-align: center;
	margin: 0;
}

/* ── Meta row ── */

.post-hero__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 16px;
}

.post-hero__meta-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: 'Space Grotesk', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	color: var(--nav-secondary); /* #505869 */
}

.post-hero__meta-item time {
	color: inherit;
}

/* Vertical separator bar */
.post-hero__meta-sep {
	width: 1px;
	height: 20px;
	background: var(--nav-secondary);
	opacity: 0.5;
	border-radius: 2px;
	flex-shrink: 0;
}

/* ── Homepage description ── */

.post-hero__description {
	font-family: var(--font-figtree);
	font-size: 24px;
	font-weight: 300;
	line-height: 32px;
	color: var(--nav-secondary); /* #505869 */
	text-align: center;
	max-width: 626px;
	margin: 0;
}

/* ── Responsive ── */

@media (max-width: 900px) {
	.post-hero {
		padding: 64px 24px;
	}

	.post-hero__title {
		font-size: 32px;
		line-height: 38px;
	}
}

@media (max-width: 480px) {
	.post-hero {
		padding: 48px 16px;
	}

	.post-hero__title {
		font-size: 26px;
		line-height: 32px;
	}

	/* Stack meta vertically on very small screens */
	.post-hero__meta-sep {
		display: none;
	}

	.post-hero__meta {
		flex-direction: column;
		gap: 8px;
	}
}