/* 다크 차콜 푸터(레퍼런스 정합) — 온라인예배 다크밴드에서 자연스럽게 이어진다.
   텍스트 대비: 본문 rgba(255,255,255,0.72) ≈ 9:1 on #322c2a — AA 여유. */
.ch-footer {
	background: #322c2a;
	color: rgba(255, 255, 255, 0.72);
}
/* 배치(레퍼런스 구조): FNB 링크 상단 행 → 교회 정보 하단, SNS는 우측 상단.
   기존 space-between 한 줄 배치는 FNB가 화면 중앙에 떠 보였음(사용자 지적). */
.ch-footer__inner {
	max-width: calc(var(--content-max) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 56px var(--gutter) 40px;
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas:
		"links sns"
		"info  sns";
	align-items: start;
	row-gap: 28px;
	/* column-gap 대신 SNS 자체 마진 — SNS 미설정(컨테이너 미렌더) 시 빈 auto 트랙에
	   gap 24px가 잔재로 남는 것 방지(codex 리뷰). */
	column-gap: 0;
}
.ch-footer__info { grid-area: info; }
.ch-footer__links { grid-area: links; }
.ch-footer__sns { grid-area: sns; margin-left: 24px; }
.ch-footer__info strong {
	display: block;
	margin-bottom: 12px;
	font-size: 17px;
	font-weight: 600;
	color: #fff;
}
.ch-footer__info p {
	margin: 4px 0;
	font-size: var(--fs-small, 14px);
	line-height: 1.8;
}
.ch-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
}
.ch-footer__links a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-size: var(--fs-small, 14px);
	color: rgba(255, 255, 255, 0.72);
}
.ch-footer__links a:hover,
.ch-footer__links a:focus-visible {
	color: #fff;
	text-decoration: underline;
}
.ch-footer__sns {
	display: flex;
	gap: 8px;
}
.ch-footer__sns a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 15px;
	border-radius: var(--r-pill, 980px);
	border: 1px solid rgba(255, 255, 255, 0.35);
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--fs-small, 14px);
	font-weight: 400;
}
.ch-footer__sns a:hover,
.ch-footer__sns a:focus-visible {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}
.ch-footer__copy {
	max-width: calc(var(--content-max) + 2 * var(--gutter));
	margin: 0 auto;
	padding: 18px var(--gutter);
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 12px;
	color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 839px) {
	.ch-footer__inner {
		grid-template-columns: 1fr;
		grid-template-areas:
			"links"
			"info"
			"sns";
		row-gap: 20px;
	}
}
