/*--------------------------------------------------------------
=>> Navbar layout: logo + menu + search in a single dark bar
--------------------------------------------------------------*/
.news-mart-navbar {
	border-top: none;
	background-color: #1a1a1a;
	padding: 0;
}
.news-mart-navbar-inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.5rem;
	padding: 0.6rem 0;
}
.news-mart-navbar-logo {
	display: flex;
	align-items: center;
	margin-right: 0.5rem;
}
.news-mart-navbar-logo img {
	max-height: 32px;
	width: auto;
}
.news-mart-navbar-sitename {
	color: #fff;
	font-weight: 700;
	font-size: 1.2rem;
	text-transform: uppercase;
}
.news-mart-navbar-inner .navbar-collapse {
	flex: 1 1 auto;
}
.news-mart-navbar-search {
	margin-left: auto;
}
.news-mart-navbar-search a {
	color: #fff;
	font-size: 1rem;
}
.news-mart-navbar .navbar-toggler {
	margin-left: auto;
	border-color: rgba(255, 255, 255, 0.3);
}

/*--------------------------------------------------------------
=>> Dropdown caret
--------------------------------------------------------------*/
.news-mart-navbar .navbar-nav > .menu-item.dropdown > .dropdown-toggle::after {
	content: "";
	display: inline-block;
	width: 6px;
	height: 6px;
	margin-left: 6px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	vertical-align: middle;
}

/*--------------------------------------------------------------
=>> Mega / dark dropdown panel (Esports Insider style)
--------------------------------------------------------------*/
.news-mart-navbar .navbar-nav > .menu-item.dropdown {
	position: relative;
}
.news-mart-navbar .mega-menu-list {
	columns: 2;
	column-gap: 2rem;
	width: 560px;
	max-width: 90vw;
	padding: 1.25rem 1.5rem;
	margin: 0;
	background-color: #1e1e1e;
	border: none;
	border-top: 3px solid #0e98d6;
	border-radius: 0 0 4px 4px;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
}
.news-mart-navbar .navbar-nav > .menu-item:nth-last-child(-n+3) > .mega-menu-list {
	left: auto;
	right: 0;
}
.mega-menu-item {
	break-inside: avoid;
	list-style: none;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mega-menu-item:last-child,
.mega-menu-item:nth-last-child(2) {
	border-bottom: none;
}
.mega-menu-link {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.7rem 0;
	color: #cfcfcf;
	text-decoration: none;
}
.mega-menu-icon {
	flex: 0 0 30px;
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #0e98d6;
	border-radius: 4px;
	color: #0e98d6;
	font-size: 13px;
}
.mega-menu-label {
	font-weight: 700;
	font-size: 0.82rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}
.mega-menu-link:hover {
	color: #fff;
}
.mega-menu-link:hover .mega-menu-icon {
	background-color: #0e98d6;
	color: #fff;
}

@media (max-width: 991px) {
	.news-mart-navbar .mega-menu-list {
		columns: 1;
		width: 100%;
		max-width: 100%;
		box-shadow: none;
	}
	.news-mart-navbar .navbar-nav > .menu-item:nth-last-child(-n+3) > .mega-menu-list {
		left: 0;
		right: auto;
	}
}
