/* =========================
   Dream Tour Header
========================= */

.site-header {
	background: #fff;
	border-bottom: 1px solid #ececec;
	position: relative;
	z-index: 100;
}

.sub-header-bar {
	border-bottom: 1px solid #f1f1f1;
	background: #fff;
}

.sub-header-inner,
.header-inner,
.gnb-inner,
.mobile-header-top,
.mobile-header-bottom,
.mobile-drawer-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Top bar */

.sub-header-inner {
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.sub-header-tagline {
	margin: 0;
	font-size: 13px;
	color: #9a9a9a;
	font-weight: 300;
	white-space: nowrap;
}

.sub-header-right {
	display: flex;
	/* align-items: center; */
	gap: 20px;
}

.sub-header-link,
.sub-header-menu a {
	text-decoration: none;
	font-size: 14px;
	color: #555;
	font-weight: 600;
}

.sub-header-link:hover,
.sub-header-menu a:hover {
	color: #1565d8;
}

.sub-header-menu {
	display: flex;
	align-items: center;
	gap: 20px;
}

.sub-header-menu li {
	margin: 0;
	padding: 0;
}

/* Main header */

.desktop-header-wrap {
	display: block;
}

.header-inner {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	min-height: 92px;
}

.logo-wrapper {
	display: flex;
	align-items: center;
}

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

.site-logo img,
.custom-logo {
	max-height: 52px;
	width: auto;
	display: block;
}

.site-branding__text {
	font-size: 26px;
	font-weight: 800;
	color: #1565d8;
	line-height: 1;
}

.header-center {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
}

.header-search {
	flex: 1;
	min-width: 0;
}

.header-search-form {
	display: flex;
	align-items: center;
	border: 1px solid #dddddd;
	border-radius: 999px;
	background: #fff;
	padding: 6px;
	max-width: 520px;
	width: 100%;
}

.header-search-input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: none;
	background: transparent;
	padding: 0 18px;
	height: 38px;
	font-size: 16px;
	color: #222;
}

.header-search-input::placeholder {
	color: #9a9a9a;
}

.header-search-btn {
	border: 0;
	background: #111;
	color: #fff;
	font-size: 15px;
	font-weight: 800;
	height: 38px;
	padding: 0 22px;
	border-radius: 999px;
	cursor: pointer;
	white-space: nowrap;
}

/* .header-hot {
	display: flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}

.hot-label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	height: 30px;
	padding: 0 12px;
	border: 2px solid #2f73d9;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 800;
	line-height: 1;
	color: #2f73d9;
	background: #fff;
	box-sizing: border-box;
}

.hot-item {
	text-decoration: none;
	font-size: 15px;
	font-weight: 600;
	color: #444;
}

.hot-item:hover {
	color: #1565d8;
} */

.header-consult {
	display: flex;
	align-items: center;
	gap: 8px;
}

.header-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	padding: 0 18px;
	border-radius: 10px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 800;
	white-space: nowrap;
	transition: all 0.2s ease;
}

.consult-live {
	background: #fae100;
	color: #111;
}

.consult-live:hover {
	filter: brightness(0.97);
}

.consult-mice {
	background: #0d1730;
	color: #fff;
}

.consult-mice:hover {
	background: #162444;
}

/* GNB */

.gnb-bar {
	border-top: 1px solid #ececec;
	border-bottom: 1px solid #ececec;
	background: #fff;
}

.gnb-inner {
	min-height: 62px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.main-nav,
.nav-list,
.nav-list > li,
.gnb-bar,
.gnb-inner {
	overflow: visible;
}

.main-nav {
	width: 100%;
}

.nav-list,
.nav-list ul,
.nav-list li,
.mobile-nav-list,
.mobile-nav-list ul,
.mobile-nav-list li {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.nav-list {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.nav-list > li {
	position: relative;
	margin: 0;
	padding: 0;
}

.nav-list > li > a {
	text-decoration: none;
	font-size: 16px;
	font-weight: 700;
	color: #333;
	line-height: 1;
	padding: 22px 22px;
	display: inline-flex;
	align-items: center;
}

.nav-list > li > a:hover,
.nav-list > li.current-menu-item > a,
.nav-list > li.current_page_item > a {
	color: #1565d8;
}

/* Desktop dropdown arrow */

.nav-list > li.menu-item-has-children > a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.nav-list > li.menu-item-has-children > a::after {
    content: "";
    font-size: 12px;
    margin-left: 6px;
    line-height: 1;
}

/* Dropdown menu */

.nav-list .sub-menu {
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: calc(100%+8px);
	left: 0%;
    transform: none;
    min-width: 150px;
	background: #fff;
	border: 1px solid #e9e9e9;
	border-radius: 14px;
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
	opacity: 0;
	visibility: hidden;
	transition: all 0.18s ease;
	z-index: 999;
}

.nav-list .sub-menu li {
	margin: 0;
	padding: 0;
	width: 100%;
}

.nav-list .sub-menu a {
	display: block;
	width: 100%;
	padding: 11px 18px;
	font-size: 14px;
	font-weight: 600;
	color: #333;
	text-decoration: none;
	line-height: 1.5;
	white-space: nowrap;
}

.nav-list .sub-menu a:hover {
	background: #f6f9ff;
	color: #1565d8;
}

/* 현재 페이지 */
.nav-list .sub-menu .current-menu-item > a {
	color: #1565d8;
}

.nav-list > li:hover > .sub-menu,
.nav-list > li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	top: calc(100% + 6px);
}

/* Desktop hamburger hidden */

.menu-toggle {
	display: none;
}

/* Mobile */

.mobile-header {
	display: none;
}

.mobile-menu-toggle,
.menu-toggle {
	width: 42px;
	height: 42px;
	border: 0;
	background: transparent;
	padding: 0;
	cursor: pointer;
}

.mobile-menu-toggle span,
.menu-toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #222;
	margin: 5px auto;
	border-radius: 999px;
}

.mobile-header-top {
	min-height: 68px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

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

.mobile-logo img,
.mobile-logo .custom-logo {
	max-height: 44px;
	width: auto;
	display: block;
}

.mobile-consult-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 38px;
	padding: 0 14px;
	border-radius: 10px;
	background: #0d1730;
	color: #fff;
	text-decoration: none;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.mobile-header-bottom {
	min-height: 52px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	border-top: 1px solid #f1f1f1;
}

.mobile-drawer {
	display: none;
	border-top: 1px solid #ececec;
	background: #fff;
}

.mobile-drawer.is-open {
	display: block;
}

.mobile-drawer-inner {
	padding-top: 8px;
	padding-bottom: 16px;
}

.mobile-nav-list,
.mobile-nav-list .sub-menu {
	margin: 0;
	padding: 0;
}

.mobile-nav-list > li {
	border-bottom: 1px solid #f3f3f3;
}

.mobile-nav-list > li > a {
	display: block;
	padding: 14px 0;
	text-decoration: none;
	color: #222;
	font-size: 15px;
	font-weight: 700;
}

.mobile-nav-list .menu-item-has-children > a {
	position: relative;
	padding-right: 24px;
}

.mobile-nav-list .menu-item-has-children > a::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 7px;
	height: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-60%) rotate(45deg);
}

.mobile-nav-list .sub-menu {
	display: none;
	padding-bottom: 10px;
}

.mobile-nav-list .menu-item-has-children.is-open > .sub-menu {
	display: block;
}

.mobile-nav-list .sub-menu li a {
	display: block;
	padding: 10px 0 10px 14px;
	text-decoration: none;
	color: #555;
	font-size: 14px;
	font-weight: 600;
}

/* Main area */

.site-main {
	min-height: 60vh;
}

/* Tablet */

@media (max-width: 1200px) {
	.header-inner {
		grid-template-columns: 220px minmax(0, 1fr);
		gap: 16px;
		min-height: 84px;
	}

	.header-consult {
		grid-column: 1 / -1;
		justify-content: flex-end;
		margin-top: -4px;
		padding-bottom: 12px;
	}

	.nav-list {
		gap: 20px;
	}

	.nav-list > li > a {
		font-size: 15px;
	}
}

/* Mobile */

@media (max-width: 768px) {
	.sub-header-bar,
	.desktop-header-wrap {
		display: none;
	}

	.mobile-header {
		display: block;
		background: #fff;
		border-bottom: 1px solid #ececec;
	}

	.mobile-header-top,
	.mobile-header-bottom,
	.mobile-drawer-inner {
		padding-left: 14px;
		padding-right: 14px;
	}
}

