/* 탄소중립 지원센터 소개 페이지 스타일 */

/* 페이지 컨테이너 */
.center-page {
    max-width: 1490px;
    margin: 0 auto;
    background-color: #ffffff;
    min-height: 100vh;
}

/* 메인 페이지가 아닌 페이지에서 푸터를 컨텐츠 아래에 붙이기 */
body:not(:has(.main-title-section)) .footer {
    position: relative !important;
    bottom: auto !important;
    margin-top: auto;
}

/* 상단 배너 */
.center-banner {
    position: relative;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 308px;
    overflow: hidden;
    margin-bottom: 0;
    margin-top: 0;
    z-index: 1;
}

body:not(.header-scrolled) .center-banner {
    z-index: 999;
    margin-top: 0;
}

body.header-scrolled .center-banner {
    margin-top: 0;
}

.center-banner .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.center-banner .banner-title {
    position: absolute;
    top: calc(80px + 30%);
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'KBIZgo_B', 'KBIZ한마음고딕체', sans-serif;
    font-size: 68px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0px 0px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
    white-space: nowrap;
}

body:not(.header-scrolled) .center-banner .banner-title {
    top: calc(80px + 30%);
}

body.header-scrolled .center-banner .banner-title {
    top: calc(80px + 30%);
}

/* 탭 버튼 */
.center-tabs {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 1490px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 2rem 0;
    background-color: #ffffff;
    z-index: 998;
}

.center-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 395px;
    height: 70px;
    margin-right: 20px;
    margin-left: 20px;
    border: 2px solid #d5d8db;
    border-radius: 100px;
    background-color: #ffffff;
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.center-tab:hover {
    background-color: #f8f9fa;
    border-color: #52b8e2;
    color: #52b8e2;
}

.center-tab.active {
    background-color: #52b8e2;
    border-color: #52b8e2;
    color: #ffffff;
}

/* 본문 컨텐츠 */
.center-content {
    max-width: 1490px;
    margin: 0 auto;
    padding: 3rem 15px;
}

/* 센터 소개 섹션 스타일 (국가탄소중립 정책 페이지와 동일한 구조) */
.center-intro-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.intro-header {
    width: 100%;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    background-color: #ffffff;
}

.intro-icon {
    width: 61px;
    height: 61px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.intro-title {
    font-family: 'KBIZgo_B', 'KBIZ한마음고딕체', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.intro-banner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 0;
    overflow: hidden;
}

.intro-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 추진체계 섹션 스타일 (국가탄소중립 정책 페이지와 동일한 구조) */
.center-system-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.system-header {
    width: 100%;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    background-color: #ffffff;
}

.system-icon {
    width: 61px;
    height: 61px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    flex-shrink: 0;
}

.system-title {
    font-family: 'KBIZgo_B', 'KBIZ한마음고딕체', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    text-align: left;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.system-banner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: 0;
    overflow: hidden;
}

.system-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 섹션 공통 스타일 */
.center-section {
    margin-bottom: 4rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.section-title {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #000000;
    margin: 0;
}

.section-body {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.section-text {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: #000000;
}

.section-text p {
    margin: 0 0 1rem 0;
}

.section-illustration {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.illustration-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 정보 박스 스타일 */
.info-box {
    width: 100%;
    border: 1px solid #000000;
    border-radius: 8px;
    overflow: hidden;
}

.info-box-header {
    background-color: #2F5953;
    padding: 1.5rem 2rem;
    text-align: center;
}

.info-box-header h3 {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.info-box-content {
    background-color: #ffffff;
    padding: 2rem;
    text-align: center;
}

.info-box-content p {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.8;
    color: #000000;
    margin: 0 0 0.5rem 0;
}

.info-box-content p:last-child {
    margin-bottom: 0;
}

.info-box-subtitle {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #ffffff;
    margin: 0.5rem 0 0 0;
}

/* 부문별 추진체계 카드 스타일 */
.sector-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.sector-card {
    border: 1px solid #000000;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.sector-card-header {
    background-color: #4A5568;
    padding: 1rem 1.5rem;
    text-align: center;
}

.sector-card-header h3 {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.sector-card-body {
    padding: 1.5rem;
    background-color: #ffffff;
}

.sector-manager {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
    margin: 0 0 1rem 0;
}

.sector-manager strong {
    font-weight: 700;
}

.sector-departments-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #666666;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 1rem;
    transition: background-color 0.3s ease;
}

.sector-departments-btn:hover {
    background-color: #555555;
}

.sector-departments-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sector-departments-list li {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    margin-bottom: 0.5rem;
    padding-left: 0;
}

.sector-departments-list li:last-child {
    margin-bottom: 0;
}

/* 협력체계 다이어그램 스타일 */
.cooperation-diagram {
    width: 100%;
    margin-top: 2rem;
}

.cooperation-flow-bar {
    background-color: #4A5568;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

.flow-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.flow-arrow {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    padding: 0.5rem;
}

.flow-arrow-up {
    position: relative;
}

.flow-arrow-up::before {
    content: "↑";
    display: block;
    color: #4A90E2;
    font-size: 20px;
    margin-bottom: 0.25rem;
}

.flow-arrow-down {
    position: relative;
}

.flow-arrow-down::before {
    content: "↓";
    display: block;
    color: #32CD32;
    font-size: 20px;
    margin-bottom: 0.25rem;
}

.cooperation-entities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.cooperation-entity {
    border: 1px solid #000000;
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
}

.entity-header {
    background-color: #2F5953;
    padding: 1rem 1.5rem;
    text-align: center;
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.entity-content {
    padding: 1.5rem;
    background-color: #ffffff;
}

.entity-content p {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    padding-left: 1rem;
    position: relative;
}

.entity-content p::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4A90E2;
    font-weight: 700;
}

/* 주요사업 · 실적 스타일 */
.projects-content {
    width: 100%;
}

.projects-description {
    font-family: 'Droid Sans', 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: #666666;
    text-align: center;
    padding: 3rem;
}

/* 반응형 디자인 */

/* 태블릿 (768px ~ 1489px) */
@media (min-width: 768px) and (max-width: 1489px) {
    .center-banner {
        height: 308px;
        margin-top: 0;
    }
    
    .center-content {
        padding: 3rem 1.5rem;
    }
    
    .center-banner .banner-title {
        top: 30%;
        font-size: 48px;
    }
    
    .center-tab {
        width: auto;
        min-width: 200px;
        padding: 18px 40px;
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-text {
        font-size: 20px;
        line-height: 32px;
    }
    
    .info-box-header h3 {
        font-size: 20px;
    }
    
    .info-box-content p {
        font-size: 16px;
    }
    
    .sector-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .cooperation-entities {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .intro-header {
        padding: 2rem 1.5rem;
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .intro-icon {
        width: 61px;
        height: 61px;
    }
    
    .intro-title {
        font-size: 34px;
        font-weight: 700;
        color: #000000;
    }
    
    .intro-banner {
        min-height: 300px;
    }
    
    .system-header {
        padding: 2rem 1.5rem;
        gap: 1rem;
        justify-content: flex-start;
    }
    
    .system-icon {
        width: 61px;
        height: 61px;
    }
    
    .system-title {
        font-size: 34px;
        font-weight: 700;
        color: #000000;
    }
    
    .system-banner {
        min-height: 300px;
    }
}

/* 모바일 (767px 이하) */
@media (max-width: 767px) {
    .center-banner {
        height: 210px;
        margin-top: 0;
    }
    
    .center-banner .banner-title {
        top: 30%;
        font-size: 32px;
    }
    
    .center-tabs {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1rem;
        gap: 1rem;
    }
    
    .center-tab {
        width: 100%;
        max-width: 350px;
        padding: 16px 32px;
        font-size: 18px;
        height: auto;
    }
    
    .center-content {
        padding: 2rem 1rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .section-icon {
        width: 48px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-text {
        font-size: 16px;
        line-height: 28px;
    }
    
    .info-box-header {
        padding: 1rem 1.5rem;
    }
    
    .info-box-header h3 {
        font-size: 18px;
    }
    
    .info-box-content {
        padding: 1.5rem 1rem;
    }
    
    .info-box-content p {
        font-size: 14px;
    }
    
    .intro-header {
        padding: 1.5rem 1rem;
        gap: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .intro-icon {
        width: 61px;
        height: 61px;
    }
    
    .intro-title {
        font-size: 20px;
        font-weight: 700;
        color: #000000;
        white-space: nowrap;
    }
    
    .intro-banner {
        min-height: 250px;
    }
    
    .system-header {
        padding: 1.5rem 1rem;
        gap: 1rem;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    
    .system-icon {
        width: 61px;
        height: 61px;
    }
    
    .system-title {
        font-size: 20px;
        font-weight: 700;
        color: #000000;
        white-space: nowrap;
    }
    
    .system-banner {
        min-height: 250px;
    }
    
    .sector-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .cooperation-flow-bar {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cooperation-entities {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .flow-item {
        width: 100%;
    }
}
