/**
 * Bharat Sampark News — Core Theme Stylesheet
 */

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--bs-font-sans);
	font-size: 16px;
	line-height: 1.6;
	color: var(--bs-text);
	background-color: var(--bs-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover {
	color: var(--bs-primary);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	list-style: none;
}

button, input, select, textarea {
	font-family: inherit;
	font-size: inherit;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.bs-container {
	width: 100%;
	max-width: var(--bs-container-max);
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px;
	padding-right: 16px;
}

/* Visibility helpers */
.bs-show-mobile {
	display: none !important;
}
.bs-hide-mobile {
	display: block;
}

@media (max-width: 991px) {
	.bs-show-mobile {
		display: block !important;
	}
	.bs-hide-mobile {
		display: none !important;
	}
}

/* Top Bar */
.bs-top-bar {
	background: #0f172a;
	color: #94a3b8;
	font-size: 13px;
	padding: 7px 0;
	border-bottom: 1px solid #1e293b;
}
.bs-top-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.bs-top-bar-left {
	display: flex;
	align-items: center;
	gap: 12px;
}
.bs-top-separator {
	color: #475569;
}
.bs-top-tagline {
	color: #cbd5e1;
}
.bs-top-socials {
	display: flex;
	align-items: center;
	gap: 14px;
}
.bs-social-link {
	color: #cbd5e1;
	font-size: 12px;
	font-weight: 500;
}
.bs-social-link:hover {
	color: #ffffff;
}
.bs-social-wa {
	color: #25d366 !important;
	font-weight: 600;
}
.bs-social-tg {
	color: #38bdf8 !important;
}
.bs-social-yt {
	color: #f87171 !important;
}

/* Main Brand Header */
.bs-main-header {
	background: var(--bs-header-bg);
	padding: 16px 0;
	border-bottom: 1px solid var(--bs-border);
}
.bs-main-header-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}
.bs-header-brand {
	flex-shrink: 0;
}
.bs-main-logo {
	max-height: 60px;
	width: auto;
}
.bs-site-title-text {
	display: flex;
	flex-direction: column;
}
.bs-brand-name {
	font-size: 28px;
	font-weight: 900;
	letter-spacing: -0.5px;
	color: var(--bs-primary);
	line-height: 1.1;
}
.bs-brand-sub {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 2px;
	color: var(--bs-secondary);
}

/* Primary Nav Bar */
.bs-nav-bar {
	background: var(--bs-secondary);
	color: #ffffff;
	position: sticky;
	top: 0;
	z-index: 90;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.bs-nav-bar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.bs-nav-menu-list {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
}
.bs-nav-menu-list > li > a {
	display: block;
	padding: 14px 16px;
	font-size: 15px;
	font-weight: 600;
	color: #f8fafc;
	transition: background 0.15s;
}
.bs-nav-menu-list > li > a:hover,
.bs-nav-menu-list > li.current-menu-item > a {
	background: var(--bs-primary);
	color: #ffffff;
}
.bs-search-trigger {
	background: transparent;
	border: none;
	color: #ffffff;
	font-size: 20px;
	cursor: pointer;
	padding: 8px 12px;
	border-radius: 4px;
	display: flex;
	align-items: center;
}
.bs-search-trigger:hover {
	background: rgba(255,255,255,0.1);
}

/* Breaking Ticker Bar */
.bs-ticker-bar {
	background: #ffffff;
	border-bottom: 1px solid var(--bs-border);
	overflow: hidden;
	height: 42px;
	display: flex;
	align-items: center;
}
.bs-ticker-inner {
	display: flex;
	align-items: center;
	gap: 14px;
	width: 100%;
}
.bs-ticker-badge {
	background: var(--bs-primary);
	color: #ffffff;
	font-size: 13px;
	font-weight: 700;
	padding: 4px 12px;
	border-radius: 4px;
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}
.bs-ticker-dot {
	width: 8px;
	height: 8px;
	background: #ffffff;
	border-radius: 50%;
	display: inline-block;
	animation: bsPulse 1.4s infinite;
}
@keyframes bsPulse {
	0% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.3; transform: scale(0.8); }
	100% { opacity: 1; transform: scale(1); }
}
.bs-ticker-content-wrap {
	flex: 1;
	overflow: hidden;
	position: relative;
	height: 30px;
}
.bs-ticker-track {
	position: relative;
	transition: transform 0.4s ease;
}
.bs-ticker-item {
	height: 30px;
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 600;
	color: var(--bs-text);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.bs-ticker-link {
	color: var(--bs-text);
}
.bs-ticker-link:hover {
	color: var(--bs-primary);
}
.bs-ticker-time {
	font-size: 12px;
	color: var(--bs-text-muted);
	font-weight: normal;
}
.bs-ticker-controls {
	display: flex;
	gap: 4px;
}
.bs-ticker-btn {
	background: #f1f5f9;
	border: 1px solid var(--bs-border);
	border-radius: 3px;
	width: 24px;
	height: 24px;
	font-size: 16px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--bs-text);
}
.bs-ticker-btn:hover {
	background: var(--bs-primary);
	color: #ffffff;
}

/* Category Strip Bar */
.bs-category-bar-wrap {
	background: #ffffff;
	border-bottom: 2px solid var(--bs-border);
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.bs-category-bar-wrap::-webkit-scrollbar {
	display: none;
}
.bs-category-bar-list {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 8px 0;
	white-space: nowrap;
}
.bs-cat-item {
	flex-shrink: 0;
}
.bs-cat-link {
	display: inline-block;
	padding: 6px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	border-radius: 20px;
	background: #f1f5f9;
	transition: all 0.2s ease;
}
.bs-cat-item.is-active .bs-cat-link,
.bs-cat-link:hover {
	background: var(--bs-primary);
	color: #ffffff;
}

/* Section Headers */
.bs-section-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--bs-border);
	position: relative;
}
.bs-section-title-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
}
.bs-title-accent {
	width: 5px;
	height: 22px;
	background: var(--bs-primary);
	border-radius: 2px;
}
.bs-section-title {
	font-size: 20px;
	font-weight: 800;
	color: var(--bs-secondary);
	margin: 0;
}
.bs-section-more-link {
	font-size: 13px;
	font-weight: 700;
	color: var(--bs-primary);
}
.bs-section-more-link:hover {
	text-decoration: underline;
}

/* Badges */
.bs-cat-badge {
	display: inline-block;
	background: var(--bs-primary);
	color: #ffffff;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 3px;
	text-transform: uppercase;
	letter-spacing: 0.3px;
}
.bs-cat-badge:hover {
	background: var(--bs-primary-dark);
	color: #ffffff;
}
.bs-cat-badge-sm {
	font-size: 10px;
	padding: 2px 6px;
}
.bs-cat-badge-xs {
	font-size: 10px;
	padding: 1px 5px;
}
.bs-cat-badge-lg {
	font-size: 13px;
	padding: 4px 12px;
	border-radius: 4px;
}
.bs-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 700;
	padding: 2px 7px;
	border-radius: 3px;
}
.bs-pill-breaking {
	background: #fee2e2;
	color: #b91c1c;
}
.bs-pill-trending {
	background: #fef3c7;
	color: #b45309;
}
.bs-pill-featured {
	background: #e0e7ff;
	color: #4338ca;
}
.bs-pulse-dot {
	width: 6px;
	height: 6px;
	background: #b91c1c;
	border-radius: 50%;
	animation: bsPulse 1s infinite;
}

/* Placeholders */
.bs-placeholder-thumb {
	width: 100%;
	aspect-ratio: 16/9;
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #64748b;
	border-radius: var(--bs-radius);
}
.bs-placeholder-brand {
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 1px;
	color: #94a3b8;
}

/* Breadcrumbs */
.bs-breadcrumbs-wrap {
	background: #ffffff;
	border-bottom: 1px solid var(--bs-border);
	padding: 10px 0;
	font-size: 13px;
	color: var(--bs-text-muted);
}
.bs-breadcrumbs-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 6px;
}
.bs-breadcrumb-sep {
	color: #cbd5e1;
}

/* Pagination */
.pagination {
	margin-top: 30px;
	text-align: center;
}
.nav-links {
	display: inline-flex;
	gap: 6px;
	align-items: center;
}
.page-numbers {
	display: inline-block;
	padding: 8px 14px;
	background: #ffffff;
	border: 1px solid var(--bs-border);
	border-radius: 4px;
	font-weight: 600;
	color: var(--bs-text);
	font-size: 14px;
}
.page-numbers.current {
	background: var(--bs-primary);
	border-color: var(--bs-primary);
	color: #ffffff;
}
.page-numbers:hover:not(.current) {
	background: #f1f5f9;
}

/* Main Site Footer */
.bs-site-footer {
	background: #0f172a;
	color: #94a3b8;
	padding-top: 40px;
	margin-top: 50px;
	border-top: 4px solid var(--bs-primary);
}
.bs-footer-top {
	display: grid;
	grid-template-columns: 2fr 1.5fr 1.5fr;
	gap: 30px;
	padding-bottom: 40px;
	border-bottom: 1px solid #1e293b;
}
@media (max-width: 900px) {
	.bs-footer-top {
		grid-template-columns: 1fr;
	}
}
.bs-footer-logo {
	max-height: 50px;
	margin-bottom: 14px;
}
.bs-footer-site-title {
	font-size: 24px;
	font-weight: 800;
	color: #ffffff;
	margin-bottom: 12px;
}
.bs-footer-desc {
	font-size: 14px;
	line-height: 1.7;
	color: #cbd5e1;
	margin-bottom: 18px;
}
.bs-footer-social-strip {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}
.bs-footer-social-btn {
	background: #1e293b;
	color: #ffffff;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
}
.bs-footer-social-btn:hover {
	background: var(--bs-primary);
}
.bs-footer-col-heading {
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin-bottom: 16px;
	position: relative;
	padding-bottom: 8px;
	border-bottom: 2px solid #334155;
}
.bs-footer-links-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}
.bs-footer-links-grid li a,
.bs-footer-links-list li a {
	color: #cbd5e1;
	font-size: 14px;
	transition: color 0.15s;
}
.bs-footer-links-grid li a:hover,
.bs-footer-links-list li a:hover {
	color: var(--bs-primary);
	padding-left: 4px;
}
.bs-footer-links-list li {
	margin-bottom: 8px;
}
.bs-footer-bottom {
	padding: 20px 0;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
	color: #64748b;
}
@media (max-width: 768px) {
	.bs-footer-bottom {
		flex-direction: column;
		gap: 8px;
		text-align: center;
	}
}

/* Widgets */
.bs-widget {
	background: #ffffff;
	border-radius: var(--bs-radius);
	padding: 20px;
	margin-bottom: 24px;
	border: 1px solid var(--bs-border);
	box-shadow: var(--bs-shadow-sm);
}
.bs-widget-title {
	font-size: 17px;
	font-weight: 800;
	color: var(--bs-secondary);
	margin-bottom: 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--bs-border);
	display: flex;
	align-items: center;
	gap: 8px;
}
.bs-widget-title-bar {
	width: 4px;
	height: 18px;
	background: var(--bs-primary);
	border-radius: 2px;
	display: inline-block;
}
.bs-trending-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
}
.bs-trending-item:last-child {
	border-bottom: none;
}
.bs-trend-rank {
	font-size: 18px;
	font-weight: 900;
	color: var(--bs-primary);
	line-height: 1;
	min-width: 24px;
}
.bs-trend-title {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	margin-bottom: 4px;
}
.bs-trend-meta {
	font-size: 12px;
	color: var(--bs-text-muted);
}

/* Toast */
.bs-toast {
	position: fixed;
	bottom: 80px;
	left: 50%;
	transform: translateX(-50%);
	background: #0f172a;
	color: #ffffff;
	padding: 10px 20px;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 600;
	box-shadow: 0 10px 25px rgba(0,0,0,0.3);
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 8px;
	animation: bsToastIn 0.3s ease;
}
@keyframes bsToastIn {
	from { opacity: 0; transform: translate(-50%, 20px); }
	to { opacity: 1; transform: translate(-50%, 0); }
}
