/* Nextgen News Hub - Frontend Public Stylesheet */

/* 1. Verified News Header Meta */
.nextgen-hub-header-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 14px;
	background: #f0fdf4;
	border: 1px solid #bbf7d0;
	border-radius: 6px;
	margin-bottom: 20px;
	font-size: 13px;
}

.nextgen-hub-origin-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #16a34a;
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 3px 8px;
	border-radius: 4px;
}

.nextgen-dot {
	width: 6px;
	height: 6px;
	background: #ffffff;
	border-radius: 50%;
	display: inline-block;
}

.nextgen-hub-author {
	color: #15803d;
	font-weight: 600;
}

/* 2. Key Highlights Executive Summary Box */
.nextgen-highlights-box {
	background: #eff6ff;
	border: 1px solid #bfdbfe;
	border-left: 4px solid #0284c7;
	border-radius: 6px;
	padding: 16px 20px;
	margin: 20px 0 24px 0;
}

.nextgen-highlights-header {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
	color: #0369a1;
	margin-bottom: 10px;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.nextgen-highlights-list {
	margin: 0 !important;
	padding-left: 20px !important;
	color: #1e293b;
	font-size: 14px;
	line-height: 1.6;
}

.nextgen-highlights-list li {
	margin-bottom: 6px;
}
.nextgen-highlights-list li:last-child {
	margin-bottom: 0;
}

/* 3. Signature Editorial Footer Card */
.nextgen-hub-article-footer {
	margin-top: 32px;
	padding: 16px 20px;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-top: 3px solid #0284c7;
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
}

.nextgen-hub-footer-source {
	font-size: 14px;
	color: #334155;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
}

.nextgen-source-label {
	color: #64748b;
	font-size: 13px;
}

.nextgen-source-link {
	display: inline-block;
	background: #0f172a;
	color: #ffffff !important;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	text-decoration: none !important;
	transition: background 0.2s ease;
}

.nextgen-source-link:hover {
	background: #0284c7;
	color: #ffffff !important;
}

.nextgen-powered-by-badge {
	font-size: 12px;
	color: #64748b;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.nextgen-powered-text {
	background: #e2e8f0;
	padding: 4px 10px;
	border-radius: 4px;
	color: #475569;
	font-weight: 600;
	font-size: 11px;
}

/* 4. Local Partner Spotlight Ad Box */
.nextgen-partner-spotlight {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 14px;
	margin: 24px 0;
	text-align: center;
	position: relative;
}

.nextgen-ad-badge {
	position: absolute;
	top: -9px;
	left: 14px;
	background: #64748b;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 2px 6px;
	border-radius: 3px;
}

.nextgen-ad-inner img {
	max-width: 100%;
	height: auto;
	border-radius: 4px;
	display: block;
	margin: 0 auto;
}

/* 5. 2-Step Native Push Notification Card (Bottom Floating / Top-Left Floating) */
.nextgen-push-card {
	position: fixed;
	bottom: 24px;
	right: 24px;
	left: auto;
	max-width: 380px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	padding: 16px 18px;
	box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.18), 0 8px 10px -6px rgba(15, 23, 42, 0.1);
	z-index: 999999;
	display: flex;
	gap: 14px;
	align-items: flex-start;
	animation: nextgen-slide-up 0.35s ease-out;
}

@keyframes nextgen-slide-up {
	from { transform: translateY(30px); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.nextgen-push-icon-box {
	width: 40px;
	height: 40px;
	background: #e0f2fe;
	color: #0284c7;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}
.nextgen-push-icon-box .dashicons {
	font-size: 22px;
	width: 22px;
	height: 22px;
}

.nextgen-push-content h4 {
	margin: 0 0 4px 0;
	font-size: 14px;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.nextgen-push-content p {
	margin: 0 0 12px 0;
	font-size: 12px;
	color: #64748b;
	line-height: 1.4;
}

.nextgen-push-actions {
	display: flex;
	gap: 8px;
}

.nextgen-push-btn {
	padding: 6px 14px;
	font-size: 12px;
	font-weight: 600;
	border-radius: 5px;
	border: none;
	cursor: pointer;
	transition: all 0.15s ease;
}

.nextgen-push-allow {
	background: #0284c7;
	color: #ffffff;
}
.nextgen-push-allow:hover {
	background: #0369a1;
}

.nextgen-push-dismiss {
	background: #f1f5f9;
	color: #475569;
}
.nextgen-push-dismiss:hover {
	background: #e2e8f0;
	color: #0f172a;
}

@media (max-width: 640px) {
	.nextgen-hub-article-footer {
		flex-direction: column;
		align-items: flex-start;
	}
	.nextgen-push-card {
		left: 12px;
		right: 12px;
		bottom: 12px;
		max-width: none;
	}
}


#header-sticky {
	position: sticky !important;
	top: 0 !important;
	z-index: 10050 !important;
	background: #fff;
}
#header.hide-on-scroll-down,
#header {
	position: relative !important;
	transform: none !important;
	top: auto !important;
}
.cd-local-bar {
	position: relative;
	top: auto;
	z-index: 1;
	background: #070b14;
	color: #e2e8f0;
	display: flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cd-live-dot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-left: 12px;
	border-radius: 50%;
	background: #22c55e;
	box-shadow: 0 0 0 0 rgba(34,197,94,0.7);
	animation: cd-live 1.4s ease-out infinite;
}
@keyframes cd-live {
	0% { box-shadow: 0 0 0 0 rgba(34,197,94,0.7); }
	70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); }
	100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}
.cd-local-bar-window {
	overflow: hidden;
	flex: 1;
	min-width: 0;
}
.cd-local-bar-track {
	display: flex;
	width: max-content;
	animation: cd-ticker 55s linear infinite;
}
.cd-local-bar:hover .cd-local-bar-track { animation-play-state: paused; }
@keyframes cd-ticker {
	0% { transform: translateX(0); }
	100% { transform: translateX(-50%); }
}
.cd-local-bar-inner {
	display: flex;
	gap: 28px;
	align-items: center;
	padding: 0 28px;
	white-space: nowrap;
}
.cd-local-chip { font-size: 13px; }
.cd-mkt.up { color: #86efac; }
.cd-mkt.down { color: #fda4af; }
.cd-flash { animation: cd-pop 0.8s ease; }
@keyframes cd-pop {
	0% { background: rgba(250,250,250,0.16); }
	100% { background: transparent; }
}
@media (prefers-reduced-motion: reduce) {
	.cd-local-bar-track, .cd-live-dot, .cd-flash { animation: none !important; }
}


#header-sticky,
#header,
.cd-local-bar {
	width: 100% !important;
	max-width: none !important;
	left: 0 !important;
	right: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	border-radius: 0 !important;
	box-sizing: border-box;
}
#header .group {
	max-width: none !important;
	width: 100%;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}


#cd-chrome {
	position: sticky;
	top: 0;
	z-index: 10080;
	width: 100%;
	max-width: none;
	background: #fff;
	box-shadow: 0 1px 0 rgba(15,23,42,0.06);
}
#cd-chrome #header-sticky,
#cd-chrome #header,
#cd-chrome .cd-local-bar {
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	border-radius: 0 !important;
	left: auto !important;
	right: auto !important;
	position: relative !important;
	top: auto !important;
.cd-local-bar {
	position: sticky !important;
	top: 0 !important;
	z-index: 10050 !important;
	height: 40px !important;
	min-height: 40px !important;
	overflow: hidden !important;
	background: #070b14 !important;
	color: #f8fafc !important;
}
.cd-local-bar-window {
	height: 40px;
	overflow: hidden;
	flex: 1;
}
.cd-local-bar-track,
.cd-local-bar-inner {
	height: 40px;
	align-items: center;
}
.cd-local-chip {
	display: inline-flex;
	align-items: center;
	height: 40px;
	line-height: 40px;
	white-space: nowrap;
	font-size: 13px;
	color: #f8fafc;
}


.cd-header-social {
	display: flex;
	align-items: center;
	gap: 8px;
}
.cd-soc {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #0f172a;
	color: #fff !important;
	text-decoration: none !important;
	transition: transform 0.2s ease, background 0.2s ease;
}
.cd-soc:hover { transform: translateY(-2px) scale(1.06); background: #0284c7; }
.cd-soc-facebook:hover { background: #1877f2; }
.cd-soc-x:hover { background: #111; }
.cd-soc-instagram:hover { background: #e1306c; }
.cd-soc-youtube:hover { background: #ff0000; }
.cd-soc-whatsapp:hover { background: #25d366; }
.cd-soc-telegram:hover { background: #229ed9; }
.cd-soc-linkedin:hover { background: #0a66c2; }


.cd-local-chip + .cd-local-chip::before {
	content: "•";
	margin-right: 18px;
	opacity: 0.35;
}
.cd-local-bar-inner {
	padding-right: 48px !important;
}

/* Compact, sleek editorial AQI capsule */
.cd-local-bar .cd-aqi,
.cd-aqi {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	height: 20px !important;
	min-height: 20px !important;
	max-height: 20px !important;
	line-height: 1 !important;
	padding: 0 8px !important;
	border-radius: 9999px !important;
	font-size: 11px !important;
	font-weight: 700 !important;
	letter-spacing: 0.03em !important;
	margin-left: 8px !important;
	vertical-align: middle !important;
	box-sizing: border-box !important;
	flex-shrink: 0 !important;
}
.cd-aqi-good { background: #15803d !important; color: #ffffff !important; }
.cd-aqi-ok { background: #b45309 !important; color: #ffffff !important; }
.cd-aqi-bad { background: #b91c1c !important; color: #ffffff !important; }
