/* =========================================
   CUSTOM HEADER
========================================= */

.custom-site-header {
	width: 100%;
	background: #ffffff;
	position: relative;
	z-index: 9999;
}

.header-inner {
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 18px 30px;

	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

/* =========================================
   LOGO
========================================= */

.header-logo {
	flex-shrink: 0;
}

.header-logo > a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.header-logo img {
	display: block;
	width: auto;
	max-width: 210px;
	height: auto;
}

.header-logo .custom-logo-link {
	display: inline-flex;
}

.site-title {
	font-size: 28px;
	font-weight: 700;
	color: #111111;
}

/* =========================================
   RIGHT SIDE
========================================= */

.header-right {
	display: flex;
	align-items: center;
	gap: 35px;
}

/* =========================================
   QUOTE BUTTON
========================================= */

.header-quote-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	padding: 13px 25px;

	background: #111111;
	color: #ffffff;

	border-radius: 6px;

	font-size: 15px;
	font-weight: 600;
	line-height: 1;

	text-decoration: none;

	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		transform 0.25s ease;
}

.header-quote-button:hover {
	background: #333333;
	color: #ffffff;
	transform: translateY(-1px);
}

/* =========================================
   NAVIGATION
========================================= */

.custom-navigation {
	display: flex;
	align-items: center;
}

.custom-navigation ul {
	margin: 0;
	padding: 0;

	list-style: none;

	display: flex;
	align-items: center;
	gap: 30px;
}

.custom-navigation li {
	margin: 0;
	padding: 0;
	position: relative;
}

.custom-navigation a {
	display: inline-block;

	padding: 8px 0;

	color: #111111;

	font-size: 15px;
	font-weight: 500;

	text-decoration: none;

	transition: color 0.25s ease;
}

.custom-navigation a:hover,
.custom-navigation .current-menu-item > a,
.custom-navigation .current_page_item > a {
	color: #666666;
}

/* =========================================
   MOBILE MENU BUTTON
========================================= */

.mobile-menu-toggle {
	display: none;

	width: 42px;
	height: 42px;

	padding: 8px;

	background: transparent;
	border: 0;

	cursor: pointer;

	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.mobile-menu-toggle span {
	display: block;

	width: 25px;
	height: 2px;

	background: #111111;

	border-radius: 2px;
}

/* =========================================
   CLOSE BUTTON
========================================= */

.mobile-menu-close {
	display: none;

	position: absolute;
	top: 20px;
	right: 20px;

	width: 40px;
	height: 40px;

	border: 0;
	background: transparent;

	font-size: 30px;
	line-height: 1;

	cursor: pointer;
}

/* =========================================
   OVERLAY
========================================= */

.menu-overlay {
	display: none;

	position: fixed;
	inset: 0;

	background: rgba(0, 0, 0, 0.45);

	z-index: 9998;
}

/* =========================================
   TABLET / MOBILE
========================================= */

@media (max-width: 1024px) {

	.header-inner {
		padding: 16px 22px;
	}

	.header-right {
		gap: 15px;
	}

	.header-quote-button {
		display: none;
	}

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

	.custom-navigation {
		position: fixed;

		top: 0;
		right: -320px;

		width: 300px;
		max-width: 85vw;
		height: 100vh;

		padding: 75px 30px 30px;

		background: #ffffff;

		display: block;

		overflow-y: auto;

		z-index: 10000;

		transition: right 0.3s ease;
	}

	.custom-navigation.is-open {
		right: 0;
	}

	.custom-navigation ul {
		display: flex;

		flex-direction: column;

		align-items: flex-start;

		gap: 0;
	}

	.custom-navigation li {
		width: 100%;
		border-bottom: 1px solid #eeeeee;
	}

	.custom-navigation a {
		display: block;
		width: 100%;

		padding: 15px 0;

		font-size: 16px;
	}

	.mobile-menu-close {
		display: block;
	}

	.menu-overlay.is-open {
		display: block;
	}

	body.mobile-menu-open {
		overflow: hidden;
	}
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 600px) {

	.header-inner {
		padding: 14px 18px;
	}

	.header-logo img {
		max-width: 170px;
	}

	.site-title {
		font-size: 23px;
	}

	.mobile-menu-toggle {
		width: 38px;
		height: 38px;
	}

}







/* Blog dropdown */

.custom-navigation .main-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 30px;
}

.custom-navigation .main-menu > li {
	position: relative;
}

/* Submenu hidden */
.custom-navigation .main-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;

	min-width: 240px;

	margin: 0;
	padding: 10px 0;

	background: #fff;

	list-style: none;

	box-shadow: 0 10px 30px rgba(0,0,0,.12);
	border-radius: 6px;

	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);

	transition: all .25s ease;

	z-index: 9999;
}

/* Show dropdown */
.custom-navigation .main-menu > li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

/* Dropdown items */
.custom-navigation .main-menu .sub-menu li {
	width: 100%;
}

.custom-navigation .main-menu .sub-menu a {
	display: block;
	width: 100%;

	padding: 11px 18px;

	color: #111;
	font-size: 14px;

	white-space: nowrap;
}

.custom-navigation .main-menu .sub-menu a:hover {
	background: #f5f5f5;
	color: #000;
}



















.mobile-menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 8px;
	border: 0;
	background: transparent;
	cursor: pointer;

	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 5px;
}

.mobile-menu-toggle span {
	display: block;
	width: 25px;
	height: 2px;
	background: #111;
	border-radius: 2px;
}


.mobile-menu-close {
	display: none;
}


.menu-overlay {
	display: none;
}


@media (max-width: 1024px) {

	.header-quote-button {
		display: none;
	}

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

	.custom-navigation {
		position: fixed;

		top: 0;
		right: -320px;

		width: 300px;
		max-width: 85vw;
		height: 100vh;

		padding: 75px 30px 30px;

		background: #fff;

		display: block;

		overflow-y: auto;

		z-index: 100001;

		transition: right 0.3s ease;
	}

	.custom-navigation.is-open {
		right: 0;
	}

	.custom-navigation ul {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		gap: 0;

		margin: 0;
		padding: 0;
	}

	.custom-navigation li {
		width: 100%;
	}

	.custom-navigation a {
		display: block;
		width: 100%;
		padding: 15px 0;
	}

	.mobile-menu-close {
		display: block;

		position: absolute;
		top: 20px;
		right: 20px;

		width: 40px;
		height: 40px;

		border: 0;
		background: transparent;

		font-size: 30px;
		cursor: pointer;
	}

	.menu-overlay.is-open {
		display: block;

		position: fixed;
		inset: 0;

		background: rgba(0, 0, 0, 0.45);

		z-index: 100000;
	}

	body.mobile-menu-open {
		overflow: hidden;
	}
}
    