/* NSS Infographic Addon – base styles (all overridable from Elementor) */

.nss-wrap {
	display: flex;
	flex-direction: column;
	gap: 20px;
	box-sizing: border-box;
	font-family: inherit;
}
.nss-wrap *,
.nss-wrap *::before,
.nss-wrap *::after { box-sizing: border-box; }

/* ---------- Stats bar ---------- */
.nss-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: #ffffff;
	border: 1px solid #dbe4f3;
	border-radius: 20px;
	padding: 24px 10px;
	box-shadow: 0 6px 20px rgba(11, 58, 140, 0.08);
}
.nss-stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 6px 16px;
}
.nss-stat + .nss-stat {
	border-left: 1px dotted #b9c8e4;
}
.nss-stat-top {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
}
.nss-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #0b3a8c;
	color: #ffffff;
}
.nss-stat-icon i { font-size: 28px; line-height: 1; }
.nss-stat-icon svg { width: 28px; height: 28px; fill: currentColor; }

.nss-stat-value { display: inline-flex; align-items: baseline; }
.nss-stat-number {
	font-size: 38px;
	font-weight: 800;
	line-height: 1.1;
	color: #0b3a8c;
}
.nss-stat-suffix {
	margin-left: 6px;
	font-size: 28px;
	font-weight: 800;
	color: #0b3a8c;
}
.nss-stat-label {
	margin-top: 10px;
	font-size: 16px;
	color: #1f2d4d;
	text-align: center;
}
.nss-stat-label::after {
	content: "";
	display: none;
	width: 30px;
	height: 2px;
	margin: 8px auto 0;
	background: #0b3a8c;
}
.nss-line-yes .nss-stat-label::after { display: block; }

/* ---------- Main row ---------- */
.nss-main {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items:stretch;
}

/* ---------- Concept ---------- */
.nss-concept {
	background: #ffffff;
	border: 1px solid #dbe4f3;
	border-radius: 20px;
	padding: 20px 24px;
	box-shadow: 0 6px 20px rgba(11, 58, 140, 0.08);
}
.nss-concept-head {
	display: flex;
	align-items: center;
	margin-bottom: 18px;
}
.nss-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border: 3px solid #0b3a8c;
	border-radius: 50%;
	background: #ffffff;
	color: #0b3a8c;
	font-size: 26px;
	font-weight: 800;
	z-index: 1;
}
.nss-pill {
	margin: 0 0 0 -14px;
	padding: 8px 26px 8px 28px;
	background: #0b3a8c;
	color: #ffffff;
	border-radius: 0 999px 999px 0;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
}
.nss-concept-text {
	font-size: 16px;
	line-height: 1.6;
	color: #1f2d4d;
}
.nss-concept-text p { margin: 0 0 14px; }
.nss-concept-text p:last-child { margin-bottom: 0; }

/* ---------- Activities ---------- */
.nss-activities {
	background: #ffffff;
	border: 1px solid #dbe4f3;
	border-radius: 20px;
	padding: 0 0 4px;
	overflow: hidden;
	box-shadow: 0 6px 20px rgba(11, 58, 140, 0.08);
}
.nss-act-head {
	background: #0b3a8c;
	color: #ffffff;
	text-align: center;
	font-size: 20px;
	font-weight: 800;
	text-transform: uppercase;
	padding: 12px 20px;
	margin-bottom: 8px;
}
.nss-act-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px; margin-top:50px;
	background: #d3ddf0; /* shows through the gap as grid lines */
}
.nss-act-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px 10px;
	background: #ffffff;
	text-align: center;
	text-decoration: none;
	transition: background-color .25s ease;
}
.nss-act-icon {
	display: inline-flex;
	color: #0b3a8c;
	transition: transform .25s ease, color .25s ease;
}
.nss-act-icon i { font-size: 48px; line-height: 1; }
.nss-act-icon svg { width: 48px; height: 48px; fill: currentColor; }
.nss-act-title {
	font-size: 16px;
	line-height: 1.3;
	color: #1f2d4d;
	transition: color .25s ease;
}

/* ---------- Responsive fallbacks ---------- */
@media (max-width: 1024px) {
	.nss-main { grid-template-columns: 1fr; }
	.nss-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
	.nss-stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 767px) {
	.nss-stats { grid-template-columns: 1fr; }
	.nss-stat + .nss-stat { border-left: 0; border-top: 1px dotted #b9c8e4; padding-top: 18px; }
	.nss-act-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
