/* Animate the existing sticky bar without changing its placeholder or the page layout. */
.site-header.header-style-2.header-scroll-ready .main-bar {
	transition: transform 220ms ease, background-color 220ms ease;
}

.site-header.header-style-2.header-scroll-hidden:not(.active) .is-fixed .main-bar {
	transform: translateY(calc(-100% - 2px));
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.site-header.header-style-2.header-scroll-ready .main-bar {
		transition: none;
	}
}

/* Compact header for the square Studne logo. Keep these rules scoped to header 2. */
.site-header.header-style-2 .main-bar > .container {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 96px;
}

.site-header.header-style-2 .main-bar > .container::before,
.site-header.header-style-2 .main-bar > .container::after {
	display: none;
}

.site-header.header-style-2 .logo-header {
	display: flex;
	align-items: center;
	flex: 0 0 112px;
	float: none;
	width: 112px;
	height: auto;
	margin: 0;
	padding: 12px 0;
}

.site-header.header-style-2 .logo-header-inner {
	display: block;
	width: 100%;
	height: auto;
	line-height: 0;
}

/* Override the dimensions and margins generated from the ACF theme options. */
.site-header.header-style-2 .logo-header-inner a {
	display: inline-flex;
	align-items: center;
	margin: 0;
	max-width: 100%;
}

.site-header.header-style-2 .logo-header-inner a img {
	display: block;
	width: auto;
	height: auto;
	max-width: 112px;
	max-height: 72px;
	object-fit: contain;
}

.site-header.header-style-2 .header-2-nav {
	order: 3;
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
}

@media (min-width: 992px) {
	.site-header.header-style-2 .header-nav {
		flex: 1 1 auto;
		min-width: 0;
	}

	.site-header.header-style-2 .header-nav .nav {
		align-items: center;
		flex-wrap: nowrap;
	}

	.site-header.header-style-2 .header-nav .nav > li {
		margin: 0;
		padding: 0;
	}

	.site-header.header-style-2 .header-nav .nav > li > a {
		margin: 0;
		padding: 24px 12px;
	}
}

@media (max-width: 991px) {
	.site-header.header-style-2 .main-bar > .container {
		min-height: 80px;
		gap: 12px;
	}

	.site-header.header-style-2 .logo-header {
		flex-basis: 92px;
		width: 92px;
		margin-right: auto;
		padding: 10px 0;
	}

	.site-header.header-style-2 .logo-header-inner a img {
		max-width: 92px;
		max-height: 60px;
	}

	.site-header.header-style-2 #mobile-side-drawer {
		order: 4;
		flex: 0 0 44px;
		min-height: 44px;
		margin: 0;
		padding: 12px 11px;
	}

	.site-header.header-style-2 .top-bar .wt-topbar-info-2 {
		display: flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: 8px;
		margin: 0;
		width: 100%;
	}

	.site-header.header-style-2 .top-bar .wt-topbar-right .wt-topbar-info-2 li {
		max-width: 100%;
		padding: 7px 0;
		border: 0;
		margin: 0;
		font-size: clamp(10px, 2.8vw, 12px);
		white-space: nowrap;
	}

	.site-header.header-style-2 .top-bar .wt-topbar-info-2 a {
		display: inline-flex;
		align-items: center;
		white-space: nowrap;
	}

	.site-header.header-style-2 .top-bar .wt-topbar-right .wt-topbar-info-2 li i {
		font-size: 14px;
		margin-right: 4px;
	}

	.site-header.header-style-2 .top-bar > .container {
		max-width: 100%;
		padding-right: 12px;
		padding-left: 12px;
	}

	.site-header.header-style-2 .top-bar .wt-topbar-left {
		display: none !important;
	}

	.site-header.header-style-2 .top-bar .wt-topbar-right {
		width: 100%;
		min-width: 0;
		flex-wrap: nowrap !important;
	}

	.site-header.header-style-2 .top-bar .social-icons:empty {
		display: none;
	}

        .site-header.header-style-2 .header-nav .nav> li.current-menu-item > a {
                color: #00173c;
                background-color: none;
                font-weight: 700;
        }
}
