/* styles.css */
html {
    font-size: 16px;
    /* 基础字体大小 */
}

@media (max-width: 1200px) {
    html {
        font-size: 14px;
        /* 较小屏幕时减小字体大小 */
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
        /* 更小屏幕时进一步减小字体大小 */
    }
}

.bg-dark {
    background: #EFF8FD !important;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.content {
    margin-top: 3rem;
}

.containers {
    /* max-width: 1200px; */
    width: 100%;
    margin: 0 auto;
    /* padding: 20px; */
}

.version-section {
    display: flex;
    justify-content: space-between;
    /* margin-bottom: 40px; */
}

.version-box {
    background-color: #fff;
    padding: 20px;
    /* border-radius: 8px; */
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
    width: 50%;
    height: 420px;
}

.version-box:nth-child(1) {
    background: url('https://cdnplus.qmake.com.cn/sikong/productWeb/image/businessBg.png');
    background-size: 100% 100%;
}

.version-box:nth-child(2) {
    background: url('https://cdnplus.qmake.com.cn/sikong/productWeb/image/personalBg.png');
    background-size: 100% 100%;
}

.version-text {
    width: 224px;

    margin: auto;
}

.personalBox {
    width: 274px;
    margin-left: 102px;
}

.version-box h2 {
    color: #333;
    /* margin-bottom: 10px; */
    margin: 54px 0;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.68rem;
    margin-bottom: 1.36rem;
}

.feature img {
    width: 12px;
    height: 12px;
    margin-right: 6px;
}

.feature {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #212121;
    line-height: 20px;
    text-align: left;
    font-style: normal;
    text-transform: none;

}

.platforms {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    justify-content: space-between;
}

.platform {
    /* background-color: #e0e0e0; */
    padding: 5px 10px;
    border-radius: 4px;
    color: #333;
    cursor: pointer;
}

.platform img {
    width: 44px;
    height: 44px;
    margin: auto;
    display: block;
    margin-bottom: 8px;
}

.platform p {
    font-weight: 400;
    font-size: 14px;
    color: #1C3355;
    line-height: 20px;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.changelog-section {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding-top: 0;
}

.changelogBox {
    width: 1236px;
    margin: auto;
}

.changelog-section h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    margin-top: 100px;
}
.uptitle{
    font-size: 1.75rem;
    padding: 6.38rem 0 3.44rem;
    margin: 0 !important;
}

.changelog {
    display: flex;
    justify-content: space-between;
}

.changelog-item {
    margin-bottom: 20px;
    /* width: 100%; */
    width: 1016px;
    height: 492px;
    background: #FFFFFF;
    box-shadow: 0px 4px 19px 0px rgba(170, 199, 252, 0.41);
    border-radius: 10px;
    padding: 40px;
    overflow: auto;
    padding-top: 20px;
}

.changelog-item h3 {
    color: #333;
    margin-bottom: 10px;
}

.sidebar {
    width: 176px;
    height: 492px;
    background: url('../img/productDownload/updateLogType.png');
    background-size: 100% 100%;
    padding: 30px 8px;
}

.sidebar img {
    width: 20px;
    height: 20px;
    margin-right: 14px;
}

.sidebarItem {
    /* width: 179px; */
    height: 52px;
    /* background: #377CF7; */
    padding: 16px 12px;
    font-size: 14px;
    color: #212121;
    line-height: 17px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    display: flex;
    align-items: center;
    cursor: pointer;
    /* justify-content: space-between; */
}

.sidebar .active {
    background: #377CF7;
    border-radius: 10px;
    color: #fff;
}

.change {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 4px;
    color: #333;
    margin-bottom: 5px;
}

.card {
    background: #fff;
    border: none;
}

.cardItem {
    border-bottom: 1px solid #CAD7EF !important;

}

.card-header {
    background: #fff;
    /* border-bottom: 1px solid #CAD7EF; */
    border: none;
    padding: 0;

}

.card-body {
    padding: 0;
}

.card-header h2 {
    margin-top: 0;
}

.collapsibleBtn {
    font-size: 18px;
    color: #1C3355;
    line-height: 25px;
    text-align: left;
    font-style: normal;
    text-transform: none;
    padding: 28px 0;
    cursor: pointer;
}

/* .collapse {
    margin-bottom: 28px;
} */

@media (max-width: 768px) {
    .changelogBox {
        width: 100%;
        padding-top: 2.29rem;
    }

    .changelogBox h2 {
        margin-top: 0;
        font-size: 1.14rem;
color: #0F1736;
    }

    .sidebar {
        background: url('../img/productDownload/mupdateLogType.png');
        background-size: 100% 100%;
        height: 4rem;
        width: 100%;
        display: flex;
        overflow-x: auto;
        /* 添加横向滚动 */
        white-space: nowrap;
        /* 防止子元素换行 */
        padding: 0.86rem;
    }

    .sidebarItem {
        padding: 0.57rem 1.07rem;
        height: auto;
        /* display: inline-block; 确保 sidebarItem 不换行 */
        /* width: 6.14rem; */
    }
    .sidebar img{
        margin-right: 0.29rem;
    }
    .changelog-item {
        width: 100%;
        margin-top: 0.57rem;
        padding: 0.86rem 1.14rem;
        padding-top: 0;
    }
    .collapsibleBtn{
        font-size: 1rem;
color: #1C3355;
padding: 1rem 0;
    }


    .card {
        height: 100% !important;
        margin-bottom: 0 !important;
    }

    .changelog-item {
        height: 100% !important;
    }

    .version-section {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        /* For smooth scrolling on iOS */
        transition: scroll-left 0.3s ease-out;
        margin-bottom: 0;
        /* Add transition for smooth scrolling */
    }

    .version-box {
        flex: 0 0 100%;
        scroll-snap-align: start;
        padding: 0.57rem 20px 0;
        height: 17.14rem;
        box-sizing: border-box;
    }

    /* Optional: Add some styling for better visual feedback */
    .version-section::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Chrome, Safari and Opera */
    }

    .version-section {
        -ms-overflow-style: none;
        /* IE and Edge */
        scrollbar-width: none;
        /* Firefox */
    }

    .version-text {
        margin: 0;
        width: 15rem;
    }

    .version-text h2 {
        margin: 1.64rem 0 0.86rem;
        font-size: 1.29rem;
    }

    .version-text .feature {
        font-size: 0.86rem;
        color: #1C3355;
        margin-right: 10px;
    }
    /* .personalBox .version-text .feature:nth-child(2){
        margin-right: 10px !important;
    }
    .personalBox .version-text .feature:nth-child(4){
        margin-right: 10px !important;
    } */
    .platform {
        padding: 0;
        margin-right: 0.71rem;
    }

    .platform img {
        width: 1.71rem;
        height: 1.71rem;
        margin-bottom: 0.14rem;
    }

    .platform p {
        font-size: 0.78rem;
        color: #1C3355;
    }

    .bannerLine {
        display: flex;
    }

    .bannerLineItem {
        width: 1.14rem;
        height: 0.14rem;
        background: #377CF7;
        border-radius: 1rem;
        margin-right: 0.57rem;
    }
    .platforms{
        justify-content: left;
    }
    .personalBox{
        width: 18rem;
    }
    .changelog-section{
        padding-top: 0;
        border-radius: 0;
    }
}