/* ── BB Premium: News Ticker ───────────────────────────────────────────────── */

.bbpe-nt { width: 100%; }

/* ── Label (shared) ──────────────────────────────────────────────────────── */
.bbpe-nt__label {
	display: inline-flex;
	align-items: center;
	background: #e11d48;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 0 16px;
	white-space: nowrap;
}

/* ── Scroll variant ──────────────────────────────────────────────────────── */
.bbpe-nt--scroll .bbpe-nt__wrap {
	display: flex;
	align-items: stretch;
	height: 44px;
	background: #0f172a;
	overflow: hidden;
}

.bbpe-nt--scroll .bbpe-nt__label {
	flex: 0 0 auto;
	height: 100%;
	z-index: 2;
}

.bbpe-nt__track-wrap {
	flex: 1;
	overflow: hidden;
	position: relative;
}

/* Fade-out edge on left */
.bbpe-nt__track-wrap::after {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 40px;
	height: 100%;
	background: linear-gradient(to right, transparent, #0f172a);
	z-index: 1;
	pointer-events: none;
}

.bbpe-nt__track {
	display: inline-flex;
	align-items: center;
	height: 100%;
	white-space: nowrap;
	animation: bbpe-nt-scroll var(--bbpe-nt-duration, 25s) linear infinite;
}

.bbpe-nt__item {
	display: inline-flex;
	align-items: center;
	padding: 0 24px;
	font-size: 0.875rem;
	color: #e2e8f0;
	gap: 24px;
}

.bbpe-nt__item::after {
	content: '|';
	color: #334155;
	font-weight: 300;
}

.bbpe-nt__item:last-child::after { display: none; }

.bbpe-nt__item a { color: inherit; text-decoration: none; }
.bbpe-nt__item a:hover { color: #fff; text-decoration: underline; }

@keyframes bbpe-nt-scroll {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* Pause via JS data attribute */
.bbpe-nt--scroll[data-paused="true"] .bbpe-nt__track {
	animation-play-state: paused;
}

/* ── Static variant ──────────────────────────────────────────────────────── */
.bbpe-nt--static .bbpe-nt__wrap {
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
}

.bbpe-nt--static .bbpe-nt__static-header {
	display: flex;
	align-items: stretch;
	background: #0f172a;
	min-height: 44px;
}

.bbpe-nt--static .bbpe-nt__label {
	height: auto;
	padding: 10px 16px;
}

.bbpe-nt__static-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bbpe-nt__static-item {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 12px;
	padding: 12px 16px;
	border-bottom: 1px solid #f1f5f9;
	transition: background 0.15s;
}

.bbpe-nt__static-item:last-child { border-bottom: 0; }
.bbpe-nt__static-item:hover { background: #f8fafc; }

.bbpe-nt__cat {
	display: inline-block;
	background: #e11d48;
	color: #fff;
	font-size: 0.5625rem;
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	padding: 3px 8px;
	border-radius: 3px;
	text-decoration: none;
	white-space: nowrap;
	transition: background 0.2s;
}

.bbpe-nt__cat:hover { background: #be123c; color: #fff; text-decoration: none; }

.bbpe-nt__static-title {
	font-size: 0.9375rem;
	font-weight: 600;
	color: #0f172a;
	text-decoration: none;
	line-height: 1.4;
}

.bbpe-nt__static-title:hover { color: #4f46e5; }

.bbpe-nt__date {
	font-size: 0.75rem;
	color: #94a3b8;
	white-space: nowrap;
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
	.bbpe-nt__static-item {
		grid-template-columns: 1fr;
		gap: 5px;
	}
	.bbpe-nt__date { order: -1; }
}
