﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}

/* 전체 컨테이너 */
.Vision_Container {
    width: 100%; /* 최대 너비 제한 제거하고 100%로 설정 */
    /* max-width: 1610px; 제거 */
    /* margin: 0 auto; 제거 (width: 100%이므로 불필요) */
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url('../../images/about/vision/main.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center 35%;
    min-height: 100vh; /* 컨텐츠가 적어도 화면 높이만큼은 차지하도록 설정 (선택 사항) */
    overflow-x: hidden; /* 가로 스크롤 방지 */
}

/* 타이틀 */
.aboutTitle {
    margin-top: 60px;
    width: 100%; /* 타이틀 영역도 너비를 100%로 설정하여 내부 요소 정렬 */
    display: flex; /* 내부 요소 정렬을 위해 추가 */
    justify-content: center; /* 내부 요소 중앙 정렬 */
}

    .aboutTitle .title {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        max-width: 900px; /* 콘텐츠 최대 너비는 유지 */
        width: 100%; /* 반응형을 위해 추가 */
        padding: 0 20px; /* 좌우 여백 추가 (화면 가장자리에 붙지 않도록) */
    }

    .aboutTitle h2 {
        font-size: calc(2.2rem + 1vw);
        color: #fff;
        margin-bottom: 0.2em;
    }

    .aboutTitle p {
        color: #fff;
        font-size: calc(0.8rem + 0.7vw);
        line-height: 28px;
        padding-bottom: 40px;
    }

/* Vision 섹션 내용 */
.Vision_Contents {
    width: 100%; /* 너비를 100%로 설정 */
    max-width: 900px; /* 최대 너비 제한은 유지 */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px; /* 좌우 여백 추가 (화면 가장자리에 붙지 않도록) */
}

/* Mission / Vision / Core-Value 그룹 */
.aboutImages {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin: 50px 0;
    width: 100%;
}

/* Mission / Vision / Core-Value 각 행 */
.dashLineT,
.dashLineM,
.dashLineB {
    width: 100%;
    display: flex;
    justify-content: space-between; /* 텍스트와 이미지를 양 끝으로 배치 */
    align-items: center;
    flex-wrap: wrap; /* 화면 너비가 좁아질 때 줄바꿈 허용 */
    gap: 40px; /* 요소 사이 간격 (텍스트-이미지, 위아래 행) */
}

/* 각 행의 기본 정렬 방향 (Mission, CoreValue는 오른쪽 정렬) */
.dashLineT {
    flex-direction: row-reverse;
}

.dashLineM {
    flex-direction: row;
}

.dashLineB {
    flex-direction: row-reverse;
}

/* 공통 텍스트 구조 */
.aboutImages_title {
    display: flex;
    flex-direction: column;
    gap: 10px; /* dt, dd 간 간격 */
    max-width: 400px; /* 텍스트 최대 너비 */
    width: 100%; /* 반응형 위해 추가 */
}
    /* 오른쪽 정렬 텍스트 */
    .aboutImages_title.right-align {
        text-align: right;
        align-items: flex-end; /* 내부 아이템 오른쪽 정렬 */
    }

    .aboutImages_title dt {
        font-size: 2.2rem;
        font-weight: bold;
        color: #fff;
        margin-bottom: 10px;
        text-shadow: 3px 3px 4px #333;
    }

    .aboutImages_title .ko {
        font-size: 1.3rem;
        color: #fff;
        font-weight: 500;
        line-height: 1.4;
    }

    .aboutImages_title .en {
        font-size: 1rem;
        color: #fff;
        font-weight: 500;
        line-height: 1.4;
    }

/* 이미지들 */
.image_Mission,
.image_CoreValue,
.image_Vision {
    width: 320px;
    height: 320px;
    border: 8px solid #4d8fcc;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    flex-shrink: 0; /* flex 컨테이너 내에서 이미지 크기 줄어들지 않도록 설정 */
}

.image_Mission {
    background-image: url('../../images/about/vision/mission.jpg');
    background-position: 45% 30%;
}

.image_CoreValue {
    background-image: url('../../images/about/vision/corevalue.jpg');
}

.image_Vision {
    background-image: url('../../images/about/vision/vision.jpg');
    background-size: 180%;
    background-position: 50% 30%;
}

/* 화면이 768px 이하일 때 레이아웃 조정 (반응형) */
@media (max-width: 768px) {
    .dashLineT,
    .dashLineM,
    .dashLineB {
        flex-direction: column !important; /* 세로 정렬 (강제 적용) */
        text-align: center;
        gap: 20px; /* 세로 간격 줄임 */
    }

    /* 오른쪽 정렬이었던 텍스트도 중앙 정렬 */
    .aboutImages_title.right-align {
        text-align: center;
        align-items: center;
    }

    /* 모든 텍스트 블록 중앙 정렬 및 이미지 아래로 배치 */
    .aboutImages_title {
        align-items: center;
        order: 2; /* 텍스트를 이미지 아래로 순서 변경 */
    }

    /* 이미지 크기 조절 및 텍스트 위로 배치 */
    .image_Mission,
    .image_Vision,
    .image_CoreValue {
        order: 1; /* 이미지를 텍스트 위로 순서 변경 */
        width: 280px; /* 작은 화면에서 이미지 크기 조절 */
        height: 280px;
        margin: 0 auto; /* 이미지 중앙 정렬 */
    }
}
