/* KarniTimes Header Styles */

/* 1. Top Red Bar */
.kt-topbar {
	background-color: var(--kt-primary);
	color: #ffffff;
	font-size: 13px;
	padding: 6px 0;
}

.kt-topbar-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.kt-topbar-left {
	display: flex;
	align-items: center;
	gap: 15px;
}

.kt-topbar-date {
	font-weight: 500;
}

.kt-topbar-social {
	display: flex;
	align-items: center;
	gap: 10px;
}

.kt-topbar-social a {
	color: #ffffff;
	font-size: 14px;
	opacity: 0.9;
}

.kt-topbar-social a:hover {
	opacity: 1;
}

/* 2. Main Header Middle Area */
.kt-header-main {
	padding: 15px 0;
	background-color: #ffffff;
	border-bottom: 1px solid var(--kt-border);
}

.kt-header-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

/* Logo */
.kt-logo-container {
	display: flex;
	align-items: center;
	gap: 10px;
}

.kt-brand-title {
	font-family: var(--kt-font-heading);
	font-size: 32px;
	font-weight: 900;
	color: #111111;
	letter-spacing: -0.5px;
	line-height: 1;
}

.kt-brand-title span {
	color: var(--kt-primary);
}

.kt-brand-tagline {
	font-size: 12px;
	color: var(--kt-primary);
	font-weight: 600;
	display: block;
	margin-top: 2px;
}

/* Search Form */
.kt-header-search {
	position: relative;
	width: 260px;
}

.kt-search-input {
	width: 100%;
	padding: 8px 40px 8px 12px;
	border: 1px solid #ccc;
	border-radius: 4px;
	font-size: 13px;
	outline: none;
}

.kt-search-btn {
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	width: 38px;
	background: var(--kt-primary);
	color: #fff;
	border: none;
	border-radius: 0 4px 4px 0;
	cursor: pointer;
}

/* Action Buttons: Live TV & WhatsApp Channel */
.kt-header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.kt-btn-livetv {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: var(--kt-primary);
	color: #ffffff;
	font-family: var(--kt-font-heading);
	font-weight: 700;
	font-size: 13px;
	padding: 8px 16px;
	border-radius: 4px;
	text-transform: uppercase;
}

.kt-btn-livetv:hover {
	background-color: #a60c24;
	color: #fff;
}

.kt-btn-whatsapp {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background-color: #25D366;
	color: #ffffff;
	font-family: var(--kt-font-heading);
	font-weight: 700;
	font-size: 13px;
	padding: 8px 16px;
	border-radius: 4px;
}

.kt-btn-whatsapp:hover {
	background-color: #1eb956;
	color: #fff;
}

/* 3. Primary Navigation Bar */
.kt-main-nav-wrap {
	background-color: var(--kt-primary);
	position: sticky;
	top: 0;
	z-index: 999;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.kt-main-nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.kt-nav-menu {
	display: flex;
	list-style: none;
}

.kt-nav-menu > li > a {
	display: block;
	padding: 12px 16px;
	color: #ffffff;
	font-weight: 600;
	font-size: 15px;
	transition: background-color 0.2s ease;
}

.kt-nav-menu > li > a:hover,
.kt-nav-menu > li.current-menu-item > a {
	background-color: rgba(0, 0, 0, 0.2);
}

.kt-nav-home-icon {
	background-color: rgba(0,0,0,0.3);
}

/* Mobile Offcanvas Hamburger Button */
.kt-mobile-nav-trigger {
	display: none;
	background: none;
	border: none;
	color: #fff;
	font-size: 24px;
	cursor: pointer;
	padding: 10px;
}

/* ==========================================================================
   4. JANSATTA STYLE MOBILE HEADER COMPONENT STYLES
   ========================================================================== */

.kt-mobile-header-wrapper {
	display: none;
	background: #ffffff;
	border-bottom: 1px solid var(--kt-border);
}

.kt-mobile-top-bar {
	padding: 8px 12px;
	background: #ffffff;
}

.kt-mobile-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

/* Hamburger Trigger */
.kt-mobile-top-bar .kt-mobile-nav-trigger {
	background: none;
	border: none;
	color: #111111;
	font-size: 26px;
	padding: 2px;
	cursor: pointer;
	line-height: 1;
	display: flex;
	align-items: center;
}

/* Mobile Brand Logo */
.kt-mobile-brand {
	display: flex;
	align-items: center;
	gap: 6px;
	text-decoration: none;
}

.kt-mobile-logo-icon {
	font-size: 22px;
}

.kt-mobile-logo-title {
	font-family: var(--kt-font-heading);
	font-size: 22px;
	font-weight: 900;
	color: #111111;
	letter-spacing: -0.5px;
	line-height: 1;
}

.kt-mobile-logo-title span {
	color: var(--kt-primary);
}

.kt-mobile-logo-img {
	max-height: 38px;
	width: auto;
}

/* Right Actions Group (LIVE, APP, Profile) */
.kt-mobile-actions-group {
	display: flex;
	align-items: center;
	gap: 8px;
}

/* LIVE TV Icon Box with Pulsing Red Dot */
.kt-mobile-btn-live {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 3px 6px;
	border: 2px solid #C8102E;
	border-radius: 4px;
	color: #C8102E;
	text-decoration: none;
}

.kt-live-badge-box {
	font-family: var(--kt-font-heading);
	font-weight: 800;
	font-size: 11px;
	letter-spacing: 0.5px;
	line-height: 1;
}

.kt-live-pulse-dot {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 10px;
	height: 10px;
	background-color: #ff0000;
	border: 2px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 8px rgba(255, 0, 0, 0.8);
	animation: ktLivePulse 1.2s infinite;
}

@keyframes ktLivePulse {
	0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
	70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255, 0, 0, 0); }
	100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); }
}

/* APP Button */
.kt-mobile-btn-app {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background-color: #EFEFEF;
	color: #111111;
	font-family: var(--kt-font-heading);
	font-weight: 800;
	font-size: 11px;
	padding: 5px 10px;
	border-radius: 4px;
	text-decoration: none;
}

.kt-mobile-btn-app i {
	font-size: 14px;
}

/* User Profile Icon */
.kt-mobile-btn-user {
	color: #444444;
	font-size: 24px;
	display: flex;
	align-items: center;
	padding: 2px;
}

/* Dark Horizontal Scroll Category Bar */
.kt-mobile-nav-scroll-bar {
	background-color: #0b1326;
	border-bottom: 2px solid #C8102E;
	overflow: hidden;
}

.kt-mobile-scroll-container {
	display: flex;
	align-items: center;
	gap: 18px;
	overflow-x: auto;
	white-space: nowrap;
	padding: 8px 12px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
}

.kt-mobile-scroll-container::-webkit-scrollbar {
	display: none; /* Chrome/Safari */
}

.kt-m-nav-item {
	color: #ffffff;
	font-weight: 600;
	font-size: 14px;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.kt-m-nav-item.active {
	color: #ffffff;
	font-weight: 700;
}

.kt-m-flame {
	font-size: 15px;
}

/* Responsive display toggle for Mobile Header */
@media (max-width: 992px) {
	.kt-mobile-header-wrapper {
		display: block;
	}

	.kt-header-main,
	.kt-topbar,
	.kt-main-nav-wrap {
		display: none;
	}
}
