/* ------------------------------------------------------ */
/* 11. 연혁 (History) 페이지 스타일 */
/* ------------------------------------------------------ */
.history-flex-container {
    display: flex;
    gap: 30px; /* 좌우 영역 사이 간격 */
    align-items: flex-start;
}
/* 1. 좌측 정보 영역 스타일 (history-side-info) */
.history-side-info {
    flex-basis: 30%; 
    flex-shrink: 0;
    padding: 10px;
    background-color: #f4f4f4;
    border-radius: 6px;
    text-align: center;
}
.summary-text {
    font-size: 0.9em; line-height: 1.5; color: #666; text-align: left;
}

.history-timeline {
    flex-grow: 1; 
    margin:0 auto;
    width:95%;
    margin-top: 20px;
}

.history-year {
    font-size: 2.0em;
    font-weight: bold;
    color: #0056b3; /* 메인 색상 적용 */
    padding: 10px 0 5px 0;
    margin-top: 30px;
    margin-bottom: 10px;
    margin-left: 10px;
    font-style: italic;
}

/* 첫 번째 연도 위쪽 마진 제거 */
.history-timeline > .history-year:first-child {
    margin-top: 0;
}

.history-item {
    display: flex;
    padding: 8px 0;
    border-bottom: 1px dotted #ccc;
}

.year_line{
    margin-top: -25px;
    border-bottom: 1px solid #0056b3;
    height:3px;
    width:150px;
}

/* 마지막 아이템의 하단 선 제거 (깔끔하게 마무리) */
.history-timeline > .history-item:last-of-type {
    border-bottom: none;
}

.history-date {
    flex-shrink: 0; /* 날짜 너비가 줄어들지 않도록 고정 */
    width: 80px; /* 날짜 영역 너비 */
    font-weight: bold;
    color: #333;
    font-size: 1.0em;
    margin-left: 15px;
}

.history-content {
    flex-grow: 1; /* 남은 공간 모두 사용 */
    padding-left: 20px;
    color: #555;
    line-height: 1.5;
    position: relative;
}

/* 타임라인 시각적 요소 (날짜와 내용 사이의 세로 선) */
.history-content::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px; /* 점 크기 */
    height: 5px; /* 점 크기 */
    background-color: #0056b3;
    border-radius: 50%;
    /*border: 2px solid white; 
    box-shadow: 0 0 0 1px #0056b3;
    */
}

/* ------------------------------------------------------ */
/* 모바일 반응형 스타일: 768px 이하 화면 수정 */
/* ------------------------------------------------------ */
@media (max-width: 768px) {

    .history-timeline {
        width:100%;
        margin: 0 auto;
    }
    .history-year {
        font-size: 1.6em;
    }
    
    .history-item {
        flex-direction: column; /* 모바일에서 수직으로 쌓기 */
        padding: 10px 0;
    }
    
    .history-date {
        width: auto;
        margin-bottom: 5px; /* 날짜와 내용 사이에 여백 추가 */
        padding-left: 15px; /* 내용과 같은 들여쓰기 */
        margin-left: -10px;
    }
    
    .history-content {
        padding-left: 15px; /* 날짜 옆의 수평선 제거를 위한 패딩 조정 */
        margin-left: 10px;
    }

    .history-content::before {
        left: 0; /* 점 위치를 왼쪽으로 이동 */
        top: 10px; /* 상단에서부터 위치 조정 */
        transform: none;
    }
    
}