/* ── Sticky footer: html.has-footer 클래스가 있을 때만 활성화 ── */
html.has-footer,
html.has-footer body { min-height: 100vh; }

html.has-footer body {
  display: flex;
  flex-direction: column;
}

/* body가 flex column이 되면 .wrap의 margin:0 auto가 width를 콘텐츠 크기로
   shrink-to-fit시키는 문제를 방지. width:100%로 고정 후 max-width+margin:auto로 중앙 정렬. */
html.has-footer body > .wrap {
  width: 100%;
  min-width: 0;
}

/* ── 사이트 푸터 스타일 ── */
.site-footer {
  margin-top: auto;
  flex-shrink: 0;
  text-align: center;
  font-size: 12px;
  color: #9aa0a6;
  padding: 24px 16px 16px;
  line-height: 1.5;
  user-select: none;
}
