/* =========================================================
 * 공통 푸터 (_body_footer.php) — 다크 그린 테마
 * pages.css 가 전역 로드되지 않으므로 푸터 전용으로 자급 정의
 * ========================================================= */

.kh-footer {
	padding: 60px 0 32px;
	color: rgba(255, 255, 255, 0.7);
	font-family: var(--font-pretendard);
	background: #143a2e;
}
.kh-footer .kh-container {
	width: 100%; max-width: 1120px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ---------- 상단 ---------- */
.kh-footer .kh-footer-top {
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	display: grid; grid-template-columns: 1.2fr 2fr; gap: 60px; align-items: center;
}
.kh-footer .kh-footer-desc {
	margin-top: 16px;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem; line-height: 1.7;
}

/* ---------- 링크 컬럼 ---------- */
.kh-footer .kh-footer-cols {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
}
.kh-footer .kh-footer-cols h4 {
	margin: 0 0 16px;
	color: #fff;
	font-size: 0.95rem; font-weight: 700;
}
.kh-footer .kh-footer-cols a {
	padding: 5px 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
	text-decoration: none;
	display: block;
	transition: color 0.15s;
}
.kh-footer .kh-footer-cols a:hover { color: #fff; }

/* ---------- 하단 ---------- */
.kh-footer .kh-footer-bot {
	padding-top: 24px;
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.78rem;
	display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px;
}
.kh-footer .kh-footer-legal {
	display: flex; flex-direction: row; flex-wrap: wrap; gap: 16px;
}

/* ---------- 반응형 ---------- */
@media (max-width: 960px) {
	.kh-footer .kh-footer-top { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 560px) {
	.kh-footer .kh-footer-cols { grid-template-columns: 1fr 1fr; }
	.kh-footer .kh-footer-bot { flex-direction: column; align-items: flex-start; }
}
