/* Blog Archive CSS */
.custom-featured-hero {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	width: 100%;
	min-height: 480px;
	padding: 4vw;
	display: flex;
	align-items: end;
	justify-content: flex-start;
	color: #000;
}

.single-post-hero-top {
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	position: relative;
	width: 100%;
	min-height: 480px;
	padding: 4vw;
	display: flex;
	align-items: end;
	justify-content: center;
	color: #000;
}

.custom-featured-hero::after,
.single-post-hero-top::after {
	content: "";
	position: absolute;
	inset: 0;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.5) 100%);
	z-index: 0;
}

.custom-featured-hero h2 {
	color: #000;
}

.custom-featured-hero-overlay {
	position: relative;
	z-index: 1;
	max-width: 50%;
	width: 100%;
  padding-top: 10%;
}

.custom-featured-hero-overlay h2 {
	font-size: 1.5rem;
	margin-bottom: 0.5rem;
	color: #000;
}

.custom-featured-hero-overlay p {
	color: #666666;
    font-weight: 400;
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
	font-style: italic;
}

.hero-btn {
	display: inline-block;
	padding: 0.5em 1.2em;
	font-size: 0.95rem;
	border: 1.5px solid #000;
	border-radius: 4px;
	text-decoration: none;
	background: transparent;
	color: #000;
	transition: all 0.2s ease;
}

.hero-btn:hover {
	background: #000;
	color: #fff;
}

@media (max-width: 768px) {
	.hero-btn {
		margin-bottom: 10px;
	}
/* BACKGROUND holders that should bleed edge-to-edge */
	.custom-featured-hero,
	.single-post-hero-top {
		padding: 0;
		position: relative;
		margin-left: calc(50% - 50vw);
		margin-right: calc(50% - 50vw);
		width: 100vw;
		max-width: 100vw;
	}

	/* Reset the INNER content wrapper so the heading doesn't get shifted */
	.single-post-hero {
		position: relative;
		left: auto;
		right: auto;
		margin: 0 auto;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	/* Comfortable side gutters for the title/overlay text */
	.custom-featured-hero .custom-featured-hero-overlay,
	.single-post-hero .featured-title {
		padding-left: 20px;
		padding-right: 20px;
		overflow-wrap: anywhere;
		/* prevents long words from poking out */
	}

	/* Optional: avoid horizontal scrollbars just in case */
	html,
	body {
		overflow-x: hidden;
	}

	.custom-featured-hero-overlay {
		max-width: 100%;
	}
}