/* ----------------------------------------------------------------
   Custom CSS
-----------------------------------------------------------------*/

:root {
	--gati-brand: #1a73e8;
	--gati-brand-dark: #1557b0;
}

#logo .logo-text {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: 0.4px;
	color: #fff;
	text-decoration: none;
	padding: 0.4rem 0.8rem;
	border-radius: 0.35rem;
	transition: background-color 0.2s ease, color 0.2s ease;
}

#logo .logo-text:hover,
#logo .logo-text:focus-visible {
	color: #fff;
	background-color: rgba(255, 255, 255, 0.12);
	text-decoration: none;
}

#logo .logo-text:focus-visible {
	outline: 2px solid rgba(255, 255, 255, 0.45);
	outline-offset: 2px;
}

.primary-menu-trigger {
	display: none;
}

.cnvs-hamburger {
	border: 0;
	background: transparent;
	padding: 0.5rem;
}

.cnvs-hamburger-box {
	display: inline-block;
	width: 28px;
	height: 20px;
	position: relative;
}

.cnvs-hamburger-inner,
.cnvs-hamburger-inner::before,
.cnvs-hamburger-inner::after {
	display: block;
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: #fff;
	transition: transform 0.2s ease, opacity 0.2s ease, top 0.2s ease;
}

.cnvs-hamburger-inner {
	top: 9px;
}

.cnvs-hamburger-inner::before,
.cnvs-hamburger-inner::after {
	content: "";
}

.cnvs-hamburger-inner::before {
	top: -7px;
}

.cnvs-hamburger-inner::after {
	top: 7px;
}

#header .primary-menu-trigger.primary-menu-trigger-active .cnvs-hamburger-inner {
	background: transparent;
}

#header .primary-menu-trigger.primary-menu-trigger-active .cnvs-hamburger-inner::before {
	top: 0;
	transform: rotate(45deg);
}

#header .primary-menu-trigger.primary-menu-trigger-active .cnvs-hamburger-inner::after {
	top: 0;
	transform: rotate(-45deg);
}

@media (max-width: 991.98px) {
	#header-wrap {
		position: relative;
	}

	.primary-menu-trigger {
		display: flex;
		align-items: center;
	}

	.primary-menu {
		position: absolute;
		top: calc(100% + 8px);
		left: 0;
		right: 0;
		background: linear-gradient(135deg, var(--gati-brand), var(--gati-brand-dark));
		border-radius: 0.6rem;
		box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
		opacity: 0;
		transform: translateY(-12px);
		pointer-events: none;
		transition: opacity 0.2s ease, transform 0.2s ease;
		z-index: 20;
	}

	.primary-menu.primary-menu-active {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}

	.primary-menu .menu-container {
		display: flex;
		flex-direction: column;
		padding: 0.35rem 0;
	}

	.primary-menu .menu-link {
		color: #fff;
		padding: 0.75rem 1rem;
	}

	.primary-menu .menu-link:hover,
	.primary-menu .menu-link:focus-visible {
		background: rgba(255, 255, 255, 0.12);
	}

	.header-buttons {
		display: none !important;
	}
}

@media (max-width: 767.98px) {
	#logo .logo-text {
		font-size: 1.1rem;
		padding: 0.25rem 0.5rem;
	}

	#header .header-extras {
		display: none !important;
	}

	.heading-block h2[style*="font-size: 44px"] {
		font-size: 1.7rem !important;
		line-height: 1.35 !important;
	}

	.button {
		margin-bottom: 0.6rem;
	}
}
