/* Trending topics bar navigation-এর নিচে দেখায়। */
.bn-trending-bar {
	border-bottom: 1px solid #e6eaee;
	background: #fff;
}

.bn-trending-bar__inner {
	display: flex;
	align-items: center;
	min-height: 42px;
	gap: 12px;
}

.bn-trending-bar__label {
	flex: 0 0 auto;
	color: var(--bn-primary, #124b65);
	font-weight: 800;
}

.bn-trending-bar__scroller {
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.bn-trending-bar__scroller::-webkit-scrollbar {
	display: none;
}

.bn-trending-bar__scroller a {
	flex: 0 0 auto;
	padding: 5px 10px;
	border: 1px solid #d8dee5;
	color: #17222b;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.bn-trending-bar__scroller a:hover {
	border-color: var(--bn-primary, #124b65);
	color: var(--bn-primary, #124b65);
}

/* Breaking ticker সর্বশেষ সংবাদ horizontal marquee হিসেবে দেখায়। */
.bn-breaking-ticker {
	background: #fff;
	border-bottom: 1px solid #e6eaee;
	overflow: hidden;
}

.bn-breaking-ticker__inner {
	display: flex;
	align-items: center;
	min-height: 44px;
	gap: 12px;
}

.bn-breaking-ticker__label {
	flex: 0 0 auto;
	padding: 7px 12px;
	background: var(--bn-breaking, #e8192c);
	color: #fff;
	font-weight: 800;
	line-height: 1;
}

.bn-breaking-ticker__viewport {
	flex: 1 1 auto;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
}

.bn-breaking-ticker__track {
	/* Smooth CSS marquee animation; hover করলে pause হয়। */
	display: inline-flex;
	align-items: center;
	gap: 34px;
	padding-left: 100%;
	animation: bn-breaking-scroll 40s linear infinite;
	will-change: transform;
}

.bn-breaking-ticker:hover .bn-breaking-ticker__track {
	animation-play-state: paused;
}

.bn-breaking-ticker__track a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #17222b;
	font-size: 15px;
	font-weight: 700;
	text-decoration: none;
}

.bn-breaking-ticker__track a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--bn-breaking, #e8192c);
}

.bn-breaking-ticker.is-slow .bn-breaking-ticker__track {
	animation-duration: 58s;
}

.bn-breaking-ticker.is-medium .bn-breaking-ticker__track {
	animation-duration: 40s;
}

.bn-breaking-ticker.is-fast .bn-breaking-ticker__track {
	animation-duration: 24s;
}

.bn-breaking-ticker__track span {
	color: #7a8590;
	font-size: 13px;
	font-weight: 500;
}

@keyframes bn-breaking-scroll {
	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-100%);
	}
}

@media (max-width: 640px) {
	.bn-trending-bar__inner,
	.bn-breaking-ticker__inner {
		width: 100%;
	}

	.bn-trending-bar__scroller {
		padding-right: 12px;
	}
}
