.nsi-single-post {
	padding: 3rem 0 4rem;
	background-color: #fff;
	color: #1c1c1d;
}

/* Main Layout */

.nsi-single-post__layout {
	display: grid;
	grid-template-columns: minmax(0, 2.5fr) minmax(280px, 1fr);
	gap: 2rem;
	align-items: start;
}

.nsi-single-post__article {
	min-width: 0;
}

/* Featured Image */

.nsi-single-post__image {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 7;
	overflow: hidden;
	background-color: #f7f9fc;
	border-radius: 2rem;
}

.nsi-single-post__featured-image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center;
}

/* Header */

.nsi-single-post__header {
	padding: 2.25rem 0 2.5rem;
}

.nsi-single-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8rem;
	margin-bottom: 1.25rem;
}

.nsi-single-post__category {
	display: inline-flex;
	align-items: center;
	padding: 0.3rem 0.75rem;
	background-color: #effaff;
	border-radius: 999px;
	color: #3070c7;
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.nsi-single-post__category:hover,
.nsi-single-post__category:focus {
	background-color: #3070c7;
	color: #fff;
	text-decoration: none;
}

.nsi-single-post__date {
	color: #677180;
	font-size: 0.8rem;
	font-weight: 500;
}

.nsi-single-post__title {
	width: 100%;
	margin: 0 0 1.5rem;
	color: #1e4488;
	font-size: 3rem;
	font-weight: 700;
	line-height: 1.08;
}

.nsi-single-post__excerpt {
	width: 100%;
	margin: 0;
	padding: 1rem 1.25rem;
	background-color: #f7f9fc;
	border-left: 4px solid #3db3e3;
	border-radius: 0 0.9rem 0.9rem 0;
	color: #7a8390;
	font-size: 1.05rem;
	font-weight: 600;
	line-height: 1.6;
}

/* Content */

.nsi-single-post__content {
	width: 100%;
	color: #3f4854;
	font-size: 1rem;
	line-height: 1.75;
}

.nsi-single-post__content > *:first-child {
	margin-top: 0;
}

.nsi-single-post__content > *:last-child {
	margin-bottom: 0;
}

.nsi-single-post__content p {
	margin-bottom: 1.4rem;
}

.nsi-single-post__content h2,
.nsi-single-post__content h3,
.nsi-single-post__content h4,
.nsi-single-post__content h5,
.nsi-single-post__content h6 {
	margin-top: 2.25rem;
	margin-bottom: 1rem;
	color: #1e4488;
	font-weight: 700;
	line-height: 1.2;
}

.nsi-single-post__content h2 {
	font-size: 2rem;
}

.nsi-single-post__content h3 {
	font-size: 1.6rem;
}

.nsi-single-post__content h4 {
	font-size: 1.3rem;
}

.nsi-single-post__content a {
	color: #3070c7;
	font-weight: 600;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

.nsi-single-post__content a:hover,
.nsi-single-post__content a:focus {
	color: #1e4488;
}

.nsi-single-post__content ul,
.nsi-single-post__content ol {
	margin-bottom: 1.5rem;
	padding-left: 1.4rem;
}

.nsi-single-post__content li {
	margin-bottom: 0.5rem;
}

.nsi-single-post__content blockquote {
	margin: 2rem 0;
	padding: 1.5rem 1.75rem;
	background-color: #effaff;
	border-left: 5px solid #3db3e3;
	border-radius: 0 1rem 1rem 0;
	color: #1e4488;
	font-size: 1.1rem;
	font-style: italic;
	line-height: 1.6;
}

.nsi-single-post__content blockquote p:last-child {
	margin-bottom: 0;
}

.nsi-single-post__content img {
	max-width: 100%;
	height: auto;
	border-radius: 1rem;
}

.nsi-single-post__content figure {
	margin: 2rem 0;
}

.nsi-single-post__content figcaption {
	margin-top: 0.65rem;
	color: #7a8390;
	font-size: 0.78rem;
	line-height: 1.5;
}

.nsi-single-post__content hr {
	margin: 2.5rem 0;
	border: 0;
	border-top: 1px solid #e1e6ed;
	opacity: 1;
}

.nsi-single-post__content table {
	width: 100%;
	margin-bottom: 2rem;
	border-collapse: collapse;
}

.nsi-single-post__content th,
.nsi-single-post__content td {
	padding: 0.85rem 1rem;
	border: 1px solid #dfe5ec;
	text-align: left;
}

.nsi-single-post__content th {
	background-color: #f7f9fc;
	color: #1e4488;
	font-weight: 700;
}

/* External Article */

.nsi-single-post__external {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid #e1e6ed;
}

.nsi-single-post__external-meta {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.55rem 0.85rem;
	background-color: #f7f9fc;
	border: 1px solid #e1e7ee;
	border-radius: 999px;
	color: #677180;
	font-size: 0.78rem;
	line-height: 1.3;
}

.nsi-single-post__external-meta i {
	flex-shrink: 0;
	color: #3070c7;
	font-size: 0.8rem;
}

.nsi-single-post__external-meta strong {
	color: #535e73;
	font-weight: 700;
}

.nsi-single-post__external-link {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	padding: 0.7rem 1.15rem;
	background-color: #3070c7;
	border-radius: 999px;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		transform 0.2s ease;
}

.nsi-single-post__external-link:hover,
.nsi-single-post__external-link:focus {
	background-color: #1e4488;
	color: #fff;
	text-decoration: none;
	transform: translateY(-1px);
}

.nsi-single-post__external-link i {
	font-size: 0.72rem;
}

/* Footer */

.nsi-single-post__footer {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid #e1e6ed;
}

.nsi-single-post__back {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #3070c7;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
}

.nsi-single-post__back:hover,
.nsi-single-post__back:focus {
	color: #1e4488;
	text-decoration: none;
}

/* Sidebar */

.nsi-single-post__sidebar {
	position: sticky;
	top: 2rem;
	min-width: 0;
	padding: 1.5rem;
	background-color: #f7f9fc;
	border-radius: 1.5rem;
}

.nsi-single-post__sidebar-section {
	width: 100%;
}

.nsi-single-post__sidebar-section--news {
	margin-top: 1.75rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(30, 68, 136, 0.15);
}

.nsi-single-post__sidebar-title {
	margin: 0 0 1.25rem;
	color: #1e4488;
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.2;
}

/* Story Cards */

.nsi-single-post__recent-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.nsi-single-post__recent-card {
	margin: 0;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(30, 68, 136, 0.1);
}

.nsi-single-post__recent-card:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.nsi-single-post__recent-link {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: start;
	color: inherit;
	text-decoration: none;
}

.nsi-single-post__recent-link:hover,
.nsi-single-post__recent-link:focus {
	color: inherit;
	text-decoration: none;
}

.nsi-single-post__recent-image {
	width: 82px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: #e7ebf0;
	border-radius: 0.8rem;
}

.nsi-single-post__recent-thumbnail,
.nsi-single-post__recent-placeholder {
	display: block;
	width: 100%;
	height: 100%;
}

.nsi-single-post__recent-thumbnail {
	object-fit: cover;
	transition: transform 0.25s ease;
}

.nsi-single-post__recent-placeholder {
	background-color: #e2e7ed;
}

.nsi-single-post__recent-link:hover .nsi-single-post__recent-thumbnail {
	transform: scale(1.04);
}

.nsi-single-post__recent-content {
	min-width: 0;
}

.nsi-single-post__recent-content h3 {
	margin: 0 0 0.6rem;
	color: #1e4488;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
}

.nsi-single-post__recent-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #3070c7;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
}

.nsi-single-post__recent-cta i {
	font-size: 0.65rem;
	transition: transform 0.2s ease;
}

.nsi-single-post__recent-link:hover .nsi-single-post__recent-cta i {
	transform: translateX(2px);
}

/* News & Media Cards */

.nsi-single-post__news-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.nsi-single-post__news-card {
	margin: 0;
	padding-bottom: 1rem;
	border-bottom: 1px solid rgba(30, 68, 136, 0.1);
}

.nsi-single-post__news-card:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.nsi-single-post__news-link {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 0.85rem;
	align-items: center;
	color: inherit;
	text-decoration: none;
}

.nsi-single-post__news-link:hover,
.nsi-single-post__news-link:focus {
	color: inherit;
	text-decoration: none;
}

.nsi-single-post__news-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	padding: 0.65rem;
	overflow: hidden;
	background-color: #fff;
	border: 1px solid rgba(30, 68, 136, 0.08);
	border-radius: 0.8rem;
}

.nsi-single-post__news-logo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.nsi-single-post__news-logo-placeholder {
	width: 100%;
	height: 100%;
	background-color: #e2e7ed;
	border-radius: 0.35rem;
}

.nsi-single-post__news-content {
	min-width: 0;
}

.nsi-single-post__news-content h3 {
	margin: 0 0 0.6rem;
	color: #1e4488;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.3;
}

.nsi-single-post__news-cta {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: #3070c7;
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
}

.nsi-single-post__news-cta i {
	font-size: 0.65rem;
	transition: transform 0.2s ease;
}

.nsi-single-post__news-link:hover .nsi-single-post__news-cta i {
	transform: translateX(2px);
}

/* Comments */

.nsi-single-post__comments {
	width: 100%;
	margin-top: 4rem;
}

/* Pagination */

.nsi-single-post__page-links {
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e1e6ed;
}

/* Responsive */

@media (max-width: 991.98px) {
	.nsi-single-post__layout {
		grid-template-columns: minmax(0, 2fr) minmax(250px, 1fr);
		gap: 1.5rem;
	}

	.nsi-single-post__title {
		font-size: 2.6rem;
	}

	.nsi-single-post__sidebar {
		top: 1.5rem;
		padding: 1.25rem;
	}

	.nsi-single-post__recent-link,
	.nsi-single-post__news-link {
		grid-template-columns: 72px minmax(0, 1fr);
	}

	.nsi-single-post__recent-image,
	.nsi-single-post__news-logo {
		width: 72px;
	}

	.nsi-single-post__news-logo {
		height: 72px;
	}
}

@media (max-width: 767.98px) {
	.nsi-single-post {
		padding: 1rem 1rem 3rem;
	}

	.nsi-single-post__layout {
		display: flex;
		flex-direction: column;
		gap: 3rem;
	}

	.nsi-single-post__article,
	.nsi-single-post__sidebar {
		width: 100%;
	}

	.nsi-single-post__image {
		position: relative;
		width: 100%;
		height: 220px;
		aspect-ratio: auto;
		overflow: hidden;
		border-radius: 1.5rem;
	}

	.nsi-single-post__featured-image {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		max-width: none;
		margin: 0;
		object-fit: cover;
		object-position: center;
	}

	.nsi-single-post__header {
		padding: 2rem 0;
	}

	.nsi-single-post__title {
		font-size: 2.3rem;
	}

	.nsi-single-post__excerpt {
		padding: 0.9rem 1rem;
		font-size: 0.98rem;
		line-height: 1.55;
	}

	.nsi-single-post__content {
		font-size: 0.95rem;
		line-height: 1.7;
	}

	.nsi-single-post__content h2 {
		font-size: 1.65rem;
	}

	.nsi-single-post__content h3 {
		font-size: 1.4rem;
	}

	.nsi-single-post__content blockquote {
		padding: 1.25rem;
		font-size: 1rem;
	}

    .nsi-single-post__external-meta {
		align-items: flex-start;
		border-radius: 0.8rem;
	}
}

	.nsi-single-post__sidebar {
		position: static;
		padding: 1.25rem;
		border-radius: 1.25rem;
	}

	.nsi-single-post__sidebar-title {
		font-size: 1.25rem;
	}

	.nsi-single-post__sidebar-section--news {
		margin-top: 1.5rem;
		padding-top: 1.5rem;
	}

	.nsi-single-post__recent-link,
	.nsi-single-post__news-link {
		grid-template-columns: 88px minmax(0, 1fr);
		gap: 1rem;
	}

	.nsi-single-post__recent-image,
	.nsi-single-post__news-logo {
		width: 88px;
	}

	.nsi-single-post__news-logo {
		height: 88px;
	}

	.nsi-single-post__recent-content h3,
	.nsi-single-post__news-content h3 {
		font-size: 1rem;
	}

	.nsi-single-post__comments {
		margin-top: 3rem;
	}
}

@media (max-width: 575.98px) {
	.nsi-single-post__title {
		font-size: 2.05rem;
	}

	.nsi-single-post__meta {
		gap: 0.6rem;
		margin-bottom: 1rem;
	}

	.nsi-single-post__category {
		font-size: 0.7rem;
	}

	.nsi-single-post__date {
		font-size: 0.74rem;
	}

	.nsi-single-post__content {
		font-size: 0.92rem;
	}

	.nsi-single-post__recent-link,
	.nsi-single-post__news-link {
		grid-template-columns: 78px minmax(0, 1fr);
	}

	.nsi-single-post__recent-image,
	.nsi-single-post__news-logo {
		width: 78px;
	}

	.nsi-single-post__news-logo {
		height: 78px;
	}

	.nsi-single-post__recent-content h3,
	.nsi-single-post__news-content h3 {
		font-size: 0.94rem;
	}
}