tk-header {
	position: sticky;
	top: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: .25rem;

	width: 100%;
	height: 5rem;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem 2rem;

	transition: all 0.25s ease 0s;
	overflow: hidden;
	z-index: 999;
	--bs-dropdown-border-width: 0;
	--bs-dropdown-bg: unset;
	--bs-dropdown-item-padding-x: 2.25rem;
	--bh: 4rem;
}
tk-header:before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--bh);
	background: rgb(var(--c-background), 0);
	transition: all 0.3s ease 0s;
	z-index: -1;
}

tk-header.modal-fullscreen {
	display: none;
}

tk-header.fixed {
	position: sticky;
  top: 0;
	height: var(--bh);
}
tk-header>.toggle {
	flex-basis: 4rem;
	height: 4rem;
	display: none;
	justify-content: center;
	align-items: center;
	padding: 1rem;
	--c: var(--c-text);
	color: rgb(var(--c), .85);
	cursor: pointer;
	z-index: 1;
}
tk-header>.toggle::before {
	content: "";
	position: absolute;
	width: 1rem;
	height: .1rem;
	background: rgb(var(--c));
	transform: translateY(-5px);
	box-shadow: 0 10px 0 rgb(var(--c));
	transition: all 0.5s ease 0s;
}
tk-header>.toggle::after {
	content: "";
	position: absolute;
	width: 1rem;
	height: .1rem;
	background: rgb(var(--c));
	transform: translateY(0px);
	transition: all 0.5s ease 0s;
}
tk-header>.toggle.open::before {
	transform: translateY(0px) rotate(45deg);
	box-shadow: 0 0 0 rgba(var(--c), 0);
}
tk-header>.toggle.open::after {
	transform: translateY(0px) rotate(-45deg);
}
tk-header>.home {
	flex: 1;
	text-align: center;
	z-index: 1;
}
tk-header>.home>img {
	transition: all 0.3s ease 0s;
	transform-origin: center;
	aspect-ratio: 3 / 1;
}
[data-bs-theme=dark] tk-header>.home>img {
	content: url("/static/logo/brand-h-s.png");
}
tk-header>.space {
	flex: 1;
	display: flex;
	justify-content: center;
}
tk-header>.shortcuts {
	display: flex;
	padding: .5rem .5rem 1rem;
}
tk-header>.shortcuts>.btn {
	position: relative;
	flex-basis: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
}
tk-header>.shortcuts>.btn>.badge {
	position: absolute;
	top: 0;
	right: 0;
}





tk-header.fixed:before {
	background: rgb(var(--c-background), .85);
}

tk-header>.home {
	flex: unset;
	flex-basis: 10rem;
}
tk-header>.space {
	display: flex;
}
tk-header>.shortcuts {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: start;
	flex-direction: row;
	gap: 0;
	padding: 0 .5rem;
	margin: 0;
	list-style: none;
}
tk-header>.shortcuts>li>.btn {
	position: relative;
	flex-basis: 5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	gap: .25rem;
	--bs-btn-border-radius: 2rem;
	--bs-btn-padding-x: 1rem;
	--bs-btn-padding-y: .5rem;
	--bs-btn-color: rgb(var(--c-text));
	--bs-btn-border-width: 0;
	--bs-btn-font-weight: 700;
	text-decoration: none;
	text-transform: capitalize;
}
tk-header>.shortcuts>li>.btn::before {
	content: '';
	position: absolute;
	left: 1.25rem;
	bottom: -2px;
	width: calc(100% - 2.5rem);
	height: 2px;
	background-color: transparent;
	transition: background-color 0.3s;
}
tk-header>.shortcuts>li>.btn:hover::before {
	background-color: rgb(var(--c-primary));
}
tk-header>.shortcuts>li>.btn:hover {
/*	color: rgb(var(--c-primary), .9);*/
}
tk-header>.shortcuts>li>.btn>.mzi {
	font-size: .9rem;
	padding: .15rem;
}
tk-header>.shortcuts>li>.btn.active {
	color: rgb(var(--c-background));
	background-color: rgb(var(--c-primary), .85);
	pointer-events: none;
	font-weight: 700;
}
tk-header>.sub {
	flex-basis: 10rem;
	display: flex;
	align-items: center;
	justify-content: end;
	gap: .25rem;
	padding: 0 .25rem;
}
tk-header>.sub>.switch {
	margin: 0 .25rem;
}
tk-header>.sub>.auth {
	color: rgb(var(--c-light));
}
tk-header>.sub>.btn {
	position: relative;
	flex-basis: 5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row;
	gap: .25rem;
	--bs-btn-border-radius: 2rem;
	--bs-btn-padding-x: 1rem;
	--bs-btn-padding-y: .5rem;
	--bs-btn-color: rgb(var(--c-text));
	--bs-btn-border-width: 0;
	--bs-btn-font-weight: 700;
	text-decoration: none;
	text-transform: capitalize;
}
tk-header>.ghost, tk-header>.panel {
	display: none;
}

@media (max-width: 992px) {
	tk-header>.toggle {
		display: flex;
	}
	tk-header>.space {
		display: flex;
		flex: 1;
	}
	tk-header>.sub {
    flex-basis: 10rem;
  }
	tk-header>.shortcuts {
		position: fixed;
		top: 0;
		left: -100vw;
		align-items: flex-start;
		justify-content: start;
		flex-direction: column;
		gap: 1rem;
		width: 16rem;
		height: calc(100% - 8rem);
		margin: 6rem 0 2rem 2rem;
		padding: 2rem;
		border-radius: 1rem;
		border-width: 2px;
		border-style: solid;
		border-color: rgb(var(--c-primary), 1);
		background: rgb(var(--c-background));
		box-shadow: 0 0 1rem 0 rgb(var(--c-dark), .5);
		transition: all 0.25s ease 0.1s;
		z-index: 110;
	}
	tk-header>.shortcuts>li {
		width: 100%;
	}
	tk-header>.shortcuts>li>.btn {
		flex-basis: unset;
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: .5rem;
		padding: .25rem .5rem;
	}
	tk-header>.shortcuts>li>.btn::before {
		content: none;
	}
	tk-header>.shortcuts>li>.btn:hover {
		color: rgb(var(--c-text), .9);
	}
	tk-header>.shortcuts>li>.btn>.mzi {
	}
	tk-header>.shortcuts>li>.btn>.title {
		letter-spacing: 1px;
	}
	tk-header>.shortcuts .dropdown-menu {
		position: static !important;
		--bs-dropdown-border-width: 0;
		--bs-dropdown-bg: unset;
		--bs-dropdown-item-padding-x: 2.25rem;
		transform: unset !important;
	}

	tk-header>.panel, tk-header>.ghost {
		position: fixed;
		top: 0;
		left: 0;
		width: 100vw;
		height: 100vh;
		opacity: 0;
		visibility: hidden;
		transition: all 0.25s ease 0.1s;
		z-index: 5;
	}
	tk-header>.panel {
		background: rgba(var(--c-background), .5);
	}
	tk-header>.ghost {
/*		cursor: pointer;*/
	}
	body.open tk-header>.shortcuts {
		left: 0;
	}
	body.open tk-header>.panel {
		opacity: 1;
		visibility: visible;
	}
	body.open tk-header>.ghost {
		visibility: visible;
	}

}
@media (max-width: 768px) {
	tk-header {
		width: calc(100% - .5rem);
		height: 5rem;
		margin: 0 .5rem 0 0;
		padding: 0 .5rem 0;
		gap: 0;
	}
	tk-header.fixed {
		width: 100%;
		margin: 0;
	}


	body.fixed tk-header {
		width: 100%;
		padding: .5rem;
	}

	tk-header>.home {
		flex-basis: 5rem;
	}
	tk-header>.home>img {
		height: 3rem;
		max-width: unset;
	}
	tk-header>.switch {
		--width-of-switch: 2.5em;
	}
	tk-header>.shortcuts {
		width: calc(100% - 6rem);
		height: calc(100% - 9rem);
		margin: 6rem 3rem 3rem;
	}
}
section {
	flex: 1 !important;
}