/**
 * Hello Elementor Child — 커스텀 스타일
 */

/* =============================================================================
   글로벌 — 부모 테마 컨테이너 너비 해제 (single post full-width 레이아웃)
   ============================================================================= */

body:not(.hc-legal-page) .site-main,
body:not(.hc-legal-page) .page-content,
body:not(.hc-legal-page) .page-header {
	max-width: 100% !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 0 auto !important;
}

/* =============================================================================
   Header
   ============================================================================= */
.hello-child-header {
	background: #FFFFFF;
	border-bottom: 1px solid #E5E8EB;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.hello-child-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 14px 40px;
	box-sizing: border-box;
}

.hello-child-site-title {
	font-size: 20px;
	font-weight: 800;
	color: #191F28;
	text-decoration: none;
	letter-spacing: -0.5px;
}

.hello-child-site-title:hover {
	color: #0064FF;
}

.hello-child-header-nav ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 32px;
}

.hello-child-header-nav a {
	font-size: 15px;
	font-weight: 600;
	color: #333D4B;
	text-decoration: none;
	transition: color 0.2s;
}

.hello-child-header-nav a:hover,
.hello-child-header-nav .current-menu-item > a {
	color: #0064FF;
}

.hello-child-header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hello-child-header-cta {
	display: inline-flex;
	align-items: center;
	padding: 9px 22px;
	font-size: 14px;
	font-weight: 600;
	color: #FFFFFF;
	background: #0064FF;
	border-radius: 8px;
	text-decoration: none;
	transition: all 0.2s;
}

.hello-child-header-cta:hover {
	background: #0050CC;
	color: #FFFFFF;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(0, 100, 255, 0.3);
}

.hello-child-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 4px;
}

.hello-child-menu-toggle span {
	display: block;
	width: 22px;
	height: 2px;
	background: #333D4B;
	border-radius: 2px;
	transition: all 0.3s;
}

.hello-child-mobile-nav {
	display: none;
	background: #FFFFFF;
	border-top: 1px solid #E5E8EB;
	padding: 16px 24px 20px;
}

.hello-child-mobile-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hello-child-mobile-nav li {
	border-bottom: 1px solid #F2F4F6;
}

.hello-child-mobile-nav a {
	display: block;
	padding: 12px 0;
	font-size: 15px;
	font-weight: 600;
	color: #333D4B;
	text-decoration: none;
}

.hello-child-mobile-nav a:hover {
	color: #0064FF;
}

.hello-child-mobile-cta {
	display: block;
	text-align: center;
	margin-top: 16px;
	padding: 12px;
	font-size: 15px;
	font-weight: 600;
	color: #FFFFFF;
	background: #0064FF;
	border-radius: 8px;
	text-decoration: none;
}

@media (max-width: 768px) {
	.hello-child-header-nav {
		display: none;
	}

	.hello-child-menu-toggle {
		display: flex;
	}

	.hello-child-mobile-nav.is-open {
		display: block;
	}

	.hello-child-header-inner {
		padding: 12px 16px;
	}
}

/* =============================================================================
   Footer
   ============================================================================= */
.hello-child-footer-main {
	background: #191F28;
	padding: 48px 24px;
}

.hello-child-footer-inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 40px;
	width: 100%;
	padding: 0 16px;
	box-sizing: border-box;
}

.hello-child-footer-brand {
	font-size: 20px;
	font-weight: 800;
	color: #FFFFFF;
	margin: 0 0 12px;
}

.hello-child-footer-heading {
	font-size: 15px;
	font-weight: 700;
	color: #FFFFFF;
	margin: 0 0 16px;
}

.hello-child-footer-desc {
	font-size: 13px;
	color: #8B95A1;
	line-height: 1.8;
	margin: 0;
}

.hello-child-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hello-child-footer-links li {
	margin-bottom: 10px;
}

html body .hello-child-footer-links a,
html body .hello-child-footer-links .menu-item a,
html body footer .hello-child-footer-links a {
	font-size: 14px;
	color: #8B95A1 !important;
	text-decoration: none;
	transition: color 0.2s;
}

html body .hello-child-footer-links a:hover,
html body .hello-child-footer-links .menu-item a:hover,
html body footer .hello-child-footer-links a:hover {
	color: #FFFFFF !important;
}

.hello-child-footer-bottom {
	background: #141920;
	padding: 16px 24px;
	text-align: center;
}

.hello-child-footer-bottom p {
	font-size: 12px;
	color: #4E5968;
	margin: 0;
}

@media (max-width: 768px) {
	.hello-child-footer-inner {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.hello-child-footer-main {
		padding: 36px 20px;
	}
}

/* === 카카오 로그인 페이지 === */
.hello-child-login-wrap {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 60vh;
	padding: 40px 20px;
}

.hello-child-login-box {
	width: 100%;
	max-width: 400px;
	text-align: center;
}

.hello-child-login-title {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 32px;
	color: #191919;
}

.hello-child-kakao-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 14px 20px;
	background-color: #FEE500;
	color: #000000;
	font-size: 16px;
	font-weight: 600;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.2s;
}

.hello-child-kakao-btn:hover {
	background-color: #F0D800;
	color: #000000;
}

.hello-child-login-greeting p {
	font-size: 18px;
	margin-bottom: 20px;
	color: #333;
}

.hello-child-login-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.hello-child-btn {
	display: inline-block;
	padding: 10px 20px;
	font-size: 14px;
	font-weight: 500;
	border-radius: 6px;
	text-decoration: none;
	transition: all 0.2s;
}

.hello-child-btn-outline {
	border: 1px solid #ddd;
	color: #555;
	background: #fff;
}

.hello-child-btn-outline:hover {
	border-color: #999;
	color: #333;
}

.hello-child-login-notice {
	padding: 24px;
	background: #f8f8f8;
	border-radius: 8px;
	color: #666;
	font-size: 14px;
	line-height: 1.6;
}

/* =============================================================================
   이용약관 / 개인정보 처리방침 — 본문 너비 제한 (single post와 동일)
   ============================================================================= */

.hc-legal-page .site-main {
	max-width: 800px !important;
	margin: 0 auto !important;
	padding: 40px 20px 80px !important;
}

.hc-legal-page .page-header {
	max-width: 800px !important;
	margin: 0 auto !important;
}

.hc-legal-page .page-content,
.hc-legal-page .entry-content {
	max-width: 800px !important;
	margin: 0 auto !important;
}

/* =============================================================================
   헤더 — 로그인/마이페이지 표시 조건 (logged-in body 클래스 기반)
   ============================================================================= */

/* 비회원: 마이페이지 숨김 (데스크탑 + 모바일) */
body:not(.logged-in) [data-id="hdr_d_mypage"],
body:not(.logged-in) [data-id="c6389c2"] {
	display: none !important;
}

/* 회원: 로그인 버튼 숨김 (데스크탑 + 모바일) */
body.logged-in [data-id="hdr_d_login"],
body.logged-in [data-id="hdr_m_user"] {
	display: none !important;
}

/* =============================================================================
   헤더/푸터 — 전체너비 (부모 테마 컨테이너 제한 해제)
   ============================================================================= */
.hello-child-header {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.hello-child-footer-main {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

.hello-child-footer-bottom {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}

