/* =================================== */
/* 글로벌 스타일                         */
/* =================================== */
:root {
    --primary-color: #1A447A;
    --sub-color: #112E51;
    --accent-color: #00A886;
    --danger-color: #e74c3c;
    --bg-color: #F8F9FA;
    --text-color: #333;
    --text-color-light: #666;
    --border-color: #E0E0E0;
    --content-width: 1200px;
    --border-radius-base: 8px;
}

body {
    font-family: "Pretendard GOV Variable", "Pretendard GOV", Pretendard, -apple-system,
        BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
        "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic",
        "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    margin: 0;
    font-weight: 400;
    line-height: 1.7;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
}

* {
    box-sizing: border-box;
}

/* --- 레이아웃 --- */
.content-wrapper {
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

.divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.empty-message {
    text-align: center;
    color: #888;
    padding: 40px;
    grid-column: 1 / -1;
}

/* --- 기본 콘텐츠 섹션 --- */
.content-section {
    padding-top: 20px;
}

.content-section h2 {
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.sub-description {
    color: var(--text-color-light);
    font-size: 1.1rem;
    margin-top: -10px;
    margin-bottom: 1.5rem;
}

/* --- 사용자 환영 메시지 --- */
#user-welcome-section {
    padding-top: 0;
    padding-bottom: 0;
}

/* (상세 스타일은 header-footer.css 에서 관리) */

/* --- 반응형 공통 --- */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 0 15px;
    }

    .content-section h2 {
        font-size: 1.5em;
    }

    #user-welcome-section {
        margin-top: 10px;
        padding-left: 6.5px;
    }

    #mobile-notice {
        display: block;
        margin-top: 10px;
        margin-bottom: 10px;
    }
}