/* Clean header for the Hello Elementor child theme */

.dt-site-header {
	position: relative;
	z-index: 100;
	width: 100%;
	background: var(--dt-site-background, #dcebed);
	border-top: 3px solid #0c4559;
	border-bottom: 1px solid #e5e0d6;
	font-family: 'Heebo', Arial, sans-serif;
}

.dt-header-inner {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 34px;
	width: min(1180px, calc(100% - 40px));
	min-height: 82px;
	margin: 0 auto;
}

.dt-site-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
	color: #15343e;
	font-size: 27px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.dt-site-logo::before {
	content: '';
	display: block;
	width: 30px;
	height: 30px;
	flex: 0 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.dt-site-logo:hover,
.dt-site-logo:focus {
	color: #0c4559;
}

.dt-desktop-nav {
	min-width: 0;
}

.dt-main-menu,
.dt-mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dt-main-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
	overflow-x: auto;
	scrollbar-width: none;
}

.dt-main-menu::-webkit-scrollbar {
	display: none;
}

.dt-main-menu li {
	flex: 0 0 auto;
	margin: 0;
}

.dt-main-menu a {
	display: block;
	padding: 12px 10px;
	color: #42545b;
	border-bottom: 2px solid transparent;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	transition: color 150ms ease, border-color 150ms ease;
}

.dt-main-menu a:hover,
.dt-main-menu a:focus,
.dt-main-menu .current-menu-item > a,
.dt-main-menu .current-menu-ancestor > a,
.dt-main-menu .current_page_item > a {
	color: #0c4559;
	border-bottom-color: #0c4559;
}

.dt-mobile-nav {
	display: none;
}

.dt-mobile-nav summary {
	display: grid;
	gap: 5px;
	width: 42px;
	height: 42px;
	padding: 11px 8px;
	border: 1px solid #d8d2c8;
	cursor: pointer;
	list-style: none;
}

.dt-mobile-nav summary::-webkit-details-marker {
	display: none;
}

.dt-mobile-nav summary span {
	display: block;
	width: 24px;
	height: 2px;
	margin: auto;
	background: #15343e;
}

.dt-mobile-nav[open] summary span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.dt-mobile-nav[open] summary span:nth-child(2) {
	opacity: 0;
}

.dt-mobile-nav[open] summary span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.dt-mobile-nav nav {
	position: absolute;
	top: 100%;
	right: -20px;
	left: -20px;
	padding: 10px 20px 18px;
	background: #fff;
	border-top: 1px solid #ece7de;
	border-bottom: 1px solid #d8d2c8;
	box-shadow: 0 12px 24px rgba(21, 52, 62, 0.09);
}

.dt-mobile-menu a {
	display: block;
	padding: 11px 4px;
	color: #2f454d;
	border-bottom: 1px solid #eee9e0;
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
}

.dt-mobile-menu .current-menu-item > a,
.dt-mobile-menu .current_page_item > a {
	color: #0c4559;
	font-weight: 700;
}

@media (max-width: 1000px) {
	.dt-site-header {
		background: var(--dt-site-background, #dcebed);
		border-top: 0;
		border-bottom: 0;
		box-shadow: 0 5px 14px rgba(12, 69, 89, 0.12);
	}

	.dt-header-inner {
		min-height: 72px;
		justify-content: center;
	}

	.dt-desktop-nav {
		display: none;
	}

	.dt-mobile-nav {
		display: block;
		position: absolute;
		right: 0;
	}

	.dt-site-logo {
		color: #fff;
		text-shadow: 0 1px 8px rgba(12, 69, 89, 0.2);
	}

	.dt-site-logo:hover,
	.dt-site-logo:focus {
		color: #fff;
	}

	.dt-mobile-nav summary {
		border: 0;
	}

	.dt-mobile-nav summary span {
		background: #fff;
	}

	.dt-mobile-nav nav {
		position: fixed;
		z-index: 120;
		top: 72px;
		right: 0;
		bottom: 0;
		left: 0;
		padding: 34px 32px 28px;
		overflow-y: auto;
		background: var(--dt-site-background, #dcebed);
		border: 0;
		box-shadow: none;
	}

	.dt-mobile-menu {
		max-width: 520px;
		margin: 0 auto;
	}

	.dt-mobile-menu a {
		padding: 10px 4px;
		border: 0;
		color: #27778b;
		font-size: 21px;
		font-weight: 500;
	}

	.dt-mobile-menu .current-menu-item > a,
	.dt-mobile-menu .current_page_item > a {
		color: #0c4559;
	}

	.dt-mobile-contact {
		display: flex;
		justify-content: center;
		gap: 24px;
		max-width: 520px;
		margin: 24px auto 0;
		padding-top: 24px;
		border-top: 2px solid rgba(21, 52, 62, 0.72);
	}

	.dt-mobile-contact a {
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		border: 0;
		color: #27859a;
	}
}

@media (max-width: 560px) {
	.dt-header-inner {
		width: min(100% - 28px, 1180px);
		min-height: 66px;
	}

	.dt-site-logo {
		font-size: 23px;
	}

	.dt-site-logo::before {
		width: 26px;
		height: 26px;
	}

	.dt-mobile-nav nav {
		top: 66px;
		right: 0;
		left: 0;
	}
}
