/* =========================================================
   NABL News & Updates Module - Scoped CSS
   Strictly isolated to .nabl-news-updates
   ========================================================= */

.nabl-news-updates {
	font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	box-sizing: border-box;
}

.nabl-news-updates * {
	box-sizing: border-box;
}

/* Cards Stack Container */
.nabl-news-updates .nabl-news-cards-list {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin-bottom: 40px;
}

/* Individual News Card - Static, No Hover Shift */
.nabl-news-updates .nabl-news-card {
	display: flex;
	flex-direction: row;
	background-color: #ffffff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
	overflow: hidden;
	width: 100%;
	/* Static - No hover translateY shift */
}

/* Image Column (~42% desktop) - Static, No Zoom */
.nabl-news-updates .nabl-news-image {
	flex: 0 0 42%;
	max-width: 42%;
	position: relative;
	overflow: hidden;
	background-color: #f1f5f9;
	min-height: 240px;
}

.nabl-news-updates .nabl-news-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.nabl-news-updates .nabl-news-image img.nabl-news-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
	/* Static - No hover scale zoom */
}

/* Fallback SVG container */
.nabl-news-updates .nabl-news-fallback-img {
	width: 100%;
	height: 100%;
	min-height: 240px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
}

/* Content Column (~58% desktop) */
.nabl-news-updates .nabl-news-content {
	flex: 0 0 58%;
	max-width: 58%;
	padding: 24px 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

/* Meta: Date | Location */
.nabl-news-updates .nabl-news-meta {
	font-size: 15px;
	font-weight: 400;
	color: #64748b;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.nabl-news-updates .nabl-news-meta-divider {
	color: #cbd5e1;
}

/* News Title - Match Screenshot 1 Exact Blue Color & Size */
.nabl-news-updates .nabl-news-title {
	margin: 0 0 12px 0;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.3;
	color: #0079AF;
}

.nabl-news-updates .nabl-news-title a {
	color: #0079AF;
	text-decoration: none;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}


/* Short Description */
.nabl-news-updates .nabl-news-description {
	font-size: 15px;
	line-height: 1.5;
	color: #475569;
	margin-bottom: 18px;
	display: -webkit-box;
	-webkit-line-clamp: 8;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nabl-news-updates .nabl-news-card.nabl-card-no-button .nabl-news-description,
.nabl-news-updates .nabl-news-description.nabl-desc-expanded {
	margin-bottom: 0;
	-webkit-line-clamp: 16;
}

.nabl-news-updates .nabl-news-description p {
	margin: 0 0 6px 0;
}

.nabl-news-updates .nabl-news-description p:last-child {
	margin-bottom: 0;
	font-size: 14px;
}

/* Know More Button - Match Screenshot 1 White Pill Outline Button */
.nabl-news-updates .nabl-news-button-wrapper {
	margin-top: auto;
}

.nabl-news-updates a.nabl-news-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #ffffff;
	color: #344054 !important;
	border: 1px solid #cbd5e1;
	font-size: 14px;
	font-weight: 500;
	padding: 8px 24px;
	border-radius: 50px;
	text-decoration: none !important;
	box-shadow: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.nabl-news-updates a.nabl-news-button:hover {
	background-color: #0079AF;
	border-color: #0079AF;
	color: #fff !important;
}

/* Pagination */
.nabl-news-updates .nabl-news-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 30px;
}

.nabl-news-updates .nabl-news-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px;
	border-radius: 8px;
	background-color: #ffffff;
	border: 1px solid #e2e8f0;
	color: #334155;
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	transition: all 0.2s ease;
}

.nabl-news-updates .nabl-news-pagination .page-numbers.current,
.nabl-news-updates .nabl-news-pagination .page-numbers:hover {
	background-color: #0079AF;
	color: #ffffff;
	border-color: #0079AF;
}

.nabl-news-updates .nabl-news-empty {
	text-align: center;
	padding: 60px 20px;
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e2e8f0;
	color: #64748b;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
	.nabl-news-updates .nabl-news-image {
		flex: 0 0 45%;
		max-width: 45%;
	}
	.nabl-news-updates .nabl-news-content {
		flex: 0 0 55%;
		max-width: 55%;
		padding: 20px 24px;
	}
	.nabl-news-updates .nabl-news-title {
		font-size: 20px;
	}
}

@media (max-width: 768px) {
	.nabl-news-updates .nabl-news-card {
		flex-direction: column;
	}
	.nabl-news-updates .nabl-news-image {
		flex: 0 0 100%;
		max-width: 100%;
		min-height: 200px;
		max-height: 260px;
	}
	.nabl-news-updates .nabl-news-content {
		flex: 0 0 100%;
		max-width: 100%;
		padding: 20px 18px;
	}
	.nabl-news-updates .nabl-news-title {
		font-size: 19px;
	}
}
