.pyrotech-impact {
	background: #fff;
	padding: 78px 0 80px;
}

.pyrotech-impact .section-head {
	margin-bottom: 40px;
}

.pyrotech-impact .heading-common {
	font-size: 40px;
	line-height: 120%;
	color: #111;
	max-width: 420px;
}

.pyrotech-impact .heading-common-light {
	font-weight: 400;
}

.pyrotech-impact .heading-common-line--heavy {
	display: block;
	margin-top: 0.15em;
	font-weight: 900;
}

.pyrotech-impact .heading-common-desc {
	line-height: 160%;
	color: #333;
	max-width: 560px;
	flex: 1;
	min-width: 0;
}

/* Two stacked flex rows (not CSS grid — avoids theme/grid fragmentation) */
.pyrotech-impact__rows {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
}

.pyrotech-impact__row {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 24px;
	width: 100%;
	box-sizing: border-box;
	min-width: 0;
}

.pyrotech-impact__cell {
	border-radius: 18px;
	overflow: hidden;
	box-sizing: border-box;
	min-width: 0;
}

/* Grows to fill remaining row space */
.pyrotech-impact__cell--grow {
	flex: 1 1 0%;
	min-width: 0;
}

/* Fixed “unit” width — pairs with grow for 2:1:1 / 1:1:2 */
.pyrotech-impact__cell--fixed {
	flex: 0 0 272px;
	width: 272px;
	max-width: 100%;
	min-width: 0;
}

/* Quote / brand card — fixed height matches media + stat tiles */
.pyrotech-impact__quote {
	height: 378px;
	min-height: 378px;
	max-height: 378px;
	padding: 32px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	background: linear-gradient(123.49deg, #0089C2 -1.5%, #00415C 69.91%);
	color: #fff;
	text-decoration: none;
	box-sizing: border-box;
	overflow-y: auto;
}

.pyrotech-impact__quote-brand {
	margin: 0;
	line-height: 0;
}

.pyrotech-impact__quote-brand img {
	display: block;
	height: auto;
	max-width: min(100%, 186px);
	width: auto;
}

.pyrotech-impact__quote-text {
	
	font-weight: 400;
	font-size: 21px;
	line-height: 140%;
	color: rgba(255, 255, 255, 0.95);
	margin: 24px 0 0;
	border: none;
	padding: 0;
}

/* Media tiles — outer div + overlay <a> (no block elements inside <a>; avoids wpautop splitting markup) */
.pyrotech-impact__media {
	position: relative;
	display: block;
	width: 100%;
	height: 378px;
	min-height: 378px;
	max-height: 378px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: #fff;
	box-sizing: border-box;
}

.pyrotech-impact__media::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.75) 100%);
	border-radius: inherit;
	pointer-events: none;
}

/* Full-card hit target; must not wrap block nodes (WordPress wpautop breaks <a><div>…) */
.pyrotech-impact__media-hit {
	position: absolute;
	inset: 0;
	z-index: 3;
	border-radius: inherit;
}

.pyrotech-impact__media-hit:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

.pyrotech-impact__media-inner {
	position: relative;
	z-index: 2;
	height: 100%;
	min-height: 0;
	padding: 24px;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
	pointer-events: none;
}

.pyrotech-impact__media-title {
	font-weight: 700;
	font-size: 24px;
	line-height: 130%;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	margin: 0 0 6px;
}

.pyrotech-impact__media-meta {
	font-weight: 400;
	font-size: 18px;
	margin: 0;
}

/* Stat / insight card */
.pyrotech-impact__stat {
	position: relative;
	height: 378px;
	min-height: 378px;
	max-height: 378px;
	padding: 0;
	display: flex;
	flex-direction: column;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-decoration: none;
	color: #1a1a1a;
	box-sizing: border-box;
	overflow: hidden;
}

.pyrotech-impact__stat-inner {
	position: relative;
	z-index: 1;
	height: 100%;
	box-sizing: border-box;
	padding: 37.5px 24px;
	border-radius: 20px;
	backdrop-filter: blur(64px);
	-webkit-backdrop-filter: blur(64px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 32px;
	margin: 24px;
}

.pyrotech-impact__stat-kicker {
	font-weight: 400;
	font-size: clamp(28px, 5vw, 42px);
	line-height: 1.15;
	color: #000;
	margin: 0;
	max-width: 80%;
}

.pyrotech-impact__stat-bottom {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 0;
	flex-wrap: wrap;
}

.pyrotech-impact__stat-pct {
	font-weight: 600;
	font-size: clamp(40px, 10vw, 78px);
	line-height: 1;
	letter-spacing: -0.02em;
	color: #0089c2;
	margin: 0;
	flex: 0 0 auto;
}

.pyrotech-impact__stat-body {
	font-weight: 400;
	font-size: 16px;
	line-height: 160%;
	color: #000;
	margin: 0;
	max-width: 55%;
	text-align: left;
	flex: 1 1 160px;
	min-width: 0;
}

@media (max-width: 1024px) {
	.pyrotech-impact .section-head {
		flex-direction: column;
		gap: 24px;
	}

	.pyrotech-impact .heading-common {
		max-width: none;
	}

	.pyrotech-impact .heading-common-desc {
		max-width: none;
	}

	.pyrotech-impact__row {
		flex-wrap: wrap;
	}

	/* Full-width grow items; fixed tiles share a row */
	.pyrotech-impact__cell--grow {
		flex: 1 1 100%;
	}

	.pyrotech-impact__cell--fixed {
		flex: 1 1 calc(50% - 12px);
		min-width: 200px;
		width: auto;
	}
}

@media (max-width: 640px) {
	.pyrotech-impact {
		padding: 56px 0 60px;
	}

	.pyrotech-impact .heading-common {
		font-size: 28px;
	}

	.pyrotech-impact__row {
		flex-direction: column;
		flex-wrap: nowrap;
	}

	.pyrotech-impact__cell--grow,
	.pyrotech-impact__cell--fixed {
		flex: 1 1 auto !important;
		width: 100%;
		max-width: none;
	}

	.pyrotech-impact__stat-bottom {
		flex-direction: column;
		align-items: flex-start;
	}

	.pyrotech-impact__stat-body {
		max-width: none;
	}

	.pyrotech-impact__stat-inner {
		padding: 28px 20px;
	}
}
