/* Phase 7 — NVA Community Stories & Impact */
.nva-story-hero,
.nva-story-single__hero {
	background: linear-gradient(135deg, var(--nva-primary, #123f35), var(--nva-primary-dark, #092a24));
	color: #fff;
	padding: clamp(4rem, 8vw, 7rem) 0;
}
.nva-story-hero h1,
.nva-story-single__hero h1 {
	max-width: 900px;
	margin: .35rem 0 1rem;
	font-size: clamp(2.25rem, 5vw, 4.5rem);
	line-height: 1.02;
}
.nva-story-hero p:not(.nva-eyebrow),
.nva-story-single__hero p:not(.nva-eyebrow) {
	max-width: 760px;
	font-size: 1.12rem;
	opacity: .92;
}
.nva-story-filters {
	display: grid;
	grid-template-columns: minmax(220px, 2fr) repeat(2, minmax(160px, 1fr)) auto;
	gap: 1rem;
	padding: 1.25rem;
	margin-bottom: 3.5rem;
	border: 1px solid rgba(0,0,0,.1);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 14px 40px rgba(0,0,0,.06);
}
.nva-story-filters label {
	display: block;
	font-size: .82rem;
	font-weight: 700;
	margin-bottom: .45rem;
}
.nva-story-filters input,
.nva-story-filters select {
	width: 100%;
	min-height: 46px;
	border: 1px solid #cbd5d1;
	border-radius: 10px;
	padding: .7rem .8rem;
	background: #fff;
}
.nva-story-heading {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
	margin: 2rem 0 1.25rem;
}
.nva-story-heading h2 {
	margin: 0;
}
.nva-story-view-toggle {
	border: 1px solid #ccd7d2;
	border-radius: 999px;
	padding: .55rem .85rem;
	background: #fff;
	cursor: pointer;
}
.nva-story-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}
.nva-story-grid.is-compact {
	grid-template-columns: 1fr;
}
.nva-story-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid rgba(0,0,0,.09);
	border-radius: 18px;
	background: #fff;
	box-shadow: 0 10px 30px rgba(0,0,0,.05);
	transition: transform .2s ease, box-shadow .2s ease;
}
.nva-story-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 42px rgba(0,0,0,.09);
}
.nva-story-card__media {
	position: relative;
	display: flex;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: #e8efec;
}
.nva-story-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.nva-story-card__media--placeholder {
	align-items: center;
	justify-content: center;
	font-size: 3rem;
	color: #35695c;
}
.nva-story-card__type {
	position: absolute;
	top: .75rem;
	left: .75rem;
	padding: .35rem .6rem;
	border-radius: 999px;
	background: rgba(255,255,255,.94);
	color: #183f35;
	font-size: .72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
}
.nva-story-card__body {
	padding: 1.25rem;
}
.nva-story-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .45rem;
	color: #61706b;
	font-size: .78rem;
	margin-bottom: .6rem;
}
.nva-story-card__title {
	font-size: 1.2rem;
	line-height: 1.25;
	margin: 0 0 .5rem;
}
.nva-story-card__title a {
	color: inherit;
	text-decoration: none;
}
.nva-story-card__role {
	font-weight: 700;
	margin: 0 0 .6rem !important;
	color: #35695c !important;
}
.nva-story-card__body p {
	color: #53625d;
	line-height: 1.65;
}
.nva-story-card__link {
	display: inline-flex;
	gap: .4rem;
	font-weight: 700;
	text-decoration: none;
	margin-top: .4rem;
}
.nva-story-empty {
	padding: 4rem 1rem;
	text-align: center;
	border: 1px dashed #b9c8c2;
	border-radius: 18px;
}
.nva-story-privacy {
	padding: 2rem 0;
	background: #edf4f1;
}
.nva-story-privacy p {
	max-width: 800px;
	margin: .4rem 0 0;
}
.nva-story-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
}
.nva-story-single__meta span {
	padding: .4rem .7rem;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 999px;
	font-size: .85rem;
}
.nva-story-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 2rem;
	align-items: start;
}
.nva-story-article__image {
	overflow: hidden;
	border-radius: 20px;
	margin-bottom: 2rem;
}
.nva-story-article__image img {
	display: block;
	width: 100%;
	height: auto;
}
.nva-story-identity {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.25rem;
	margin-bottom: 2rem;
	border: 1px solid #dce4e1;
	border-radius: 16px;
	background: #f7faf9;
}
.nva-story-identity h2 {
	margin: 0;
}
.nva-story-identity p {
	margin: .25rem 0 0;
	color: #61706b;
}
.nva-story-anonymized {
	padding: .4rem .7rem;
	border-radius: 999px;
	background: #e4eee9;
	font-size: .78rem;
	font-weight: 800;
	white-space: nowrap;
}
.nva-story-article__body {
	font-size: 1.05rem;
	line-height: 1.8;
}
.nva-story-sidebar {
	position: sticky;
	top: 1.5rem;
}
.nva-story-callout {
	padding: 1.5rem;
	border-radius: 18px;
	background: #edf4f1;
}
.nva-story-callout h2 {
	margin-top: 0;
}
@media (max-width: 980px) {
	.nva-story-filters {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.nva-story-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.nva-story-single__layout {
		grid-template-columns: 1fr;
	}
	.nva-story-sidebar {
		position: static;
	}
}
@media (max-width: 640px) {
	.nva-story-filters,
	.nva-story-grid {
		grid-template-columns: 1fr;
	}
	.nva-story-heading {
		align-items: start;
		flex-direction: column;
	}
	.nva-story-identity {
		align-items: start;
		flex-direction: column;
	}
}
