@import "style.css";

main {
    width: 100%;
}

/* .bigimg-view {
    width: 68vw;
    height: calc(512 / 1330 * 68vw);
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.bigimg-view .info-view {
    width: 420px;
    position: absolute;
    top: 50px;
    left: 30px;
    user-select: none;
    border: none;
}

.bigimg-view .info-view .iv-lab {
    font-size: 14px;
    color: #a7a7a7;
    line-height: 1;
}

.bigimg-view .info-view .iv-tit {
    font-size: 24px;
    color: #fff;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
    padding: 8px 0;
}

.bigimg-view .info-view .iv-content {
    font-size: 16px;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    word-break: break-all;
}

.bigimg-view .simg-view {
    width: 50%;
    height: 82px;
    overflow: hidden;
    overflow-x: auto;
    position: absolute;
    left: 0;
    bottom: 30px;
    user-select: none;
}

.bigimg-view .simg-view::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.bigimg-view .simg-view::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.bigimg-view .simg-view::-webkit-scrollbar-track {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
}

.bigimg-view .simg-view::-webkit-scrollbar-button {}

.bigimg-view .simg-view .imglist {
    width: auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row nowrap;
    gap: 10px;
    padding-left: 10px;
    user-select: none;
}

.bigimg-view .simg-view .imglist .item {
    width: 104px;
    height: 62px;
    border-radius: 6px;
    flex: 0 0 auto;
    border: 1px solid transparent;
    overflow: hidden;
}

.bigimg-view .simg-view .imglist .item.cur,
.bigimg-view .simg-view .imglist .item:hover {
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.bigimg-view .simg-view .imglist .item:hover img {
    transform: scale(1.1);
    transition: transform 0.5s linear;
} */

.ball-content-box {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: column nowrap;
}

.ball-content-box .ball-tit {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 50px auto 40px;
}

.ball-content-box .ball-tit .en {
    font-size: 34px;
    font-weight: 700;
    color: var(--color-1);
}

.ball-content-box .ball-tit .cn {
    font-size: 30px;
    font-weight: 500;
    color: #212529;
}

.ball-content {
    width: 52vw;
    max-height: 80vh;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-flow: row nowrap;
    gap: 30px;
    overflow: hidden;
    overflow-y: auto;
}

.ball-content .left-navbar {
    width: 325px;
    flex: 0 0 auto;
    position: sticky;
    top: 0;
    left: 0;
}

.ball-content .left-navbar ul {}

.ball-content .left-navbar ul li {
    height: 54px;
    font-size: 16px;
    color: #fff;
    padding: 16px 22px;
    background-color: var(--color-1);
    border-bottom: 1px solid #fff;
    position: relative;
    box-sizing: border-box;
    transition: all 0.5s linear;
    cursor: pointer;
}

.ball-content .left-navbar ul li::after {
    content: "";
    width: 12px;
    height: 54px;
    clip-path: polygon(0% 0%, 0% 100%, 100% 50%);
    background-color: var(--color-1);
    transition: all 0.3s linear;
    position: absolute;
    top: 0;
    right: -6px;
    transform: scale(0);
}

.ball-content .left-navbar ul li.active {
    height: 54px;
    background-color: #D1265C;
}

.ball-content .left-navbar ul li.active::after {
    background-color: #D1265C;
    right: -12px;
    transform: scale(1);
}

.ball-content .right-content {
    width: 590px;
}

.ball-content .right-content b {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    padding: 8px 0;
}

.ball-content .right-content p {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
}

.download-view {
    padding: 10px 0;
}

.download-view .dl-tit {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-1);
}

.download-view .dl-lab {
    font-size: 12px;
    color: #666;
}

.download-view .dl-value a {
    width: 100%;
    font-size: 12px;
    color: var(--color-1);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row nowrap;
    gap: 0;
}

.download-view .dl-value i {
    width: 25px;
    height: 25px;
    display: block;
    background: url("../images/icon/xiazai-1.png") center / cover no-repeat;
}

.download-view .dl-value:hover span {
    font-weight: 600;
    text-decoration: underline;
}

@media screen and (max-width: 1200px) {
    .ball-content {
        width: 80%;
    }

    .ball-content .right-content {
        max-width: calc(100% - 350px);
    }
}

@media screen and (min-width: 768px) and (max-width: 1330px) {
    /* .bigimg-view {
        width: 92vw;
        height: calc(512 / 1330 * 92vw);
    } */

    .ball-content {
        width: 82%;
    }
}

/* @media screen and (min-width: 768px) and (max-width: 1024px) {
    .bigimg-view .info-view {
        top: 1.2rem;
        left: 1rem;
    }
} */

@media screen and (max-width: 767px) {
    /* .bigimg-view {
        width: 100vw;
        height: calc(512 / 1330 * 100vw);
    }

    .bigimg-view .info-view {
        width: 86%;
        top: 0;
        left: 0;
        padding: 0.5rem 0 0 0.5rem;
    }

    .bigimg-view .info-view .iv-lab {
        font-size: 0.65rem;
    }

    .bigimg-view .info-view .iv-tit {
        font-size: 1.1rem;
        padding: 0.2rem 0;
    }

    .bigimg-view .info-view .iv-content {
        font-size: 0.7rem;
    }

    .bigimg-view .simg-view {
        width: 65%;
        height: 3rem;
        bottom: 0.5rem;
    }

    .bigimg-view .simg-view .imglist {
        gap: 0.2rem;
        padding-left: 0.2rem;
    }

    .bigimg-view .simg-view .imglist .item {
        width: 4rem;
        height: calc(62/104*4rem);
    } */

    .ball-content {
        max-height: 100%;
    }

    .ball-content-box,
    .ball-content {
        width: 100%;
        padding: 1rem;
        flex-flow: column nowrap;
    }

    .ball-content-box .ball-tit {
        width: 100%;
        margin: 0;
    }

    .ball-content .right-content {
        max-width: 100%;
        margin-top: 1rem;
    }

    .ball-content .left-navbar {
        width: 100%;
    }

    .ball-content .left-navbar ul {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-flow: row nowrap;
    }

    .ball-content .left-navbar ul li {
        height: auto;
        font-size: 1rem;
        padding: 0.5rem;
        border-bottom: none;
        border-right: 1px solid #fff;
    }

    .ball-content .left-navbar ul li::after {
        width: 100%;
        height: 0.65rem;
        clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
        bottom: 0;
        left: 0;
        top: auto;
        right: auto;
    }

    .ball-content .left-navbar ul li.active {
        height: auto;
    }

    .ball-content .left-navbar ul li.active::after {
        bottom: -0.6rem;
        transform: scale(1);
    }

    .download-view {
        padding: 1.5rem 0 0.4rem;
    }

    .download-view .dl-tit {
        font-size: 0.75rem;
    }

    .download-view .dl-value {
        padding: 0.3rem 0 0;
    }

    .download-view .dl-value a {
        font-size: 0.625rem;
    }

    .download-view .dl-value i {
        width: 1.25rem;
        height: 1.25rem;
    }

    .download-view .dl-lab {
        font-size: 0.625rem;
    }
}