/* ============================================================
   New Layout - Header / Footer (publishing-website 마이그레이션)
   - prefix: nh_ (header), nf_ (footer)
   - 기존 .head_wrap / .footer 클래스 영향 없도록 분리
   ============================================================ */

/* ---------- Global font override (Noto Sans KR) ---------- */
html, body, input, button, textarea, select, h1, h2, h3, h4, h5, h6{
	font-family: 'Noto Sans KR', 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
}

/* ---------- Reset (헤더·푸터 영역만) ---------- */
.nh_header *,
.nf_footer *{box-sizing: border-box;}
.nh_header a,
.nf_footer a{text-decoration: none; color: inherit;}
.nh_header button{background: none; border: 0; padding: 0; cursor: pointer; font-family: inherit; color: inherit;}

/* ============================================================
   HEADER
   ============================================================ */
.nh_header{
	width: 100%;
	background-color: #ffffff;
	border-bottom: 1px solid #ebebeb;
	position: sticky;
	top: 0;
	left: 0;
	z-index: 50;
}
.nh_container{
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}
.nh_inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 64px;
	gap: 16px;
}

/* ----- Logo ----- */
.nh_logo{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
	height: 40px;
}
.nh_logo_img{
	height: 100%;
	width: auto;
	display: block;
}
.nh_logo_text{
	font-size: 18px;
	font-weight: 800;
	color: #1f1f1f;
	letter-spacing: -0.01em;
	line-height: 1;
}
@media (max-width: 480px){
	.nh_logo_text{display: none;}
}

/* ----- Desktop Nav ----- */
.nh_nav{
	display: none;
	align-items: center;
	gap: 22px;
}
.nh_menu{
	font-size: 16px;
	font-weight: 700;
	color: #1f1f1f;
	transition: color 0.18s ease;
	white-space: nowrap;
	letter-spacing: -0.01em;
}
.nh_menu:hover{color: #c79b00;}

/* ----- Right Cluster ----- */
.nh_right{
	display: flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}
.nh_phone{
	display: none;
	align-items: center;
	gap: 8px;
	height: 36px;
	padding: 0 16px;
	border: 1px solid #1f1f1f;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: #1f1f1f;
	transition: background-color 0.18s ease;
}
.nh_phone:hover{background-color: #f7f7f7;}
.nh_phone svg{width: 16px; height: 16px; flex-shrink: 0;}

.nh_login{
	display: none;
	font-size: 14px;
	color: #898989;
	transition: color 0.18s ease;
}
.nh_login:hover{color: #1f1f1f;}

.nh_signup{
	display: none;
	height: 36px;
	padding: 0 18px;
	background-color: #ffe100;
	color: #1f1f1f;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 36px;
	transition: opacity 0.18s ease;
}
.nh_signup:hover{opacity: 0.9;}

.nh_logout{
	display: none;
	height: 36px;
	padding: 0 16px;
	font-size: 14px;
	font-weight: 600;
	color: #1f1f1f;
	border: 1px solid #ebebeb;
	border-radius: 999px;
	line-height: 34px;
	transition: background-color 0.18s ease;
}
.nh_logout:hover{background-color: #f7f7f7;}

/* Mobile burger */
.nh_burger{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: #1f1f1f;
}
.nh_burger svg{width: 24px; height: 24px;}
.nh_burger .nh_burger_close{display: none;}
.nh_burger.is_open .nh_burger_open{display: none;}
.nh_burger.is_open .nh_burger_close{display: block;}

/* ----- Mobile Menu Panel ----- */
.nh_mobile{
	display: none;
	padding: 16px 0;
	border-top: 1px solid #ebebeb;
}
.nh_mobile.is_open{display: block;}
.nh_mobile_nav{
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.nh_mobile_menu{
	font-size: 14px;
	font-weight: 600;
	color: #1f1f1f;
	padding: 6px 0;
}
.nh_mobile_phone{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 40px;
	padding: 0 16px;
	border: 1px solid #1f1f1f;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: #1f1f1f;
	align-self: flex-start;
}
.nh_mobile_phone svg{width: 16px; height: 16px;}
.nh_mobile_auth{
	display: flex;
	align-items: center;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid #ebebeb;
}
.nh_mobile_login{font-size: 14px; color: #898989;}
.nh_mobile_signup{
	height: 36px;
	padding: 0 18px;
	background-color: #ffe100;
	color: #1f1f1f;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	line-height: 36px;
}
.nh_mobile_logout{
	height: 36px;
	padding: 0 16px;
	border: 1px solid #ebebeb;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	line-height: 34px;
	color: #1f1f1f;
}

/* ----- Breakpoints ----- */
@media (min-width: 640px){
	.nh_phone{display: inline-flex;}
	.nh_login{display: inline-block;}
	.nh_signup{display: inline-block;}
	.nh_logout{display: inline-flex; align-items: center;}
}
@media (min-width: 1024px){
	.nh_nav{display: flex;}
	.nh_burger{display: none;}
	.nh_mobile{display: none !important;}
}

/* ============================================================
   HERO
   ============================================================ */
.nh_hero{
	position: relative;
	width: 100%;
	background-color: #000000;
	color: #ffffff;
	overflow: hidden;
	margin-bottom: 24px;
}
.nh_hero_video{
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	opacity: 1;
	z-index: 1;
	pointer-events: none;
}
.nh_hero_overlay{
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.20));
	z-index: 2;
}
.nh_hero_inner{
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 16px;
}
.nh_hero_content{
	max-width: 580px;
}
.nh_hero_eyebrow{
	font-size: 20px;
	font-weight: 500;
	color: #ffe100;
	margin: 0 0 14px 0;
	letter-spacing: 0.02em;
}
.nh_hero_title{
	font-size: 36px;
	font-weight: 600;
	line-height: 1.2;
	margin: 0 0 18px 0;
	color: #ffffff;
	letter-spacing: -0.01em;
}
.nh_hero_title_accent{color: #ffe100;}
.nh_hero_desc{
	font-size: 18px;
	color: #d4d4d8;
	margin: 0 0 32px 0;
	line-height: 1.6;
}
.nh_hero_actions{
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}
.nh_hero_btn{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 24px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	transition: opacity 0.18s ease, background-color 0.18s ease;
	white-space: nowrap;
}
.nh_hero_btn svg{width: 20px; height: 20px;}
.nh_hero_btn_primary{
	background-color: #ffe100;
	color: #000000;
}
.nh_hero_btn_primary svg{stroke: #000000;}
.nh_hero_btn_primary:hover{opacity: 0.9;}
.nh_hero_btn_glass{
	background-color: #ffffff;
	color: #000000;
	border: 1px solid #ffffff;
}
.nh_hero_btn_glass:hover{background-color: rgba(255, 255, 255, 0.92);}

@media (min-width: 1024px){
	.nh_hero_inner{padding: 128px 16px;}
	.nh_hero_title{font-size: 48px;}
	.nh_hero_eyebrow{font-size: 22px;}
}
@media (max-width: 600px){
	.nh_hero{
		width: calc(100% + 30px);
		margin-left: -15px;
		margin-right: -15px;
		margin-bottom: 16px;
	}
	.nh_hero_inner{padding: 60px 20px;}
	.nh_hero_title{font-size: 28px;}
	.nh_hero_desc{font-size: 15px; margin-bottom: 24px;}
	.nh_hero_eyebrow{font-size: 17px;}
	.nh_hero_btn{height: 44px; padding: 0 20px; font-size: 14px;}
}

/* ============================================================
   MAIN PAGE - content width (match nh_section_inner 1280px)
   ============================================================ */
.main_container_wrap.container_wrap{
	padding-left: 0 !important;
	padding-right: 0 !important;
}
.main_container_wrap .container1200{
	width: 100%;
	text-align: center;
}
.main_container_wrap .main_quick_btn{
	box-shadow: none !important;
	border: 1px solid #ebebeb;
	border-radius: 12px;
}
.main_container_wrap .main_quick_btn:hover{
	border-color: #d8d8d8;
}
.main_container_wrap .container_inner{
	width: 100% !important;
	max-width: 1280px !important;
	margin-left: auto;
	margin-right: auto;
	padding-left: 16px !important;
	padding-right: 16px !important;
	box-sizing: border-box;
	display: block;
	text-align: left;
}

/* ============================================================
   SECTION COMMON (제목 + 부제 + 전체보기)
   ============================================================ */
.nh_section_inner{
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
	box-sizing: border-box;
}
.nh_section_head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
}
.nh_section_head_text{
	display: flex;
	align-items: baseline;
	flex-wrap: nowrap;
	gap: 0 12px;
	min-width: 0;
}
.nh_section_title{
	font-size: 22px;
	font-weight: 700;
	color: #1f1f1f;
	margin: 0;
	line-height: 1.3;
	letter-spacing: -0.01em;
	flex-shrink: 0;
}
.nh_section_sub{
	font-size: 16px;
	color: #898989;
	margin: 0;
	line-height: 1.5;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.nh_section_more{
	font-size: 15px;
	color: #898989;
	transition: color 0.18s ease;
	white-space: nowrap;
	flex-shrink: 0;
}
.nh_section_more:hover{color: #1f1f1f;}

@media (min-width: 1024px){
	.nh_section_title{font-size: 24px;}
	.nh_section_sub{font-size: 17px;}
}

/* ============================================================
   REVIEWS
   ============================================================ */
.nh_reviews{
	width: 100%;
	background-color: #ffffff;
	padding: 20px 0 48px;
	box-sizing: border-box;
}
.nh_reviews_grid{
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
.nh_review_card{
	display: block;
	background-color: #ffffff;
	border: 1px solid #ebebeb;
	border-radius: 10px;
	overflow: hidden;
	transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
	color: inherit;
	text-decoration: none;
}
.nh_review_card:hover{
	transform: translateY(-2px);
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
	border-color: #d8d8d8;
}
.nh_review_img{
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background-color: #f5f5f5;
	overflow: hidden;
}
@supports not (aspect-ratio: 1){
	.nh_review_img::before{content: ""; display: block; padding-top: 75%;}
}
.nh_review_img img{
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.nh_review_body{padding: 16px;}
.nh_review_stars{
	display: flex;
	align-items: center;
	gap: 2px;
	margin-bottom: 8px;
}
.nh_review_stars svg{
	width: 15px;
	height: 15px;
	color: #ffe100;
	flex-shrink: 0;
}
.nh_review_rating{
	font-size: 14px;
	color: #898989;
	margin-left: 4px;
}
.nh_review_text{
	font-size: 16px;
	color: #1f1f1f;
	line-height: 1.55;
	margin: 0 0 8px 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	word-break: break-all;
}
.nh_review_date{
	font-size: 14px;
	color: #898989;
	margin: 0;
}

@media (min-width: 640px){
	.nh_reviews_grid{grid-template-columns: repeat(2, 1fr);}
}
@media (min-width: 1024px){
	.nh_reviews{padding: 28px 0 64px;}
	.nh_reviews_grid{grid-template-columns: repeat(4, 1fr);}
}

/* ============================================================
   FOOTER
   ============================================================ */
.nf_footer{
	width: 100%;
	background-color: #18181b;
	color: #ffffff;
}
.nf_container{
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 16px;
}
.nf_top{border-bottom: 1px solid #27272a;}
.nf_top_inner{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	padding: 16px 0;
}
.nf_logo{
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.nf_logo_box{
	width: 24px;
	height: 24px;
	background-color: #ffe100;
	color: #1f1f1f;
	border-radius: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-size: 14px;
	line-height: 1;
}
.nf_logo_text{
	font-size: 16px;
	font-weight: 800;
	color: #ffffff;
	letter-spacing: -0.01em;
}
.nf_links{
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	font-size: 14px;
	color: #a1a1aa;
}
.nf_link{transition: color 0.18s ease;}
.nf_link:hover{color: #ffffff;}
.nf_link_active{color: #ffffff; font-weight: 600;}

.nf_info{padding: 32px 16px;}
.nf_info_inner{
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}
.nf_info p{
	font-size: 14px;
	color: #a1a1aa;
	line-height: 1.7;
	margin: 0 0 8px 0;
}
.nf_info p:last-of-type{margin-bottom: 0;}
.nf_info_label{color: #71717a;}
.nf_info_sep{color: #71717a;}
.nf_copy{
	font-size: 12px;
	color: #71717a;
	margin-top: 24px !important;
	letter-spacing: 0.02em;
}
