#page{}
#page .top{text-align:center;}
#page .role{text-align:center;margin:60px 0 80px;}
#page .compare_economy{margin:50px 0 80px;text-align:Center;}
#page .compare_health{text-align:Center;}

#content .content_box{margin:50px 0 0 0 !important;}

/* =========================================
   주요사업 상단 소개 영역 스타일
========================================= */
.business-intro-wrap {
    width:var(--width);
    max-width: var(--m_width, 1270px);
    margin: 60px auto 100px;
    padding: 0 0px;
}

/* 상단 타이틀 텍스트 */
.intro-heading {
    text-align: center;
    font-size: 26px;
    line-height: 1.6;
    color: #222;
    margin-bottom: 80px;
    word-break: keep-all;
}
.intro-heading strong {
    font-weight: 800;
}

/* 블록 공통 (Flexbox) */
.intro-block {
    display: flex;
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 80px;
}
.intro-block:last-child {
    margin-bottom: 0;
}

/* PC에서 두 번째 블록 좌우 반전 */
.intro-block.reverse {
    flex-direction: row-reverse;
}

/* 이미지 영역 */
.intro-img {
    flex: 1; /* 남은 공간을 동일하게 차지 (1:1 비율) */
    width:100%;
}
.intro-img img {
    width:100%;
    height: auto;
    border-radius: 16px; /* 시안처럼 둥근 모서리 적용 */
    display: block;
}

/* 텍스트 영역 */
.intro-text {
    flex: 1;
    width:var(--width);
}
.intro-text h3 {
    font-size: 26px;
    font-weight: 800;
    color: #111;
    line-height: 1.4;
    margin-bottom: 25px;
    word-break: keep-all;
}
.intro-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    word-break: keep-all;
}
.intro-text p:last-child {
    margin-bottom: 0;
}

/* =========================================
   모바일 반응형 (768px 이하)
========================================= */
@media screen and (max-width: 768px) {
    #content .content_box{margin:20px 0 0 0 !important;}
    .business-intro-wrap {
        margin: 40px auto 60px;
    }
    
    .intro-heading {
        font-size: 20px;
        margin-bottom: 50px;
    }
    
    .intro-block {
        flex-direction: column !important; /* 모바일에서는 무조건 위아래 배치 */
        align-items: flex-start;
        gap: 30px;
        margin-bottom: 60px;
    }
    
    /* reverse 클래스 무력화 -> 모바일은 항상 이미지가 위로 오게 됨 */
    .intro-block.reverse {
        flex-direction: column !important; 
    }
    
    .intro-text{margin: auto; text-align: center;}
    
    .intro-text h3 {
        font-size: 22px;
        margin-bottom: 15px;
    }
    
    .intro-text p {
        font-size: 15px;
        margin-bottom: 15px;
    }
}


/* =========================================
   북한이탈주민 대사건강 탭 영역 스타일
========================================= */
/* ▼ 전체 가로(100%) 회색 배경 추가 */
.health-stat-bg {
    width: 100%;
    background-color: #f8f8f8;
    padding: 80px 0; /* 배경 안쪽 위아래 여백 */
    margin-bottom: 100px;
}

/* 기존 wrap은 중앙 정렬 및 최대 넓이만 담당 */
.health-stat-wrap {
    width: var(--width, 100%);
    max-width: 1000px; 
    margin: 0 auto;
    padding: 0 0px; /* 모바일에서 화면 끝에 붙지 않게 좌우 여백 */
}

.stat-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin-bottom: 40px;
}

/* 탭 버튼 Grid 레이아웃 */
.stat-tab-menu {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    margin-bottom: 40px;
}

.stat-tab-btn {
    padding: 18px 10px;
    font-size: 16px;
    color: #444;
    background-color: #fff; /* 탭 버튼 자체는 흰색 */
    border: none;
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.stat-tab-btn:hover {
    background-color: #f1f1f1;
}
.stat-tab-btn.active {
    background-color: #333;
    color: #fff;
    font-weight: 700;
}

/* 탭 콘텐츠 하얀색 바탕 영역 */
.stat-content-area {
    background-color: #fff;
    padding: 60px 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03); 
}

/* 탭 내용물 숨김/표시 */
.stat-tab-pane {
    display: none;
}
.stat-tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.stat-tab-pane img {
    width: 100%; /* 이미지가 하얀 박스 안에 꽉 차도록 */
    height: auto;
    display: block;
    margin-bottom: 40px;
}
.stat-tab-pane img:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   모바일 반응형 (768px 이하)
========================================= */
@media screen and (max-width: 768px) {
    .health-stat-bg {
        padding: 50px 0;
        margin-bottom: 0px;
    }
    .stat-title {
        font-size: 22px;
        margin-bottom: 30px;
    }
    .stat-tab-menu {
        grid-template-columns: repeat(3, 1fr);
    }
    .stat-tab-btn {
        padding: 14px 5px;
        font-size: 14px;
        word-break: keep-all;
    }
    .stat-content-area {
        padding: 30px 15px;
    }
    .stat-tab-pane img {
        margin-bottom: 20px;
    }
}




/* =========================================
   공통: 섹션 헤더 및 내용 래퍼
========================================= */
.content-section {
    padding: 80px 0; /* 각 탭별 상하 여백 */
}
/* 섹션 1, 3 등 홀수 번째 배경색 주기 (선택사항) */
#section1 { background-color: #fff; }
#section2 { background-color: #fcfcfc; border-top: 1px solid #f0f0f0; }

.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header h3 {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}
.section-header .eng-title {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 25px;
    font-weight: 500;
}
.section-header p {
    font-size: 18px;
    color: #444;
    font-weight: 600;
    word-break: keep-all; line-height: 1.4;
}

/* =========================================
   상단: 이미지 카드 그리드 (PC 2열)
========================================= */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto 60px;
}
.image-card {
    background-color: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.04);
}
.image-card .card-img img {
    width: 100%;
    /*height: 240px;*/ /* 시안처럼 썸네일 높이 고정 (비율유지) */
    object-fit: cover;
    display: block;
}
.image-card .card-text {
    padding: 30px;
}
.image-card .card-text h4 {
    font-size: 20px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
        margin-top: 0;
}
.image-card .card-text p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
    margin: 10px 0 0 0;
}

/* =========================================
   하단: 박스형 리스트 카드 영역 (섹션2)
========================================= */
.list-card-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.list-card {
    display: flex;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 50px;
    gap: 60px;
}

/* 좌측 설명 영역 */
.list-card .card-left {
    flex: 1; /* 약 40% 너비 차지 */
}
.list-card .card-left .logo-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    cursor: pointer;
}
.list-card .card-left .logo-box img {
    height: 35px; /* 로고 높이 */
}
.list-card .card-left h4 {
    font-size: 22px;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    word-break: keep-all;
    margin-top: 0;
}
.list-card .card-left p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    word-break: keep-all;
}

/* 우측 리스트 영역 */
.list-card .card-right {
    flex: 1.4; /* 약 60% 너비 차지 */
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.list-card .sub-item h5 {
    font-size: 18px;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
    margin-top: 0;
}
.list-card .sub-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    word-break: keep-all;
}
.list-card .sub-item ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.list-card .sub-item ul li {
    position: relative;
    padding-left: 12px;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
    word-break: keep-all;
}
/* 불릿 포인트(점) 디자인 */
.list-card .sub-item ul li::before {
    content: '';
    position: absolute;
    top: 9px;
    left: 0;
    width: 4px;
    height: 4px;
    background-color: #888;
    border-radius: 50%;
}

/* =========================================
   섹션 배경 교차 적용 (수정 사항 추가)
========================================= */
#section1, #section3 { background-color: #fff; }
#section2, #section4 { background-color: #fcfcfc; border-top: 1px solid #f0f0f0; }

/* =========================================
   모바일 반응형 (768px 이하)
========================================= */
@media screen and (max-width: 768px) {
    .content-section { padding: 50px 20px; }
    
    .section-header { margin-bottom: 40px; }
    .section-header h3 { font-size: 26px; }
    .section-header p { font-size: 16px; }

    /* 이미지 카드 그리드 1열로 변경 */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    .image-card .card-img img { /*height: 200px; */}
    .image-card .card-text { padding: 25px 20px; }

    /* 리스트 카드 세로 배치(위/아래)로 변경 */
    .list-card {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }
    .list-card .card-left .logo-box { margin-bottom: 20px; }
    .list-card .card-left h4 { font-size: 20px; margin-bottom: 15px; }
}