/**
 * NextBio Website - 연혁 페이지 스타일
 */

.history-page {
    background: #ffffff;
    width: 100%;
    overflow-x: hidden;
    padding: 160px 0;
}

.history-page .history-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

.history-page .history-main-title {
    color: #000000;
    text-align: center;
    font-family: var(--font-family-suit);
    font-weight: 800;
    font-size: 64px;
    line-height: 64px;
    font-weight: 800;
    margin: 0 0 120px 0;
}

.history-page .timeline-wrapper {
    display: flex;
    flex-direction: column;
}

.history-page .timeline-group {
    display: flex;
    align-items: flex-start;
    position: relative;
}

.history-page .year-range {
    width: 40%;
    text-align: right;
    padding-right: 100px;
    font-family: var(--font-family-suit);
    font-weight: 300;
    font-size: 80px;
    font-weight: 300;
    font-style: italic;
    color: #dfdfdf;
    line-height: 1;
    margin-top: -10px;
}

.history-page .timeline-list {
    width: 60%;
    position: relative;
    padding-bottom: 120px;
}

.history-page .timeline-list::before {
    content: '';
    position: absolute;
    left: -1px;
    top: 10px;
    bottom: 0;
    width: 1px;
    border-left: 1px dashed var(--main, #8dc63f);
}

.history-page .timeline-group:last-child .timeline-list {
    padding-bottom: 0;
}

.history-page .timeline-group:last-child .timeline-list::before {
    display: none;
}

.history-page .timeline-item {
    position: relative;
    padding-left: 60px;
    margin-bottom: 80px;
}

.history-page .timeline-item:last-child {
    margin-bottom: 0;
}

.history-page .dot {
    position: absolute;
    left: -6px;
    top: 10px;
    width: 12px;
    height: 12px;
    background-color: var(--main, #8dc63f);
    border-radius: 50%;
    z-index: 2;
}

.history-page .item-content {
    text-align: left;
}

.history-page .item-date {
    font-family: var(--font-family-suit);
    font-weight: 800;
    font-size: 24px;
    font-weight: 800;
    color: #000000;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.history-page .item-txt {
    font-family: var(--font-family-suit);
    font-weight: 500;
    font-size: 20px;
    line-height: 1.6;
    color: #555555;
    word-break: keep-all;
    margin: 0;
}

/* 반응형 */
@media (max-width: 1440px) {
    .history-page .history-container {
        padding: 0 120px;
    }
}

@media (max-width: 1200px) {
    .history-page .year-range {
        font-size: 60px;
        padding-right: 60px;
    }
}

@media (max-width: 1024px) {
    .history-page {
        padding: 100px 0;
    }
    
    .history-page .history-container {
        padding: 0 40px;
    }
    
    .history-page .history-main-title {
        font-size: 48px;
        line-height: 1.2;
        margin-bottom: 80px;
    }
    
    .history-page .timeline-group {
        flex-direction: column;
        align-items: center;
    }
    
    .history-page .year-range {
        width: 100%;
        text-align: center;
        padding-right: 0;
        margin-bottom: 40px;
        font-size: 50px;
    }
    
    .history-page .timeline-list {
        width: 100%;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .history-page {
        padding: 60px 0;
    }
    
    .history-page .history-container {
        padding: 0 20px;
    }
    
    .history-page .history-main-title {
        font-size: 40px;
        margin-bottom: 60px;
    }
    
    .history-page .year-range {
        font-size: 40px;
        margin-bottom: 32px;
    }
    
    .history-page .timeline-item {
        padding-left: 40px;
        margin-bottom: 60px;
    }
    
    .history-page .item-date {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .history-page .item-txt {
        font-size: 18px;
        line-height: 1.5;
    }
    
    .history-page .timeline-list {
        padding-bottom: 80px;
    }
}
