/* NSS Programmes widget – base styles (all overridable from Elementor) */

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

/* ---------- Numbered heading (badge + pill) ---------- */
.nsp-head {
	display: flex;
	align-items: center;
	margin-bottom: 16px;
}
.nsp-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;
	line-height: 1;
	z-index: 1;
}
.nsp-pill {
	margin: 0 0 0 -14px;
	padding: 8px 28px 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;
}

/* ---------- Top row ---------- */
.nsp-top {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	align-items: stretch;
}
.nsp-split-card {
	background: #ffffff;
	border: 1px solid #dbe4f3;
	border-radius: 20px;
	padding: 20px 24px;
	box-shadow: 0 6px 20px rgba(11, 58, 140, 0.08);
	overflow: hidden;
}
.nsp-split {
	display: flex;
	align-items: center;
	gap: 20px;
}
.nsp-motto .nsp-split { flex-direction: row; }
.nsp-day .nsp-split   { flex-direction: row-reverse; }
.nsp-split-media {
	flex: 0 0 40%;
	max-width: 40%;
	text-align: center;
}
.nsp-split-media img {
	display: inline-block;
	max-width: 100%;
	height: auto;
}
.nsp-split-text {
	flex: 1 1 0;
	min-width: 0;
	font-size: 15px;
	line-height: 1.6;
}
.nsp-split-text p { margin: 0 0 12px; }
.nsp-split-text p:last-child { margin-bottom: 0; }

/* ---------- Classification ---------- */
.nsp-class {
	background: #f7f9fd;
	border: 1px solid #dbe4f3;
	border-radius: 20px;
	padding: 20px 24px;
}
.nsp-class-intro {
	margin: 0 0 16px;
	font-size: 16px;
}
.nsp-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.nsp-card {
	background: #ffffff;
	border: 2px solid #cfd9ec;
	border-radius: 18px;
	padding: 16px 20px 20px;
}
.nsp-card-head {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}
.nsp-card-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #0b3a8c;
	color: #ffffff;
	font-size: 18px;
	font-weight: 800;
	line-height: 1;
}
.nsp-card-title {
	margin: 0;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
	text-transform: uppercase;
	color: #0b3a8c;
}
.nsp-card-inner {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 18px;
}
.nsp-card-media {
	position: relative;
	flex: 0 0 42%;
	max-width: 42%;
}
.nsp-card-media img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}
.nsp-card-body { flex: 1 1 0; min-width: 0; }
.nsp-card-text {
	margin: 0 0 12px;
	font-size: 14.5px;
	line-height: 1.55;
}

/* checklist */
.nsp-card-list {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nsp-card-list li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	font-size: 14px;
	line-height: 1.35;
}
.nsp-card-check {
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 16px;
	color: #2e8b3d;
}
.nsp-card-check svg { width: 16px; height: 16px; fill: currentColor; }

/* overlay badge (120 HOURS / 7 DAYS) */
.nsp-card-badge {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	background: #ffffff;
	color: #2e8b3d;
	border-radius: 0 14px 0 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.nsp-badge-pos-bl .nsp-card-badge { left: 0;  bottom: 0; border-radius: 0 14px 0 12px; }
.nsp-badge-pos-br .nsp-card-badge { right: 0; bottom: 0; border-radius: 14px 0 12px 0; }
.nsp-badge-pos-tl .nsp-card-badge { left: 0;  top: 0;    border-radius: 12px 0 14px 0; }
.nsp-badge-pos-tr .nsp-card-badge { right: 0; top: 0;    border-radius: 0 12px 0 14px; }
.nsp-card-badge-icon { display: inline-flex; color: inherit; }
.nsp-card-badge-icon i { font-size: 36px; line-height: 1; }
.nsp-card-badge-icon svg { width: 36px; height: 36px; fill: currentColor; }
.nsp-card-badge-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
	color: inherit;
}
.nsp-card-badge-num {
	font-size: 32px;
	font-weight: 800;
	color: inherit;
}
.nsp-card-badge-label {
	margin-top: 2px;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	color: inherit;
}

/* ---------- Footer banner ---------- */
.nsp-footer {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 26px 32px;
	border-radius: 18px;
	background: #0b3a8c;
	color: #ffffff;
}
.nsp-footer-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 80px;
	height: 80px;
	border: 3px solid #ffffff;
	border-radius: 50%;
	color: #ffffff;
}
.nsp-footer-icon i { font-size: 36px; line-height: 1; }
.nsp-footer-icon svg { width: 36px; height: 36px; fill: currentColor; }
.nsp-footer-body { flex: 1 1 0; min-width: 0; }
.nsp-footer-title {
	margin: 0 0 8px;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.25;
	text-transform: uppercase;
	color: #ffffff;
}
.nsp-footer-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.55;
	color: #e6edfa;
}
.nsp-footer-right {
	display: inline-flex;
	flex: 0 0 auto;
	color: #ffffff;
}
.nsp-footer-right i { font-size: 90px; line-height: 1; }
.nsp-footer-right svg { width: 90px; height: 90px; fill: currentColor; }
.nsp-footer-right img { display: block; max-width: 100%; height: auto; }

/* ---------- Responsive fallbacks ---------- */
@media (max-width: 1024px) {
	.nsp-top   { grid-template-columns: 1fr; }
	.nsp-cards { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.nsp-split,
	.nsp-motto .nsp-split,
	.nsp-day .nsp-split { flex-direction: column; }
	.nsp-split-media { flex-basis: auto; max-width: 100%; }
	.nsp-card-inner { flex-direction: column; }
	.nsp-card-media { flex-basis: auto; max-width: 100%; width: 100%; }
	.nsp-footer { flex-wrap: wrap; padding: 22px 20px; }
	.nsp-hide-right-yes .nsp-footer-right { display: none; }
}
