/*
 * gbsaeil 테마 — 카이누리 연동 보정.
 * 대상: 시안(saeil_sian) css/web/*.css. 시안 원본은 고치지 않는다.
 * 왜: 시안에 없는데 제품이 끼워 넣는 요소(로그아웃 폼·쿠키 동의·미리보기 띠·게시판 설명)의 모양만 여기서 맞춘다.
 *     시안 컴포넌트를 다시 칠하는 규칙은 두지 않는다 — 그건 시안을 고쳐 받는다.
 */

/* 회원 버튼(헤더·전체메뉴) — 로그아웃은 POST 폼이라 a.btn_util 과 같은 줄에 서도록 폼을 인라인으로.
   button 의 글꼴·크기는 a.btn_util(회원가입)과 같은 규칙을 그대로 받게 둔다 —
   여기서 font 를 다시 주면 .btn_util 의 font-weight·반응형 font-size 를 이겨 크기가 달라진다. */
.kn_logout_form {
	display: inline-flex;
	margin: 0;
}
.kn_logout_form .btn_util {
	line-height: 1.5;
	cursor: pointer;
}
/* 시안 layout.css 의 헤더 아이콘 버튼 규칙(header .header_menu button — 정사각형 aspect-ratio·높이 80px·
   왼쪽 구분선·blur hover)이 로그아웃 <button> 에도 걸려 36×36 으로 찌그러진다(회원가입은 <a> 라 무관).
   .btn_util 값(layout.css 703~735·1625·1798)으로 되돌린다. */
header .header_menu .kn_logout_form .btn_util {
	aspect-ratio: auto;
	height: 44px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
header .header_menu .kn_logout_form .btn_util:hover {
	border-color: var(--white);
	background: rgba(255, 255, 255, 0.1);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
}
header .header_menu .header_auth .kn_logout_form .btn_util {
	height: 36px;
}
@media screen and (max-width: 560px) {
	header .header_menu .all_menu_util .kn_logout_form .btn_util {
		height: 40px;
	}
}

/* 쿠키 동의 띠 — 제품 cookie-consent.js 가 style.display 로 여닫는다(표시 여부는 인라인, 모양만 여기) */
.cookie-consent {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	padding: 14px 20px;
	background: rgba(33, 37, 41, 0.95);
	color: #fff;
	font-size: 14px;
	text-align: center;
}
.cookie-consent button {
	margin-left: 8px;
	padding: 5px 16px;
	border-radius: 4px;
	font-size: 14px;
	cursor: pointer;
}
.cookie-consent .cookie-consent-ok {
	border: 0;
	background: #0d6efd;
	color: #fff;
}
.cookie-consent .cookie-consent-no {
	border: 1px solid #888;
	background: transparent;
	color: #fff;
}

/* 일반페이지 미리보기 띠 — 관리자가 새 창으로 볼 때만(previewMode) */
.kn_preview_bar {
	position: sticky;
	top: 0;
	z-index: 9999;
	padding: 0.6rem 1rem;
	border-bottom: 1px solid #f59e0b;
	background: #fef3c7;
	color: #92400e;
	font-size: 0.95rem;
	font-weight: 600;
	text-align: center;
}
.kn_preview_bar button {
	margin-left: 1rem;
	padding: 0.2rem 0.8rem;
	border: 1px solid #f59e0b;
	border-radius: 4px;
	background: #fff;
	color: #92400e;
	cursor: pointer;
}

/* 본문 없는 일반페이지 / 게시판 설명 — 시안에 없는 제품 요소의 여백 */
.kn_page_empty {
	padding: 80px 0;
}
.kn_bbs_desc {
	margin-bottom: 24px;
}
