/* Blog hero — shared header background (publications listing) */

.blog-hero {
	position: relative;
	overflow: hidden;
}

.blog-hero--overlay {
	padding-top: calc(var(--hero-header-offset, 5.5rem) + clamp(2rem, 1.5rem + 2vw, 3.5rem));
	padding-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem);
	margin-top: calc(-1 * var(--hero-header-offset, 5.5rem));
}

.blog-hero__bg {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	top: 0;
	bottom: 0;
	z-index: 0;
	background-color: #050505;
	background-image: var(--hero-header-bg-image);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.blog-hero--overlay .blog-hero__bg {
	top: calc(-1 * var(--hero-header-offset, 5.5rem));
	bottom: 0;
	height: auto;
	min-height: calc(100% + var(--hero-header-offset, 5.5rem));
}

.blog-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(88, 28, 135, 0.5) 100%),
		radial-gradient(ellipse 90% 55% at 50% 100%, rgba(124, 58, 237, 0.35) 0%, transparent 72%);
}

.blog-hero--has-bg .blog-hero__bg {
	background-color: transparent;
}

.blog-hero--has-bg .blog-hero__bg::after {
	background: linear-gradient(180deg, rgba(5, 5, 5, 0.55) 0%, rgba(5, 5, 5, 0.35) 50%, rgba(13, 25, 48, 0.65) 100%);
}

.blog-hero__container {
	position: relative;
	z-index: 1;
	max-width: 90rem;
	margin: 0 auto;
	padding: clamp(1rem, 2vw, 2rem) clamp(1.25rem, 4vw, 2.5rem);
}

.blog-hero--overlay .blog-hero__content .breadcrumbs,
.blog-hero--overlay .blog-hero__content .breadcrumbs a,
.blog-hero--overlay .blog-hero__content .rank-math-breadcrumb,
.blog-hero--overlay .blog-hero__content .rank-math-breadcrumb a {
	color: rgba(255, 255, 255, 0.75);
}

.blog-hero--overlay .blog-hero__content .breadcrumbs a:hover,
.blog-hero--overlay .blog-hero__content .rank-math-breadcrumb a:hover {
	color: #fff;
}

.blog-hero--overlay .blog-hero__title {
	margin: 0 0 clamp(0.75rem, 1.25vw, 1.25rem);
	font-weight: 700;
	font-size: clamp(2.5rem, 6vw, 6rem);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fcfcfc;
}

.blog-hero--overlay .blog-hero__description {
	margin: 0;
	font-size: clamp(1rem, 1.05vw, 1.25rem);
	line-height: 1.4;
	font-weight: 500;
	color: rgba(252, 252, 252, 0.92);
	max-width: 42rem;
}

@media (max-width: 61.99875em) {
	.wrapper--hero-header.hero-overlay--blog-archive {
		--hero-header-offset: 4.5rem;
	}

	.blog-hero--overlay {
		margin-top: calc(-1 * var(--hero-header-offset, 4.5rem));
	}
}
