/* MANA SANGAREDDY - SCROLLING VILLAGES NAVBAR (v1.2.0) */

/* 1. Complete Removal of Default Theme Navbar Clutter & Empty Magazine Sections */
#main-navigation-bar .main-navigation,
#main-navigation-bar .toggle-menu,
#main-navigation-bar .navigation-container > nav,
#main-navigation-bar .off-cancas-panel,
#main-navigation-bar .search-watch,
#sidr,
.aft-main-banner-section,
.banner-exclusive-posts-wrapper,
.af-main-banner-featured-posts,
.aft-frontpage-feature-section-wrapper,
.above-footer-widget-section,
.af-main-banner-thumb-posts,
.af-main-banner-latest-slider,
.section-block-upper:empty {
	display: none !important;
}

#main-navigation-bar {
	background: #0D47A1 !important;
	border-bottom: none !important;
	min-height: 52px !important;
	height: auto !important;
	padding: 0 !important;
	margin: 0 !important;
	box-shadow: 0 4px 14px rgba(13, 71, 161, 0.3) !important;
	position: relative;
	z-index: 99;
}

#main-navigation-bar .container-wrapper,
#main-navigation-bar .bottom-nav,
#main-navigation-bar .offcanvas-navigaiton,
#main-navigation-bar .navigation-container {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	align-items: center !important;
}

/* 2. Scrolling Villages Navbar Container */
.vnd-villages-navbar-container {
	display: flex;
	align-items: center;
	width: 100%;
	height: 52px;
	position: relative;
	overflow: hidden;
	font-family: 'Noto Sans Telugu', 'Segoe UI', system-ui, sans-serif;
	box-sizing: border-box;
}

.vnd-villages-navbar-container * {
	box-sizing: border-box;
}

/* 3. Left Brand Lead Badge */
.vnd-villages-lead-badge {
	background: #FFCB05;
	color: #0D47A1;
	font-weight: 800;
	font-size: 13.5px;
	padding: 0 16px;
	height: 100%;
	display: flex;
	align-items: center;
	gap: 6px;
	box-shadow: 2px 0 8px rgba(0, 0, 0, 0.18);
	z-index: 10;
	flex-shrink: 0;
	white-space: nowrap;
	border-right: 1px solid rgba(0, 0, 0, 0.08);
	cursor: default;
	user-select: none;
}

.vnd-lead-icon {
	font-size: 15px;
	display: inline-block;
	animation: vnd-pulse 2s infinite ease-in-out;
}

.vnd-lead-title {
	letter-spacing: 0.3px;
}

@keyframes vnd-pulse {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.15); }
}

/* 4. Left and Right Smooth Scroll Arrows */
.vnd-nav-scroll-arrow {
	background: rgba(13, 71, 161, 0.95);
	color: #FFCB05;
	border: 1.5px solid rgba(255, 255, 255, 0.35);
	width: 32px;
	height: 32px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 8;
	flex-shrink: 0;
	margin: 0 6px;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
	outline: none;
	padding: 0;
}

.vnd-nav-scroll-arrow:hover {
	background: #FFCB05;
	color: #0D47A1;
	border-color: #FFCB05;
	transform: scale(1.1);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.vnd-nav-scroll-arrow:active {
	transform: scale(0.95);
}

/* 5. Horizontal Scroll Track */
.vnd-villages-scroll-wrapper {
	flex: 1;
	min-width: 0;
	height: 100%;
	display: flex;
	align-items: center;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	-ms-overflow-style: none; /* IE/Edge */
	cursor: grab;
	padding: 0 4px;
}

.vnd-villages-scroll-wrapper:active {
	cursor: grabbing;
}

.vnd-villages-scroll-wrapper::-webkit-scrollbar {
	display: none; /* Chrome, Safari, Opera */
}

/* 6. Villages Strip & Interactive Solid Filled Chips */
.vnd-villages-strip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 0 16px;
	white-space: nowrap;
	will-change: transform;
}

.vnd-village-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	padding: 6px 15px 7px 15px;
	border-radius: 22px;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 700;
	color: #0D47A1 !important;
	text-decoration: none !important;
	background: #FFFFFF !important;
	border: 1.5px solid #FFFFFF !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	white-space: nowrap;
	user-select: none;
}

.vnd-village-chip:hover {
	background: #FFCB05 !important;
	color: #0D47A1 !important;
	border-color: #FFCB05 !important;
	transform: translateY(-1.5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.vnd-village-chip.is-active {
	background: #FFCB05 !important;
	color: #0D47A1 !important;
	border-color: #FFCB05 !important;
	font-weight: 800 !important;
	box-shadow: 0 2px 12px rgba(255, 203, 5, 0.7);
}

.vnd-chip-count {
	background: #0D47A1;
	color: #FFFFFF;
	font-size: 10.5px;
	font-weight: 800;
	padding: 2px 7px;
	border-radius: 12px;
	line-height: 1.2;
	transition: all 0.2s ease;
}

.vnd-village-chip:hover .vnd-chip-count,
.vnd-village-chip.is-active .vnd-chip-count {
	background: #0D47A1;
	color: #FFCB05;
}

/* 7. Mobile View Adjustments */
@media (max-width: 768px) {
	.vnd-nav-scroll-arrow {
		display: none; /* Native touch swipe is superior on mobile */
	}
	.vnd-villages-lead-badge {
		padding: 0 10px;
		font-size: 12px;
	}
	.vnd-village-chip {
		padding: 4px 10px;
		font-size: 11.5px;
	}
}
