.kst-nav-wrap {
	--kst-nav-align: center;
	--kst-nav-gap: 40px;
	--kst-nav-h: 80px;
	--kst-sub-w: 220px;
	--kst-toggle-align: flex-end;
	position: relative;
}
.kst-nav,
.kst-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.kst-nav a { text-decoration: none; transition: color .2s ease, background-color .2s ease; }
.kst-sub-indicator {
	display: inline-flex;
	margin-left: 5px;
	transition: transform .25s ease;
}
.kst-sub-indicator svg { width: .75em; height: .75em; fill: currentColor; }

.kst-nav-toggle,
.kst-nav-close {
	border: 0;
	cursor: pointer;
	line-height: 1;
	font: inherit;
}
.kst-nav-toggle { display: none; background: transparent; padding: 6px; color: #D4C832; }
.kst-nav-toggle:hover, .kst-nav-toggle:focus { background: transparent; }
.kst-nav-toggle svg { display: block; width: 28px; height: 28px; }
.kst-nav-panel-head, .kst-nav-overlay { display: none; }

/* ---------- Desktop ---------- */
@media (min-width: 1025px) {
	.kst-nav {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		justify-content: var(--kst-nav-align);
		min-height: var(--kst-nav-h);
	}
	.kst-nav > li { position: relative; margin-right: var(--kst-nav-gap); }
	.kst-nav > li:last-child { margin-right: 0; }
	.kst-nav > li > a {
		display: flex;
		align-items: center;
		height: var(--kst-nav-h);
		color: #fff;
		font-size: 15px;
	}
	.kst-submenu {
		position: absolute;
		top: 100%;
		left: 0;
		min-width: var(--kst-sub-w);
		width: var(--kst-sub-w);
		background: #fff;
		padding: 11px 16px 10px;
		box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
		opacity: 0;
		visibility: hidden;
		transform: translateY(10px);
		transition: opacity .25s ease, transform .25s ease, visibility .25s;
		z-index: 9999;
	}
	.kst-submenu .kst-submenu { top: 0; left: 100%; }
	.kst-has-sub:hover > .kst-submenu,
	.kst-has-sub:focus-within > .kst-submenu {
		opacity: 1;
		visibility: visible;
		transform: none;
	}
	.kst-submenu li { position: relative; }
	.kst-submenu a { display: block; padding: 5px 0; color: #000; font-size: 15px; }
}

/* ---------- Mobile / tablet ---------- */
@media (max-width: 1024px) {
	.kst-nav-wrap { display: flex; justify-content: var(--kst-toggle-align); }
	.kst-nav-toggle { display: inline-flex; }
	.kst-nav-panel {
		--kst-panel-bg: #002451;
		--kst-panel-w: 350px;
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(var(--kst-panel-w), 90vw);
		background: var(--kst-panel-bg);
		overflow-y: auto;
		transform: translateX(-100%);
		transition: transform .4s ease;
		z-index: 100000;
		padding: 0 0 40px;
		box-sizing: border-box;
	}
	.kst-nav-wrap.is-open .kst-nav-panel { transform: none; }
	.kst-nav-panel-head {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		padding: 13px 13px 20px 20px;
	}
	.kst-nav-logo { display: block; line-height: 0; margin-top: 27px; }
	.kst-nav-logo img { width: 140px; height: auto; }
	.kst-nav-close {
		margin-left: auto;
		padding: 8px 15px;
		border-radius: 3px;
		background: rgba(229, 216, 46, .28);
		color: #D6CA34;
		font-family: Rubik, sans-serif;
		font-size: 14px;
		font-weight: 500;
		text-transform: uppercase;
	}
	.kst-nav-overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(0, 0, 0, .35);
		opacity: 0;
		visibility: hidden;
		transition: opacity .3s ease, visibility .3s;
		z-index: 99999;
	}
	.kst-nav-overlay[hidden] { display: block; }
	.kst-nav-wrap.is-open .kst-nav-overlay { opacity: 1; visibility: visible; }
	.kst-nav { display: block; }
	.kst-nav > li > a {
		display: flex;
		align-items: center;
		padding: 10px 15px 10px 20px;
		color: #fff;
	}
	.kst-nav > li > a .kst-sub-indicator { margin-left: 15px; }
	.kst-has-sub.open > a .kst-sub-indicator { transform: rotate(180deg); }
	.kst-submenu { display: none; }
	.kst-has-sub.open > .kst-submenu { display: block; }
	.kst-submenu a { display: block; padding: 5px 15px; color: #fff; }
}

body.kst-nav-locked { overflow: hidden; }
