/* ── BB Premium: News Hero ─────────────────────────────────────────────────── */

.bbpe-nh { width: 100%; }

/* ── Shared: featured article (bg image + gradient overlay + content) ────── */
.bbpe-nh__featured {
	position: relative;
	background-color: #1e293b;
	background-size: cover;
	background-position: center center;
	display: flex;
	align-items: flex-end;
	min-height: 65vh;
	overflow: hidden;
}

.bbpe-nh__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 1;
}

.bbpe-nh__content {
	position: relative;
	z-index: 2;
	padding: 48px 56px;
	width: 100%;
}

/* Badge */
.bbpe-nh__badge {
	display: inline-block;
	background: #e11d48;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 5px 12px;
	border-radius: 4px;
	margin-bottom: 14px;
	text-decoration: none;
	transition: opacity 0.2s;
}

.bbpe-nh__badge:hover { opacity: 0.85; color: #fff; text-decoration: none; }

.bbpe-nh__badge--sm {
	font-size: 0.625rem;
	padding: 3px 8px;
	margin-bottom: 6px;
}

/* Title */
.bbpe-nh__title {
	font-size: clamp(1.625rem, 4vw, 2.75rem);
	font-weight: 800;
	line-height: 1.15;
	color: #fff;
	margin: 0 0 16px;
	max-width: 800px;
}

.bbpe-nh__title a { color: inherit; text-decoration: none; }
.bbpe-nh__title a:hover { text-decoration: underline; }

/* Excerpt */
.bbpe-nh__excerpt {
	font-size: 1.0625rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.85);
	margin: 0 0 20px;
	max-width: 640px;
}

/* Meta */
.bbpe-nh__meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.75);
	margin-bottom: 24px;
}

.bbpe-nh__meta a { color: inherit; text-decoration: none; }
.bbpe-nh__sep { opacity: 0.5; }

/* CTA Button */
.bbpe-nh__btn {
	display: inline-block;
	background: #fff;
	color: #0f172a;
	font-size: 0.9375rem;
	font-weight: 700;
	padding: 12px 28px;
	border-radius: 8px;
	text-decoration: none;
	transition: background 0.2s ease, transform 0.15s ease, color 0.2s;
}

.bbpe-nh__btn:hover {
	background: #f1f5f9;
	color: #0f172a;
	transform: translateY(-2px);
	text-decoration: none;
}

/* ── Featured variant ────────────────────────────────────────────────────── */
.bbpe-nh--featured .bbpe-nh__featured {
	border-radius: 12px;
}

/* Subtle gradient instead of flat overlay */
.bbpe-nh--featured .bbpe-nh__overlay {
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.75) 0%,
		rgba(0, 0, 0, 0.35) 50%,
		rgba(0, 0, 0, 0.1) 100%
	);
}

/* ── Magazine variant ────────────────────────────────────────────────────── */
.bbpe-nh--magazine .bbpe-nh__magazine-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 3px;
	border-radius: 12px;
	overflow: hidden;
}

.bbpe-nh--magazine .bbpe-nh__magazine-main { min-height: 520px; }

.bbpe-nh--magazine .bbpe-nh__overlay {
	background: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.8) 0%,
		rgba(0, 0, 0, 0.3) 60%,
		transparent 100%
	);
}

.bbpe-nh--magazine .bbpe-nh__content { padding: 32px 36px; }

.bbpe-nh--magazine .bbpe-nh__title { font-size: clamp(1.25rem, 2.5vw, 2rem); }

/* Sidebar */
.bbpe-nh__magazine-sidebar {
	display: flex;
	flex-direction: column;
	gap: 3px;
	background: #0f172a;
}

.bbpe-nh__sidebar-item {
	display: grid;
	grid-template-columns: 110px 1fr;
	flex: 1;
	overflow: hidden;
	background: #1e293b;
	transition: background 0.2s;
	min-height: 0;
}

.bbpe-nh__sidebar-item:hover { background: #253450; }

.bbpe-nh__sidebar-thumb {
	display: block;
	overflow: hidden;
}

.bbpe-nh__sidebar-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.bbpe-nh__sidebar-item:hover .bbpe-nh__sidebar-thumb img { transform: scale(1.06); }

.bbpe-nh__sidebar-body {
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 6px;
	overflow: hidden;
}

.bbpe-nh__sidebar-title {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.35;
	color: #f1f5f9;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bbpe-nh__sidebar-title a { color: inherit; text-decoration: none; }
.bbpe-nh__sidebar-title a:hover { color: #93c5fd; }

.bbpe-nh--magazine .bbpe-nh__date { font-size: 0.75rem; color: #64748b; }

/* ── Breaking variant ────────────────────────────────────────────────────── */
.bbpe-nh--breaking .bbpe-nh__featured { border-radius: 0; }

/* Ticker bar */
.bbpe-nh__ticker {
	display: flex;
	align-items: stretch;
	background: #0f172a;
	height: 44px;
	overflow: hidden;
}

.bbpe-nh__ticker-label {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	background: #e11d48;
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	padding: 0 18px;
	white-space: nowrap;
	z-index: 2;
}

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

.bbpe-nh__ticker-track {
	display: flex;
	align-items: center;
	height: 100%;
	white-space: nowrap;
	animation: bbpe-nh-ticker 25s linear infinite;
}

.bbpe-nh__ticker-item {
	display: inline-flex;
	align-items: center;
	padding: 0 28px;
	font-size: 0.875rem;
	color: #e2e8f0;
}

.bbpe-nh__ticker-item::after {
	content: '|';
	margin-left: 28px;
	color: #334155;
}

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

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

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

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
	.bbpe-nh--magazine .bbpe-nh__magazine-grid {
		grid-template-columns: 1fr;
	}
	.bbpe-nh--magazine .bbpe-nh__magazine-main { min-height: 380px; }
	.bbpe-nh__magazine-sidebar {
		flex-direction: row;
		overflow-x: auto;
	}
	.bbpe-nh__sidebar-item {
		min-width: 260px;
		grid-template-columns: 90px 1fr;
	}
}

@media (max-width: 600px) {
	.bbpe-nh__content { padding: 28px 24px; }
	.bbpe-nh__title { font-size: 1.5rem; }
	.bbpe-nh__excerpt { font-size: 0.9375rem; }
	.bbpe-nh--featured .bbpe-nh__featured { border-radius: 0; min-height: 55vh; }
	.bbpe-nh__magazine-sidebar { flex-direction: column; }
	.bbpe-nh__sidebar-item { min-width: 0; }
}
