@charset "utf-8";

/* 홈(커버/리스트)에서만 footer 숨김 */
html.page-cover-support body.list-page #footer {
  position: absolute !important;
  left: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

/* 홈에서 푸터 자리 미는 하단 패딩/마진 제거 */
html.page-cover-support body.list-page #wrap,
html.page-cover-support body.list-page #container,
html.page-cover-support body.list-page #content {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  min-height: 0 !important;
}

/* 2-1) 문서/페이지 공통 뼈대 */
html, body { height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* 2-2) 본문 래퍼(테마마다 다른 이름들을 한꺼번에 커버) */
#wrap,
#container,
.container,
#content,
.content,
.area_main,
.site-main,
.main,
.page,
.page-category,
.page-archive {
  flex: 1 0 auto;
}

/* 2-3) 푸터는 자동으로 바닥에 고정(고정포지션 금지) */
#footer, .site-footer, .footer {
  margin-top: auto;
  position: static !important;   /* 혹시 테마가 absolute/fixed로 잡아놨으면 무력화 */
  bottom: auto !important;
}

/* 2-4) 푸터 바로 위 요소가 float만 쓰는 경우 높이 붕 뜨는 걸 방지 */
.footer-before-clearfix::after,
#content::after,
.container::after {
  content: "";
  display: table;
  clear: both;
}

/* 2-5) 드로어/사이드메뉴가 'fixed'일 때도 바닥계산 안 깨지게(필요시) */
body.drawer-open,
body.has-drawer {
  overflow-y: auto;
}




/* 썸네일/카드 공통 비율 고정 → CLS 방지 */
.post-item .thumb,
.thumbnail,
.cover .slide img { aspect-ratio: 16/9; object-fit: cover; height: auto; }

/* 웹폰트 로딩 중 FOUT 허용(가독 우선) */
html, body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
               "Noto Sans KR", "Malgun Gothic", "Segoe UI", Roboto, Arial, sans-serif;
}









/* 편집하기 전에 <사용자화된 CSS 활성화> 옵션이 켜져 있는지 확인하십시오. 이 줄 아래에 사용자화 스타일 시트 코드를 입력하면 됩니다. */