/*
 * Split from components.css. Selectors unchanged.
 * Florida Wildlife Corridor Progress (storymap band).
 */

/*
 * FWC Progress: production Elementor container is min-height 100vh with a
 * cover video. Header stays in flow (solid --c-nav), so the hero fills the
 * remaining viewport rather than tucking under the bar.
 */
.wpx-hero--gradient.wpx-hero--fwc.has-media {
	min-height: calc(100svh - 4.5rem);
	overflow: hidden;
}

/* ---------- Storymap band ---------- */

.wpx-storymap-band {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: var(--c-white);
	background-color: var(--wpx-storymap-bg, #364635);
}

.wpx-storymap-band.has-mark::before {
	position: absolute;
	inset: 0;
	z-index: 0;
	background-image: var(--wpx-storymap-mark);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	opacity: 0.5;
	mix-blend-mode: multiply;
	content: '';
	pointer-events: none;
}

.wpx-storymap-band > .wpx-container {
	position: relative;
	z-index: 1;
}

.wpx-storymap-band__grid {
	display: grid;
	gap: var(--sp-7);
	align-items: center;
}

.wpx-storymap-band__copy {
	max-width: 36rem;
}

.wpx-storymap-band__copy p {
	margin: 0 0 var(--sp-5);
	font-weight: 400;
	line-height: var(--lh-body);
}

.wpx-storymap-band__copy p:last-child {
	margin-bottom: 0;
}

.wpx-storymap-band__copy a {
	color: inherit;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.wpx-storymap-card {
	position: relative;
	display: grid;
	isolation: isolate;
	overflow: hidden;
	min-height: 22rem;
	color: var(--c-white);
	text-decoration: none;
}

.wpx-storymap-card__image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wpx-storymap-card::after {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: rgb(8 18 12 / 38%);
	content: '';
	pointer-events: none;
}

.wpx-storymap-card__body {
	position: relative;
	z-index: 2;
	display: grid;
	align-content: center;
	justify-items: center;
	gap: var(--sp-3);
	padding: var(--sp-7) var(--sp-5);
	text-align: center;
}

.wpx-storymap-card__title {
	margin: 0;
	max-width: 14ch;
	font-size: clamp(1.75rem, 1.2rem + 1.6vw, 2.5rem);
	font-weight: 500;
	line-height: var(--lh-tight);
	color: inherit;
}

.wpx-storymap-card__subtitle {
	margin: 0;
	max-width: 22ch;
	font-size: var(--fs-sm);
	line-height: var(--lh-heading);
}

.wpx-storymap-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;
	margin-top: var(--sp-3);
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: var(--tracking-wide);
	text-transform: uppercase;
}

.wpx-storymap-card__arrow {
	transition: transform var(--dur) var(--ease);
}

.wpx-storymap-card:hover .wpx-storymap-card__arrow,
.wpx-storymap-card:focus-visible .wpx-storymap-card__arrow {
	transform: translateX(0.2em);
}

@media (width >= 56rem) {
	.wpx-storymap-band__grid {
		grid-template-columns: 1fr 1fr;
		column-gap: var(--sp-8);
	}

	.wpx-storymap-card {
		min-height: 26rem;
	}
}
