/* ===== CBH 커스텀 헤더 (Elementor post 23 재현) ===== */
@import url("https://cdn.jsdelivr.net/gh/moonspam/NanumSquare@2.0/nanumsquare.css");

:root{
	--cbh-yellow:#FCD11E;
	--cbh-hover:#6D2CB6;
	--cbh-ink:#000;
}

.cbh-header,
.cbh-header *{box-sizing:border-box;}

.cbh-header{
	position:sticky;top:0;z-index:1000;
	width:100%;background:#fff;
	min-height:80px;
	display:flex;align-items:center;
	box-shadow:0 1px 0 rgba(0,0,0,.04);
	font-family:"NanumSquare",sans-serif;
}
.cbh-header__inner{
	width:100%;max-width:1140px;margin:0 auto;
	display:flex;align-items:center;
	padding:10px 5px;
}

/* 컬럼 비율 (Elementor inline_size): 로고 25% / 메뉴 66.8% / 버튼 나머지 */
.cbh-col--logo{flex:0 0 25%;display:flex;align-items:center;justify-content:flex-start;}
.cbh-col--menu{flex:0 0 66.8%;display:flex;align-items:center;justify-content:flex-end;}
.cbh-col--btn {flex:1 1 auto;display:flex;align-items:center;justify-content:flex-end;}

.cbh-logo img{width:95px;height:auto;display:block;}

/* 메뉴 (전역 링크색을 이기도록 명시 색 + !important) */
.cbh-menu{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:28px;}
.cbh-header .cbh-menu a{
	text-decoration:none;color:#000 !important;
	font-size:16px;font-weight:700;white-space:nowrap;
	transition:color .15s ease;
}
.cbh-header .cbh-menu a:hover{color:#6D2CB6 !important;}

/* 로그인 메뉴 옆(등록 버튼 쪽) 공백 */
.cbh-header .cbh-menu .menu-item-245425{margin-right:24px;}

/* 등록 버튼 */
.cbh-header .cbh-btn{
	display:inline-block;background:#FCD11E;color:#000 !important;
	text-decoration:none;font-weight:800;font-size:14px;
	padding:12px 30px;border-radius:25px;white-space:nowrap;
	box-shadow:0 10px 30px -9px rgba(0,0,0,.16);
	transition:filter .15s ease;
}
.cbh-header .cbh-btn:hover{filter:brightness(.97);color:#000 !important;}

/* ===== 모바일 헤더 ===== */
.cbh-header--mobile{display:none;}
.cbh-header--mobile .cbh-header__inner{max-width:none;padding:10px 10px;justify-content:space-between;}
.cbh-header--mobile .cbh-logo img{width:68px;}
.cbh-header--mobile .cbh-btn{font-size:14px;padding:12px 25px;font-weight:700;}

.cbh-burger{
	background:none;border:0;cursor:pointer;padding:6px;display:flex;
	flex-direction:column;gap:5px;
}
.cbh-burger span{display:block;width:24px;height:2px;background:var(--cbh-ink);}

.cbh-mobile-panel{
	position:fixed;top:80px;left:0;right:0;background:#fff;
	border-top:1px solid #eee;box-shadow:0 8px 20px rgba(0,0,0,.08);
	transform:translateY(-12px);opacity:0;pointer-events:none;
	transition:.2s ease;z-index:999;
	font-family:"NanumSquare",sans-serif;
}
.cbh-mobile-panel.is-open{transform:translateY(0);opacity:1;pointer-events:auto;}
.cbh-mobile-panel ul{list-style:none;margin:0;padding:8px 0;}
.cbh-mobile-panel a{display:block;padding:14px 20px;color:var(--cbh-ink);
	text-decoration:none;font-weight:700;font-size:16px;}
.cbh-mobile-panel a:hover{color:#fff;background:#4632da;}

/* Elementor 기본 브레이크포인트: 모바일 ≤767px */
@media (max-width:767px){
	.cbh-header--desktop{display:none;}
	.cbh-header--mobile{display:flex;}
}
