/* ==========================================================================
   Barriano Newsroom – Frontend Styles  v1.1
   Card design: text-focused with category badge (reference screenshot 2)
   Single post: two-column header, sticky social share (reference screenshot 1)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Page wrapper
   -------------------------------------------------------------------------- */

.newsroom-page {
	background-color: #eef2f9;
	width: 100%;
	min-height: 60vh;
}

/* Shortcode embedded inside another page — transparent background */
.newsroom-shortcode {
	background-color: transparent;
	min-height: unset;
}
.newsroom-shortcode .newsroom-section {
	padding-left: 0;
	padding-right: 0;
}

/* Column overrides are defined with the grid block below */

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.newsroom-hero {
	text-align: center;
	padding: 72px 24px 44px;
}

.newsroom-hero__title {
	font-size: 54px;
	font-weight: 800;
	color: #12123a;
	line-height: 1.1;
	margin: 0 0 16px;
	letter-spacing: -1px;
}

.newsroom-hero__subtitle {
	font-size: 16px;
	color: #5e6a80;
	line-height: 1.65;
	max-width: 520px;
	margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Category filter tabs — now <button> elements (no page redirect)
   -------------------------------------------------------------------------- */

.newsroom-filters {
	display: flex;
	justify-content: center;
	padding: 0 20px 48px;
}

.newsroom-filters__inner {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	justify-content: center;
	gap: 2px;
	background: #e2eaf5;
	border: 1px solid #ccd8ec;
	border-radius: 50px;
	padding: 5px;
}

.newsroom-filters__item {
	display: inline-block;
	padding: 9px 22px;
	border-radius: 40px;
	font-size: 14px;
	font-weight: 500;
	color: #5e6a80;
	background: transparent;
	border: none;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
	line-height: 1.4;
	font-family: inherit;
}

.newsroom-filters__item:hover {
	color: #12123a;
	background: rgba(255, 255, 255, 0.8);
}

.newsroom-filters__item.is-active {
	background: #12123a;
	color: #ffffff;
	font-weight: 600;
	box-shadow: 0 2px 8px rgba(18, 18, 58, 0.22);
}

/* --------------------------------------------------------------------------
   Section heading
   -------------------------------------------------------------------------- */

.newsroom-section {
	
	margin: 0 auto;
	padding: 0 40px 80px;
	position: relative;
}

.newsroom-section__title {
	text-align: center;
	font-size: 28px;
	font-weight: 700;
	color: #12123a;
	margin: 0 0 28px;
	letter-spacing: -0.3px;
}

/* --------------------------------------------------------------------------
   Loading overlay (AJAX filter)
   -------------------------------------------------------------------------- */

.newsroom-loading {
	display: none;
	position: absolute;
	inset: 0;
	background: rgba(238, 242, 249, 0.75);
	z-index: 10;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	backdrop-filter: blur(2px);
}

.newsroom-loading.is-visible {
	display: flex;
}

.newsroom-loading__spinner {
	width: 36px;
	height: 36px;
	border: 3px solid #ccd8ec;
	border-top-color: #1493fe;
	border-radius: 50%;
	animation: bnrSpin 0.7s linear infinite;
}

@keyframes bnrSpin {
	to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Cards grid — responsive: 3 col → 2 col → 1 col
   -------------------------------------------------------------------------- */

.newsroom-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* Shortcode column overrides (only on large screens) */
.newsroom-grid--cols-1 { grid-template-columns: 1fr !important; }
.newsroom-grid--cols-2 { grid-template-columns: repeat(2, 1fr) !important; }
.newsroom-grid--cols-3 { grid-template-columns: repeat(3, 1fr) !important; }

/* Tablet: 2 columns */
@media (max-width: 1023px) {
	.newsroom-grid,
	.newsroom-grid--cols-3 { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Mobile: 1 column */
@media (max-width: 599px) {
	.newsroom-grid,
	.newsroom-grid--cols-2,
	.newsroom-grid--cols-3 { grid-template-columns: 1fr !important; }
}

/* --------------------------------------------------------------------------
   Card — image at top + meta + title + excerpt
   -------------------------------------------------------------------------- */

.newsroom-card {
	background: #ffffff;
	border-radius: 16px;
	border: 1px solid #e4ecf5;
	box-shadow: 0 2px 8px rgba(18, 18, 58, 0.05);
	display: flex;
	flex-direction: column;
	transition: transform 0.22s ease, box-shadow 0.22s ease;
	overflow: hidden;
}

.newsroom-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 32px rgba(18, 18, 58, 0.11);
}

/* ── Image area ── */
.newsroom-card__img-wrap {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: #d8e2f0;
	flex-shrink: 0;
}

.newsroom-card__img-wrap img,
.newsroom-card__img-wrap .newsroom-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.32s ease;
}

.newsroom-card:hover .newsroom-card__img-wrap img {
	transform: scale(1.04);
}

/* ── Placeholder (no featured image) ── */
.newsroom-card__placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #d8e2f0;
}

/* ── Card body ── */
.newsroom-card__body {
	padding: 20px 22px 22px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

/* ── Date · Category meta row ── */
.newsroom-card__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
	font-size: 12.5px;
	color: #6e7a8e;
	margin: 0 0 10px;
	line-height: 1.4;
}

.newsroom-card__meta-sep {
	color: #aab4c4;
	margin: 0 1px;
}

.newsroom-card__cat {
	color: #1493fe;
	text-decoration: none;
	font-weight: 600;
	transition: color 0.18s ease;
}

.newsroom-card__cat:hover { color: #0d7de0; }

/* ── Title ── */
.newsroom-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.38;
	color: #12123a;
	margin: 0 0 10px;
	flex: 1;
}

.newsroom-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.18s ease;
	font-size: 20px;
    font-weight: 600;
}

.newsroom-card__title a:hover { color: #1493fe; }

/* ── Excerpt ── */
.newsroom-card__excerpt {
	font-size: 13.5px;
	color: #6e7a8e;
	line-height: 1.65;
	margin: 0;
}

.newsroom-card__read-link:hover {
	color: #0c32e8;
	gap: 8px;
}

.newsroom-card__read-icon {
	width: 14px !important;
	height: 14px !important;
	max-width: 14px !important;
	flex-shrink: 0;
	display: inline-block !important;
	vertical-align: middle;
}

.newsroom-card__date {
	font-size: 12.5px;
	color: #8a95a8;
	white-space: nowrap;
}

/* ── No-posts state ── */
.newsroom-no-posts {
	grid-column: 1 / -1;
	text-align: center;
	padding: 60px 20px;
	color: #8a95a8;
	font-size: 15px;
}

.newsroom-no-posts strong {
	display: block;
	font-size: 18px;
	color: #12123a;
	margin-bottom: 6px;
}

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */

.newsroom-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
	padding: 40px 0 0;
	min-height: 40px;
}

.newsroom-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 6px;
	border-radius: 50%;
	font-size: 13.5px;
	font-weight: 500;
	color: #12123a;
	background: #fff;
	border: 1.5px solid #ccd8ec;
	text-decoration: none !important;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.newsroom-pagination .page-numbers:hover {
	background: #12123a;
	color: #fff;
	border-color: #12123a;
}

.newsroom-pagination .page-numbers.current {
	background: #12123a;
	color: #fff;
	border-color: #12123a;
	font-weight: 700;
}

.newsroom-pagination .page-numbers.prev,
.newsroom-pagination .page-numbers.next {
	min-width: auto;
	padding: 0 18px;
	border-radius: 40px;
}

.newsroom-pagination .page-numbers.dots {
	background: transparent;
	border-color: transparent;
	pointer-events: none;
	color: #8a95a8;
}

/* ==========================================================================
   SINGLE POST
   ========================================================================== */

/* --------------------------------------------------------------------------
   Single header — two-column (title+byline LEFT, sidebar RIGHT)
   -------------------------------------------------------------------------- */

.newsroom-single {
	background: #fff;
}

.newsroom-single .newsroom-hero {
	display: none; /* no hero on single post */
}

.newsroom-single__header {
	background: #eef2f9;
	padding: 40px 0 0;
}

.newsroom-single__header-inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 48px 40px;
}

.newsroom-single__breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	font-weight: 500;
	color: #5e6a80;
	text-decoration: none;
	margin-bottom: 28px;
	transition: color 0.18s ease;
}

.newsroom-single__breadcrumb:hover {
	color: #1493fe;
}

.newsroom-single__header-grid {
	display: grid;
	grid-template-columns: 1fr 260px;
	gap: 48px;
	align-items: start;
}

/* Title */
.newsroom-single__title {
	font-size: 38px;
	font-weight: 800;
	color: #12123a;
	line-height: 1.18;
	letter-spacing: -0.6px;
	margin: 0 0 24px;
}

/* Byline */
.newsroom-single__byline {
	display: flex;
	align-items: center;
	gap: 12px;
}

.newsroom-single__author-link {
	flex-shrink: 0;
	display: block;
	border-radius: 50%;
	overflow: hidden;
	line-height: 0;
}

.newsroom-single__author-avatar {
	width: 36px !important;
	height: 36px !important;
	border-radius: 50% !important;
	display: block !important;
}

.newsroom-single__byline-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.newsroom-single__author-name {
	font-size: 14px;
	font-weight: 600;
	color: #12123a;
	text-decoration: none;
}

.newsroom-single__author-name:hover { color: #1493fe; }

.newsroom-single__byline-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: #8a95a8;
}

.newsroom-single__byline-sep { color: #ccd8ec; }

/* ── Right sidebar ── */
.newsroom-single__header-sidebar {
	padding-top: 6px;
}

.newsroom-single__sidebar-block {
	margin-bottom: 20px;
}

.newsroom-single__sidebar-label {
	font-size: 11px;
	font-weight: 700;
	color: #8a95a8;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	margin: 0 0 8px;
}

.newsroom-single__topic-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.newsroom-single__topic-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 20px;
	background: #ffffff;
	border: 1.5px solid #ccd8ec;
	font-size: 12.5px;
	font-weight: 600;
	color: #1493fe;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.newsroom-single__topic-tag:hover {
	background: #1493fe;
	color: #fff;
	border-color: #1493fe;
}

.newsroom-single__topic-tag--tag {
	color: #5e6a80;
	border-color: #e4ecf5;
}

.newsroom-single__topic-tag--tag:hover {
	background: #12123a;
	color: #fff;
	border-color: #12123a;
}

.newsroom-single__sidebar-value {
	font-size: 13.5px;
	color: #3a4a6b;
	margin: 0;
	font-weight: 500;
}

/* --------------------------------------------------------------------------
   Featured image
   -------------------------------------------------------------------------- */

.newsroom-single__featured {
	background: #f0f4fb;
	padding: 0;
	line-height: 0;
}

.newsroom-single__featured-inner {
	position: relative;
	max-width: 100%;
}

.newsroom-single__featured-img {
	width: 100%;
	max-height: 500px;
	object-fit: cover;
	display: block;
}

.newsroom-single__featured .newsroom-card__badge {
	position: absolute;
	bottom: 18px;
	left: 24px;
}

/* --------------------------------------------------------------------------
   Content body
   -------------------------------------------------------------------------- */

.newsroom-single__body {
	background: #fff;
	padding: 56px 0 40px;
}

.newsroom-single__body-inner {
	max-width: 760px;
	margin: 0 auto;
	padding: 0 48px;
}

.newsroom-single__content {
	font-size: 16px;
	line-height: 1.8;
	color: #2e3a4e;
}

.newsroom-single__content p {
	margin-bottom: 1.4em;
}

.newsroom-single__content h2,
.newsroom-single__content h3,
.newsroom-single__content h4 {
	color: #12123a;
	font-weight: 700;
	line-height: 1.25;
	margin: 2em 0 0.6em;
}

.newsroom-single__content h2 { font-size: 26px; }
.newsroom-single__content h3 { font-size: 21px; }

.newsroom-single__external-notice {
	background: #f0f7ff;
	border-left: 3px solid #1493fe;
	border-radius: 0 8px 8px 0;
	padding: 14px 18px;
	margin-bottom: 28px;
	font-size: 14px;
	color: #5e6a80;
}

.newsroom-single__external-notice a {
	color: #1493fe;
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Related articles
   -------------------------------------------------------------------------- */

.newsroom-related {
	background: #eef2f9;
	padding: 56px 0 64px;
}

.newsroom-related__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 48px;
}

.newsroom-related__title {
	font-size: 26px;
	font-weight: 700;
	color: #12123a;
	margin: 0 0 28px;
	letter-spacing: -0.3px;
}

.newsroom-related__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

/* --------------------------------------------------------------------------
   Sticky social share — fixed right side
   -------------------------------------------------------------------------- */

.newsroom-social-sticky {
	position: fixed;
	right: 24px;
	top: 50%;
	transform: translateY(-50%);
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 100;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.3s ease, transform 0.3s ease;
}

.newsroom-social-sticky.is-visible {
	opacity: 1;
	pointer-events: all;
}

.newsroom-social-sticky__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1.5px solid #e4ecf5;
	color: #3a4a6b;
	text-decoration: none;
	box-shadow: 0 2px 8px rgba(18, 18, 58, 0.1);
	cursor: pointer;
	font-family: inherit;
	transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
	position: relative;
}

.newsroom-social-sticky__btn svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}

.newsroom-social-sticky__btn:hover {
	background: #12123a;
	color: #ffffff;
	border-color: #12123a;
	transform: scale(1.1);
}

/* Copied tooltip */
.newsroom-social-sticky__tooltip {
	display: none;
	position: absolute;
	right: calc(100% + 10px);
	top: 50%;
	transform: translateY(-50%);
	background: #12123a;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 6px;
	white-space: nowrap;
	pointer-events: none;
}

.newsroom-social-sticky__btn--copy.is-copied .newsroom-social-sticky__tooltip {
	display: block;
}

/* --------------------------------------------------------------------------
   Tags cloud section
   -------------------------------------------------------------------------- */

.newsroom-tags-wrap {
	text-align: center;
	padding: 0 20px 40px;
}

.newsroom-tags-title {
	font-size: 13px;
	font-weight: 700;
	color: #8a95a8;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	margin-bottom: 12px;
}

.newsroom-tag-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.newsroom-tag-list a {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 30px;
	background: #fff;
	border: 1.5px solid #ccd8ec;
	font-size: 13px;
	color: #5e6a80;
	text-decoration: none;
	transition: background 0.18s ease, color 0.18s ease;
}

.newsroom-tag-list a:hover {
	background: #12123a;
	color: #fff;
	border-color: #12123a;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1100px) {
	.newsroom-section { padding: 0 28px 64px; }
	.newsroom-single__header-inner,
	.newsroom-related__inner,
	.newsroom-single__body-inner { padding: 0 32px; }
	.newsroom-related__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
	.newsroom-hero__title { font-size: 40px; }
	.newsroom-single__header-grid { grid-template-columns: 1fr; gap: 28px; }
	.newsroom-single__title { font-size: 30px; }
	.newsroom-social-sticky { right: 12px; }
	.newsroom-social-sticky__btn { width: 36px; height: 36px; }
	.newsroom-social-sticky__btn svg { width: 14px; height: 14px; }
}

@media (max-width: 768px) {
	/* Grid handled by the grid block breakpoints above */
	.newsroom-related__grid { grid-template-columns: 1fr; }
	.newsroom-social-sticky { display: none; }
	.newsroom-single__header-inner,
	.newsroom-related__inner,
	.newsroom-single__body-inner { padding: 0 20px; }
	.newsroom-section { padding: 0 20px 56px; }

	/* Card internals on tablet/mobile */
	.newsroom-card__body        { padding: 16px 18px 18px; }
	.newsroom-card__title       { font-size: 16px; }
	.newsroom-card__excerpt     { font-size: 13px; }
	.newsroom-card__meta        { font-size: 12px; }
	.newsroom-grid              { gap: 16px; }
}

@media (max-width: 599px) {
	/* Single-column cards: image taller for better proportions */
	.newsroom-card__img-wrap    { aspect-ratio: 16 / 8; }
	.newsroom-card__body        { padding: 14px 16px 16px; }
	.newsroom-card__title       { font-size: 15px; margin-bottom: 8px; }
	.newsroom-card__excerpt     { font-size: 13px; -webkit-line-clamp: 3;
	                              display: -webkit-box; -webkit-box-orient: vertical;
	                              overflow: hidden; }
	.newsroom-grid              { gap: 14px; }
	/* Filters wrap on small screens */
	.newsroom-filters__inner    { flex-wrap: wrap; gap: 8px; }
	.newsroom-filters__item     { font-size: 13px; padding: 7px 16px; }
}

@media (max-width: 640px) {
	.newsroom-hero { padding: 40px 20px 32px; }
	.newsroom-hero__title { font-size: 30px; letter-spacing: -0.4px; }
	.newsroom-hero__subtitle { font-size: 15px; }
	.newsroom-filters__inner { border-radius: 14px; }
	.newsroom-filters__item { padding: 7px 16px; font-size: 13px; }
	.newsroom-pagination .page-numbers { min-width: 34px; height: 34px; font-size: 13px; }
}

/* ==========================================================================
   SINGLE POST — nsp-* namespace (matches reference screenshot exactly)
   ========================================================================== */

/* ── Page wrapper ── */
.nsp-page {
	background: #fff;
	font-family: inherit;
}

/* ── Header ── */
.nsp-header {
	background: #f4f6fb;
	border-bottom: 1px solid #e4eaf5;
	
}

.nsp-header__inner {
	max-width: 1100px;
	margin: 0 auto;
	padding: 30px 48px 36px;
}

.nsp-breadcrumb {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 12.5px;
	font-weight: 500;
	color: #8a95a8;
	text-decoration: none;
	margin-bottom: 22px;
	transition: color 0.18s ease;
	letter-spacing: 0.1px;
}

.nsp-breadcrumb:hover { color: #1493fe; }
.nsp-breadcrumb svg  { flex-shrink: 0; }

/* Two-column header grid */
.nsp-header__cols {
	display: grid;
	grid-template-columns: 1fr 240px;
	gap: 48px;
	align-items: start;
}

/* Title */
.nsp-title {
	font-size: 34px;
	font-weight: 800;
	color: #0f1128;
	line-height: 1.2;
	letter-spacing: -0.5px;
	margin: 0 0 22px;
}

/* Byline */
.nsp-byline {
	display: flex;
	align-items: center;
	gap: 10px;
}

.nsp-byline__avatar img {
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	display: block !important;
	object-fit: cover;
}

.nsp-byline__info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.nsp-byline__name {
	font-size: 13px;
	font-weight: 600;
	color: #0f1128;
	text-decoration: none;
}
.nsp-byline__name:hover { color: #1493fe; }

.nsp-byline__meta {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 12px;
	color: #8a95a8;
}

/* Header sidebar */
.nsp-header__sidebar { padding-top: 4px; }

.nsp-meta-block { margin-bottom: 18px; }
.nsp-meta-block:last-child { margin-bottom: 0; }

.nsp-meta-block__label {
	font-size: 10.5px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.9px;
	color: #8a95a8;
	margin: 0 0 8px;
}

.nsp-tag-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.nsp-tag {
	display: inline-block;
	padding: 3px 11px;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none;
	border: 1.5px solid #b8cae8;
	background: #e8f0fc;
	color: #1a52c8;
	transition: background 0.15s ease, color 0.15s ease;
	line-height: 1.5;
}

.nsp-tag:hover {
	background: #1a52c8;
	color: #fff;
	border-color: #1a52c8;
}

.nsp-tag--location {
	background: #e8f5ea;
	border-color: #b0d8b4;
	color: #1a7a30;
}
.nsp-tag--location:hover {
	background: #1a7a30;
	color: #fff;
	border-color: #1a7a30;
}

/* ── Featured image ── */
.nsp-featured {
	width: 100%;
	line-height: 0;
	background: #dde8f5;
	max-height: 500px;
	overflow: hidden;
	display: none;
}

.nsp-featured__img {
	width: 100%;
	height: 100%;
	max-height: 500px;
	object-fit: cover;
	display: block;
}

/* ── Content body with sticky social sidebar ── */
.nsp-body {
	background: #fff;
	padding: 56px 0;
}

.nsp-body__layout {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 48px;
	display: grid;
	grid-template-columns: 1fr 56px;
	gap: 40px;
	align-items: start;
	position: relative;
}

/* ── Article content ── */
.nsp-content {
	font-size: 16px;
	line-height: 1.8;
	color: #2e3a4e;
	min-width: 0;
}

.nsp-content p          { margin-bottom: 1.4em; }
.nsp-content h2         { font-size: 22px; font-weight: 700; color: #0f1128;  line-height: 1.3; }
.nsp-content h3         { font-size: 19px; font-weight: 700; color: #0f1128; margin: 1.8em 0 0.5em; line-height: 1.3; }
.nsp-content h4         { font-size: 17px; font-weight: 700; color: #0f1128; margin: 1.5em 0 0.4em; }
.nsp-content blockquote { border-left: 3px solid #1493fe; padding: 12px 0 12px 20px; margin: 1.8em 0; color: #5e6a80; font-style: italic; }
.nsp-content a          { color: #1493fe; }
.nsp-content a:hover    { text-decoration: underline; }
.nsp-content ul,
.nsp-content ol         { padding-left: 1.5em; margin-bottom: 1.4em; }
.nsp-content li         { margin-bottom: 0.4em; }

.nsp-external-notice {
	background: #f0f7ff;
	border-left: 3px solid #1493fe;
	border-radius: 0 8px 8px 0;
	padding: 12px 18px;
	margin-bottom: 28px;
	font-size: 14px;
	color: #5e6a80;
}
.nsp-external-notice a { color: #1493fe; font-weight: 600; }

/* ── Sticky social sidebar ── */
.nsp-social {
	position: sticky;
	top: 100px;
	align-self: start;
}

.nsp-social__inner {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nsp-social__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: #f4f6fb;
	border: 1px solid #e0eaf5;
	color: #3a4a6b;
	text-decoration: none;
	cursor: pointer;
	font-family: inherit;
	transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease;
	position: relative;
}

.nsp-social__btn svg {
	width: 15px;
	height: 15px;
	flex-shrink: 0;
}

.nsp-social__btn:hover {
	background: #0f1128;
	color: #fff;
	border-color: #0f1128;
	transform: scale(1.06);
}

/* Copied tooltip */
.nsp-social__copied {
	display: none;
	position: absolute;
	right: calc(100% + 8px);
	top: 50%;
	transform: translateY(-50%);
	background: #0f1128;
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 5px;
	white-space: nowrap;
	pointer-events: none;
}

.nsp-social__btn--copy.is-copied .nsp-social__copied { display: block; }

/* ── Related articles ── */
.nsp-related {
	background: #f4f6fb;
	border-top: 1px solid #e4eaf5;
	padding: 56px 0 64px;
}

.nsp-related__inner {
	max-width: 1060px;
	margin: 0 auto;
	padding: 0 48px;
}

.nsp-related__title {
	font-size: 24px;
	font-weight: 700;
	color: #0f1128;
	margin: 0 0 28px;
	letter-spacing: -0.3px;
}

.nsp-related__empty {
	color: #8a95a8;
	font-size: 15px;
	text-align: center;
	padding: 32px 0;
}

/* Related articles grid */
.nsp-related__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	margin-bottom: 36px;
}

/* Related card */
.nsp-rcard {
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #e4eaf5;
	box-shadow: 0 1px 4px rgba(15,17,40,.05);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
}

.nsp-rcard:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 28px rgba(15,17,40,.11);
}

.nsp-rcard__image-wrap {
	display: block;
	overflow: hidden;
	background: #dde8f5;
	aspect-ratio: 16/9;
	flex-shrink: 0;
}

.nsp-rcard__image-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.nsp-rcard:hover .nsp-rcard__image-wrap img { transform: scale(1.05); }

.nsp-rcard__image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #c8d8ec 0%, #a8c0e0 100%);
}

.nsp-rcard__body {
	padding: 16px 18px 18px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.nsp-rcard__meta {
	font-size: 11.5px;
	color: #8a95a8;
	margin: 0;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.nsp-rcard__meta a {
	color: #1493fe;
	text-decoration: none;
	font-weight: 500;
}
.nsp-rcard__meta a:hover { text-decoration: underline; }

.nsp-rcard__title {
	font-size: 15px;
	font-weight: 700;
	color: #0f1128;
	line-height: 1.38;
	margin: 0;
	flex: 1;
}

.nsp-rcard__title a {
	color: inherit;
	text-decoration: none;
}
.nsp-rcard__title a:hover { color: #1493fe; }

.nsp-rcard__author {
	font-size: 12px;
	color: #8a95a8;
	margin: 0;
}

/* ── Pagination ── */
.nsp-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 4px;
}

.nsp-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 6px;
	border-radius: 50%;
	font-size: 13px;
	font-weight: 500;
	color: #0f1128;
	background: transparent;
	border: 1.5px solid transparent;
	text-decoration: none !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.nsp-pagination .page-numbers:hover {
	background: #0f1128;
	color: #fff;
	border-color: #0f1128;
}

.nsp-pagination .page-numbers.current {
	background: #0f1128;
	color: #fff;
	border-color: #0f1128;
	font-weight: 700;
}

.nsp-pagination .page-numbers.prev,
.nsp-pagination .page-numbers.next {
	font-size: 18px;
	font-weight: 400;
	border-color: #ccd8ec;
	background: #fff;
}

.nsp-pagination .page-numbers.dots {
	border-color: transparent;
	pointer-events: none;
	color: #8a95a8;
}
.newsroom-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgb(200, 216, 236) 0%, rgb(168, 192, 224) 100%);
}
.newsroom-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: rgb(138, 149, 168);
    margin-bottom: 10px;
    line-height: 1.3;
    gap: 5px;
}
.newsroom-card__meta-icon {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.55;
    vertical-align: middle;
}
.newsroom-card__image-placeholder svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
    fill: rgb(255, 255, 255);
}
.newsroom-card__image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    flex-shrink: 0;
    overflow: hidden;
    background: rgb(200, 216, 236);
}
.newsroom-card__image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s;
}

/* ── NSP Responsive ── */
@media (max-width: 1000px) {
	.nsp-header__inner,
	.nsp-related__inner { padding: 32px 32px; }
	.nsp-body__layout   { padding: 0 32px; }
	.nsp-related__grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
	.nsp-header__cols   { grid-template-columns: 1fr; gap: 24px; }
	.nsp-title          { font-size: 26px; }
	.nsp-body__layout   { grid-template-columns: 1fr 44px; gap: 20px; }
}

@media (max-width: 640px) {
	.nsp-header__inner,
	.nsp-related__inner,
	.nsp-body__layout   { padding: 20px 20px; }
	.nsp-title          { font-size: 22px; }
	.nsp-body__layout   { grid-template-columns: 1fr; }
	.nsp-social         { display: none; }
	.nsp-related__grid  { grid-template-columns: 1fr; }
	.nsp-featured       { max-height: 240px; }
}
