/* ==========================================================================
   common.css - 전역 공통 변수 / 리셋 / 컨테이너
   ========================================================================== */

:root {
    --content-max-width: 840px;
    --header-height: 80px;
    --color-text: #212121;
    --color-bg: #ffffff;
    --color-border: #ececec;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Pretendard', 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.5;
    word-break: keep-all;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    font-family: inherit;
    border: 0;
    background: none;
    cursor: pointer;
}

ul, ol {
    list-style: none;
}

/* 사이트 공통 페이지 박스 (최대 840px, 화면 중앙, 세로 100% 이상) */
.container {
    position: relative;
    width: 100%;
    max-width: var(--content-max-width);
    min-height: 100vh;
    margin: 0 auto;
    background: transparent;
    display: flex;
    flex-direction: column;
}

/* 페이지 컨텐츠 영역 (header/footer 사이, 남는 세로 공간 채움) */
.pg-content {
    flex: 1;
}
