/* Featured Post Hero — drop-in editorial card.
 * Override these rules in voxel-child/style.css if you want to customize.
 */

.gah-fp-hero {
	position: relative;
	display: block;
	width: 100%;
	min-height: 320px;
	border-radius: 12px;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
	background-color: #1a1a1a; /* fallback if image fails to load */
	color: #fff;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	transition: transform 200ms ease, box-shadow 200ms ease;
	isolation: isolate; /* keep ::after etc. stacked predictably */
}

.gah-fp-hero:hover,
.gah-fp-hero:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
	color: #fff;
	text-decoration: none;
}

.gah-fp-hero__overlay {
	position: absolute;
	inset: 0;
	/* Multi-stop gradient: gentle haze at top (helps long titles + chip on bright
	 * photos), near-clear upper mid, picks up through title/meta zone, strong
	 * floor for the subtitle. Pairs with text-shadow halos for any-image legibility. */
	background: linear-gradient(
		to bottom,
		rgba(0, 0, 0, 0.20) 0%,
		rgba(0, 0, 0, 0.10) 25%,
		rgba(0, 0, 0, 0.45) 65%,
		rgba(0, 0, 0, 0.80) 100%
	);
	pointer-events: none;
}

.gah-fp-hero__inner {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
	height: 100%;
	min-height: inherit;
	padding: 28px 28px 24px;
	justify-content: flex-end;
}

.gah-fp-hero__chip {
	align-self: flex-start;
	padding: 4px 10px;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.4);
	border-radius: 999px;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	margin-bottom: 4px;
}

.gah-fp-hero__title {
	margin: 0;
	font-size: clamp(22px, 2.6vw, 32px);
	font-weight: 700;
	line-height: 1.15;
	color: #fff;
	/* Halo + drop: ensures legibility on any background, regardless of overlay coverage. */
	text-shadow:
		0 0 10px rgba(0, 0, 0, 0.55),
		0 1px 2px rgba(0, 0, 0, 0.45);
}

.gah-fp-hero__meta {
	margin: 2px 0 0;
	font-size: clamp(13px, 1.4vw, 15px);
	font-weight: 600;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.95);
	text-shadow:
		0 0 6px rgba(0, 0, 0, 0.50),
		0 1px 2px rgba(0, 0, 0, 0.40);
	letter-spacing: 0.01em;
}

/* Venue line — used for events. Same scale as meta but lighter weight,
 * so the date/time stays the primary "when" line. */
.gah-fp-hero__venue {
	margin: 0;
	font-size: clamp(13px, 1.4vw, 15px);
	font-weight: 500;
	line-height: 1.3;
	color: rgba(255, 255, 255, 0.9);
	text-shadow:
		0 0 6px rgba(0, 0, 0, 0.50),
		0 1px 2px rgba(0, 0, 0, 0.40);
}

.gah-fp-hero__subtitle {
	margin: 0;
	font-size: clamp(14px, 1.5vw, 16px);
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.92);
	text-shadow:
		0 0 6px rgba(0, 0, 0, 0.50),
		0 1px 2px rgba(0, 0, 0, 0.40);
	max-width: 60ch;
}

.gah-fp-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 8px;
	padding: 8px 16px;
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
	background: #fff;
	border-radius: 999px;
	align-self: flex-start;
	transition: background 120ms ease;
}

.gah-fp-hero:hover .gah-fp-hero__cta,
.gah-fp-hero:focus-visible .gah-fp-hero__cta {
	background: #f3f3f3;
}

@media (max-width: 600px) {
	.gah-fp-hero {
		min-height: 260px;
	}
	.gah-fp-hero__inner {
		padding: 20px 20px 18px;
	}
}
