.bg .breadcrumb {
    margin-bottom: 0;
    padding-left: 0;
    padding-right: 0;
}

.bg .breadcrumb .breadcrumb-item a {
    color: #333;
}

.bg .breadcrumb .breadcrumb-item a:hover {
    color: #0f4bb0;
}

.bg .breadcrumb .breadcrumb-item.active {
    color: #999;
}

.bg.zh .breadcrumb {
    font-family: 'SourceHanSansSC', serif;
    font-size: 14px;
}

.bg.zh .breadcrumb .breadcrumb-item a {
    color: #606060;
}

.bg.zh .breadcrumb .breadcrumb-item a:hover {
    color: #0f4bb0;
}

.bg.zh .breadcrumb .breadcrumb-item.active {
    color: #b6b4b5;
}

.bg-other {
    background-color: #e9ecef;
}

.bg-en {
    background-color: #ffffff;
    color: #606060;
    box-shadow: inset 0 -1px 0 #f5f6f7;
}

.breadcrumb-item+.breadcrumb-item::before {
    content: '/' !important;
}

@media (min-width: 1200px) {
    .page .container {
        max-width: 1200px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .container .breadcrumb {
        margin-bottom: 0;
        padding-left: 0;
        padding-right: 0;
        margin-left: 15px !important;
        margin-right: 15px !important;
    }

    .container .text-en {
        margin-top: 0;
        background-color: #ffffff;
        font-family: NotoSansSC, serif;
        font-style: normal;
        font-weight: bold;
        font-size: 16px;
        line-height: 20px;
    }
}

@media (max-width: 576px) {
    .bg-en {
        background-color: initial;
    }
    .page .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

.page-bottom {
    font-family: 'SourceHanSansSC';
    width: 100%;
    padding-bottom: 50px;
}

.page-bottom .topBanner {
    background: url(../images/about-us5.png) no-repeat;
    background-size: 100% 100%;
    padding: 65px 0;
    color: #ffffff;
}

.page-bottom .topBanner .main-title {
    width: 1200px;
    margin: 0 auto;
}

.page-bottom .topBanner .main-title h1 {
    font-size: 30px;
}

.page-bottom .topBanner .main-title h4 {
    font-size: 18px;
}

.page-bottom .imgBox {
    width: 1200px;
    text-align: center;
    margin: 0 auto;
}

.page-bottom .imgBox img {
    width: 80%;
}

.page-bottom .imgBox .img1 {
    margin: 10px 0;
    width: 900px;
}

@media (max-width: 576px) {
    .page-bottom {
        padding-bottom: 30px;
    }

    .page-bottom .topBanner {
        background: url(../images/about-us5.png) left center no-repeat;
        background-size: cover;
    }

    .page-bottom .topBanner .main-title {
        width: 100%;
        padding-left: 20px;
    }

    .page-bottom .topBanner .main-title h1 {
        font-size: 20px;
    }

    .page-bottom .topBanner .main-title h4 {
        font-size: 14px;
    }

    .page-bottom .imgBox {
        width: 100%;
        padding: 0 20px;
    }

    .page-bottom .imgBox .img1 {
        width: 100%;
    }
}

/* 时间线样式 */
.history-timeline-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 15px;
}

.history-content-wrapper {
    display: flex;
    gap: 40px;
    min-height: 600px;
}

/* 左侧事件列表 */
.history-events {
    flex: 1;
    position: relative;
    height: 500px;
    overflow-y: auto;
}

.history-event {
    display: none;
    margin-bottom: 30px;
    align-items: flex-start;
}

.history-event.show {
    display: flex;
}

.event-date {
    font-weight: bold;
    font-size: 18px;
    color: #053A95;
    min-width: 100px;
    flex-shrink: 0;
    padding-top: 5px;
}

.event-content {
    flex: 1;
    margin-right: 15px;
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
}

.event-content p {
    margin: 0 0 10px 0;
}

.event-content p:first-of-type {
    font-weight: bold;
}

.event-content img {
    display: block;
    max-width: 40%;
    height: auto;
    margin: 10px 0;
}

/* 右侧年份导航 */
.history-year-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 0;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    cursor: grab;
    user-select: none;
}

.history-year-nav::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.history-year-nav:active {
    cursor: grabbing;
}

.year-item {
    font-weight: bold;
    font-size: 128px;
    color: #F2F2F2;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 148px;
    flex-shrink: 0;
}

.year-item:hover {
    color: #053A95;
}

.year-item.active {
    color: #053A95;
}

.history-events::-webkit-scrollbar {
    width: 4px;
}

.history-events::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.history-events::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.history-year-nav::-webkit-scrollbar {
    width: 4px;
}

.history-year-nav::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.history-year-nav::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 2px;
}

.history-events::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* 响应式布局 - 小屏幕 */
@media (max-width: 768px) {
    .history-content-wrapper {
        flex-direction: column;
        gap: 30px;
        min-height: auto;
    }

    .event-content img {
        max-width: 100%;
    }
    
    /* 年份导航放在前面，横向排列 */
    .history-year-nav {
        order: -1; /* 放在前面 */
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 20px 0;
        height: auto;
        min-height: 180px;
        /* 内容宽度由JS动态计算，显示3个年份 */
    }
    
    /* 年份项横向排列时的样式 */
    .year-item {
        font-size: 80px;
        height: auto;
        min-width: calc(33.333vw - 20px); /* 每个年份约1/3屏幕宽度，确保可视区域显示3个 */
        width: auto;
        flex-shrink: 0;
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    /* 事件列表在下面，宽度100% */
    .history-events {
        width: 100%;
        height: auto;
    }
}

