.site-header {
	position: relative;
	z-index: 9999;
}

.site-header__bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
	background: #fff;
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	max-width: 95%;
	min-height: var(--header-h);
	margin: 0 auto;
	padding: 0 20px;
}

.site-header__left {
	display: flex;
	align-items: flex-start;
	justify-self: start;
	align-self: start; 
}


.matik-logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	max-height: 80px;
}
/* Ścieżki logo wychodzą poza viewBox SVG – overflow: visible jest konieczne. */
.matik-logo svg {
	overflow: visible;
	width: 140px;
	height: 60px;
	max-width: none;
}


.site-nav__menu {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}
.site-nav__menu > li {
	margin: 0;
}
.site-nav__menu a {
	display: block;
	padding: 0 14px;
	font-size: 14px;
	font-weight: 500;
	line-height: 80px;
	color: var(--c-text);
	text-decoration: none;
	transition: color .2s ease;
}
.site-nav__menu a:hover,
.site-nav__menu .current-menu-item > a,
.site-nav__menu .current_page_item > a {
	color: var(--c-link);
}

.site-header__right {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	justify-self: end;
}

.header-social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
}
.header-social__item {
	display: inline-flex;
	align-items: center;
	color: var(--c-text);
	line-height: 1;
}
.header-social__item + .header-social__item {
	margin-left: 6px;
}
.header-social__item svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}
.header-social__item:hover {
	color: var(--c-primary);
}


.header-lang .widget_gtranslate,
.header-lang .header-widget {
	margin: 0;
}
.header-lang .gtranslate_wrapper {
	min-width: max-content;
	margin-left: 16px;
	display: flex;
	align-items: center;
}
.header-lang .glink img {
	margin-right: 2px;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	margin-left: 0;
	padding: .75em;
	background: transparent;
	color: var(--c-text);
	line-height: 0;
}
.menu-toggle:hover,
.menu-toggle:focus {
	background: transparent;
	color: var(--c-text);
}
.menu-toggle svg {
	width: 20px;
	height: 20px;
}
.menu-toggle__close { display: none; }
.menu-open .menu-toggle__open { display: none; }
.menu-open .menu-toggle__close { display: block; }


@media (max-width: 921px) {
	.site-header__inner {
		display: flex;
		justify-content: space-between;
		max-width: 100%;
		min-height: 85.5px;
		padding: 0 20px;
	}

	.header-social {
		display: none;
	}

	.menu-toggle {
		display: inline-flex;
	}

	.site-nav {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		padding: 80px 0;
		z-index: -1;
		display: none;
	}
	.menu-open .site-nav {
		display: block;
	}
	.site-nav__menu {
		display: block;
		background: #fff;
	}
	.site-nav__menu a {
		padding: 0 20px;
		font-size: 14px;
		font-weight: 400;
		line-height: 42px;
		background: #fff;
	}
}
